Amazon Elastic Beanstalk
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Amazon Elastic Beanstalk

on

  • 1,888 views

 

Statistics

Views

Total Views
1,888
Views on SlideShare
1,880
Embed Views
8

Actions

Likes
1
Downloads
14
Comments
0

4 Embeds 8

http://eventifier.co 3
https://twitter.com 2
http://eventifier.com 2
http://ec2-54-243-189-159.compute-1.amazonaws.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Amazon Elastic Beanstalk Presentation Transcript

  • 1. Amazon Elastic Beanstalk Eberhard Wolff Freelance Consultant/ Trainer Head Technology Advisory Board adesso AG
  • 2. HISTORY & ORIGIN Eberhard Wolff - @ewolff
  • 3. History & Origin ! Amazon: cloud pioneer ! Original offerings ! EC2 Elastic Compute Cloud ! S3 Simple Storage Service ! Many other offerings ! E.g. databases, Map / Reduce … ! Foundation for many other services Eberhard Wolff - @ewolff
  • 4. Other Amazon Services ! Elastic Load Balancer ! Auto Scaling starts new EC2 instances ! EBS: Elastic Block Storage virtual hard disks Eberhard Wolff - @ewolff
  • 5. Elastic Beanstalk in a Nutshell Eberhard Wolff - @ewolff
  • 6. Elastic Beanstalk in a Nutshell !  EC2 Server Elastic Load Balancer !  +Linux Auto Scaling !  +OpenJDK !  +Tomcat EC2 Server EC2 Server Linux Linux !  Scaling Elastic ... OpenJDK OpenJDK Load Balancer / Tomcat Tomcat Auto Scaling !  Deploy artefacts on S3 WAR !  Can add database S3 (RDS) Eberhard Wolff - @ewolff
  • 7. Programming Model ! OpenJDK + Tomcat ! Standard Java Programming Model ! Also supported: Python, PHP, Ruby, Node.js (Linux), .NET (Windows Server 2008R2) Eberhard Wolff - @ewolff
  • 8. Scaling / High Availability ! Servers automatically started ! Auto Scaling ! Failed servers will be restarted ! Servers can run in several data centers Eberhard Wolff - @ewolff
  • 9. TOOLS Eberhard Wolff - @ewolff
  • 10. Web Console ! Web UI ! Wizard to create new application ! + environment to run the application on Eberhard Wolff - @ewolff
  • 11. DEMO: NEWS APPLICATION Eberhard Wolff - @ewolff
  • 12. News Application Eberhard Wolff - @ewolff
  • 13. News Application Originally by Bernhard Löwenstein Eberhard Wolff - @ewolff
  • 14. News Application ✔ ✔ (✔) ✔ Eberhard Wolff - @ewolff
  • 15. News Application ✔ ✔ ✖ Spring ✔ Eberhard Wolff - @ewolff
  • 16. News Application Next slide Eberhard Wolff - @ewolff
  • 17. Code Changes Took the Spring application Converted to MySQL <bean class="java.net.URI" id="dbUrl"> <constructor-arg value="#{systemEnvironment['JDBC_CONNECTION_STRING']}" /> </bean> <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"> <property name="url" value="#{ 'jdbc:mysql://' + @dbUrl.getHost() + " ':' + @dbUrl.getPort() + @dbUrl.getPath() }" /> <property name="username" value="#{ @dbUrl.getUserInfo().split(':')[0] }" /> <property name="password" value="#{ @dbUrl.getUserInfo().split(':')[1] }" /> </bean> Eberhard Wolff - @ewolff
  • 18. Eberhard Wolff - @ewolff
  • 19. Eberhard Wolff - @ewolff
  • 20. Eberhard Wolff - @ewolff
  • 21. Eberhard Wolff - @ewolff
  • 22. Eberhard Wolff - @ewolff
  • 23. Eberhard Wolff - @ewolff
  • 24. Eberhard Wolff - @ewolff
  • 25. Eberhard Wolff - @ewolff
  • 26. Eberhard Wolff - @ewolff
  • 27. Eberhard Wolff - @ewolff
  • 28. Some tricks... ! Easy to create a new environment ! E.g. for testing, staging ! URLs can be swapped Eberhard Wolff - @ewolff
  • 29. Some tricks... ! Deploy new version on new environment ! Switch URLs with production ! Zero downtime Eberhard Wolff - @ewolff
  • 30. More tools ! All web console action also possible using SOAP Web Services ! Command Line tools Eberhard Wolff - @ewolff
  • 31. Eclipse Plug In ! Manage all AWS resources (EC2, S3…) ! Manage Elastic Beanstalk server just like local servers Eberhard Wolff - @ewolff
  • 32. Eclipse Plug In Eberhard Wolff - @ewolff
  • 33. FLEXIBILITY Eberhard Wolff - @ewolff
  • 34. Flexibility !  Tuning possible !  E.g. JVM parameters !  Load balancer configuration !  Can even use your own system images !  i.e. can add software, fine tune … !  Can log into running servers !  Session handling can be tuned !  Use EC2 if Elastic Beanstalk not flexible enough Eberhard Wolff - @ewolff
  • 35. Configuration Files ! Part of the deployable artifact ! Declaratively install packages & libraries ! Configure software components ! Run commands ! Set environment variables ! Create users & groups Eberhard Wolff - @ewolff
  • 36. PLATFORM AND OTHER SERVICES Eberhard Wolff - @ewolff
  • 37. Platform !  Amazon Web Services !  Proven foundation !  Used for many other cloud plattforms !  …and by many users !  Includes monitoring !  No additional charges to EC2 / S3 !  Free tier (750 h/month for one year) available Eberhard Wolff - @ewolff
  • 38. Other Services ! Amazon Relational Database Service ! Oracle, MySQL, MS SQL Server ! Diverse NoSQL solutions (e.g. DynamoDB, SimpleDB) ! Lots of AWS services (Map/Reduce, Caches, Search etc) ! Other services provided by 3rd parties Eberhard Wolff - @ewolff
  • 39. Amazon Elastic Beanstalk: Highlights ! Proven foundation ! Standard Java stack (Tomcat + OpenJDK) ! World wide availability (incl. Europe) ! Lots of additional services Eberhard Wolff - @ewolff