Setting up Elastic Beanstalk - tooltwist/documentation GitHub Wiki
These instructions show how to create a new Elastic Beanstalk application and/or environment. If you want to deploy to an existing environment see Deploying a NodeJS app to Elastic Beanstalk.
Assuming you already have an AWS Account... first, go to the Elastic Beanstalk management console.
Click on New Application and proceed through the steps. A few things to note:
- Choose "Web Server environment" - we'll be accessing it over port 80.
- For Environment Type choose Single Server.
- Ensure you specify a "Key Pair".
- Start with the sample application; you can replace it with your application once the servers are running.
- Start without a database, and add one if required later.
Setting up Policies
You'll wish to specify policies that allow developers and testers to deploy to some specific environments, but to prevent them having full admin access to the EC2 account. This page has some example policy definitions.
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/ExamplePolicies_AEB.html