Using Elastic Beanstalk With Amazon RDS: Difference between revisions

From Littledamien Wiki
Jump to navigation Jump to search
(Created page with "Category:AWS Category:Django Category:Web Development == Overview == Notes about configuring a Django project hosted with AWS Elastic Beanstalk to use a stand-alo...")
 
No edit summary
Line 7: Line 7:


See [http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.RDS.html Using Elastic Beanstalk with Amazon RDS] - AWS Elastic Beanstalk Developer Guide
See [http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.RDS.html Using Elastic Beanstalk with Amazon RDS] - AWS Elastic Beanstalk Developer Guide
# In the [https://us-west-2.console.aws.amazon.com/rds/home Amazon RDS Management Console], create a new RDS instance. <ref>[http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.RDS.html#rds-external-defaultvpc Launching and Connecting to an External RDS] - AWS Elastic Beanstalk Developers Guide</ref>
# Modify DB instance's security group to allow inbound traffic.
# Add the DB instance's security group to the Elastic Beanstalk environment.
# Save RDS connection information in Elastic Beanstalk environment.
## # Alternatively store the RDS connection string in Amazon S3 (more secure). <ref>[http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.RDS.html#rds-external-credentials Storing the Connection String in Amazon S3] - AWS Elastic Beanstalk Developers Guide</ref>
# Restart the Elastic Beanstalk environment.
== Notes ==
<references />

Revision as of 18:25, 12 February 2016

Overview

Notes about configuring a Django project hosted with AWS Elastic Beanstalk to use a stand-alone RDS instance for its database.

Setup

See Using Elastic Beanstalk with Amazon RDS - AWS Elastic Beanstalk Developer Guide

  1. In the Amazon RDS Management Console, create a new RDS instance. [1]
  2. Modify DB instance's security group to allow inbound traffic.
  3. Add the DB instance's security group to the Elastic Beanstalk environment.
  4. Save RDS connection information in Elastic Beanstalk environment.
    1. # Alternatively store the RDS connection string in Amazon S3 (more secure). [2]
  5. Restart the Elastic Beanstalk environment.

Notes

  1. Launching and Connecting to an External RDS - AWS Elastic Beanstalk Developers Guide
  2. Storing the Connection String in Amazon S3 - AWS Elastic Beanstalk Developers Guide