Our great sponsors
-
copilot-cli
The AWS Copilot CLI is a tool for developers to build, release and operate production ready containerized applications on AWS App Runner or Amazon ECS on AWS Fargate.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Alternatively if you want something that will take you a bit further and allow more complex things like automated build pipelines, then look at AWS Copilot. It finds your local Dockerfiles, and you can use it to deploy each one as a service: https://aws.github.io/copilot-cli/
ECS has it's own format, which is not a direct 1:1 mapping from Docker Compose to ECS service / task definitions. You have to either use a prebuilt tool that does that mapping for your (like the Docker Compose context) or write your own service and task definitions from scratch. If you want to write them in the YAML format then CloudFormation would be the best bet. There are some sample YAML definitions for ECS here: https://github.com/awslabs/aws-cloudformation-templates/tree/master/aws/services/ECS