Thursday, October 23, 2014

How to properly setup your DNS with using Elastic Beanstalk

If you ever want to be able to swap environments easily (for zero downtime deployments) you need to get your DNS right.

Suppose you have the website http://www.example.com/ and http://example.com/.

Route 53 you need to have the following setup:

example.com (A Record) w/ special Amazon Alias to production-eb.example.com.

production-eb.example.com is an A record with Alias to your load balancer -->
awseb-e-j-AWSEBLoa-113AS0S7GTEST3R-429477073.us-east-1.elb.amazonaws.com

No comments: