Skip to content

CI/CD for Repo Microservice

0

Hi everyone, I am a newbie to AWS. I need to setup a working, reliable CI/CD Pipeline for my repo with 3 different environments (stage, dev and prod) that should be binded with the repo. It should be automated and no manual tasks.

Could you help me for the step by step process. Thank you!

1 Answer
0

Hello.

A good place to start is by following the simple pipeline tutorial described in the documentation below.
By following this tutorial, you will be able to see how you can automatically deploy an application to an EC2 instance.
https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-simple-codecommit.html

If you are considering deploying to ECS, I think the following tutorials and blogs will be helpful.
https://docs.aws.amazon.com/codepipeline/latest/userguide/ecs-cd-pipeline.html
https://aws.plainenglish.io/automate-application-deployment-using-aws-codepipeline-ecr-to-ecs-122feaafcd93

Once you understand how CodePipeline works, you can automate it by creating a pipeline for each branch of the repository.
https://dev.to/aws-builders/using-aws-codepipeline-to-deploy-on-different-environments-5e51

EXPERT
answered a year ago
EXPERT
reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.