You can configure container instances to send CloudWatch Logs information. You can enable to it to get all the CloudWatch Logs from one location for all the container instances.
You must create an IAM policy that will allow container instances to use the CloudWatch API logs. This policy must attach to the ecsInstanceRole.
You can install the CloudWatch Logs agent to the container instances, after successfully attaching the policy.
CloudWatch contains a logs agent configuration file (/ect/awslogs/awslogs.conf), that will describe the log files to send to CloudWatch Logs. In this file, the general section defines the common configurations. These configurations will apply to all log streams. You can also ...