active state stackato morningstar build a-cloud-day2012-09-09
DESCRIPTION
ActiveState The Private PaaS for Enterprise Why Private PaaS Deploying PaaS on CloudStack DeTRANSCRIPT
DEPLOYING A PRIVATE PAAS ON CLOUDSTACK
Diane Mueller, Director, Cloud Evangelism Ac7veState So9ware
@ac7vestate @pythondj [email protected]
mst@r
ABOUT ACTIVESTATE
§ Founded 1997 § 2 million developers, 97% of Fortune 1000 § “Ac7veState empowers innova7on from code to cloud smarter, safer, and faster”
§ Some customers:
STACKATO: PR IVATE PAAS FOR THE ENTERPRISE MULT I -‐CHOICE , END-‐TO-‐END, PORTABLE
TODAY’S AGENDA
§ Why a Private PaaS? § A Brief Stackato Overview § DIY Instruc7ons: Deploying Stackato on CloudStack
§ Crea7ng your own CloudStack Stackato Template § Configuring Stackato on CloudStack
§ Live Demo: Deploying Applica7ons to Cloud with Stackato § Web Management Console Walk-‐Thru § App Store, User & Group mgmt § Q & A h]p://www.ac7vestate.com/blog/2012/05/deploying-‐private-‐paas-‐cloudstack-‐stackato
WANT TO FOLLOW-‐ALONG?
§ Some logis7cs… § Create an account on our Stackato Sandbox
§ h]p://www.ac7vestate.com/stackato/sandbox § Remember to Tweet when you complete:
§ #MyFirstStackatoApp on #Stackato plus your URL § There are prizes..
§ Reduced Cost § Increased Storage § Highly Automated § Control § Flexibility § Agility § Quicker Time to Market § Allows IT to Shi9 to Service focus
§ Developers just want to: § Code!
§ Corporate IT wants to: § Deliver IT as a service and consump7on-‐based pay per use
§ Cloud Hos7ng & Managed Service Providers want to: § Ensure seamless service experiences § Offer more value-‐added services & SLAs § Sell more compu7ng 7me
§ Cloud Infrastructure Vendors want to: § Sell more compu7ng 7me
§ Full applica7on lifecycle experiences § Enabling apps to get onto cloud § Re-‐deploy work where & when required § On-‐demand commissioning of resources § Seamless service experiences
ENTER PLATFORM AS A SERVICE
§ h]p://answers.oreilly.com/topic/2928-‐what-‐is-‐a-‐private-‐paas-‐and-‐when-‐should-‐i-‐deploy-‐one/
So9ware as a Service
Plakorm as a Service
Infrastructure as a Service
Hardware
FROM DEV TO PRODUCTION – FASTER!
§ Standard, replicated environments throughout dev cycle § Whether developers are in-‐house or outsourced, whether tes7ng/
staging clusters are internal or external in cloud or not § Eliminate need for re-‐configuring stacks, re-‐coding applica7ons § Seamless, faster way to get from code to cloud
Testing Staging
Apps
Development Production
§ Another cloud provider might not have a clue how to install, deploy, run & manage your applica7on § Deep detailed informa7on about the applica7on and its underlying stack is needed that “arbitrary” providers typically don’t have
§ Virtual images do not suffice at all • They are “just” snapshots of the actual state of your applica7on
§ Heroku, EngineYard, GAE § A Swipe of the Credit Card and away we go! § Very Convenient but:
• Limited to Available Services, Languages, Frameworks • Locked into their cloud
§ Great for: • Start-‐ups in MVP mode & Shadow IT projects
WHY A PRIVATE PLATFORM-‐AS-‐A-‐SERVICE?
§ Reduce Time to Market § Standardize Applica7on Deployment § Security of Data § Privacy and Control Over Data § Control for Corporate IT § Customize to Your Requirements § Mi7gate Risk of Down7me § Actually Deliver on Inflated Cloud Expecta7ons
ENTER PRIVATE PAAS FOR ENTERPRISES
The Enterprise Private PaaS Any Language, Any Stack, Any Cloud
™
STACKATO: PR IVATE PAAS FOR THE ENTERPRISE MULT I -‐CHOICE , END-‐TO-‐END, PORTABLE
“CODE TO CLOUD” IS A PROCESS
Micro Cloud
Public
Private
ProducHon
Trial/Test/Stage
PUSH YOUR APP TO ANY CLOUD
Micro Cloud
Amazon vSphere
OpenStack
Your Private Cloud
HP Cloud
Rackspace
Any Cloud Foundry
CloudStack
Stackato VM
Client (IDE or
Command Line)
Your App
Deployed to the
Cloud
+ + =
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
STACKATO ARCHITECTURE
\
DIY: DEPLOYING STACKATO PASS (ON CLOUDSTACK)
FIRST, DOWNLOAD AN STACKATO VM IMAGE
§ h]p://www.ac7vestate.com/stackato/download_vm
CONVERT VM TO VDH FORMAT
Or Use Virtual Box’s Conversion Func6on
PUT IT IN AN ACCESSIBLE PLACE
LOG IN TO YOUR CLOUDSTACK ACCOUNT
CREATE A TEMPLATE
45 MINUTES LATER…
NOW, CREATE AN CLOUDSTACK INSTANCE
WAIT! THERE’S MORE
NOW LOOK UP THE INSTANCE’S IP ADDRESS & CONFIGURE STACKATO. .
GOT A DOMAIN NAME?
LOG IN TO YOUR CLOUDSTACK INSTANCE
ASSOCIATE YOUR DOMAIN NAME WITH YOUR STACKATO INSTANCE 'S IP ADDRESS § Edit the /etc/hosts file
BECOMING “STACKATO”
§ Stackato admin commands “kato”
$ kato admin grant [email protected]
$ sudo reboot
$ kato become all –m 72.52.67.26 –e api.cloudstack-‐stackato.dns1.us – n cloudstack -‐o
CREATE MORE INSTANCES FROM TEMPLATE & CLUSTER
§ Next: Build a Cluster!
§ h]p://docs.stackato.com/server/opera7ons.html#index-‐2
DEMO TIME: DEPLOYING & SCALING APPS
WITH STACKATO
STACKATO OVERVIEW
§ Stackato Sandbox(s) § HP Cloud § Amazon EC2 § Micro Cloud (Desktop Virtual Machine) § CloudStack (DevCamp)
§ Web Console § Login (h]p://api.stacka.to)
§ Stackato Client – (open source) § Click to see download page..
WANT TO FOLLOW-‐ALONG?
§ Some logis7cs… § Create an account on our Stackato Sandbox
§ h]p://www.ac7vestate.com/stackato/sandbox § Remember to Tweet when you complete:
§ #MyFirstStackatoApp on #EC2 plus URL #Python § There are prizes..
NOW, BACK OUR REGULARLY SCHEDULED PROGRAM
WEB MANAGEMENT CONSOLE Deploying Applica7ons to Stacakto on CloudStack
LOG-‐IN!
h]ps://api.stacka.to
L IVE DEMO
WHAT’S NEW? A LOT!
§ Configurable user group administra7on
§ Persistent file system as a Service § New app store capabili7es § Be]er cluster management § kato, a be]er replacement for
stackato-‐admin § Central mul7-‐node configura7on
through doozer § CLI to edit configura7on on all nodes:
kato config § New Memcached as a service § New Java Play framework, also
supported via Buildpacks § Integrated support for Iron
Foundry .NET run7me
§ Database service versions upgrades § Postgresql upgraded to v9.1 (-‐> v8.4) § MySQL upgraded to v5.5 (-‐> v5.1) § Redis upgraded to v2.4 (-‐> 2.2)
§ Python § Custom pypm/pip op7ons via $PYPM_OPTS
and $PIP_OPTS environment variables § Scala support via Buildpack § Java EE 6 support § New java_ee framework via Apache
TomEE § Run7me upgrades
§ Node.js v0.6.18 § PHP 5.3.10
§ WebSocket API support Using Stackato 2.2, enterprise customers (par6cularly financial-‐services firms or game developers) can push “stateful” applica6ons to the cloud. Applica6ons requiring protected, real-‐6me channel communica6on between server and browser can now be deployed to a secure private PaaS and managed within Stackato 2.2.
§ Support for mulHple-‐cloud-‐controller architectures Stackato 2.2 provides easy setup of mul6ple cloud controller nodes for high-‐availability (HA), highly-‐scalable mission-‐cri6cal app deployment environments. Addi6onal cloud controllers can be used as high availability failover safety nets or as load balancers to remove poten6al boOlenecks and improve performance and reliability.
§ Management views for mobile devices Enterprise IT leads can now take their cloud with them. Stackato 2.2 now offers its best-‐in-‐class Management Console in mobile-‐view form, available for IT managers to monitor the cloud on their portable device.
§ JBoss compaHbility Stackato 2.2 now supports apps developed for the JBoss applica6on server. Enterprises that have built Java apps on the JBoss applica6on server can move them to and manage them in a Stackato 2.2 cloud without having to recode or modify those apps.
§ A networking giant is deploying Stackato to simplify cloud management processes and speed 7me-‐to-‐market for support applica7ons.
§ A major marke7ng So9ware-‐as-‐a-‐Service (SaaS) solu7on provider is using Stackato for its mission-‐cri7cal produc7on cloud applica7ons. Their developers use Stackato to deploy apps faster and easier, le{ng them focus on their own imagina7on rather than ge{ng bogged down in administra7on, troubleshoo7ng, and rework.
§ A F100 cloud service provider is using Stackato to reduce 7me spent configuring enterprise middleware, streamlining deployment from development to produc7on.
QUESTIONS?
THANK YOU!
Get Free Micro Cloud Trial, White Papers, Demos: www.acHvestate.com/stackato
Diane Mueller
Email: [email protected] Twi]er: @ac7vestate @pythondj