Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

AWS Elastic Beanstalk

AWS Elastic Beanstalk Examples.

Overview

This repo is a demonstration of Continuous Delivery of a static website to Elastic Beanstalk via CodePipeline, CodeCommit, CodeBuild, and Elastic Beanstalk. Ensure you've configured the Prerequisites before launching the stack below.

Upload html.zip file

  1. Download html.zip from GitHub
  2. Create a new S3 bucket and make note of the unique bucketname name you created

Launch Stack

Configure Solution

Before Launching the Stack

Launch CFN stack

  1. When launching the stack, enter the name of the S3 Bucket you created in the S3Bucket CloudFormation parameter

After Launching the Stack

  1. Once the CloudFormation stack is successful, select the checkbox next to the stack and click the Outputs tab.
  2. From Outputs, click on the PipelineUrl output. The Source action will be in a failed state.
  3. From the CodePipeline Source action, click on the CodeCommit provider and copy the git clone statement provided by CodeCommit
  4. Paste the command in your Terminal
  5. From this folder, copy all of its contents to your locally cloned Git repo
  6. From your Terminal, type git add .
  7. From your Terminal, type git commit -am "add new files"
  8. From your Terminal, type git push
  9. Go back to your pipeline in CodePipeline and see the changes flow through the pipeline
  10. Once the pipeline is complete, go to your CloudFormation Outputs and click on the SiteUrl Output

Resources

  1. The CloudFormation template is available here.
  2. A list of available Elastic Beanstalk templates are available here or from the CLI