Microservice CICDPipeline
Microservice CICDPipeline
Create an AWS Cloud9 IDE as your work environment. Copy the application code to your IDE. Create
working directories with starter code for the two microservices. Create a Git repository for the
microservices code and push the code to CodeCommit.
2. Configuring the application as two microservices and test them in Docker containers
Adjust the AWS Cloud9 instance security group settings. Modify the source code of the customer
microservice. Create the customer microservice Dockerfile and launch a test container. Modify the source
code of the employee microservice. Create the employee microservice Dockerfile and launch a test
container. Adjust the employee microservice port and rebuild the image. Check code into CodeCommit
Create ECR repositories and upload the Docker images. Create an ECS cluster and CodeCommit
repository to store deployment files. Create definition files for each microservice and register them with
Amazon ECS. Create AppSpec files for CodeDeploy for each microservice and Update files and check
them into CodeCommit
Create four target groups, a security group and an Application Load Balancer, and configure rules to
route traffic
Create a CodeDeploy application and deployment groups. Create a pipeline for the customer
microservice and test the CI/CD pipeline for the customer microservice. Create a pipeline for the
employee microservice and Test the CI/CD pipeline for the employee microservice. Observe how
CodeDeploy modified the load balancer listener rules
Limit access to the employee microservice. Adjust the UI for the employee microservice and push the
updated image to Amazon ECR. Confirm that the employee pipeline ran and the microservice was
updated. Test access to the employee microservice. Scale the customer microservice