CloudAcademy

Continuous Integration and Deployment with AWS Code Services

The hands-on lab is part of these learning paths

Developer – Associate Certification Preparation for AWS - June 2018
course-steps 26 certification 4 lab-steps 22 description 2
AWS Developer Services for CI/CD
course-steps 9 certification 1 lab-steps 3
Serverless Computing on AWS for Developers
course-steps 11 certification 1 lab-steps 8
DevOps Engineer – Professional Certification Preparation for AWS
course-steps 16 certification 1 lab-steps 10 quiz-steps 2
more_horiz See 1 more

Lab Steps

keyboard_tab
lock
Logging in to the Amazon Web Services Console
lock
Creating an AWS CodeCommit Repository
lock
Committing Code to Your AWS CodeCommit Repository
lock
Building and Testing with AWS CodeBuild
lock
Deploying with AWS CodeDeploy
lock
Automating Your Deployment with AWS CodePipeline
lock
Following the Continuous Deployment Pipeline
lock
Recovering Automatically from a Failed Deployment
lock
Using AWS CodeDeploy Blue/Green Deployments in Your Pipeline

Ready for the real environment experience?

DifficultyAdvanced
Duration4h
Students685

Description

Lab Overview

AWS Code Services provide you with all the tools you need to deliver software following DevOps practices. The services under the AWS Code Services umbrella that you will work with in this lab are:

  • CodeCommit - A secure and scalable source control service supporting Git workflows
  • CodePipeline - A service for fast and reliable continuous integration (CI) and continuous delivery (CD)
  • CodeBuild - A scalable service to compile, test, and package source code
  • CodeDeploy - A service to automate code deployments anywhere

You will setup and work with each service as you deploy an application. You will also get experience handling rollbacks in a blue/green deployment environment when a release goes awry.

Lab Objectives

Upon completion of this Lab you will be able to:

  • Create and use AWS CodeCommit repositories for source control
  • Build and test your code with AWS CodeBuild
  • Automate your CI/CD process with AWS CodePipeline
  • Use AWS CodeDeploy to automate your deployments to EC2
  • Release and roll back using a blue/green deployment strategy

Lab Prerequisites

You should be familiar with the following:

  • Using EC2 instances
  • Understanding Elastic Load Balancers (Classic)
  • Working on the command line in Linux
  • Issuing Git commands and version control workflows will be helpful but not required

Lab Environment

Before completing the lab instructions the environment will look as follows:

After completing the lab instructions the environment should look similar to:

Updates:

October 17th, 2018 - Updated images and instructions for compatibility with the new AWS UI

About the Author

Students10116
Labs67
Courses6
Learning paths3

Logan has been involved in software development and research for over eleven years, including six years in the cloud. He is an AWS Certified DevOps Engineer - Professional, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, and Certified Kubernetes Administrator (CKA). He earned his Ph.D. studying design automation and enjoys all things tech.