1 Answer
- Newest
- Most votes
- Most comments
0
You can achieve this with a single command cdk deploy
for ECS/EKS with EC2/Fargate as hosting model. See examples here related ECS/EKS/Fargate. The examples are in typescript but there are many examples in other languages as well such as python. AWS CDK enables you to generate a Cloudformation template as well in case you prefer that using cdk synth
There is direct support, for referencing an image in ECR and providing that to ECS/EKS
Hope this helps.
answered 2 years ago
Relevant content
- Accepted Answerasked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 months ago
All the text in red in the documentation needs to be replaced with actual values. eg. region needs to be replaced with actual region name. same for repo name, account id etc