1 Answer
- Newest
- Most votes
- Most comments
1
Hi
- If still you are using Ec2, You can also levere AWS ECS (Without any charges)
- use your Ec2 machine to attach to ECS console - https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-anywhere-registration.html
- Use AWS services to keep minimum desired services to run inside the ECS - This help you stay UP your application, Even task is down it will create automatically
CI CD Approch for your requirement:
- Create CI CD pipeline,
- Source is Bitbucket/Github
- Build Codebuild to build the image and push to ECR or DockerHub
- Codedeploy to update the ECS service
Here are the references can help you,
https://docker.awsworkshop.io/41_codepipeline/20_codebuild_codepipeline.html
Relevant content
- Accepted Answerasked 9 months ago
- asked 3 years ago
- Accepted Answerasked 9 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
So you are suggesting to try ECS instead of EC2?
Correct ECS is the best to manage , as you don’t need to pay anything to ECS, You pay only for EC2