Java Night 2010 SteamCannon

1,215 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,215
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
8
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Java Night 2010 SteamCannon

  1. 1. SteamCannonPlatform-as-a-Service by JBossMarek Goldmann | Java Night 2010 | Utrecht, NL
  2. 2. Marek, who?•• JBoss Developer • Cloud-related projects: (lead), SteamCannon• Part of• Electronic music lover
  3. 3. Agenda• Some terminology • IaaS, PaaS, EC2, Image, WTF, Instance...• SteamCannon overview • What? Where? How?• Demo time • Shot an app into the Cloud!
  4. 4. Terminology and background
  5. 5. Two roles• Developer• User
  6. 6. Software (SaaS) Platform (PaaS)Infrastructure (IaaS)
  7. 7. IaaS
  8. 8. IaaS• Developer (hidden role) • Has: hardware • Talks about: disk, network, CPU • Installs: operating system• User • Talks about: operating system
  9. 9. IaaS examples• Amazon EC2• Rackspace
  10. 10. Image / appliance• Complete VM• A template• We use to build our images
  11. 11. Instance• A server launched from an image
  12. 12. But IaaS is pretty barren...
  13. 13. PaaS
  14. 14. PaaS• Developer • Has: operating system • Talks about: partitions, users • Installs: application server, database• User • Talks about: datasources, applications
  15. 15. PaaS examples• Google AppEngine• Heroku (Ruby)
  16. 16. Platform is the contract yourapplication targets
  17. 17. IaaS –undifferentiated servers
  18. 18. PaaS – serversworking together
  19. 19. Platform isn’t only theAPIs or the language
  20. 20. Platform is the actualimplementation too!
  21. 21. Application• Collection of components, services and data solving some problem• May be Java, Ruby, PHP, ... or a mixture!
  22. 22. Don’t get hung upon .wars and .ears!
  23. 23. PaaS is way more interesting forapplication developer than IaaS
  24. 24. Software (SaaS) Platform (PaaS)Infrastructure (IaaS)
  25. 25. Software (SaaS) PlatformSteamCannon (PaaS) Infrastructure (IaaS)
  26. 26. Software YOU! (SaaS) PlatformSteamCannon (PaaS) Infrastructure (IaaS)
  27. 27. Load BalancerApp Server App Server App Server Database
  28. 28. How we create these servers?
  29. 29. name: appserverversion: 1release: 5summary: SteamCannon back-end appliancehardware: memory: 2048 partitions: "/": size: 4appliances: - _basepackages: includes: - jboss-as6 - jboss-as6-cloud-profiles - torquebox-jruby - torquebox-deployers - torquebox-cloud-profiles-deployerspost: base: - "echo -e n - JBossAS >> /etc/sysconfig/steamcannon-agent"
  30. 30. $ boxgrinder-build appserver.appl -p ec2 -d ami
  31. 31. SteamCannon portfolio• Front-end: Apache HTTPD, mod_cluster• Appserver: JBoss AS 6 + TorqueBox• Database: PostgreSQL• Sandbox: JBoss AS + TorqueBox + PostgreSQL
  32. 32. SteamCannon
  33. 33. SteamCannon terminology• Platform• Environment• Artifact
  34. 34. Platforms• JBoss 2-Tier• JBoss 3-Tier• Developer Standalone
  35. 35. Environments• My Sandbox• Chicken• Staging• Bacon• Production• Steven• Experimental
  36. 36. Artifact• Application• Datasource
  37. 37. Demo
  38. 38. How it works1.Nodes are launched2.Nodes are configured3.Applications are deployed to nodes
  39. 39. We can deploy Rails apps too!
  40. 40. SC main features• Click and deploy even complex, multi-artifacts applications• Grow your cluster using one click
  41. 41. Future directions• REST API• Private clouds• Additional platforms • Infinispan • HornetQ• Improved UI/UX/Workflows • Bundling artifacts as applications • Movement between environments
  42. 42. Try it!• http://steamcannon.org/• http://boxgrinder.org/• http://steamcannon.org/try/• Download the VMware image• Boot the AMI
  43. 43. Q&A@marekgoldmann@steamcannon#steamcannon
  44. 44. Image sources• http://unimaps.com/flags-europe/poland-print2.html• http://ratuagung.com/2010/12/02/prisonplanet-com-censored-news/• http://www.flickr.com/photos/pagedooley/1092862034/• http://www.flickr.com/photos/deltamike/112665708/• http://www.flickr.com/photos/sheilascarborough/3532118420/

×