CI/CD pipeline on AWS - Part 4 (code-pipeline)🚀 ☁

CI/CD pipeline on AWS - Part 4 (code-pipeline)🚀 ☁

AWS CodePipeline

AWS CodePipeline is a continuous delivery service you can use to model, visualize, and automate the steps required to release your software.

You can quickly model and configure the different stages of a software release process. CodePipeline automates the steps required to release your software changes continuously.

You can refer to the official documentation by AWS to learn more about CodePipeline. The link is here: docs.aws.amazon.com/codepipeline/index.html

Tasks

Create a CodePipeline that gets the code from CodeCommit, Builds the code using CodeBuild, and deploys it to a Deployment Group.

Now in the AWS Management Console > Navigate to CodePipeline > Click on pipelines > Create Pipeline

Step 1: Choose pipeline settings

Pipeline name: day53-app > Select New Service Role > Click on Next

Step 2: Add source stage

Source Provider: AWS CodeCommit > Repository name & Branch Name: Select your repository & branch > Change detection options: AWS CodePipeline > Click on Next

Step 3: Add build stage

Build provider: AWS CodeBuild > Project Name: Select your Build Project > Click on Next

Step 4: Add the deploy stage

Deploy provider: AWS CodeDeploy > Application name & Deployment group : Select your respective choices > Click on Next

Review your options and click on Create Pipeline.

Once your pipeline is successfully created, you can see that this pipeline automatically triggers the code thereby automating the process.

And yay our pipeline is successfully run. To verify this let us reach our NginX server via our EC2 instance’s Public IPv4.

thank you for being here

If you've enjoyed this article and want to stay updated on the latest in the tech world, don't forget to connect with me on GOURAV TOONWAL. Let's keep the conversation going and explore the exciting world of technology together. Follow for more insights, discussions, and tech updates.

spreading knowledge in the community ...