AWS Elastic Beanstalk
Developer Guide (API Version 2010-12-01)
AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.


Question: How can I change my application URL from to

Register in a DNS server a CNAME record such as: CNAME

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

You can pick specific AZs using the APIs, CLI, Eclipse plug-in, or Visual Studio plug-in. For instructions about using the AWS Management Console to specify an Availability Zone, see Configuring Auto Scaling with Elastic Beanstalk.

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

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

Question: Can I receive notifications by SMS?

If you specify an SMS email address, such as one constructed on, you will receive the notifications by SMS. To subscribe to more than one email address, you can use the Elastic Beanstalk command line to register an SNS topic with an environment.

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

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

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

Instances in your environment use 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.