Your development ideas for ECD

Hey guys, I’ve got some developers that are developing using docker. We are going to use ECS with some AWS services such as elasticache, SNS, and SQS. What I would like to know is how do you guys setup your development environment with Docker containers/Docker compose, when using some of the services listed above.

I’d like to avoid using static IAM keys. I’ve thought of and have used Motoserver but I’m not sure if that will be feasible.

Thanks


Related discussions:

Meant ECS in the title

Look into iam roles for ecs clusters. Takes away the hassle of using iam keys

While that works. I forgot to mention the development environment is local to their laptops. So roles will not work here

Developers can use this tool when running docker on their local laptop/dev environments. It starts a container with an assumed role and passes the aws temp creds into it. That allows the container running on a local laptop environment to access resources such as SQS, SNS, etc. The developers account would need access to assume the role for it to work.

https://github.com/billtrust/iam-docker-run

I’ll check it out, thanks!

Thanks for the input guys. One of the requirements I forgot to mention is that we use docker-compose for our container orchestration. I ended up just using saml2aws to setup the IAM role to be used and executed docker-compose with saml2aws to pass in the temporary security credentials during run time.