Skip to main content

Command Palette

Search for a command to run...

Day 53: CI/CD pipeline on AWS - Part 4

Published
2 min read
Day 53: CI/CD pipeline on AWS - Part 4
A

Hello, I am Akshay Phadke I have 10 Yrs of Experience in various Technologies. Currently, I am learning a few DevOps tools. I am working on Microsoft Technologies and AWS

What is CodePipeline?

CodePipeline builds, tests, and deploys your code every time there is a code change, based on the release process models you define. Think of it as a CI/CD Pipeline service.

Workflow of CodePipeline

  • A pipeline defines your release process workflowand describes how a new code change progresses through your release process. A pipeline comprises a series of stages (e.g., build, test, and deploy), which act as logical divisions in your workflow. Each stage is made up of a sequence of actions, which are tasks such as building code or deploying to test environments.

  • AWS CodePipeline provides you with a graphical user interface to create, configure, and manage your pipeline and its various stages and actions, allowing you to easily visualize and model your release process workflow.

Previously on Days 50, 51 & 52, we have done the following:

  • Created a CodeCommit Repository.

  • Created a CodeBuild Project.

  • Created a CodeDeploy Application.

Today we will make a CodePipeline that will get the code from CodeCommit, Builds the code using CodeBuild, and deploys it to a Deployment Group.

Task-01 :

  • Step-01: Go to CodePipeline service from AWS Management Console.

  • Step-02: Click on Create pipeline.

  • Step-03: Give a name to your pipeline and click on Next.

  • Step-04: Select AWS CodeCommit as Source provider and select your Repository name and Branch name and click on Next.

  • Step-05: Select AWS CodeBuild as Build provider and select your Region and Project name and click on Next.

  • Step-06: Select AWS CodeDeploy as Deploy provider and select your Region and Application name and Deployment group and click on Next.

  • Step-07: Review your pipeline.

  • Click on Create pipeline.

Screenshot from 2023-08-11 23-58-49

  • Thus, your pipeline is created.

Screenshot from 2023-08-12 00-01-38

  • Thus now go to the Public IP of your EC2 Instance and check the running index.html file.

So we have successfully created a CI/CD Pipeline on AWS using CodeCommit, CodeBuild & CodeDeploy.

More from this blog

Untitled Publication

80 posts