introduction to elastic beanstalk

25
ELASTIC BEANSTALK PaaS based on Amazons Cloud Wolfgang Schell blog.jetztgrad.net twitter.com/jetztgradnet

Upload: wolfgang-schell

Post on 13-May-2015

5.505 views

Category:

Technology


1 download

DESCRIPTION

This presentation gives a short introduction to Amazon Elastic Beanstalk and compares it to Google AppEngine

TRANSCRIPT

ELASTIC BEANSTALKPaaS based on Amazons Cloud

Wolfgang Schellblog.jetztgrad.net

twitter.com/jetztgradnet

ELASTIC BEANSTALK

Basic Recipe:

1. Upload your .WAR file2. Enjoy

FEATURES

PaaSAutomatic scalingLoad balancingSticky SessionsManagement

Version controlLog file rotation to S3

WHAT'S INSIDE

Apache (Frontend)Tomcat (AppServer)

HostManager (Management)

based on Amazons IaaS

HOW IT WORKS

Image from http://aws.typepad.com/aws/2011/01/aws-beanstalk-concepts.html

ACCESSAWS Web ConsoleCommand Line Tools

SDK and APIEclipse Plugin

SUPPORTED LANGUAGES AND FRAMEWORKS

Everything that can be run as a Java web application:

Java (Spring), Groovy (Grails), (J)Ruby (Rails), PHP, Jython

STORAGE AND DATABASE OPTIONS

S3 (BLOB Store)EBS (Block Store)

SimpleDB (NoSQL)RDS (Hosted MySQL, Oracle*)

BYODB (Bring your own database, e.g. on EC2)

* soon

FLEXIBILITY

Use services of underlying IaaSPay for what you use

Custom AMIs*

* http://blog.jetztgrad.net/2011/02/how-to-customize-an-amazon-elastic-beanstalk-instance/

SERVICES (1)

SQS (Messaging)SNS (Notification)

SES (Emails)RDS, Simple DB (Database)

S3, EBS (Storage)

SERVICES (2)

Route53 (DNS)AutoScaling (Management)CloudWatch (Monitoring)

CloudFront (CDN)DevPay, FPS (Payment)

(many more, see AWS homepage)

PRICING (1)Pay for what you use:

EC2 instance, Load Balancer, Block Store, Bandwidth, ...

Complex pricing basedon service type, region, usage*

Free usage tier for new customers

* http://calculator.s3.amazonaws.com/calc5.html

PRICING (2)Example:

Service Unit base price per month

Micro Instance 1 $0.02/hr $14.40

Load Balancer 1 $0.025/hr $18.00

LB Bandwidth 15 GB $0.008/GB $0.12

EBS volume 8 GB $0.10/GB $0.80

S3 Storage 1 GB $0.14/1GB $0.15

Bandwidth 15 GB$0.10/GB in

$0.15/GB out $3.75

$37.22

PRICING (3)Instance Pricing (selection)

Micro 613 MB, 1 Core, 32 or 64 bit

$0.02/hrSmall 1.7 GB, 1 Core, 32bit $0.085/hrLarge 7.5 GB, 4 Cores, 64bit $0.34/hr

Extra Large 15 GB, 8 Cores, 64bit $0.68/hrHM Extra Large 17.1 GB, 6.5 Cores, 64bit $0.50/hr

HM Double Extra Large 34.2 GB, 13 Cores, 64bit $1.00/hrHM Quadruple Extra Large 68.4 GB, 26 Cores, 64bit $2.00/hr

High-CPU Medium 1.7 GB, 5 Cores, 32bit $0.17/hrHigh-CPU Extra Large 7GB, 20 Cores, 64bit $0.68/hr

ALTERNATIVES

Google AppEngine (Java, Python)

CloudFoundry (Java, Ruby, Node.js)

CloudBees RUN@cloud (Java)

Heroku (Ruby)

Azure (.NET, Java)

COMPARISONGAE VS. BEANSTALK

GAE Beanstalk

Flexibility - ++

Services + ++

Management + ++

Limitations -- ++

Version control ++ +

Pricing ++ o** Free usage tier for new customers

ELASTIC BEANSTALKThank you!

Questions?

LINKS (ELASTIC BEANSTALK)

Userguide http://aws.amazon.com/documentation/elasticbeanstalk/

Introduction http://aws.typepad.com/aws/2011/01/introducing-elastic-beanstalk.html

Presentation http://www.slideshare.net/AmazonWebServices/aws-elastic-beanstalk

Free Usage Tier http://aws.amazon.com/free/

Related blog (mine)

http://blog.jetztgrad.net/category/beanstalk/

LINKS (PAAS)

Elastic Beanstalk http://aws.amazon.com/elasticbeanstalk/

CloudFoundry http://cloudfoundry.com/

CloudBees http://www.cloudbees.com/run.cb

Heroku http://www.heroku.com/

Azure http://www.microsoft.com/windowsazure/

BEANSTALK CONSOLE (1)

BEANSTALK CONSOLE (2)

BEANSTALK CONSOLE (3)

BEANSTALK CONSOLE (4)

BEANSTALK CONSOLE (5)

BEANSTALK CONSOLE (6)