Set up DNS for AWS Elastic Beanstalk


#1

Hi!

How should I set up the DNS section to be able to use Cloudflare on an Elastic Beanstalk Instance.

I believe I should change CNAME section besides just adding the instance IPs.


#2

My setup for beanstalk is just a CNAME to the “url” that shows up in Elastic Beanstalk dashboard, eg <example>.us-east-1.elasticbeanstalk.com.

I also recommend setting up the Security Group for the instance to only accept connections from Cloudflare IP addresses, so it looks something like this

The list of IP addresses is available at https://www.cloudflare.com/ips/ (you should also add rules for the IPv6 addresses)


closed #3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.