Tag: amazon web services

Should I use AWS Elastic Beanstalk or the Amazon EC2 Container Service (ECS) to scale Docker containers?

I’ve developed a Docker based application comprised of multiple microservices. It has to consume Amazon SQS messages and processes them. At first I wanted to use AWS Elastic Beanstalk, but then I fell over the EC2 Container Service. Now I don’t know which one to choose. As of now, Elastic Beanstalk supports Multi-Container-Environments. That’s great […]

Linking containers between task definitions in AWS ECS?

I’m trying to setup a basic web application, which has an associated database, in AWS ECS. Locally I have these setup in different containers, and on ECS, I’d like to have separate task definitions so that I may scale the two separately. I registered my first task definition as david_mongodb successfully in ECS. It has […]

How Docker and Ansible fit together to implement Continuos Delivery/Continuous Deployment

I’m new to the configuration management and deployment tools. I have to implement a Continuous Delivery/Continuous Deployment tool for one of the most interesting projects I’ve ever put my hands on. First of all, individually, I’m comfortable with AWS, I know what Ansible is, the logic behind it and its purpose. I do not have […]

What is the optimal way to run a Node API in Docker on Amazon ECS?

With the advent of docker and scheduling & orchestration services like Amazon’s ECS, I’m trying to determine the optimal way to deploy my Node API. With Docker and ECS aside, I’ve wanted to take advantage of the Node cluster library to gracefully handle crashing the node app in the event of an asynchronous error as […]

How to change nginx config in amazon elastic beanstalk running a docker instance

After i login and the cookie is set I get error 502. When i read the log i get the error: 014/05/17 01:54:43 [error] 11013#0: *8 upstream sent too big header while reading response header from upstream, client:, server: , request: “GET /administration HTTP/1.1”, upstream: After some fast googling i found: http://developernote.com/2012/09/how-i-fixed-nginx-502-bad-gateway-error/ and I […]

Can't push image to Amazon ECR – fails with “no basic auth credentials”

I’m trying to push a docker image to an Amazon ECR registry. I’m using docker client Docker version 1.9.1, build a34a1d5. I use “aws ecr get-login –region us-east-1” to get the docker login creds. I then successfully login with those creds as follows: docker login -u AWS -p XXXX -e none https://####.dkr.ecr.us-east-1.amazonaws.com WARNING: login credentials […]

Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.