Elastic Beanstalk Application

Create Elastic Beanstalk Application

The first step in using Elastic Beanstalk is to create an application, which represents your web application in AWS. In Elastic Beanstalk an application serves as a container for the environments that run your web app, and versions of your web app’s source code, saved configurations, logs, and other artifacts that you create while using Elastic Beanstalk.

Run the following AWS CloudFormation template to create

  • Elastic Beanstalk application - think of it as a folder that will hold the components of your Elastic Beanstalk

  • S3 bucket for artifacts - place to put your application code before deployment

aws cloudformation create-stack --template-body file://appcreate.yaml --stack-name gitflow-eb-app

AWS CloudFormation begins creating the resources that are specified in the template. Your new stack, gitflow-eb-app, appears in the list at the top portion of the Cloudformation console. Its status should be CREATE_IN_PROGRESS. You can see detailed status for a stack by viewing its events.

ebapp

Once the status shows CREATE_COMPLETE Next, go to the Elastic Beanstalk console in the AWS Management Console to view the application that was created.

ebapp