Date post: | 14-Jan-2015 |
Category: |
Technology |
Upload: | cloudbees |
View: | 305 times |
Download: | 1 times |
Build and Run your Applications in the Cloud: Getting Started with PaaS
Mark Prichard
@CloudBees
3
Using WebEx
Questions? Submit via the control panel at any time during the presentation.
4
What’s a Platform?
• Something you can use to – Run your apps– Build your apps– Add services to your apps–Manage your apps
• Platform-as-a-Service (PaaS) uses elastic, on-demand Cloud resources to do this
5
CloudBees Is a Platform Delivered As A Service
cloudbees.com
JenkinsMaster
Test
Stage
Build
Code
JenkinsExecutor
Forg
e R
ep
osit
ori
es
Git
SVN
mvn
Development Services
(DEV@cloud)
Developer and OperationsInteraction
End User Interaction
Runtime Services
(RUN@cloud)
CloudBees API
Grand Central Web
Console
SDK
SessionClustering
MySQL
Router
Application
PartnerEcosystem
5
©CloudBees, Inc. All Rights Reserved
6
Cloud Terminology
• Infrastructure-as-a-Service (IaaS)– Think: Amazon Web Services–What: Server Instances, Storage
Buckets etc
• Software-as-a-Service (SaaS)– Think: Salesforce.com–What: Packaged Applications (in the
Cloud)
• Plaform-as-a-Service (PaaS)–What: Managed Service for Custom
Apps
7
What is Platform-as-a-Service?
• We run your applications for you• We provide and manage all the
supporting infrastructure needed to run your apps
• We monitor and can scale out your apps
• We provide a full, enterprise-class build environment using Jenkins CI – the world’s #1 OSS continuous integration server
• You write the code and we do all the rest
8
• Lose it!– Mobile application– Millions of users– More than 30,000 transactions per minute, at peak
time
• And… only 4 employees and …2 developers– No IT, no servers, no DevOps– Complete focus on SOFTWARE DEVELOPMENT– Anything else is handled by CloudBees
• Unmatched productivity level– This is possible TODAY– Will you wait for your competitors to shoot first?
Example: Lose it!
9
Have You Met Jenkins?
• #1 OSS CI server• Easy to install/use• Extensible via 600+ plugins• Very widely adopted– 47K+ installations
• Very active community– Over 7 years of history, 440+ releases– 600+ plugins, 300+ developers
• CloudBees adds plugins for cloud builds
10
CloudBees Step-by-Stepcloudbees.com
JenkinsMaster
Test
Stage
Build
Code
JenkinsExecutor
Forg
e R
ep
osit
ori
es
Git
SVN
mvn
Development Services
(DEV@cloud)
Developer and OperationsInteraction
End User Interaction
Runtime Services
(RUN@cloud)
CloudBees API
Grand Central Web
Console
SDK
SessionClustering
MySQL
Router
Application
PartnerEcosystem
Multi-Tenanted
Dedicated
Amazon Web Services
10
©CloudBees, Inc. All Rights Reserved
11
What Platform-as-a-Service Is Not
• Commercial, packaged applications don’t usually run on a PaaS
• You don’t need to purchase any hardware or software licenses
• You won’t have to install anything – you just deploy your Java apps to the platform
• If you need to run applications in your own data center, PaaS may be the wrong model
12
How Do You Use CloudBees?
12
CLI/SDK GrandCentral Web Console IDE
©CloudBees, Inc. All Rights Reserved
13
What Does It Cost?
• Your app always runs in secure, isolated containers to which only you have access
• We can run those containers for you using shared resources or dedicated resources
• You pay only for what you need: a fixed subscription or “pay as you go” pricing
• FREE and COMPLETE for developers: no credit card required
14
App-Cells Are The Basic Unit Of RUN@cloud Usage
14©2013 CloudBees, Inc. All rights reserved
Java App (jar)
CPU
Java VM
Java API
Java Stack
Java Managed Memory (Heap)
Other Java Memory
Non-Java Memory
Java Class Structures
Your app can deploy in as little as one app-cell. A
single app-cell provides 128 Mb of memory and
1/8 of a EC2 Compute Unit *
*EC2 Compute Unit
15
Use App-Cells To Match Your Apps
15©2013 CloudBees, Inc. All rights reserved
Java Stack
Java Managed Memory (Heap)
Other Java Memory
Non-Java Memory
Java Class Structures
Java Stack
Java Managed Memory (Heap)
Other Java Memory
Non-Java Memory
Java Class Structures
Java Stack
Java Managed Memory (Heap)
Other Java Memory
Non-Java Memory
Java Class Structures
Java Stack
Java Managed Memory (Heap)
Other Java Memory
Non-Java Memory
Java Class Structures
Four app-cells can
support four Java apps,
or one Java app, using a
total of 512Mb
memory, for the same
cost. Java Stack
Java Managed Memory (Heap)
Other Java Memory
Non-Java Memory
Java Class Structures
16
App-Cells Are Charged By the HourExample: Growing Production Usage Over A Month
16©2013 CloudBees, Inc. All rights reserved
1 app-cell using Tomcat on 1
instance for 8 days, 24 hr/day
4 app-cells using Tomcat on 1
instance for 8 days, 24 hr/day
8 app-cells using Tomcat on 5
instances for 14 days, 24 hr/day
One month
(192 app-cell-hr + 768 app-cell-hr + 2688 app-cell-hr) * $0.019/app-cell-hr = $69.31 for the month
17
Getting Started: CloudBees ClickStarts
©2012 CloudBees, Inc. All Rights Reserved
The easiest way to get started – and learn new technologies
18
cloudbees.com
What’s up with this new framework!
What Did I Just Do?
18
CloudBeesGit
Repo
Database
Build/Test
db:create
App
PartnerServicePartner
Service
CloudBees API
Grand Centra
l Web
Console
app:creategit clone
Jenkins job create
Bind
Bind
Trigger
Deploy
Wow! At yourservice
©2013 CloudBees, Inc. All rights reserved
19
• Free and complete for developers• Get started with just a couple of
clicks: all you need is a browser
www.cloudbees.com/signup
Sign Up with CloudBees