|« PreviousNext »|
|Did this page help you? Yes | No | Tell us about it...|
Amazon RDS is a web service that makes it easy to set up, operate, and scale a relational database in the cloud. It provides cost-efficient and resizable capacity while managing time-consuming database administration tasks, freeing you to focus on your applications and business.
If you didn't use the Create New Application wizard to add an RDS DB instance to your environment, you can use an application's Configuration page to do so. If you have already created an instance using AWS Elastic Beanstalk, you can view the DB instance connectivity information for the following container types:
PHP 5.3 and PHP 5.4
Ruby 1.8.7 and 1.9.3
Apache Tomcat 6 and 7
Windows Server 2008 R2 running IIS 7.5 and Windows Server 2012 running IIS 8
If you have deployed an AWS Elastic Beanstalk using a legacy container type, then you will not see the option to create or view an Amazon RDS DB instance on the Configuration page. Depending on your programming language, there are several other alternatives you can use.
For more information about legacy and nonlegacy container types, see Migrating Your Application from a Legacy Container Type.
If you have a database associated with your environment, you can view the configuration settings by viewing the settings in the Data Layer section on the environment's Configuration page. For information about getting to the Configuration page, see Changing Environment Configurations Settings.
If you don't have an Amazon RDS database associated with your environment, you can associate one by clicking create a new RDS database on the Configuration page. For information about getting to the Configuration page, see Changing Environment Configurations Settings.
To create an Amazon RDS database and associate it with your existing environment
Select if you want to create a blank Amazon RDS DB or create one from a snapshot. If you choose to create a database from a snapshot, then select a snapshot from the Snapshot list.
For DB Engine, select a database engine.
For Instance Class, select a database instance class. For information about the DB instance classes, go to http://aws.amazon.com/rds/.
For Allocated Storage, type the desired amount space (in GB). In some cases, allocating a higher amount of storage for your DB instance than the size of your database can improve IO performance. For information about storage allocation, go to Features.
For Master Username, use alphanumeric characters to type a name that you will use to log on to your DB instance with all database privileges.
For Master Password, type 8 to 16 printable ASCII characters (excluding /, \, and @) for your master user password.
For Deletion Policy, select whether to create a snapshot of your database or delete it if you terminate your AWS Elastic Beanstalk environment. The default is Delete, which deletes your database and discards your data if you terminate your environment.
Select whether to configure your database across multiple Availability Zones or just one. Running your database instance in multiple Availability Zones safeguards your data in the unlikely event of a database instance component failure or service health disruption in one Availability Zone.
AWS Elastic Beanstalk updates the environment and creates the Amazon RDS database. After the update is complete, you can view the databases by going to the Configuration page.
Use the connectivity information to connect to your DB from inside your application through environment variables. For more information about using Amazon RDS with your applications, see the following topics.