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:

Understand the flow of AWS CodePipeline for automating build, test, and deploy processes
Understand the flow of AWS CodePipeline for automating build, test, and deploy processes
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.

Frequently Asked Questions

Is AWS CodePipeline CI/CD?

AWS CodePipeline is a CI/CD service that automates your development process’s build, test, and deployment for fast and reliable updates.

How to build a CI/CD pipeline in AWS?

How to run AWS CodePipeline?

Hear what others have to say
Join 1.4 million developers working at companies like