Presented by:Continuously Design your
Application Workload for
Continuous Deployment with
OpenStack Heat
18 May 2015
Michael D. Elder
Senior Technical Staff Member
@mdelder
Ton Ngo
Senior Software Engineer
The age of the customer …
… demands faster software delivery
Deploying to different infrastructures in Dev and Production
further slows down application delivery
“My application is working on Amazon
and I am using a LAMP stack with
RHEL – why can’t you make it work on
private cloud”
“I have LAMP stack with RHEL for the on-
prem environment – it isn’t working! How
did you configure network and load
balancers?”
Development team Operations team
Both: “Why can’t we build out environments consistently across different clouds”
Achieving Continuous Delivery on Cloud
Infrastructure as a
Service
•  Combination of base
virtual machines and
automation to achieve
consistency
•  Spectrum: Deploy as
minimal image +
complete automation
or snapshot built
image
Container-based
Deployments
•  Neither true IaaS or PaaS
•  Offers unique value to
standardize key parts of
your architecture
•  Easy to build and deploy
•  May require a different
architecture and
deployment approach
than you’re used
Platform as a Service
•  Platform provides
simple deployment
methods and
consistency across
environments
•  Extensible for various
application runtimes
OpenStack + Heat Docker Cloud Foundry
5
Intuitive and Scalable Model Driven Deployment
Composite Applications
Components
Re-usable Workflows Environment
Management
SIT
PROD
The “What”
The “How”
The “Where”
Deployment
Automation
6
Faster and more consistent application environment deployments
IBM Confidential
Developers/
Testers
Integrators
Specialists
Compute,
Network,
and Storage
Platforms
Apps
Environment!
Application
Middleware Config
Middleware
OS Config
Hardware
Environment
Blueprint
Design Deploy
Long, complex lifecycle with
manual steps!
Small iterative changes!
…! …!
8
Rapidly deploy application environments in 3 simple steps
Provide	
  portability	
  across	
  heterogeneous	
  
virtual	
  datacenter,	
  private	
  and	
  public	
  
clouds	
  
3.  Portable	
  across	
  different	
  
virtualized	
  infrastructure	
  
Assemble	
  mul8-­‐8er	
  applica8on	
  environments	
  
and	
  define	
  auto-­‐scaling	
  policies	
  to	
  meet	
  
opera8onal	
  needs.	
  
2.  Assemble	
  mul9-­‐9er	
  and	
  scalable	
  
environment	
  blueprints	
  
1.  Create	
  stacks	
  
Load Balancer
Web
Servers
App
Servers
Database
Servers
Firewall
Describe	
  full	
  stack	
  environments	
  using	
  
infrastructure	
  building	
  blocks	
  like	
  Images,	
  
Middleware	
  scripts,	
  and	
  Applica8on	
  code	
  	
  
VMware
vCenter
Private PublicVirtual
Datacenter
Application
Middleware Config
Middleware
OS Config
Hardware
Environment
Blueprint
Policies
Hybrid Cloud Deployments through a Single Point of Control
IBM Bluemix
Cloud
Foundry
On-prem IaaS
On-prem Traditional IT
IBM	
  Cloud	
  Orchestrator	
  
IBM	
  PureApplica9on	
  System	
  
IBM	
  Cloud	
  Manager	
  with	
  
OpenStack	
  
9
Manage application deployment across dev, test,
and production spanning multiple clouds
Key Points:
•  Enable full stack deployments (OS, patterns and
applications) across hybrid cloud applications
•  Establish common toolchain framework with
plug points to support continuous delivery
Virtual
Machines
Docker
Containers
IBM UrbanCode Release
Off-prem IaaS
IBM UrbanCode Deploy
with Patterns
© IBM Corporation 10
SCREENCAP: Designer &
Palette
© IBM Corporation 11
© IBM Corporation 12
© IBM Corporation 13
Support for Amazon:
•  Elasticache
•  S3 Object Storage
•  Relational Database as a Service
© IBM Corporation 14
History of your git log
Comparison view
Of your changes
Use IBM DevOps Services or your own git to host your blueprints
Demo
•  Web-based design – live feedback across the entire
deployed stack from UrbanCode Deploy with Patterns
•  Hybrid Cloud Design & Deploy (Amazon/OpenStack)
•  Containers & Virtual Machines in a single template
•  Composite template design
IBM Container Service
ü  Automate the build of
Docker images
ü  Manage and distribute
Docker images in private
image registries
ü  Easily host containers in
the cloud
ü  Scale and auto-recovery
built-in
ü  Logging and Monitoring
built-in
17
Intuitive scalable model-driven deployment automation
Composite Applications
Components
Re-usable Workflows Environment
Management
SIT
PROD
The “What”
The “How”
The “Where”
Deployment
Automation
Images from
image registry
Deploy containers from
image component
Deploy to docker hosts or
IBM Container Service
Continuous Delivery and Containers
IBM Container
Image Build Service
IBM Bluemix
Image Registry
Dev/Test with Hybrid Cloud
Off-PremOn-Prem
Image Registry
IBM UrbanCode Deploy
PRODSTAGING
Delivery
Pipeline
IBM Bluemix
Container in OpenStack: Magnum
•  Became official OpenStack project in 3/2015
–  Container as a Service: provision hosts, deploy containers
–  40 developers from 18 companies contributing
–  Kilo release: IBM 31% commits with 7 developers
–  Talk & demo, design sessions
•  Support:
–  Multiple backends, managers
–  VM, baremetal host
•  Container in full stack orchestration
–  Integrate with identity, networking, storage, …
–  Integrate with container manager: Kubernetes, Swarm, …
–  Reuse container artifacts: yaml files
minion	
  minion	
  master	
  
Kubernetes
controller
Neutron Private Network
Magnum example: Load Balanced Wordpress on
Kubernetes cluster
Magnum operation:
1. bay-create …
2. pod-create -f mysql.yaml
3. service-create -f mysql-service.yaml
4. pod-create -f wordpress.yaml
5. service-create -f wordpress-service.yaml
Integration: keystone, cinder, nova, neutron
service	
  
wpfrontend
port: 80
portalIP: 10.254.133.233]
Neutron
Load Balancer
floating IP
service	
  
mysql-service
port: 3306
portalIP: 10.254.170.155
endpoints: 10.100.16.2:3306
pod	
  
mysql Cinder
Vol
pod	
  pod	
  
wordpress Cinder
Vol
Envisioned UCD support for Magnum
•  Edit container manifest
•  Merge with full Heat stack
•  Deploy to existing cluster
IBM UrbanCode Deploy
with Patterns
Images
from registry
yaml manifest
yaml manifest
Heat template
SIT
PROD
Container cluster
Supporting Hybrid Cloud with IBM Cloud services
IBM	
  UrbanCode	
  
Deploy	
  
Node.js,	
  Java,	
  …	
  
Front-End Mid-Tier Backend
Mobile Quality
Assurance
Monitoring and
Analytics
Cloud IntegrationTrack and
Plan
IBM Bluemix
In hybrid environments Traditional IT and Cloud will come
together to lower cost in the data center & innovate in the digital
channels.
Cost reduction plays
•  Building your private cloud IaaS
–  Rapid provisioning
–  Enabling DevOps
•  Source capacity from the public cloud
–  Compute
–  Storage
Innovation plays
•  Building systems of engagement apps
–  Mobile
–  Social
•  Internet of Things
Shared
Off-Premise Cloud
Dedicated
On-Premise Cloud
Traditional IT Dedicated
Off-Premise Cloud
Cloud Enablement
Cloud Adoption
We are seeing clients innovate faster and save costs with hybrid IT
SOR/SOE Integration
Systems of
Record
Systems of
Engagement
Portability and Optimization
App
(Production)
App
(Dev/Test)
Scale-Out Capacity
App
App (1) App (2)
Backup and Archive
App/Data
Meet the IBM Team at these sessions
Monday, May 18th
12:05 pm - A Conversation with Cinder Developers - Jay Bryant
4:40 pm - Tales From the Gate: How Debugging the Gate Helps Your Enterprise
- Matt Riedemann
4:40 pm - From Archive to Insight: Debunking Myths of Analytics on Object
Stores - Dean Hildebrand, Simon Lorenz
5:30 pm - OpenStack, Docker, and Cloud Foundry - How do the Leading Open
Source Triumvirate Come Together - Animesh Singh, Daniel Krook, Manuel
Silveyra, Kalonji Bankole
Tuesday, May 19th
11:15 am How to Configure your Cloud and Tempest for Interoperability Testing
Catherine Diep
12:05 pm - Past, Present and Future of Fibre Channel in OpenStack - Jay Bryant
2:00 pm - Building a Production Grade PaaS platform like Bluemix on
OpenStack, leveraging Container based scalable services - Animesh Singh,
James Busche
2:00 pm - Standing Tall in the Room - Sponsored by the Women of OpenStack -
Radha Ratnaparkhi
5:30 pm New Advances in Federated Identity and Federated Service Provider
Support for OpenStack Clouds - Brad Topol, Steve Martinelli
Wednesday, May 20th
9:50 am - Network Connectivity in a Hybrid OpenStack Cloud - John Kasperski,
Vinit Jain
1:50 pm - Leveraging open source tools to gain insight into OpenStack Swift -
Dmitry Sotnikov, Michael Factor
1:50 pm - Keystone advanced authentication methods - Steve Martinelli, Henry
Nash
2:40 pm - Helping Telcos go Green and save OpEx via Policy - Dilip
Krishnaswamy
Thursday, May 21st
9:00 am - Big Data Analytics and Docker: The Thrilla in Manila - Bill Owen,
Dean Hildebrand, Michael Hines, Nilesh Bhosale
9:50 am - Role of NFV Research in Open Source and Open Standards - Dilip
Krishnaswamy
1:30 pm - On-demand Disaster Recovery (DR) service enablement through
Software Defined Environments under hybrid clouds - Venkata Jagana,
Ramesh Palakodeti, CV Venugopal, Mike Williams, Ann Corrao
1:30pm - OpenStack Networking: It's time to talk Performance - Bengi
Karacali,John Tracey,Mohammad Banikazemi,George Almasi
4:10 pm - Beyond the Horizon: Innovating and Customizing Horizon using
AngularJS - Cindy Lu, Thai Tran
IBM Sponsored Sessions
Time Title
11:15- 11:55 Quickly build and deploy a scalable OpenStack Swift application using IBM Bluemix
Manuel Silveyra, Dan Krook, Shaun Murakami
12:05 – 12:45 Enabling real-world interoperable hybrid cloud use cases using OpenStack's federated identity capabilities
Steve Martinelli, Brad Topol, Brant Knudson
2:00 – 2:40 Continuously Design your Application Workload for Continuous Deployment with OpenStack Heat
Tammy Van Hove, Michael Elder, Ton Ngo
Room 210 on Monday, May 18th
Time Title
12:05 – 12:45 IBM Cloud is Open by design & powered by OpenStack
Angel Diaz, Moe Abdula
Room 116 on Tuesday, May 19th
© IBM Corporation 28
28
Slides available at
http://bit.ly/1dfTyQQ
Follow @mdelder on Twitter
for ongoing updates
Join the IBM UrbanCode team!
We have openings for
Co-ops, entry level
college grads and
experienced
professionals in the
Cleveland and Raleigh
areas!
Visit the IBM UrbanCode
Careers page to learn more.
ibm.biz/ucjobs4u
Talk to an IBM
Recruiter @ the
Summit
A New Way Forward

Continuously Design your Continuous Deployment

  • 1.
    Presented by:Continuously Designyour Application Workload for Continuous Deployment with OpenStack Heat 18 May 2015 Michael D. Elder Senior Technical Staff Member @mdelder Ton Ngo Senior Software Engineer
  • 2.
    The age ofthe customer … … demands faster software delivery
  • 3.
    Deploying to differentinfrastructures in Dev and Production further slows down application delivery “My application is working on Amazon and I am using a LAMP stack with RHEL – why can’t you make it work on private cloud” “I have LAMP stack with RHEL for the on- prem environment – it isn’t working! How did you configure network and load balancers?” Development team Operations team Both: “Why can’t we build out environments consistently across different clouds”
  • 4.
    Achieving Continuous Deliveryon Cloud Infrastructure as a Service •  Combination of base virtual machines and automation to achieve consistency •  Spectrum: Deploy as minimal image + complete automation or snapshot built image Container-based Deployments •  Neither true IaaS or PaaS •  Offers unique value to standardize key parts of your architecture •  Easy to build and deploy •  May require a different architecture and deployment approach than you’re used Platform as a Service •  Platform provides simple deployment methods and consistency across environments •  Extensible for various application runtimes OpenStack + Heat Docker Cloud Foundry
  • 5.
    5 Intuitive and ScalableModel Driven Deployment Composite Applications Components Re-usable Workflows Environment Management SIT PROD The “What” The “How” The “Where” Deployment Automation
  • 6.
    6 Faster and moreconsistent application environment deployments IBM Confidential Developers/ Testers Integrators Specialists Compute, Network, and Storage Platforms Apps Environment! Application Middleware Config Middleware OS Config Hardware Environment Blueprint Design Deploy Long, complex lifecycle with manual steps! Small iterative changes! …! …!
  • 7.
    8 Rapidly deploy applicationenvironments in 3 simple steps Provide  portability  across  heterogeneous   virtual  datacenter,  private  and  public   clouds   3.  Portable  across  different   virtualized  infrastructure   Assemble  mul8-­‐8er  applica8on  environments   and  define  auto-­‐scaling  policies  to  meet   opera8onal  needs.   2.  Assemble  mul9-­‐9er  and  scalable   environment  blueprints   1.  Create  stacks   Load Balancer Web Servers App Servers Database Servers Firewall Describe  full  stack  environments  using   infrastructure  building  blocks  like  Images,   Middleware  scripts,  and  Applica8on  code     VMware vCenter Private PublicVirtual Datacenter Application Middleware Config Middleware OS Config Hardware Environment Blueprint Policies
  • 8.
    Hybrid Cloud Deploymentsthrough a Single Point of Control IBM Bluemix Cloud Foundry On-prem IaaS On-prem Traditional IT IBM  Cloud  Orchestrator   IBM  PureApplica9on  System   IBM  Cloud  Manager  with   OpenStack   9 Manage application deployment across dev, test, and production spanning multiple clouds Key Points: •  Enable full stack deployments (OS, patterns and applications) across hybrid cloud applications •  Establish common toolchain framework with plug points to support continuous delivery Virtual Machines Docker Containers IBM UrbanCode Release Off-prem IaaS IBM UrbanCode Deploy with Patterns
  • 9.
    © IBM Corporation10 SCREENCAP: Designer & Palette
  • 10.
  • 11.
  • 12.
    © IBM Corporation13 Support for Amazon: •  Elasticache •  S3 Object Storage •  Relational Database as a Service
  • 13.
    © IBM Corporation14 History of your git log Comparison view Of your changes Use IBM DevOps Services or your own git to host your blueprints
  • 14.
    Demo •  Web-based design– live feedback across the entire deployed stack from UrbanCode Deploy with Patterns •  Hybrid Cloud Design & Deploy (Amazon/OpenStack) •  Containers & Virtual Machines in a single template •  Composite template design
  • 15.
    IBM Container Service ü Automate the build of Docker images ü  Manage and distribute Docker images in private image registries ü  Easily host containers in the cloud ü  Scale and auto-recovery built-in ü  Logging and Monitoring built-in
  • 16.
    17 Intuitive scalable model-drivendeployment automation Composite Applications Components Re-usable Workflows Environment Management SIT PROD The “What” The “How” The “Where” Deployment Automation Images from image registry Deploy containers from image component Deploy to docker hosts or IBM Container Service
  • 17.
    Continuous Delivery andContainers IBM Container Image Build Service IBM Bluemix Image Registry
  • 18.
    Dev/Test with HybridCloud Off-PremOn-Prem Image Registry IBM UrbanCode Deploy PRODSTAGING Delivery Pipeline IBM Bluemix
  • 19.
    Container in OpenStack:Magnum •  Became official OpenStack project in 3/2015 –  Container as a Service: provision hosts, deploy containers –  40 developers from 18 companies contributing –  Kilo release: IBM 31% commits with 7 developers –  Talk & demo, design sessions •  Support: –  Multiple backends, managers –  VM, baremetal host •  Container in full stack orchestration –  Integrate with identity, networking, storage, … –  Integrate with container manager: Kubernetes, Swarm, … –  Reuse container artifacts: yaml files
  • 20.
    minion  minion  master   Kubernetes controller Neutron Private Network Magnum example: Load Balanced Wordpress on Kubernetes cluster Magnum operation: 1. bay-create … 2. pod-create -f mysql.yaml 3. service-create -f mysql-service.yaml 4. pod-create -f wordpress.yaml 5. service-create -f wordpress-service.yaml Integration: keystone, cinder, nova, neutron service   wpfrontend port: 80 portalIP: 10.254.133.233] Neutron Load Balancer floating IP service   mysql-service port: 3306 portalIP: 10.254.170.155 endpoints: 10.100.16.2:3306 pod   mysql Cinder Vol pod  pod   wordpress Cinder Vol
  • 21.
    Envisioned UCD supportfor Magnum •  Edit container manifest •  Merge with full Heat stack •  Deploy to existing cluster IBM UrbanCode Deploy with Patterns Images from registry yaml manifest yaml manifest Heat template SIT PROD Container cluster
  • 22.
    Supporting Hybrid Cloudwith IBM Cloud services IBM  UrbanCode   Deploy   Node.js,  Java,  …   Front-End Mid-Tier Backend Mobile Quality Assurance Monitoring and Analytics Cloud IntegrationTrack and Plan IBM Bluemix
  • 23.
    In hybrid environmentsTraditional IT and Cloud will come together to lower cost in the data center & innovate in the digital channels. Cost reduction plays •  Building your private cloud IaaS –  Rapid provisioning –  Enabling DevOps •  Source capacity from the public cloud –  Compute –  Storage Innovation plays •  Building systems of engagement apps –  Mobile –  Social •  Internet of Things Shared Off-Premise Cloud Dedicated On-Premise Cloud Traditional IT Dedicated Off-Premise Cloud Cloud Enablement Cloud Adoption
  • 24.
    We are seeingclients innovate faster and save costs with hybrid IT SOR/SOE Integration Systems of Record Systems of Engagement Portability and Optimization App (Production) App (Dev/Test) Scale-Out Capacity App App (1) App (2) Backup and Archive App/Data
  • 25.
    Meet the IBMTeam at these sessions Monday, May 18th 12:05 pm - A Conversation with Cinder Developers - Jay Bryant 4:40 pm - Tales From the Gate: How Debugging the Gate Helps Your Enterprise - Matt Riedemann 4:40 pm - From Archive to Insight: Debunking Myths of Analytics on Object Stores - Dean Hildebrand, Simon Lorenz 5:30 pm - OpenStack, Docker, and Cloud Foundry - How do the Leading Open Source Triumvirate Come Together - Animesh Singh, Daniel Krook, Manuel Silveyra, Kalonji Bankole Tuesday, May 19th 11:15 am How to Configure your Cloud and Tempest for Interoperability Testing Catherine Diep 12:05 pm - Past, Present and Future of Fibre Channel in OpenStack - Jay Bryant 2:00 pm - Building a Production Grade PaaS platform like Bluemix on OpenStack, leveraging Container based scalable services - Animesh Singh, James Busche 2:00 pm - Standing Tall in the Room - Sponsored by the Women of OpenStack - Radha Ratnaparkhi 5:30 pm New Advances in Federated Identity and Federated Service Provider Support for OpenStack Clouds - Brad Topol, Steve Martinelli Wednesday, May 20th 9:50 am - Network Connectivity in a Hybrid OpenStack Cloud - John Kasperski, Vinit Jain 1:50 pm - Leveraging open source tools to gain insight into OpenStack Swift - Dmitry Sotnikov, Michael Factor 1:50 pm - Keystone advanced authentication methods - Steve Martinelli, Henry Nash 2:40 pm - Helping Telcos go Green and save OpEx via Policy - Dilip Krishnaswamy Thursday, May 21st 9:00 am - Big Data Analytics and Docker: The Thrilla in Manila - Bill Owen, Dean Hildebrand, Michael Hines, Nilesh Bhosale 9:50 am - Role of NFV Research in Open Source and Open Standards - Dilip Krishnaswamy 1:30 pm - On-demand Disaster Recovery (DR) service enablement through Software Defined Environments under hybrid clouds - Venkata Jagana, Ramesh Palakodeti, CV Venugopal, Mike Williams, Ann Corrao 1:30pm - OpenStack Networking: It's time to talk Performance - Bengi Karacali,John Tracey,Mohammad Banikazemi,George Almasi 4:10 pm - Beyond the Horizon: Innovating and Customizing Horizon using AngularJS - Cindy Lu, Thai Tran
  • 26.
    IBM Sponsored Sessions TimeTitle 11:15- 11:55 Quickly build and deploy a scalable OpenStack Swift application using IBM Bluemix Manuel Silveyra, Dan Krook, Shaun Murakami 12:05 – 12:45 Enabling real-world interoperable hybrid cloud use cases using OpenStack's federated identity capabilities Steve Martinelli, Brad Topol, Brant Knudson 2:00 – 2:40 Continuously Design your Application Workload for Continuous Deployment with OpenStack Heat Tammy Van Hove, Michael Elder, Ton Ngo Room 210 on Monday, May 18th Time Title 12:05 – 12:45 IBM Cloud is Open by design & powered by OpenStack Angel Diaz, Moe Abdula Room 116 on Tuesday, May 19th
  • 27.
    © IBM Corporation28 28 Slides available at http://bit.ly/1dfTyQQ Follow @mdelder on Twitter for ongoing updates
  • 28.
    Join the IBMUrbanCode team! We have openings for Co-ops, entry level college grads and experienced professionals in the Cleveland and Raleigh areas! Visit the IBM UrbanCode Careers page to learn more. ibm.biz/ucjobs4u
  • 29.
    Talk to anIBM Recruiter @ the Summit
  • 30.
    A New WayForward