Blue/Green Deployment Pattern with AWS Elastic Beanstalk
SPL-47 - Version 1.4.3
© 2018 Amazon Web Services, Inc. and its affiliates. All rights reserved. This work may not be reproduced or redistributed, in whole or in part, without prior written permission from Amazon Web Services, Inc. Commercial copying, lending, or selling is prohibited.
Errors or corrections? Email us at email@example.com.
Other questions? Contact us at https://aws.amazon.com/contact-us/aws-training/
The purpose of this lab is to show you how to deploy a simple web application continuously using The Elastic Beanstalk Command Line Interface (EB CLI).
AWS Elastic Beanstalk provides a quick and easy way to deploy your web applications to the AWS cloud without requiring knowledge of the individual pieces that make up the infrastructure required to deploy your app to the cloud.
EB CLI is a command line interface for Elastic Beanstalk that provides interactive commands that simplify creating, updating and monitoring environments from a local repository. You can use it to automate deployment tasks and common administrative tasks in AWS.
This lab will demonstrate:
- Deploying web application versions on an Elastic Beanstalk environment
- Managing environments with the EB CLI
- Deploying a new version of your application in Rolling update (In-Place Deployment)
- Deploying a new version of your application in Blue/Green Deployment (Red/Black Deployment)
To successfully complete this lab, you should be familiar with basic Linux server administration and comfortable using the Linux command-line.
Other AWS Services
Other AWS Services than the ones needed for this lab are disabled by IAM policy during your access time in this lab. In addition, the capabilities of the services used in this lab are limited to what’s required by the lab and in some cases are even further limited as an intentional aspect of the lab design. Expect errors when accessing other services or performing actions beyond those provided in this lab guide.
- Temporary Access
- Bite Sized