deploy, manage & scale your apps with elastic beanstalk

15
Deploy, Manage & Scale Your Apps [email protected] @IanMmmm Ian Massingham — Technical Evangelist WEB SUMMIT DUBLIN 2014 #AWS #WEBSUMMIT

Upload: ian-massingham

Post on 07-Jul-2015

241 views

Category:

Technology


1 download

DESCRIPTION

In this talk from the Dublin Websummit 2014 AWS Technical Evangelist Ian Massingham introduces AWS Elastic Beanstalk, an easy-to-use service for deploying and scaling web applications and services developed with Java, .NET, PHP, Node.js, Python, Ruby, and Docker on familiar servers such as Apache, Nginx, Passenger, and IIS. You might also be interested in the demo that accompanies this slide deck. If so, you can find a recording on YouTube here: http://youtu.be/twmsX0mWqcQ

TRANSCRIPT

Page 1: Deploy, Manage & Scale Your Apps with Elastic Beanstalk

Deploy, Manage & Scale Your Apps

[email protected]

@IanMmmm

Ian Massingham — Technical Evangelist

WEB S

UM

MIT

DUBLIN

201

4

#AW

S #W

EBSUM

MIT

Page 2: Deploy, Manage & Scale Your Apps with Elastic Beanstalk

Elastic Beanstalk: Deploy Applications with 7 Popular Containers

Page 3: Deploy, Manage & Scale Your Apps with Elastic Beanstalk

Alert

Log

Mon

App

E

LB

AZ

http://your-app.elasticbeanstalk.com

Elastic Beanstalk Deploy your app to a load balanced, auto scaled Environment

Page 4: Deploy, Manage & Scale Your Apps with Elastic Beanstalk

Alert

Log

Mon

App

AZ

ELB

http://your-app.elasticbeanstalk.com

Elastic Beanstalk Deploy your app to a load balanced, auto scaled Environment

Page 5: Deploy, Manage & Scale Your Apps with Elastic Beanstalk

Alert

DB

Log

Mon

App

AZ

AZ

ELB

http://your-app.elasticbeanstalk.com

Elastic Beanstalk Deploy your app to a load balanced, auto scaled Environment

Page 6: Deploy, Manage & Scale Your Apps with Elastic Beanstalk

Docker & Elastic Beanstalk

Page 7: Deploy, Manage & Scale Your Apps with Elastic Beanstalk

Deployment without Docker

Elastic Beanstalk

App.zip

Page 8: Deploy, Manage & Scale Your Apps with Elastic Beanstalk

Deployment without Docker

Elastic Beanstalk

Pythonlibs

Python2.7.5

WSGI entrypoint:application.py

Pythonlibs

App.zip

Python3

WSGI entrypoint:app.py

Fix: Documentation Fix: Definitions

Page 9: Deploy, Manage & Scale Your Apps with Elastic Beanstalk

Deployment with Docker

Elastic Beanstalk

DockerPython

libsApp.zip

Python3

WSGI entrypoint:app.py

Page 10: Deploy, Manage & Scale Your Apps with Elastic Beanstalk

3 Deployment Options

•Dockerfile - upload your Dockerfile and Elastic Beanstalk will build it on each machine

•Dockerrun.aws.json - a manifest file describing the container you want and how Elastic Beanstalk should run it

•zip file with context - includes Dockerfile & Dockerrun.aws.json file plus additional application context

Page 11: Deploy, Manage & Scale Your Apps with Elastic Beanstalk

Zip with app context

App.zip ------------------------------- |-- Dockerfile |-- Dockerrun.aws.json

Dockerfile

Dockerrun.aws.json

Page 12: Deploy, Manage & Scale Your Apps with Elastic Beanstalk

A more complete example app

https://github.com/awslabs/eb-py-flask-signup

Dockerfile Dockerrun.aws.json

Page 13: Deploy, Manage & Scale Your Apps with Elastic Beanstalk

A more complete example app

https://github.com/awslabs/eb-py-flask-signup

.ebextensions/setup.config

Page 14: Deploy, Manage & Scale Your Apps with Elastic Beanstalk

WANT TO LEARN MORE?

COME TO OUR ARCHITECTURE ASK US ANYTHING

TODAY AT 16:00

Page 15: Deploy, Manage & Scale Your Apps with Elastic Beanstalk

@IanMmmm

Ian Massingham — Technical Evangelist

@AWScloudAWS Global News and Service Launches

@AWS_UKIAWS UK & Ireland News, Events & Webinars

WEB S

UM

MIT

DUBLIN

201

4

#AW

S #W

EBSUM

MIT