Building a CI/CD Pipeline with AWS CodePipeline

Building a CI/CD Pipeline with AWS CodePipeline
Building a CI/CD Pipeline with AWS CodePipeline

CLOUD LABS

Building a CI/CD Pipeline with AWS CodePipeline

In this Cloud Lab, you’ll learn to create a complete CI/CD pipeline using CodeBuild, CodeDeploy, and CodePipeline.

12 Tasks

intermediate

2hr 30m

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

An understanding of CodePipeline and its application to launch CI/CD pipelines
Working knowledge of CodeBuild in AWS
Working knowledge of CodeDeploy in AWS
Hands-on experience using CI/CD pipelines to automatically deploy code changes to production from a GitHub repository

Technologies
CodeBuild logoCodeBuild
CodePipeline
CodeDeploy logoCodeDeploy
GitHub
EC2 logoEC2
Cloud Lab Overview

A CI/CD (continuous integration and continuous deployment) pipeline is a series of automated steps that help build, test, and deploy code changes. To build a CI/CD pipeline on AWS, you’ll use the Amazon CodePipeline to build a continuous delivery service that automates the deploying, compiling, and testing of code using a pipeline of stages personalized according to the desired development workflow.

You’ll start this Cloud Lab by creating an S3 bucket, IAM roles for all required resources, and an EC2 instance on which you’ll deploy a Node.js application. You’ll then set up a GitHub repository, create a CodeBuild project, a CodeDeploy application and deployment group, and then build an entire pipeline using CodePipeline.

By the end of this Cloud Lab, you’ll become well-versed in creating and launching CI/CD pipelines on Amazon, an essential skill for any cloud architect.

 Here is the high-level architecture diagram of the final infrastructure that you’ll build in this Cloud Lab:

Architecture diagram
Architecture diagram
Cloud Lab Tasks
1.Introduction
Getting Started
2.Configure Prerequisite Resources
Create an S3 Bucket
Create IAM Roles
Create a Security Group
Launch an EC2 Instance
3.Create the CI/CD Pipeline
Source: Setting Up the GitHub Repository
CodeBuild: Create a Project
CodeDeploy: Set Up Deployment
CodePipeline: Create a CI/CD Pipeline
Test the CI/CD Pipeline
4.Conclusion
Cleanup
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Relevant Courses

Use the following content to review prerequisites or explore specific concepts in detail.

Trusted by 1.4 million developers working at companies including

Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg
Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

Get access to Educative Cloud Labs

Course Footer Image
Course Footer Image