Date post: | 13-May-2015 |
Category: |
Technology |
Upload: | wolfgang-schell |
View: | 5,503 times |
Download: | 1 times |
ELASTIC BEANSTALKPaaS based on Amazons Cloud
Wolfgang Schellblog.jetztgrad.net
twitter.com/jetztgradnet
FEATURES
PaaSAutomatic scalingLoad balancingSticky SessionsManagement
Version controlLog file rotation to S3
HOW IT WORKS
Image from http://aws.typepad.com/aws/2011/01/aws-beanstalk-concepts.html
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
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/