Upload to s3 from docker container running inside ECS not working

I have a laravel application running in a docker container hosted on Amazon ECS. I’ve configured the storage driver to be S3 and all its corresponding configurations are perfect (as they work well on my local env and an ec2 instance).

But the same configuration on ECS times out and leaves no logs on s3 or laravel. Someone please help me understand this problem.

  • Docker Volume vs AWS s3
  • How to access to docker config file in S3 bucket from Elastic Beanstalk instance
  • Unable to retrieve restored archive from AWS S3 'Invalid size value: 1g'
  • Building a docker image using AWS Developer Tools
  • Why are my gunicorn Python/Flask workers exiting from signal term?
  • Getting list of running containers from a cluster
  • Thanks.

  • Docker volume container store in different drives
  • Can not unmount a device using “umount” in Docker
  • Service running in Docker returning URLs to another service service in different container
  • Setting up Jetty Runner with custom Cert in Docker Build File
  • docker nginx stream balancer 404
  • How to connect to docker container in local machina [duplicate]
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.