Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Docker Elastic Beanstalk

1,391 views

Published on

Use AWS Elastic Beanstalk to deploy docker images into production.

Published in: Technology
  • Login to see the comments

Docker Elastic Beanstalk

  1. 1. Docker 
 and
 AWS Elastic BeanStalk Ladislav Prskavec ladislav@apiary.io
  2. 2. Who am I? • SRE in Apiary • PragueJS organizer • NodeJS and Ruby developer • Blogger - blog.prskavec.net, www.prskavec.net • Git, Jenkins, Docker tranning and consulting
  3. 3. AWS Regions How many regions have AWS?
  4. 4. AWS AZ
  5. 5. eb CLI 3.0 mkdir HelloDocker cd HelloDocker eb init -p docker eb create docker-meeetup-demo-env pip install awsebcli
  6. 6. Platform Multi-container Docker 1.3.3 (Generic) on 64bit Amazon Linux 2014.09 v1.2.1 Docker 1.5.0 on 64bit Amazon Linux 2015.03 v1.3.1.
  7. 7. { "AWSEBDockerrunVersion": "1", "Image": { "Name": "registry:0.9.1" }, "Volumes": [ ], "Ports": [ { "ContainerPort": "5000" } ] } Dockerrun.aws.json
  8. 8. $ eb create apiary-docker-dev-env WARNING: The current directory does not contain any source code. Elastic Beanstalk… Environment details for: apiary-docker-dev-env Application name: HelloDocker Region: us-east-1 Deployed Version: None Environment ID: e-iicfuqdqfy Platform: 64bit Amazon Linux 2015.03 v1.3.1 running Docker 1.5.0 Tier: WebServer-Standard CNAME: UNKNOWN Updated: 2015-05-05 11:57:57.448000+00:00 Printing Status: INFO: createEnvironment is starting. INFO: Using elasticbeanstalk-us-east-1-176708046225 as Amazon S3 storage bucket for environment data. INFO: Created load balancer named: awseb-e-i-AWSEBLoa-1PM2OGFL5F INFO: Created security group named: awseb-e-iicfuqdqfy-stack-AWSEBSecurityGroup-1N44YZ87YU INFO: Created Auto Scaling launch configuration named: awseb-e-iicfuqdqfy-stack-AWSEBAutoScalingLaunchConf INFO: Waiting for EC2 instances to launch. This may take a few minutes. INFO: Created Auto Scaling group named: awseb-e-iicfuqdqfy-stack-AWSEBAutoScalingGroup-5NDZA8IBWM INFO: Created Auto Scaling group policy named: arn:aws:autoscaling:us-east-1:
  9. 9. Q & A Ladislav Prskavec ladislav@apiary.io @abtris

×