This is the Docker image for AWS CloudWatch Logs agent for AWS ECS.
aws --profile=<AWS_PROFILE> --region=<REGION> ecs register-task-definition --cli-input-json file://web.json
You must specify REGION environment variable in the task definition, indicating the AWS region of cloudwatch log.
aws --profile=<AWS_PROFILE> --region=<REGION> ecs create-service --service-name web --task-definition arn:aws:ecs:<region>:<aws_account>:task-definition/<name>:<revision> --desired-count 1