Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this presentation? Why not share!

Like this? Share it with your network

Share

JBoss Developer Webinar: Cloud: BoxGrinder & SteamCannon

  • 1,621 views
Uploaded on

JBoss Developer Webinar Series: BoxGrinder & SteamCannon.

JBoss Developer Webinar Series: BoxGrinder & SteamCannon.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
1,621
On Slideshare
1,383
From Embeds
238
Number of Embeds
4

Actions

Shares
Downloads
14
Comments
0
Likes
1

Embeds 238

http://planet.jboss.org 140
http://steamcannon.org 96
http://xss.yandex.net 1
http://webcache.googleusercontent.com 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. JBoss. Cloud. Bob McWhirter Technical Architect JBoss Fellow 1
  • 2. Who am I? • Joined JBoss in 2007 • Co-founder of Drools • Bob the Despot of the Codehaus • aka "BMW" 2
  • 3. Agenda • Define some terminology • BoxGrinder to create Virtual Machines • SteamCannon to create a PaaS • Demos • Deltacloud 3
  • 4. Terminology 4
  • 5. IaaS • Infrastructure as a service. • Virtual hardware. • Pretty barren. • Amazon EC2, Rackspace Cloud 5
  • 6. PaaS • Platform as a Service. • Higher-order substrate for applications. • Google App Engine, Heroku 6
  • 7. Image • A snapshot/template for a server. • Archetypical VM copied and launched. • AMI, .vmx, .raw 7
  • 8. Instance • A server launched from an image. 8
  • 9. 1. IaaS 9
  • 10. Infrastructure Virtual servers and networks, available and priced on a per-usage basis. 10
  • 11. Undifferentiated 11
  • 12. Slightly Differentiated 12
  • 13. http://www.flickr.com/photos/pagedooley/1092862034/ 13
  • 14. http://www.flickr.com/photos/equitus/3435154099/ 14
  • 15. http://www.flickr.com/photos/booleansplit/2979169728/ 15
  • 16. But serves no particular purpose... 16
  • 17. 2. PaaS 17
  • 18. Platform gives purpose... 18
  • 19. Platform A substrate upon which to deploy your applications. The contract your application targets. 19
  • 20. Application A collection of components, services and data solving some problem. May be Java, Ruby, PHP, Perl, C, or a mixture. 20
  • 21. Don't get hung up on .wars and .ears. 21
  • 22. Platforms customize the infrastructure 22
  • 23. With IaaS, a server is the unit of deployment 23
  • 24. Platforms are servers operating in collusion 24
  • 25. Load Balancer App Server App Server App Server Database 25
  • 26. How do we create these colluding server units? 26
  • 27. 27
  • 28. VMware EC2 S3 AMI Simple Appliance Description EC2 EBS AMI KVM 28
  • 29. name: appserver version: 1 release: 5 summary: SteamCannon back-end appliance hardware: memory: 2048 partitions: "/": size: 4 appliances: - _base packages: includes: - jboss-as6 - jboss-as6-cloud-profiles - torquebox-jruby - torquebox-deployers - torquebox-cloud-profiles-deployers post: base: - "echo -e 'n - JBossAS' >> /etc/sysconfig/steamcannon-agent" 29
  • 30. name: appserver version: 1 release: 5 summary: SteamCannon back-end appliance hardware: memory: 2048 partitions: "/": size: 4 appliances: - _base packages: includes: - jboss-as6 - jboss-as6-cloud-profiles - torquebox-jruby - torquebox-deployers - torquebox-cloud-profiles-deployers post: base: - "echo -e 'n - JBossAS' >> /etc/sysconfig/steamcannon-agent" 30
  • 31. name: appserver version: 1 release: 5 summary: SteamCannon back-end appliance hardware: memory: 2048 partitions: "/": size: 4 appliances: - _base packages: includes: - jboss-as6 - jboss-as6-cloud-profiles - torquebox-jruby - torquebox-deployers - torquebox-cloud-profiles-deployers post: base: - "echo -e 'n - JBossAS' >> /etc/sysconfig/steamcannon-agent" 31
  • 32. name: appserver version: 1 release: 5 summary: SteamCannon back-end appliance hardware: memory: 2048 partitions: "/": size: 4 appliances: - _base packages: includes: - jboss-as6 - jboss-as6-cloud-profiles - torquebox-jruby - torquebox-deployers - torquebox-cloud-profiles-deployers post: base: - "echo -e 'n - JBossAS' >> /etc/sysconfig/steamcannon-agent" 32
  • 33. name: appserver version: 1 release: 5 summary: SteamCannon back-end appliance hardware: memory: 2048 partitions: "/": size: 4 appliances: - _base packages: includes: - jboss-as6 - jboss-as6-cloud-profiles - torquebox-jruby - torquebox-deployers - torquebox-cloud-profiles-deployers post: base: - "echo -e 'n - JBossAS' >> /etc/sysconfig/steamcannon-agent" 33
  • 34. $ boxgrinder-build -W appserver.appl -p ec2 -d ami 34
  • 35. Time passes... 35
  • 36. ami-XXXXXX 36
  • 37. A few times • Front-end (httpd, mod_cluster) • Appserver (JBoss AS6 + TorqueBox) • Database (PostgresSQL) • All-in-one (JBoss AS6 + PostgresSQL) 37
  • 38. http://www.flickr.com/photos/deltamike/112665708/ 38
  • 39. http://www.flickr.com/photos/resedabear/4739589400/ 39
  • 40. SteamCannon 40
  • 41. http://www.flickr.com/photos/sheilascarborough/3532118420/ 41
  • 42. 1..* 1..* Environment Instance based on based on 1..* Platform Image 42
  • 43. Platforms • JBoss 2-Tier • JBoss 3-Tier • Developer Standalone 43
  • 44. Environments • My Sandbox • My Other Sandbox • Staging • QA • Production • Steven • Experimental 44
  • 45. Demo! (Photo Album) 45
  • 46. 1. SteamCannon launches a node. 46
  • 47. 2. It deploys an application to the node. 47
  • 48. Demo! (Rails 3, clustered, *-ds.xml) 48
  • 49. 1. SteamCannon launches several nodes. 49
  • 50. 2. SteamCannon orchestrates weaving them together. 50
  • 51. 3. SteamCannon deploys artifacts to the correct services. 51
  • 52. Bottom line... • BoxGrinder allows us to bake "best practices" into server images • SteamCannon adds trusted remote hands to do the logistics of clustering & configuration • Click and deploy, even complex, multi- artifact applications 52
  • 53. Deltacloud Oh yeah, SteamCannon talks to the IaaS provider using the Deltacloud API. 53
  • 54. Demo! (Deltacloud API) 54
  • 55. Future directions • Additional platforms, including other data and service platforms • Infinispan (Data grid) • HornetQ (Messaging fabric) • Improved UI/UX/Workflows • Higher-order "applications" • Movement between environments 55
  • 56. Try it! • http://boxgrinder.org/ • http://steamcannon.org/ • Download the VMware image • Boot the AMI • http://steamcannon.org/try/ 56
  • 57. Q&A 57