Your SlideShare is downloading. ×
  • Like
Java Night 2010 SteamCannon
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Java Night 2010 SteamCannon

  • 1,016 views
Published

 

Published 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,016
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
6
Comments
0
Likes
1

Embeds 0

No embeds

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