Day 53: Your CI/CD pipeline on AWS - Part 4 ๐Ÿš€ โ˜

Day 53: Your CI/CD pipeline on AWS - Part 4 ๐Ÿš€ โ˜

ยท

2 min read

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

Task-01 :

  • Create a Deployment group of Ec2 Instance.

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

Step 1: Create a Deployment Group of EC2 Instances

  1. Navigate to the CodePipeline section in the AWS management console.

  2. Provide the Pipeline name, let the service role default and click on Next.

  3. Select the source provider, repository name, branch and detection options and click on Next.

  4. Select Build Provider and click on Next.

  5. Select Deploy Provider and click on Next.

  6. Successfully created a CodePipeline that automates the deployment process.

  7. Now go to the Public IP of your EC2 Instance and check the running index.html file.

In summary, the outlined process establishes an efficient CI/CD pipeline using AWS services. By combining CodeCommit, CodeBuild, and CodeDeploy, developers can automate code integration, build processes, and deployments to EC2 instances. This streamlined workflow enhances development speed, ensures consistency, and reduces manual efforts. Leveraging AWS services enables quick identification and resolution of issues, fostering a reliable and agile software delivery lifecycle. Ultimately, this CI/CD solution empowers teams to deliver high-quality software with efficiency and confidence.

ย