๐ Introduction:
In this blog, we will deploy a CI/CD pipeline on AWS using tools such as CodeCommit, CodeBuild, CodeDeploy, CodePipeline, and S3. This is Part 4 of the series.
๐ถ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: 1
Create a CodePipeline that gets the code from CodeCommit, Builds the code using CodeBuild and deploys it to a Deployment Group.
- Go to the CodePipeline console and click Create pipeline.
- Enter the name for your pipeline and, in the service role, select New service role.
- Enter the Source provider โ CodeCommit repository information
- Enter Build stage details โ Enter CodeBuild information
- Enter CodeDeploy information, including the Application name and Deployment group name.
- Review the details one more time and click on Create Pipeline
- we have successfully created a CodePipeline that automates the deployment process.
- Navigate to your instance's public IP address, and you will see the final output of index.html.
- We will make some changes to the index.html file.
- Code Pipeline started automatically
- Refresh the page, and you will see the updated output of the index.html file.
๐ Conclusion :
In this blog, we have covered CodePipeline and demonstrated how to create a CodePipeline that retrieves code from CodeCommit, builds the code using CodeBuild, and deploys it to a Deployment Group. In the next blog, we will cover some advanced AWS topics..
Thank you for reading!
Contact me on Linkedin
Check out my GitHub for more resources ๐
ย