Skip to content

Latest commit

 

History

History
26 lines (12 loc) · 704 Bytes

README.md

File metadata and controls

26 lines (12 loc) · 704 Bytes

AWS CloudWatch Logs agent for Docker

This is the Docker image for AWS CloudWatch Logs agent for AWS ECS.

HOWTO

register-task-definition

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.

create-service

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