Skip to main content
added 304 characters in body
Source Link

I just launched a new clean ec2 instance in the same eu-west-2 and specified the subnet. All traffic internally and externally is enabled. Curl requests to http://169.254.169.254 return results and external requests also work (eg. google.com). However, requests to http://ec2.eu-west-2.amazonaws.com/ hang. Note that requests to https://ec2.eu-west-1.amazonaws.com/ resolve. My end aim is to use aws ec2 describe-tags (I know there are other methods, but I want to understand why this method works on one instance and not on another). I SSH connected to another instance in the region (on the same subnet) and all works perfectly. I have tried this request as an IAM user with and without the ec2:DescribeTags permission and both hang. Both servers have the same nameserver (and so do instances in the different availability zones within the region). Why isn't Curl working internally on these new instances but not the old ones? Is it a route53 issue; a vpc issue; or a different permission?

Extra info: If I create the instance in a different region, such as ap-east-1, and then query the above locations or https://ec2.ap-west-1.amazonaws.com/, it resolves. There are other instances on the eu-west region, including a rabbit mq tunnel and a database. Could these be a part of the problem?

I just launched a new clean ec2 instance in the same eu-west-2 and specified the subnet. All traffic internally and externally is enabled. Curl requests to http://169.254.169.254 return results and external requests also work (eg. google.com). However, requests to http://ec2.eu-west-2.amazonaws.com/ hang. Note that requests to https://ec2.eu-west-1.amazonaws.com/ resolve. My end aim is to use aws ec2 describe-tags (I know there are other methods, but I want to understand why this method works on one instance and not on another). I SSH connected to another instance in the region (on the same subnet) and all works perfectly. I have tried this request as an IAM user with and without the ec2:DescribeTags permission and both hang. Both servers have the same nameserver (and so do instances in the different availability zones within the region). Why isn't Curl working internally on these new instances but not the old ones? Is it a route53 issue; a vpc issue; or a different permission?

I just launched a new clean ec2 instance in the same eu-west-2 and specified the subnet. All traffic internally and externally is enabled. Curl requests to http://169.254.169.254 return results and external requests also work (eg. google.com). However, requests to http://ec2.eu-west-2.amazonaws.com/ hang. Note that requests to https://ec2.eu-west-1.amazonaws.com/ resolve. My end aim is to use aws ec2 describe-tags (I know there are other methods, but I want to understand why this method works on one instance and not on another). I SSH connected to another instance in the region (on the same subnet) and all works perfectly. I have tried this request as an IAM user with and without the ec2:DescribeTags permission and both hang. Both servers have the same nameserver (and so do instances in the different availability zones within the region). Why isn't Curl working internally on these new instances but not the old ones? Is it a route53 issue; a vpc issue; or a different permission?

Extra info: If I create the instance in a different region, such as ap-east-1, and then query the above locations or https://ec2.ap-west-1.amazonaws.com/, it resolves. There are other instances on the eu-west region, including a rabbit mq tunnel and a database. Could these be a part of the problem?

improve title
Link

ec2 instance curl request to aws regional domain hangsthe ec2 subdomain of its own region fails

deleted 1 character in body; edited title
Source Link

ec2 instance curl request to http://ec2.eu-west-2.amazonaws.com/aws regional domain hangs

I just launched a new clean ec2 instance in the same eu-west-2 and specified the subnet. All traffic internally and externally is enabled. Curl requests to http://169.254.169.254 return results and external requests also work (eg. google.com). However, requests to https://ec2.eu-west-2.amazonaws.com/http://ec2.eu-west-2.amazonaws.com/ hang. Note that requests to https://ec2.eu-west-1.amazonaws.com/ resolve. My end aim is to use aws ec2 describe-tags (I know there are other methods, but I want to understand why this method works on one instance and not on another). I SSH connected to another instance in the region (on the same subnet) and all works perfectly. I have tried this request as an IAM user with and without the ec2:DescribeTags permission and both hang. Both servers have the same nameserver (and so do instances in the different availability zones within the region). Why isn't Curl working internally on these new instances but not the old ones? Is it a route53 issue; a vpc issue; or a different permission?

ec2 instance curl request to http://ec2.eu-west-2.amazonaws.com/ hangs

I just launched a new clean ec2 instance in the same eu-west-2 and specified the subnet. All traffic internally and externally is enabled. Curl requests to http://169.254.169.254 return results and external requests also work (eg. google.com). However, requests to https://ec2.eu-west-2.amazonaws.com/ hang. Note that requests to https://ec2.eu-west-1.amazonaws.com/ resolve. My end aim is to use aws ec2 describe-tags (I know there are other methods, but I want to understand why this method works on one instance and not on another). I SSH connected to another instance in the region (on the same subnet) and all works perfectly. I have tried this request as an IAM user with and without the ec2:DescribeTags permission and both hang. Both servers have the same nameserver (and so do instances in the different availability zones within the region). Why isn't Curl working internally on these new instances but not the old ones? Is it a route53 issue; a vpc issue; or a different permission?

ec2 instance curl request to aws regional domain hangs

I just launched a new clean ec2 instance in the same eu-west-2 and specified the subnet. All traffic internally and externally is enabled. Curl requests to http://169.254.169.254 return results and external requests also work (eg. google.com). However, requests to http://ec2.eu-west-2.amazonaws.com/ hang. Note that requests to https://ec2.eu-west-1.amazonaws.com/ resolve. My end aim is to use aws ec2 describe-tags (I know there are other methods, but I want to understand why this method works on one instance and not on another). I SSH connected to another instance in the region (on the same subnet) and all works perfectly. I have tried this request as an IAM user with and without the ec2:DescribeTags permission and both hang. Both servers have the same nameserver (and so do instances in the different availability zones within the region). Why isn't Curl working internally on these new instances but not the old ones? Is it a route53 issue; a vpc issue; or a different permission?

Source Link
Loading