Steps to the Beanstalk
-
Create Beanstalk instance in AWS (make sure to select correct security group and VPN)
-
Create Database instance on RDS (with appropriate user)
-
Connect Repo to Deploybot, and Add a new Server. Select Elastic Beanstalk (NOT Amazon Web Services)
-
Select the appropriate dropdowns for your new beanstalk
-
Add Environment File, enter database details for RDS (as before)
-
Create a directory in the root of your project called
.ebextensions
-
Create (YAML) files in that directory that match: