stackato workshop: code to cloud in 45 mins with private paas

39
“Code to Cloud” with Private PaaS Hands On Workshop @CloudExpo Santa Clara 2012 Deploy your first App to the Cloud via PaaS in 45 minutes or less Diane Mueller, Director, Cloud Evangelism ActiveState dianem @activestate.com Twitter: pythondj

Upload: activestate

Post on 10-May-2015

1.292 views

Category:

Documents


0 download

DESCRIPTION

Private Cloud PaaS Stackato Workshop given at #CloudExpo 2012 by Diane Mueller @pythondj for ActiveState

TRANSCRIPT

Page 1: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

“Code to Cloud” with Private PaaSHands On Workshop @CloudExpo Santa Clara 2012

Deploy your first App to the Cloud via PaaS in 45 minutes or less

Diane Mueller, Director, Cloud Evangelism [email protected]: pythondj

Page 2: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

About ActiveState

• Founded 1997• 2 million developers, 97% of Fortune 1000• ActiveState empowers innovation from code to cloud

smarter, safer, and faster• Some customers:

Page 3: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Today’s Lesson Plan

• Goal: Push an App to the Cloud• Brief Overview of Stackato• Hands On: Deploy an App to multiple Clouds

– Via Web Management Console– Via Stackato Client

• DIY Instructions (aka what we are NOT doing)– Download MicroCloud – Deploy your own PaaS

Page 4: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Take an App Centric View of the Cloud Layer Cake

Page 5: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

The application platform for creating a private PaaS

Setup & Scale

• Create an AUTO-CONFIGURING private PaaS on top of private cloud or IaaS in minutes

Develop & Deploy

• Deploy NEW, migrating EXISTING applications to the cloud in 3 simple steps

Manage & Monitor

• Manage updates, upgrades

• Monitor application performance

Page 6: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Multi-Choice, End-to-End, Portable

Page 7: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

“Code to Cloud” is a Process

MicroCloud

Public Clouds

Private Cloud

Production

POCs Test Staging

Page 8: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Today’s Goal: Push an App to the Cloud

vSphere

Your Private Cloud

Any CloudFoundry API

MicroCloud

Page 9: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

You be might asking..

Page 10: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Solution: Add Private PaaS layer to your Cloud

• Sits on top of any cloud infrastructure• Deploys, manages, scales & monitor applications

IaaS: Hypervisor/Infrastructure

(ie: vSphere, Xen, OpenStack, KVM, Hyper-V)

PaaSLanguages, Frameworks, Web servers

Services: Data, Messaging, Others

Behi

nd th

e fir

ewal

l

(Security + Privacy + Control) = Compliance

Page 11: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Scaling, Securing & Managing your Application

Page 12: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Stackato VMClient (IDE or

Command Line) Your AppDeployed to the

Cloud

+ + =

T H E S TA C K AT O D E P L O Y M E N T M O D E L

Application Deployment Process

Page 13: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Today’s Logistics

• Logistics – Create Stackato EC2 Sandbox Account

• Stackato Sandbox(s)– Lesson 1: Push from Web Console to HP Cloud– Lesson 2: Re-deploy to Amazon EC2– Lesson 3: Deploy from Desktop to Cloud via Client

Page 14: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Now, let’s get organized!

• Create an account on our Stackato Sandbox– http://www.activestate.com/stackato/sandbox

• No Laptop? No WiFi?– Find a Buddy!

Page 15: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Create a Stackato EC2 Sandbox Account!

• https://account.activestate.com/signin/

Page 16: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Use a valid email address!

Page 17: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Check your email inbox!

Page 18: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Click thru and activate your account!

Page 19: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Request Access!

Page 20: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS
Page 21: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Wait there more!

• Remember to Tweet when you complete: – Just deployed my First #Stackato App on #HPCloud {your

apps’ URL} #CloudExpo– Just deployed my another #Stackato App on #EC2 {your

apps’ URL} #CloudExpo

Page 22: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Now back our regularly scheduled program

Page 23: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Demo Time

My First App in the Cloud

Page 24: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Stackato VMClient (IDE or

Command Line) Your AppDeployed to the

Cloud

+ + =

The Stackato Deployment Model

Page 25: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Count off! Log-in!

[email protected]– Where “N” equals (1,2,3,4,5,6,7,8,9,10….)

• https://api.stackato.ddns.us• PaaSword: “cloudexpo”

Page 26: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Lesson 1: Deploy your first App

• Navigate to AppStore• Choose Currency App• Click Install• Navigate to Applications• Click on “Start” Icon• Once Started, Click on URL of Application • Tweet

– Just deployed my First #Stackato App on #HPCloud {your apps’ URL} #CloudExpo

– Door Prize for First to Complete & Tweet!

#MyFirstStackatoApp

Page 27: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Demo Time: Do it Again!

Same App, Different Cloud

Page 28: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Lesson 2: Deploy your App to EC2

• Check your email and confirm • Log into Stackato EC2 Standbox• Choose Multisweep or Currency Converter• Click Install• Navigate to Applications• Click on “Start” Icon• Once Started, Click on URL of Application • Tweet

– “Just deployed my another #Stackato App on #EC2 {your apps’ URL} #CloudExpo”

Page 29: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Get your Password!

Page 30: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

https://account.activestate.com/

Page 31: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Log-in (EC2)

https://api.stacka.to

Page 32: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Questions?Remember to Tweet when you complete:

Just deployed my another #Stackato App on #HPCloud {your apps’ URL} #CloudExpo

Just deployed my another #Stackato App on #EC2 {your apps’ URL} #CloudExpo

#MyFirstStackatoApp

Page 33: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Lesson 3: Deploy from your Desktop

Page 34: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Lesson 3: Deploy from Desktop!

• Navigate to the Stackato Client Tab• Download Stackato Client• Log into Our Stackato EC2 Sandbox• Download Currency Converter from Github

– Extra credit: modify header • stackato push –n mynewappname• Note the URL• Open Your Browser and Navigate to your URL

Door Prize for First to Tweet!

Page 35: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Multi-Choice, End-to-End, Portable

Page 36: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Key Takeaways

• Avoid Cloud Vendor Lock In by adding Private PaaS• This is NOT rocket science! • Stackato Value propositions:

– Agility for development– Control for IT management– ROI for the CIO

• Stackato 2.4 is not just the best PaaS for the enterprise, it’s the only PaaS for the enterprise.

• Any language, any stack, any cloud™

Page 37: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

Questions?

#MyFirstStackatoApp

Page 38: Stackato Workshop: Code to Cloud in 45 mins with Private PaaS

But wait there’s more in Stackato 2.4

• “Skinnable” UI– OEM partners—particularly cloud hosting providers—can now

implement Stackato with a customized look and feel. For instance, the Stackato 2.4 Management Console can be “themed” with OEM partner logo, colors, and branding.

– Enterprise Customers can “brand” and embed stackato seamlessly as well

• Improved logging– Logs can be aggregated from multiple nodes to a central

location, and then forwarded to third-party logging solutions like Loggly, Papertrail, or Splunk.