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: