Tag: amazon web services

Trouble getting AWS ecs-cli to pull from private docker repo

I’m trying to use the new AWS ecs-cli and can’t get it to pull from a private docker repo. I’ve got my docker credentials in an S3 bucket but how would I go about setting that in the cli? The documentation isn’t very clear on this. I don’t want to start ssh-ing into the actual […]

Increasing the AWS ECS Task Definition reserved ports limit

I’m trying to set up a docker container with aws’ ecs service. I would like to reserve ports 30000 – 60000 on the host machine and map those ports to 30000 – 60000 on the container. Aws documentation, however, states that only 100 ports may be reserved on the host: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html Can anyone explain why […]

AWS EB with Docker, Node and Nginx Config Issues

On AWS, I have configured Elastic BeanStalk to deploy multiple EC2 instances running a Dockerized Node app behind a Elastic Load Balancer. In addition, I have AWS Certificate manager working and loading the site over https via SSL. Here is what I am trying to accomplish: Automatically redirect non www to www.domain.com Automatically redirect http […]

Using rc.local to start network dependent services

Is it safe to use /etc/rc.local to initialize services that depend on the network? I’m using it to start a service that makes some requests to the network during its startup process. Happens that occasionally the service startup is failing (not all the times). This is the error I’m getting: 2016-06-07T12:01:48.724+0000 W NETWORK [ReplicationExecutor] getaddrinfo(“my_machine_local_dns”) […]

Can docker run additional libraries my OS doesnt support?

I have an OS(Amazon Linux) that doesn’t support a library (libcgj). If I host the application via docker container, can I use this library?

How to create a docker container out of existing project on Ubuntu

I have a Django project being hosted on Digital Ocean that I’m trying to migrate to AWS. My project is currently not setup at all with portability in mind. I’m wondering if a clean solution would just be to create a docker container and move that to AWS? My question is (assuming Docker is already […]

Configure Postgres application users with Terraform for RDS

Terraform allows you to define Postgres master user and password with the options username and password. But there is no option to set up an application postgres user, how would you do that?

Should I containerize a standalone command-line or terminal application which requires 16 vCPU?

We are using an application which is currently compiled for windows (it is a standalone .exe, not hooked into registry) and which can also be cross-compiled for *nix if needed. This application runs optimally using about 16 threads in parallel. Deploying an entire windows (or Linux) stack seems burdensome and heavy but I don’t understand […]

Connection refused with kubectl on EC2 ubuntu instance?

I installed docker-go-kubernetes on an ubuntu EC2 AWS instance using this guide: http://kubernetes.io/docs/getting-started-guides/aws/ I have kubectl installed but when I run a test: kubectl run my-nginx –image=nginx –replicas=2 –port=80 I receive and error: The connection to the server localhost:8080 was refused – did you specify the right host or port? How do I specify the […]

Docker: ECS vs Beanstalk vs Docker Cloud

I’m looking for the easiest and fastest way to manage a microservices scalable infrastructure. I chose to use Docker. But so far, I’ve faced some different ways to go. AWS ECS AWS Elastic Beanstalk Docker Cloud Which one would you go? Why?

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