AWS Elastic Beanstalk
Developer Guide


Question: How can I change my application URL from to

In a DNS server, register a CNAME record such as CNAME

Question: How do I specify a specific Availability Zone for my Elastic Beanstalk application?

You can pick specific Availability Zones using the APIs, CLI, Eclipse plugin, or Visual Studio plugin. For instructions about using the AWS Management Console to specify an Availability Zone, see Auto Scaling Group for Your AWS Elastic Beanstalk Environment.

Question: How do I avoid getting charged for my applications?

The default set of resources used by an Elastic Beanstalk environment don't incur charges in the Free Tier. However, if you change the Amazon EC2 instance type, add Amazon EC2 instances, or run resources outside of your Elastic Beanstalk environment, charges may be accrued. For information about the Free Tier, see AWS Free Tier. If you have questions about your account, contact our customer service team directly.

Question: How do I change my environment's instance type?

In the Web Tier section of the environment configuration page, choose the gear icon on the Instances card. Select a new instance type and choose Apply to update your environment. Elastic Beanstalk will terminate all running instances and replace them with new ones.

Question: Can I prevent Amazon EBS volumes from being deleted when instances are terminated?

Instances in your environment use Amazon EBS for storage; however, the root volume is deleted when an instance is terminated by Auto Scaling. It is not recommended to store state or other data on your instances. If needed, you can prevent volumes from being deleted with the AWS CLI: $ aws ec2 modify-instance-attribute -b '/dev/sdc=<vol-id>:false as described in the AWS CLI Reference.

Question: How do I delete personal information from my Elastic Beanstalk application?

AWS resources that your Elastic Beanstalk application uses might store personal information. When you terminate an environment, Elastic Beanstalk terminates the resources that it created. Resources you added using configuration files are also terminated. However, if you created AWS resources outside of your Elastic Beanstalk environment and associated them with your application, you might need to manually ensure that personal information that your application might have stored isn't unnecessarily retained. Throughout this developer guide, wherever we discuss the creation of additional resources, we also mention when you should consider deleting them.