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 a year ago
Relevant content
- asked a year ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 7 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