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