AWS Elastic Beanstalk
Developer Guide
AWS services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon AWS.

FAQ

Question: How can I change my application URL from myapp.us-west-2.elasticbeanstalk.com to www.myapp.com?

In a DNS server, register a CNAME record such as www.mydomain.com CNAME mydomain.elasticbeanstalk.com.

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: Can I receive notifications by SMS?

If you specify an SMS email address, such as one constructed on http://www.makeuseof.com/tag/email-to-sms, 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 Amazon SNS topic with an environment.

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.