Tag: amazon web services

Using a docker container querying an AWS RDS Instance

I am developing an application that is going to be deployed using a docker container. This app connect and queries a Aurora database on AWS RDS. I would like to make some QA tests, pointing to test database instead of Aurora db production. What is the best approach? Create a database replica on the same […]

botocore.exceptions.EndpointConnectionError from inside Mac Docker container

I’ve recently started getting an EndpointConnectionError (after a long timeout) when attempting to contact DynamoDB from inside a Docker container running on Mac. The same code and setup has previously worked fine. Here’s some sample code: >>> from boto3 import resource >>> r = resource(‘dynamodb’) >>> table = r.Table(‘Users’) >>> table.put_item(Item={‘id’:’987987′}) My ~/.aws/config: [default] output […]

Deployment of new version to containers

I’m running a CoreOS cluster on AWS. On each instance in AWS I run a docker container. For instance I have 2 instances named API which run a docker image with our latest software version. I also have 6 proccessors instances that run another docker image with the latest version. I want to update every […]

How to forward an additional port to docker container created by mupx?

I’ve successfully deployed a meteor app with mupx on an EC2-Ubuntu server. Now I’ve created an additional Websocket server inside the meteor app, which is listening to port 8080, because meteor already uses its own Websocket implementation on port 80. I tested it on my local machine and it works. I already edited the AWS […]

elastic beanstalk application can't find private docker image

I am attempting to setup a simple Elastic Beanstalk application with the following settings: Web server environment Predefined configuration: docker Environment type: single instance My Dockerrun.aws.json has the authentication block, which was created by running the docker login command on my local machine. I have added those credentials in the form of a .dockercfg file […]

Docker containers on AWS

With Docker you can build, run, test and distribute applications that are based on Linux Containers. According to my understanding, Docker containers are lighter than virtual machines, and are designed as a substitute to them. Amazon (and I am sure that other cloud providers too) uses Docker images in task definitions to launch containers on […]

Python/Django Elastic Beanstalk now failing on deploy

I’m working on a project that I haven’t touched in about 4 months. Before everything on the deploy was working fine, but now I’m getting an error when trying to deploy an update. Failed to pull Docker image amazon/aws-eb-python:3.4.2-onbuild-3.5.1: Pulling repository amazon/aws-eb-python time=”2016-01-17T01:40:45Z” level=”fatal” msg=”Could not reach any registry endpoint” . Check snapshot logs for […]

Kubernetes authentication issues pulling ECR images

Kubernetes docs say using AWS ECR is supported, but it’s not working for me. My nodes have an EC2 instance role associated with all the correct permissions but kubectl run debug1 -i –tty –restart=Never –image=672129611065.dkr.ecr.us-west-2.amazonaws.com/debug:v2 results in failed to “StartContainer” for “debug1” with ErrImagePull: “Authentication is required.” Details The instances all have a role associated […]

Can't push an image to ECS Private Registry – no basic auth credentials

From OSX, I’m just following the guide you can find here (detailed repro steps below): https://console.aws.amazon.com/ecs/home?region=us-east-1#/repositories/create aws-cli/1.10.24 Python/2.7.10 Darwin/15.4.0 botocore/1.4.15 Docker version 1.11.1, build 5604cbe (The new beta) Everything goes fine until the push command, which fails with: no basic auth credentials I saw someone w/ the same error here: Can't push image to Amazon […]

Mounting AWS EBS volume when launching VM with Docker Machine

I’m exploring using Docker and Docker Machine to simplify my workflow for spinning up environments in AWS to support data analysis and machine learning tasks. I’ve worked out most of the details but have two outstanding questions: 1) When launching a VM in AWS with Docker Machine, how do I specify an EBS volume to […]

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