vBACD July 2012 - Deploying Private PaaS with ActiveState Stackato


Published on

"Deploying Private PaaS with ActiveState Stackato”, Diane Mueller, Director Cloud Evangelism, ActiveState
This presentation covers building and deploying a Private Platform-as-a-Service (PaaS) on CloudStack. Diane Mueller, ActiveState's Cloud Evangelist shows how to deploy ActiveState's Stackato, an enterprise-ready multi-lingual Private PaaS that runs on any cloud and supports deploying and managing web & mobile applications in any language including Java, .Net, Python, Perl, PHP Ruby, Node.js, Clojure, Scala and Erlang - to name a few. Using the CloudStack UI, Diane demonstrates how to configure and deploy the PaaS and then shows how easy it is to push a live application in under an hour.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • The concept of a cloud computing system refers to the idea of on-demand, self-service elastic infrastructure. When talking to the accounting department, "cloud" often is translated to mean acquiring IT resources over the Internet (cheaply) through monthly expenses rather than heavy capital investments. But cloud computing isn't simply an outsourcing of IT resources. It's about delivering cloud-scale efficiencies to the enterprise across a diverse ecosystem of technology stacks on-demand. A cloud infrastructure can provide access to applications such as email (ex: Gmail) or customer relations management tools (ex: Salesforce.com), which are considered Software as a Service (SaaS). Or, the cloud can provide a virtualized toolbox for developers to use to build and deploy their own applications (ex: Stackato or Heroku) through a Platform-as-a-Service (PaaS) model. Or, it can simply provide network access to traditional computing resources such as processing power and storage; this is the Infrastructure-as-a-Service (IaaS) model.In addition to looking to add cloud-scale efficiencies, many organization lack the IT resources to support maintaining multiple technology stacks. Often, they settle and standardize on a single technology stack — perhaps a Linux distribution, a choice of either Ruby or Java, MySQL and Apache Tomcat. And then the developers are forced to design their applications within these limitations. Most Fortune 1000 organizations have a wide range of mission or business-critical applications deployed across their enterprises shared by multiple constituencies of users. From CRM and ERP to simple Perl scripts or long-running Python financial algorithms — these applications are built using a variety of languages, databases, frameworks and other technologies. These all consume IT resources that management would like very much to move to an on-demand, flexible infrastructure in order to reign in costs and get better utilization of IT hardware investments. This is where deploying a PaaS can help.PaaS may be deployed privately or hosted on the premises of a third-party public cloud IaaS provider to be shared among a limited number of trusted partners., i.e., a limited community cloud.Public vs. private cloudsPublic clouds have the potential to aggregate an unprecedented quantity and variety of confidential corporate and customer data in cloud data centers. This potential vulnerability requires a high degree of confidence and transparency that cloud IaaS providers can keep data isolated and protected. Also, cloud users and administrators rely heavily on web browsers, so browser security failures can lead to cloud security breaches. For these reasons, many organizations have hesitated to migrate their data to the public cloud and instead look to apply the cloud capabilities of rapid elasticity and resource pooling internally on their own private cloud infrastructures.In a private cloud infrastructure, an organization's IT resources are pooled and abstracted into logical building-blocks of storage, network, and server units, creating virtual datacenters. These resource containers are then dynamically allocated to your various applications, governed by defined business rules and user demand with the security of your own managed environments. Unlike public clouds, private cloud servers can be stored even during shutdown. They don't disappear, and can be started back up whenever you need them. Building your own PaaS and keeping it privatePaaS' most common deployment to date is as a fully hosted and managed service outside of the corporate firewall. These are known as public PaaS systems and they're offered by companies like Heroku, DotCloud or Cloud Foundry running on the premises of a third-party cloud IaaS provider, such as Amazon EC2 or Rackspace. However, once you have a private IaaS layer in place within your organization (using a hypervisor like VMware vSphere, Citrix XenServer, CA AppLogic, Microsoft Hyper-V, or another), deploying a PaaS on it allows you to securely provision, monitor and manage all your applications' environments from a single entry point behind your corporate firewall on your own hardware. A private PaaS can give your developers both the autonomy and the stacks they require to deliver today's diverse software applications to your organization. Deploying your own private PaaS allows you to create the scalable stack (OS, web servers, databases, web frameworks) required to manage the software applications your organization wants to deploy and ensuring this is done in a secure manner behind the corporate firewall as on-demand self services. Whether these are new applications developed in-house, existing applications, or third-party packages, they all have a diversity of technology requirements that IT teams and devops must provision and maintain. The PaaS layer provides an automated and managed mechanism for provisioning secure containers populated with the particular scalable technology stack required to deploy an application. Every component in this stack is horizontally scalable and self healing, meaning you can add as many copies of each component as needed in order to support your application. Everything is decoupled, it doesn't even really matter where each component lives, things could be spread across the world for all it cares.PaaS gives developers and IT professionals the freedom and flexibility to mix and match languages, databases, caching and messaging components without the need for additional servers or infrastructure. It does this by creating virtual "containers" on-demand that contain the technology stack in which the application runs and can be accessed securely by users. With a PaaS, your application's components are highly decoupled and your entire application is distributed across multiple instances. Every component in your applications' stack is protected by health checks and automated failover.Today's PaaS application platform offerings will enable a wide range of technology stacks, let developers mix and match the services, frameworks and databases that best fit the task at hand rather than limiting developers to a single stack. Trying to make the application work with the pre-ordained stack because IT has deemed it would be too costly to support a diversity of technology eco-systems is now a thing of the past. A PaaS provides a virtualized toolbox for developers to build and deploy their own applications in secure scalable containers without adding additional workload on IT departments, cutting down on the bureaucracy involved in requesting IT resources to build the environments by hand.
  • Why a Private PaaS?A private PaaS enables enterprise developers to leverage all the benefits of a public PaaS to deploy, manage, and monitor applications, while meeting the security and privacy requirements your enterprise demands. See why a private PaaS like Stackato makes sense for your IT and development needs, and ensures security of your sensitive data.Security of DataA private PaaS complies with your corporate IT security requirements. Breaches of public websites and SaaS applications are regularly reported in the media, and the resulting financial and reputational damages for organizations can be extremely serious. A private PaaS is exclusive to your enterprise, hosted on your private cloud, behind your firewall. Achieve tighter security with a private PaaS.Privacy and Control Over DataA private PaaS enables you to control where your data is stored. Organizations that collect personally identifiable information about their customers are obligated, and in some cases legally required, to keep that information private (e.g. healthcare or financial records). A private PaaS keeps this sensitive information within your organization to those who require access to it, while also enabling you to control where that data is physically stored to achieve better compliance and avoid any jurisdictional concerns in the US, Europe or elsewhere.Control for Corporate ITA private PaaS enables IT to control the use of a PaaS for developers, while giving them the self-service capabilities and choices within a PaaS that they demand. Hosting your own PaaS behind your firewall empowers developers with what they need to do their jobs faster, while enabling IT to have the visibility and control over IT resources and infrastructure. Achieve more efficient use of assets, ease of deployment for new and existing applications, and no vendor lock-in with Stackato for your private PaaS.Customize to Your RequirementsWhile most public PaaS services take a one-size-fits-all approach, your enterprise applications are much more complex. A private PaaS enables you to integrate it within your existing IT infrastructure such as databases, web servers, and authentication systems, and customize it to support all the languages your developers need.
  • vBACD July 2012 - Deploying Private PaaS with ActiveState Stackato

    1. 1. D E P LOY I N G A P R I VAT E PA A S O N C LO U D STAC KDiane Mueller, Director, Cloud Evangelism ActiveState Software @activestate dianem@activestate.com
    2. 2. A B O U T AC T I V ESTAT E Founded 1997 2 million developers, 97% of Fortune 1000 ActiveState empowers innovation from code to cloud smarter, safer, and faster Some customers:
    3. 3. TO DAY ’ S AG E N DA Why a Private PaaS? A Brief Stackato Overview DIY Instructions: Deploying Stackato on CloudStack  Creating your own CloudStack Stackato Template  Configuring Stackato on CloudStack Live Demo: Deploying Applications to CloudStack  Web Management Console Walk-Thru  Pushing from App Store & Desktop Q&A http://www.activestate.com/blog/2012/05/deploying-private-paas-cloudstack-stackato
    4. 4. W H AT I S A P R I VAT E P L AT FO R M A S A S E RV I C E ? Software as a Service Platform as a Service Infrastructure as a Service Hardware http://answers.oreilly.com/topic/2928-what-is-a-private-paas-and-when-should-i-deploy-one/
    5. 5. F RO M D E V TO P RO D U C T I O N – FA ST E R !  Standard, replicated environments throughout dev cycle  Whether developers are in-house or outsourced, whether testing/staging clusters are internal or external in cloud or not  Eliminate need for re-configuring stacks, re-coding applications  Seamless, faster way to get from code to cloud AppsDevelopment Testing Staging Production
    6. 6. W H Y A P R I VAT E P L AT FO R M - A S - A - S E RV I C E ?  Reduce Time to Market  Standardize Application Deployment  Security of Data  Privacy and Control Over Data  Control for Corporate IT  Customize to Your Requirements  Mitigate Risk of Downtime
    7. 7. STACKATO OVERVIEWThe application platform for creating a private PaaS ™ Any Language, Any Stack, Any Cloud
    8. 8. N E W R E L EA S E : AC T I V ESTAT E STAC K ATO 2 . 0 ActiveState is pleased to announce the release of Stackato 2.0, the application platform for creating a private, secure, flexible Platform- as-a-Service (PaaS) using any language on any stack on any cloud. From the desktop to the datacenter, Stackato makes it easy to develop, deploy, migrate, scale, manage, and monitor applications on any cloud. To learn more about Stackato and download the release, go to http://www.activestate.com/stackato Please make sure to download the new client when using the new VMs. You will find the clients available for download from the VM as well. Make the most of Stackato - check out our sample applications at http://community.activestate.com/stackato/demos Review our updated Stackato documentation at http://docs.stackato.com/
    9. 9. N E W F EAT U R ES I N T H I S R E L EA S E S I N C ESTAC K ATO 1 . 2 . . . Centralized multi-node cluster configuration  Allow stager to be run on different node management  Avahi / mDNS now compatible with a cluster setup  Multi-node configuration through doozer  Improved kato tail - now includes non-vcap  kato, an improved CLI replacing stackato-admin components such as nginx, postgres, redis.  Better process management through supervisord  Upgraded base operating system to Ubuntu 12.04 Java EE 6 support (Precise Pangolin)  New java_ee framework via Apache TomEE  Database service versions upgrades .NET support integrated via Iron Foundry .NET  Postgresql upgraded to v9.1 (from v8.4) runtime  MySQL upgraded to v5.5 (from v5.1) Python framework improvements  Redis upgraded to v2.4 (from 2.2)  Custom pypm/pip options via $PYPM_OPTS and  Updated to Stackato client 1.4 $PIP_OPTS environment variables Scala support via buildpack  Updated Stackato Management Console Runtime upgrades  Stability bug fixes and updated documentation  Node.js v0.6.18  ... and more!  PHP 5.3.10 Merged with latest Cloud Foundry sources  New Memcached as a service http://docs.stackato.com/reference/release-notes.html  Router v2 upgrade  Configurable restart behaviour for crashing apps  New Java Play framework (Play also supported via Stackato buildpack)
    10. 10. Setup & Develop & Manage & Scale Deploy Monitor• Create an AUTO- • Deploy NEW, • Manage updates, CONFIGURING migrating EXISTING upgrades private PaaS on top applications to the • Monitor application of private cloud or cloud in 3 simple performance IaaS in minutes steps
    11. 11. + + = Client (IDE or Deployed to theStackato VM Command Line) Your App Cloud
    12. 12. M U LT I - C H O I C E , E N D - TO - E N D, P O RTA B L E
    13. 13. S TA C K ATO PA A S A R C H I T E C T U R E
    14. 14. DIY: Deploying Stackato to CloudStackCREATING A STACKATO TEMPLATE
    15. 15. F I RST, D OW N LOA D A N STAC K ATO V M I M AG E http://www.activestate.com/stackato/download_vm
    16. 16. CO N V E RT V M TO V D H FO R M AT Or Use Virtual Box’s Conversion Function
    17. 17. P U T I T I N A N AC C ES S I B L E P L AC E
    18. 18. LO G I N TO YO U R C LO U D STAC K AC CO U N T
    19. 19. C R EAT E A T E M P L AT E
    20. 20. 4 5 M I N U T ES L AT E R …
    21. 21. N OW, C R EAT E A N C LO U D STAC K I N STA N C E
    22. 22. WA I T ! T H E R E ’ S M O R E
    23. 23. N OW LO O K U P T H E I N STA N C E ’ S I P A D D R ES S& CO N F I G U R E STAC K ATO. .
    24. 24. G OT A D O M A I N N A M E ?
    25. 25. LO G I N TO YO U R C LO U D STAC K I N STA N C E
    26. 26. A S S O C I AT E YO U R D O M A I N N A M E W I T H YO U RS TA C K ATO I N S TA N C E S I P A D D R E S S Edit the /etc/hosts file
    27. 27. B ECO M I N G “ STAC K ATO ” stackato-admin commands
    28. 28. Deploying Applications to Stacakto on CloudStackWEB MANAGEMENT CONSOLE
    29. 29. LIVE DEMO
    30. 30. NEXT STEPS
    31. 31. C R EAT E M O R E I N STA N C ES F RO M T E M P L AT E& C LU ST E R  Next: Build a Cluster!  http://docs.stackato.com/server/operations.html#index-2
    32. 32. B E N E F I T S FO R I T & D E V E LO P M E N T T EA M S :CO D E TO C LO U D I N M I N U T ES
    33. 33. Q U EST I O N S ?
    34. 34. Get Free Micro Cloud Trial, White Papers, Demos: www.activestate.com/stackato Diane Mueller Email: dianem@activestate.com Twitter: @activestateTHANK YOU!