Tag: amazon web services

Elastic Beanstalk – Update App based on DockerHub “Automated Build”

I’m currently experimenting with Elastic Beanstalk and Docker, and I’m wondering if there is some way to get an Elastic Beanstalk Docker App, to auto update based on a DockerHub AUTOMATED BUILD image? I’m using the following setup. 1) GitHub repository with Dockerfile and associated files. 2) DockerHub Automated Build image linked to the GitHub […]

AWS + Docker + Puma + Rails + S3 , broken upload after few hours of uploading

I have a fully working rails application that I recently migrated to ECS at AWS. I mean for the first hour or so, I see no problem, then the upload with fog and carrierwave gem just stops with no logs what so ever. At this moment i failed back to my servers where I have […]

Can't login to docker with aws

This is an extension of my last question considering I’ve decided to deploy a Docker container onto a ton of EC2’s. I’ve set up a repository and a user with full rights, and I added the correct keys to my aws cli configuration. When I try to run the docker login command that comes up […]

Multiple dockers and multiple domains on elastic beanstalk

I have 10 low-traffic websites, all with different domains and I want to run all of them on one elastic beanstalk environment. I’m a developer with zero experience with docker but from reading other answers I got the idea that a multicontainer docker environment could be what I need. http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_docker_ecs.html Can someone who have done […]

Installing cPhalcon on AWS Docker Image

I have a docker image that installs phalcon onto a Docker image. Here is the Dockerfile: FROM ubuntu:trusty MAINTAINER Fernando Mayo <fernando@tutum.co>, Feng Honglin <hfeng@tutum.co> # Install packages ENV DEBIAN_FRONTEND noninteractive RUN apt-get update && \ sudo apt-get -y install supervisor php5-dev libpcre3-dev gcc make php5-mysql git curl unzip apache2 libapache2-mod-php5 mysql-server php5-mysql pwgen php-apc […]

Kubernetes creation in AWS – ap-northeast-2 region throws error “Please specify AWS_IMAGE directly (region not recognized)”

Creating Kubernetes cluster in AWS cloud ap-northeast-2 region is throwing “Please specify AWS_IMAGE directly (region not recognized)” message. Tried by setting the zone “export KUBE_AWS_ZONE=”ap-northeast-2a””. But still fails to create. [root@ip-172-31-29-160 cluster]# export KUBE_AWS_ZONE=”ap-northeast-2a” [root@ip-172-31-29-160 cluster]# ./kube-up.sh ********************************************************* ZONE: ap-northeast-2a REGION: ap-northeast-2 ********************************************************* … Starting cluster using provider: aws … calling verify-prereqs … calling kube-up […]

Deploy Meteor 1.3, React app on AWS

I am trying to use https://github.com/arunoda/meteor-up/tree/mupx to deploy https://www.meteor.com/tutorials/react/creating-an-app on Amazon AWS. Everything goes well untill I get to “mupx deploy”. $ mupx init $ mupx setup (node:524) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version. Started TaskList: Setup (linux) […]

AWS ECS container with tomcat + jdk

I would like to use AWS ECS service to create a docker container having tomcat + jdk to deploy a simple webapp, creating aws cloudformation script for the same. what commands should I specify to run this webapp in container? TaskDefination may look like below “taskdefinition”: { “Type”: “AWS::ECS::TaskDefinition”, “Properties” : { “ContainerDefinitions” : [ […]

Running composer on Elastic Beanstalk with multi docker environment

I have tried to get my multi docker setup running on AWS. I’m running Laravel. By default, we don’t include vendors to our repository. This is a problem because there doesn’t seem like a way to run Composer after deployment. I’m including vendors into the release but then I get issues with the Composer auto […]

Docker unable to connect AWS EC2 cloud

Hi I am able to deploy my spring boot application in my local docker container(1.11.2) in Windows-7.I followed the below steps to run the docker image in AWS EC2(Free Account:eu-central-1) but getting error Step 1 Generated Amazon “AccessKeyID” and “SecretKey”. Step 2 Created new repository and it shows 5 Steps to push my docker image […]

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