Menu

Post image 1
Post image 2
Post image 3
Post image 4
Post image 5
Post image 6
Post image 7
Post image 8
Post image 9
Post image 10
Post image 11
Post image 12
Post image 13
Post image 14
Post image 15
1 / 15
0

CI/CD for your Dockerized App with AWS CodeBuild, CodeDeploy and CodePipeline (Part 3/3)

DEV Community·Tanmoy Basak Anjan·about 1 month ago
#sqDXs7Pk
#aws#create#devops#cicd#build#docker
Reading 0:00
15s threshold

This is the final part of a three-part series where we build a production-ready, auto-scaled and continuously deployed Node.js application on AWS. Part 1 - Dockerize and deploy your Node.js app with env on AWS EC2 Part 2 - Auto scale and load balance your Dockerized app on AWS In Part 1, we dockerized a Node.js app, pushed the image to AWS ECR and deployed it to an EC2 instance. In Part 2, we created an AMI, a launch template, an Application Load Balancer and an Auto Scaling Group so our app scales automatically. In this part, we wire up a full CI/CD pipeline. Every push to main on GitHub will: Trigger AWS CodeBuild to build a new Docker image and push it to ECR Trigger AWS CodeDeploy via AWS CodePipeline to deploy the new image to every running EC2 instance Make sure your code is hosted in a GitHub repository before continuing. Prepare the codebase Before touching AWS, we need to add three files to the repository: a build spec for CodeBuild and a set of deployment scripts for CodeDeploy.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More