Ubuntu 14.04 base with Cloud Watch (AWS & Non-AWS)
This Docker Base requires one of the following
Credentials files added at
The ECS Instance launched with IAM Role assigned
The AWS Access Keys passed via the following environment variable at runtime
Atleast one of the above should be present or else the docker will fail.
Note: Ensure that the IAM user has proper Cloud Watch Access rights to put Logs.
Edit the AWS_REGION Environment in Dockerfile to required Cloud Watch AWS Region before building
etc/awslogs.conf to fit the application log
Default Syslog Configuration
datetime_format='%b %d %H:%M:%S'
file = /var/log/syslog
buffer_duration = 5000
log_stream_name = LOG_STREAM_NAME
initial_position = start_of_file
log_group_name = syslog