Bill Noble
Bill Noble

Reputation: 6744

How is an elastic beanstalk instance associated with route 53

I have taken over an AWS Elastic Beanstalk setup that uses Route 53. I have added a new EB instance and want to point the Route 53 settings to it rather than the instance it is currently pointing to.

My problem is I do not understand what settings to use.

In the EB dashboard my new instance is called xxx.newinstance.elasticbeanstalk.com.

I can't find any reference in Route 53 to the instance it currently points to which is xxx-oldinstance.elasticbeanstalk.com. In Route 53 there are references like s3-website-eu-west-1.amazonaws.com. but nothing that seems to relate to a specific instance.

What do I have to do to make Route 53 point to my new instance?

Upvotes: 3

Views: 2709

Answers (1)

Mark B
Mark B

Reputation: 200617

Go here and read the section titled "To view the Elastic Beanstalk URL for your application". Use those instructions to find and copy your application URL.

Now go into Route53 and create a new CNAME record for your domain. Enter the Elastic Beanstalk application URL as the "value" of the CNAME record.

Note that you are just using Route53 as a standard DNS service here. The instructions would be the same if you were using any other DNS service such as Godaddy, etc.

Upvotes: 3

Related Questions