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.

  • ECS or EB for a single-container application with Docker?
  • Codeship: Deploying to EC2 Container Service from Docker Image
  • how to provide environment variables to AWS ECS task definition?
  • AWS ECS Docker - nginx: [emerg] host not found in upstream
  • Building a docker image using AWS Developer Tools
  • Configuring bitbucket pipelines with Docker to connect to AWS
  • Thanks.

  • Updating docker registry in ubuntu 14.0
  • “Memory used” metric: Go tool pprof vs docker stats
  • Meteor Mupx with Nginx reverse proxy
  • Docker Image Entry Point Script Not Found
  • Why “Data Space Used” + “Data Space Available” != “Data Space Total” in docker?
  • Confluence Error 500 while setup
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.