I have a running container on EC2 instance and I would like to populate my logs to CloudWatch in the same region.
I was trying to use this tutorial: https://docs.docker.com/config/containers/logging/awslogs/
However I have an issue related with the timeout of connection, also even though policy allows my ec2 instance to connect to the cloudwatch, when i am trying to describe anything I don't receive any response.
Do You know how to get my logs from docker container running on EC2 to cloudwatch? I have tried multiple tutorials, however wasn't able to do it.