• Like
  • Save

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!

JBoss Developer Webinar: Cloud: BoxGrinder & SteamCannon

on

  • 1,528 views

JBoss Developer Webinar Series: BoxGrinder & SteamCannon.

JBoss Developer Webinar Series: BoxGrinder & SteamCannon.

Statistics

Views

Total Views
1,528
Views on SlideShare
1,290
Embed Views
238

Actions

Likes
1
Downloads
14
Comments
0

4 Embeds 238

http://planet.jboss.org 140
http://steamcannon.org 96
http://xss.yandex.net 1
http://webcache.googleusercontent.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

    JBoss Developer Webinar: Cloud: BoxGrinder & SteamCannon JBoss Developer Webinar: Cloud: BoxGrinder & SteamCannon Presentation Transcript

    • JBoss. Cloud. Bob McWhirter Technical Architect JBoss Fellow 1
    • Who am I? • Joined JBoss in 2007 • Co-founder of Drools • Bob the Despot of the Codehaus • aka "BMW" 2
    • Agenda • Define some terminology • BoxGrinder to create Virtual Machines • SteamCannon to create a PaaS • Demos • Deltacloud 3
    • Terminology 4
    • IaaS • Infrastructure as a service. • Virtual hardware. • Pretty barren. • Amazon EC2, Rackspace Cloud 5
    • PaaS • Platform as a Service. • Higher-order substrate for applications. • Google App Engine, Heroku 6
    • Image • A snapshot/template for a server. • Archetypical VM copied and launched. • AMI, .vmx, .raw 7
    • Instance • A server launched from an image. 8
    • 1. IaaS 9
    • Infrastructure Virtual servers and networks, available and priced on a per-usage basis. 10
    • Undifferentiated 11
    • Slightly Differentiated 12
    • http://www.flickr.com/photos/pagedooley/1092862034/ 13
    • http://www.flickr.com/photos/equitus/3435154099/ 14
    • http://www.flickr.com/photos/booleansplit/2979169728/ 15
    • But serves no particular purpose... 16
    • 2. PaaS 17
    • Platform gives purpose... 18
    • Platform A substrate upon which to deploy your applications. The contract your application targets. 19
    • Application A collection of components, services and data solving some problem. May be Java, Ruby, PHP, Perl, C, or a mixture. 20
    • Don't get hung up on .wars and .ears. 21
    • Platforms customize the infrastructure 22
    • With IaaS, a server is the unit of deployment 23
    • Platforms are servers operating in collusion 24
    • Load Balancer App Server App Server App Server Database 25
    • How do we create these colluding server units? 26
    • 27
    • VMware EC2 S3 AMI Simple Appliance Description EC2 EBS AMI KVM 28
    • 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
    • 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
    • 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
    • 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
    • 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
    • $ boxgrinder-build -W appserver.appl -p ec2 -d ami 34
    • Time passes... 35
    • ami-XXXXXX 36
    • A few times • Front-end (httpd, mod_cluster) • Appserver (JBoss AS6 + TorqueBox) • Database (PostgresSQL) • All-in-one (JBoss AS6 + PostgresSQL) 37
    • http://www.flickr.com/photos/deltamike/112665708/ 38
    • http://www.flickr.com/photos/resedabear/4739589400/ 39
    • SteamCannon 40
    • http://www.flickr.com/photos/sheilascarborough/3532118420/ 41
    • 1..* 1..* Environment Instance based on based on 1..* Platform Image 42
    • Platforms • JBoss 2-Tier • JBoss 3-Tier • Developer Standalone 43
    • Environments • My Sandbox • My Other Sandbox • Staging • QA • Production • Steven • Experimental 44
    • Demo! (Photo Album) 45
    • 1. SteamCannon launches a node. 46
    • 2. It deploys an application to the node. 47
    • Demo! (Rails 3, clustered, *-ds.xml) 48
    • 1. SteamCannon launches several nodes. 49
    • 2. SteamCannon orchestrates weaving them together. 50
    • 3. SteamCannon deploys artifacts to the correct services. 51
    • 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
    • Deltacloud Oh yeah, SteamCannon talks to the IaaS provider using the Deltacloud API. 53
    • Demo! (Deltacloud API) 54
    • 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
    • Try it! • http://boxgrinder.org/ • http://steamcannon.org/ • Download the VMware image • Boot the AMI • http://steamcannon.org/try/ 56
    • Q&A 57