0

I have a ec2 instance on a private subnet without internet access in a vpc.

I want to change an A record from a Route53 Zone using aws route53 change-resource-record-sets.

The EC2 Instance has the appropriate Role with needed Policies attached to access Route53.

When using the aws route53 command within the EC2 Instance I get a timeout.

Using the same command on a public EC2 Instance with the same IAM role and policies works.

Do the Instance where I use the aws cli command needs internet access to update route53 records?

1 Answer 1

1

Yes, the AWS CLI accesses the AWS API over the internet.

In some cases, you can use a VPC endpoint to access an AWS API without giving the instance access to the Internet, but Route 53 is not currently one of these services.

1
  • That's not the answer I was hoping for but thank you for clarification! Commented Sep 20, 2019 at 8:07

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.