SlideShare a Scribd company logo
1 of 38
Download to read offline
As a Service: Cloud Foundry on OpenStack - Lessons Learnt
Apps
@AnimeshSingh
OpenStack Summit
Barcelona
October 2016
@blueboxjesse
A polyglot “platform for the people”
•  The de facto open PaaS platform
•  Foundation established Dec. 2014, under Linux Foundation umbrella
Cloud Foundry
Cloud Foundry Community
60+ member companies driving Cloud Foundry.
PaaS
Cloud Foundry on OpenStack
IaaS
UAA	
Router	
DEA	Pool			
Service	Gateway	 Apps	
Service	Connector	
Health	Manager	
Messaging	
Cloud	Controller	
Build	Packs	
Service	Nodes	
		
Cloud	Foundry	BOSH	
Cloud	Provider	Interface
BOSH Deployment Process
Deployment Manifest
•  Release name/version
•  # VMs, job params
•  Stemcells to use
Stemcell
•  Base OS
•  BOSH agent
Release
•  Name
•  Software packages
•  Config templates
•  Scripts
BOSH
Cloud Foundry
Virtual Machine
•  Configuration
•  Software Packages
Virtual Machine
•  Configuration
•  Software Packages
Virtual Machine
•  Configuration
•  Software Packages
Virtual Machine
•  Configuration
•  Software packages
© IBM
Corporation
6
Problems: 
Faced, by us
and by the
community!
Problems we faced
As CF and OpenStack deployers we experienced various issues deploying CF and OpenStack, and CF on OpenStack
§  Instability: Instability of OpenStack environments from various distros
§  APIs: Lack of compliance in APIs and new releases. Some of the API behavior also differs based on the plugins
used
§  Capacity: Right from cpu/mem/disk etc. to HA, persistent disk, floating ips etc. – sizing needs to be precise
§  Network: Should CF co reside with other management components in a network?
§  OpenStack for Enterprise Software: Enterprise software lags, with most variations still available only for VMware.
§  Generic Deployment: Consistency when deploying CF on OpenStack, VMware or any other IaaS
§  Combined OpenStack and Cloud Foundry Usage: How to allow seamless usage and consumption of OpenStack
services along with CF services at the same time?
§  CF HA: What works, what doesn’t?
§  Proxy: Environments behind customer firewalls with restricted outbound access
§  Constant Release Cycles: Both CF and OpenStack have frequent releases, patches, updates etc. How do we
reconcile?7
50% experience significant
issues deploying CF onto OS
45% are intermediate OS users
Problems Community Faces: Survey Results
Close to 50% of users had to
customize their environment
for CF
Problems Community Faces: Survey Results
Most users on Juno/Kilo
Close to 50% of users run
their own local OpenStack
Problems Community Faces: Survey Results
© IBM
Corporation
11
Our OpenStack
and Cloud
Foundry
Offerings
APACHEHAPROXY APACHEHAPROXY
HA MYSQL
ARBITER
(PERCONA)
HA NEUTRON!
HA KEYSTONE!
HA GLANCE!
HA HORIZON!
NOVA!
CINDER API & ISCSI!
HA NEUTRON!
HA KEYSTONE!
HA GLANCE!
HA HORIZON!
NOVA!
CINDER API & ISCSI!
HA MYSQL
(PERCONA)
RABBITMQ
HA MYSQL
(PERCONA)
RABBITMQ
Our OpenStack Offering - Bluemix Private Cloud (IaaS)
NOVA
CINDER API & ISCSI
NOVA
CINDER API & ISCSI
§  IBM Platform as a Services offering
•  Three deployments styles: public, dedicated, private
•  1M+ registered users (20K+/month)
•  100K+ running apps and 500+ services
Bluemix Bare Metal (public and dedicated) and OpenStack/VMware (private)
Our Cloud Foundry Offering - Bluemix (PaaS)
Services
Lifecycle
Management
IDS
Application
Runtime
Runtimes &
Frameworks
Middleware Application Operational Mobile ExternalData
Node Java Ruby Worklight
WebSphere
Liberty
Eclipse IDE
Application
Composition
Environment
Create & Manage Services
Test/Run Test/Run
Explore
Services
Explore
Services
IBM Bluemix
Check In Code Check In Code
Web IDE
(Eclipse Orion)
© IBM
Corporation
14
Lessons Learnt
deploying
Cloud Foundry
on OpenStack
Test if your OpenStack is fit for Cloud Foundry deployment
Manually, you can run the validations here to see if your OpenStack is a good fit:
https://docs.cloudfoundry.org/deploying/openstack/validate_openstack.html
§  Can you access the OpenStack APIs for your instance of OpenStack?
§  Can you access OpenStack metadata service from a virtual machine?
§  Can you ping one virtual machine from another?
§  Can you invoke large numbers of API calls?
§  Can you create and mount a large volume?
§  Can you upload and deploy an Ubuntu Server Cloud Image?
§  Can networking be configured for both external and internal IPs?
§  Can you access the Internet from within instances?
Test if your OpenStack is fit for Cloud Foundry deployment
To check in automated fashion if your OpenStack is ready to run BOSH and Cloud Foundry,
you can run this CF Incubator project :
https://github.com/cloudfoundry-incubator/cf-openstack-validator
16
Testing the CPI API
Upload stemcell
Create VM
Find VM
Create disk
Find disk
Attach disk to VM
Detach disk from VM
Create disk snapshot
Delete disk snapshot
Delete disk
Delete VM
Delete stemcell
Other OpenStack tests
Check API rate limit
Check required versions of OpenStack projects
CPI requires API version 1 for glance and cinder
Security group settings
Check if security group rules allow necessary incoming/outgoing
ports
Outbound internet access
Timeservers can be reached
Attach a floating IP
Set VM metadata tags
Access a VM over ssh from the outside
Access one VM from another VM
Create a large volume
Get the right sizing for Cloud Foundry
•  Sample sizing are available online as references e.g
https://docs.cloudfoundry.org/deploying/openstack/required-flavors.html
https://www.mirantis.com/blog/full-stack-devops-with-pivotal-cloud-foundry-on-mirantis-openstack
https://docs.pivotal.io/pivotalcf/1-7/customizing/openstack.html#versions
•  Increase default quota of the tenant to meet minimum requirement
e.g number of ports always gets hit first
•  Recommended ‘OpenStack flavors’ disk space should be go in ephemeral disk.
Keep root disk to 10GB minimum
Optimize OpenStack scheduling and communication
Optimize Internal Communication:
•  Configure OpenStack for high volume API calls
e.g Increase OpenStack API rate limits (/etc/nova/api-paste.ini)
•  Avoid name based security groups with nova-network. Name
based security groups require message bus activity and database
updates proportional to the number of existing VMs
•  If Neutron is configured with VXLAN via the Open vSwitch
mechanism, the MTU should be 1400. For GRE, the recommended
number is 1460.
Use the right Scheduler
Use an OpenStack scheduler which evenly distributes load
e.g compute_scheduler_driver =
nova.scheduler.filter_scheduler.FilterScheduler
Account for different OpenStack configurations
•  If your OpenStack setup requires you to use disks from block
storage instead, that will work with Cloud Foundry as well.
properties. openstack.boot_from_volume: true
•  By default, the VMs created try to receive data from OpenStack's
HTTP metadata service. If your OpenStack installation doesn't
provide metadata and userdata over HTTP, but requires you to use
config-drive instead of metadata, you need to specify this in the
property
properties.openstack.config_drive: cdrom
Optimize Cloud Foundry / BOSH bandwidth and communication
Optimize Internal Communication:
•  Increase BOSH NATS time out for high concurrency
e.g Configure NATS messaging bus to increase ping interval
Optimized routing and bandwidth allocation
•  Isolate Cloud Foundry components using multiple networks
e.g DEAs in their own network, brokered services in their own
network
Optimize log forwarding
•  Supporting services like logging, report generation etc should
go in their own tenant network. Also any communication
between the VM(s) sending logs, and log receiving
component(s) should go over the private network. Don’t
use floating ips as destination, else you are paying double the
cost.
Optimize for Security and Network
•  Only open ports which are needed. Use the most limited
permissions required to complete the job.
•  If OpenStack is using a self-signed certificate, configure
properties.openstack.connection_options to include the
property ca_cert
•  Use tenant credentials: Do not use full admin credentials in your
BOSH manifest
•  Minimize floating ips: Except for the incoming Gateway
device(HA Proxy, Datapower, F5 etc), none of the fabric VMs
should be on public network or need a floating ip
Account for customer boundary firewall or proxy
•  BOSH will retrieve CF release components via the
URL provided in deployment manifest. Also services
and CF apps may need outbound access. In
environments behind firewall or proxy with restricted
access, this could be a major issue.
•  If the firewall or proxy requires both destination
and source ips to be enlisted, prepare a list of
destination IPs/URLs you need to reach out and
hand it to datacenter admin
•  If your OpenStack VMs don’t have a floating ip from
external network, the source ip presented to
firewall will be Neutron gateway ip
•  Cloud Foundry doesn’t support out of the box
SSL packet inspection where the SSL certificate
for a given sight is replaced by your own self signed
certificate. Inspection is only supported using an
Internet Authority signed certificate.
Work on seamless OpenStack update/upgrade
OpenStack separates the availability of workloads (Data Place) from the availability of the API services (Control Plane)
OpenStack Code Major Upgrade Maintenance: Moving from one OpenStack release to another, e.g. from Kilo to Mitaka with
data migration
•  Infrequent, twice a year at most. New OpenStack code is put in place for all of the services that make up a cloud (e.g. Nova,
Neutron, Glance, Heat, Cinder, Ceilometer, Aodh, Swift, etc..).
•  ~10 minutes for each service
OpenStack Code Minor Upgrade Maintenance: Upgrading OpenStack service, without data migration
•  Typically only bug fixes. New OpenStack code is put in place and the services associated with that code are simply restarted.
•  ~5 seconds for each service
OpenStack Config Maintenance: Changing the configuration for one or more of the OpenStack services, needed to correct bugs in
the service, or to tune the service due to consumer requests.
•  Require the restart of a particular service. The disruption to the API control plane is isolated to the services receiving configuration
updates.
•  ~ seconds for each service
© IBM
Corporation
24
Lessons Learnt:
Automate
everything
OpenStack Installation:
•  Leverage the open source Ursula Ansible and Rally Cloud infrastructure Automation framework
•  Requires information about hardware, network environment and software repositories.
Bluemix Private Cloud Install Automation
Setup Storage
Setup OpenStack
Setup Network
Run validation
Setup Hardware
Ursula, Rally-OpenStack
OpenStack Discovery:
•  Leverage the open source Fog gem to discover OpenStack artifacts in an automated manner
•  Require OpenStack credentials and discover OpenStack compute and network information.
Cloud Foundry on OpenStack deployment Automation
Discover VM
Configuration Sizes
Discover Network
Subnets
Discover Network
Security Rules
Discover DHCP , DNS
Gateway and floating IPs
Discover Security
Credentials
Cloud Foundry Pre-req setup on OpenStack:
•  Leverage the open source Fog gem to setup Cloud Foundry requirements in an automated manner
•  Setup according to best practices and guidelines – still giving users the flexibility to change if desired
Create Security
Credentials
Create VM configs for
Router, DEAs, Cloud
Controller, Service
Nodes
Create network
Security Rules
Setup tenant quota
Cloud Foundry on OpenStack deployment Automation
Cloud Foundry Deployment Automation
•  Automate stemcell modification
•  Automate Cloud Foundry deployment manifest file genration using Ruby ERB
•  Automate upload of Cloud Foundry core release, services and runtime frameworks, followed by Cloud
Foundry deployment
Stemcell Creation and
Upload
Generate BOSH and
Cloud Foundry
Manifest
Upload Cloud
Foundry core,
Services and runtime
Deploy Cloud Foundry
Deploy bosh director
			RUBY				BOSH	
Cloud Foundry on OpenStack deployment Automation
© IBM
Corporation
29
As a Service:
As a provider,
look into offering
Cloud Foundry
and OpenStack
as a Service
Why as a Service?
Cloud Foundry:
–  New release every 2-3 weeks
–  Bluemix PaaS is a combination of CF and 150+ Services
–  Older versions will lead to huge version mismatches, and lead
to version sprawl
–  Keeps Public/Dedicated and Local Bluemix in sync
OpenStack:
–  Twice annual releases that touch the entire code base.
–  Upgrading sequentially is important: stay up to date!
–  OpenStack’s complexity requires expertise in many operational
areas
–  Focus on higher business value. Work with OpenStack, not on
OpenSTack
Private
Cloud
Hardware
Bluemix Private Cloud: IaaS Relay: Box Panel
Box Panel
Site Controller (Software)
Bluemix
Private
Cloud
OpenStack
Box Panel
Formations
Central Authentication
Customer Relationship Management
Service Catalog and Metering
Billing and Invoicing
Object
Storage
Block
Storage
Core
Networking
Inventory Management
Network Management
Reporting and Analytics
Support Ticking, Chat and Email
IaaS Relay: Box Panel
IaaS Relay: Site Controller
Box Panel
Site Controller
Customer Cloud
Resides on-premises adjacent to customer clouds, providing
real-time administrative control of cloud environments.
–  Network Automation
–  Power Distribution Unit Automation
–  System and Network:
•  Monitoring
•  Telemetry
•  Logging
–  Secure Remote Control and Access
–  Bare Metal Provisioning
–  Package and Container Repo
SDN router
The Internet
Customer Network
IBM Urban Code
Deploy
Softlayer Server
Bluemix Platform
Stemcells
Releases
Manifests
BOSH CLI
Automated
Management
Processes
(Deploy, Upgrade etc.)
IBM Urban
Code Deploy
Relay
Customer Hardware & Infrastructure
Bluemix Core Services
•  Monitoring & Logging
•  Cache
•  Cloudant (Data Store)
•  Qradar EPS
•  IEM Relay
Configuration
Store
(per customer)
Bluemix
Code &
Automation
Repository
Opensource Code
IBM Test & Staging
Validation
IBM Production
Deployment &Validation
Bluemix Local
Inception VM
UCD Agent
• Secure connection
• Connection originated from
customer premise
• Restricted access (agent-
only)
Cloud Foundry
ACE UI
Enterprise ITSM
Customer Services
Customer
Premises
Premises
On-premise data store for
logs, monitoring data etc.
Bluemix Ops Console
IBM Cloud Security Services
Qradar Console
IEM
Server
Bluemix Ops
Directory
Server
Privileged ID
Governance
IPSec Tunnel
DataPower
• Customer’s Service
traffic
• Syndicated & 3rd party
service traffic
• App staging artifacts
• Inbound & outbound
user to app traffic
•  LDAP
•  Enterprise services
•  Other SaaS services
•  vCenter
Network
IsolationCustomer Services
Bluemix Private Cloud PaaS Relay IBMPremises
PaaS Relay: Operations Console
PaaS Relay: Operations Console
VPN Tunnel
Inception VM
Stemcells
Releases
Manifests
BOSH CLI
DataPower	
ACE	UI	
Metering		
Admin	UI	
NATS	
BM	DB	
Backup	
Login	server	
UAA	 CC	
Blobsto
re	
HM	
CCDB	
Loggre
gator	
Go	router	
DEAs	
UAADB	
Logging	
UCD AgentOps Center
Agent
VPN Tunnel
Bluemix Private Cloud: PaaS and IaaS As a Service!
Bluemix Relay
Bluemix
Private Cloud Relay
Site Controller
Repo / Deploy Server
Monitoring Server
(Sensu)
Logging (ELK)
Bastion (Access)
Cloud Foundry on OpenStack – A Great Fit!
•  100% Open PaaS and IaaS solutions – No vendor lock-ins
•  Strong and growing community of contributors and sponsors on both sides
•  Power of Open Source community can be leveraged to automate the deployment and
lifecycle management of Cloud Foundry on OpenStack
•  OpenStack meets Cloud Foundry integration requirements, and is totally configurable
and adaptable to handle the scale of a PaaS solution like Cloud Foundry
•  Bottom Line: It’s a match made in Heaven !

More Related Content

What's hot

Cloud Foundry BOSH CPI for OpenStack
Cloud Foundry BOSH CPI for OpenStackCloud Foundry BOSH CPI for OpenStack
Cloud Foundry BOSH CPI for OpenStack
Animesh Singh
 
Building a PaaS Platform like Bluemix on OpenStack
Building a PaaS Platform like Bluemix on OpenStackBuilding a PaaS Platform like Bluemix on OpenStack
Building a PaaS Platform like Bluemix on OpenStack
Animesh Singh
 

What's hot (20)

Cloud Foundry BOSH CPI for OpenStack
Cloud Foundry BOSH CPI for OpenStackCloud Foundry BOSH CPI for OpenStack
Cloud Foundry BOSH CPI for OpenStack
 
Docker OpenStack Cloud Foundry
Docker OpenStack Cloud FoundryDocker OpenStack Cloud Foundry
Docker OpenStack Cloud Foundry
 
Cloud Foundry Bootcamp
Cloud Foundry BootcampCloud Foundry Bootcamp
Cloud Foundry Bootcamp
 
Building a PaaS Platform like Bluemix on OpenStack
Building a PaaS Platform like Bluemix on OpenStackBuilding a PaaS Platform like Bluemix on OpenStack
Building a PaaS Platform like Bluemix on OpenStack
 
Cloud Foundry Overview
Cloud Foundry OverviewCloud Foundry Overview
Cloud Foundry Overview
 
컨테이너 기술 소개 - Warden, Garden, Docker
컨테이너 기술 소개 - Warden, Garden, Docker컨테이너 기술 소개 - Warden, Garden, Docker
컨테이너 기술 소개 - Warden, Garden, Docker
 
Cloud Foundry - Second Generation Code (CCNG). Technical Overview
Cloud Foundry - Second Generation Code (CCNG). Technical Overview Cloud Foundry - Second Generation Code (CCNG). Technical Overview
Cloud Foundry - Second Generation Code (CCNG). Technical Overview
 
Containers and microservices for realists
Containers and microservices for realistsContainers and microservices for realists
Containers and microservices for realists
 
Watson on bluemix
Watson on bluemixWatson on bluemix
Watson on bluemix
 
Finding and Organizing a Great Cloud Foundry User Group
Finding and Organizing a Great Cloud Foundry User GroupFinding and Organizing a Great Cloud Foundry User Group
Finding and Organizing a Great Cloud Foundry User Group
 
Part 2: Architecture and the Operator Experience (Pivotal Cloud Platform Road...
Part 2: Architecture and the Operator Experience (Pivotal Cloud Platform Road...Part 2: Architecture and the Operator Experience (Pivotal Cloud Platform Road...
Part 2: Architecture and the Operator Experience (Pivotal Cloud Platform Road...
 
Introduction to Microservices and Cloud Native Application Architecture
Introduction to Microservices and Cloud Native Application ArchitectureIntroduction to Microservices and Cloud Native Application Architecture
Introduction to Microservices and Cloud Native Application Architecture
 
Developing Enterprise Applications for the Cloud, from Monolith to Microservices
Developing Enterprise Applications for the Cloud,from Monolith to MicroservicesDeveloping Enterprise Applications for the Cloud,from Monolith to Microservices
Developing Enterprise Applications for the Cloud, from Monolith to Microservices
 
Alibaba Cloud Conference 2016 - Docker Enterprise
Alibaba Cloud Conference   2016 - Docker EnterpriseAlibaba Cloud Conference   2016 - Docker Enterprise
Alibaba Cloud Conference 2016 - Docker Enterprise
 
Docker for the enterprise
Docker for the enterpriseDocker for the enterprise
Docker for the enterprise
 
Cloud orchestration major tools comparision
Cloud orchestration major tools comparisionCloud orchestration major tools comparision
Cloud orchestration major tools comparision
 
WebSphere Application Server - Meeting Your Cloud and On-Premise Demands
WebSphere Application Server - Meeting Your Cloud and On-Premise DemandsWebSphere Application Server - Meeting Your Cloud and On-Premise Demands
WebSphere Application Server - Meeting Your Cloud and On-Premise Demands
 
Run your Java code on Cloud Foundry
Run your Java code on Cloud FoundryRun your Java code on Cloud Foundry
Run your Java code on Cloud Foundry
 
Introduction to Oracle Cloud Infrastructure Services
Introduction to Oracle Cloud Infrastructure ServicesIntroduction to Oracle Cloud Infrastructure Services
Introduction to Oracle Cloud Infrastructure Services
 
Cloud Foundry for PHP developers
Cloud Foundry for PHP developersCloud Foundry for PHP developers
Cloud Foundry for PHP developers
 

Viewers also liked

Automated Lifecycle Management - CloudFoundry on OpenStack
Automated Lifecycle Management - CloudFoundry on OpenStackAutomated Lifecycle Management - CloudFoundry on OpenStack
Automated Lifecycle Management - CloudFoundry on OpenStack
Animesh Singh
 

Viewers also liked (10)

How to build a Distributed Serverless Polyglot Microservices IoT Platform us...
How to build a Distributed Serverless Polyglot Microservices IoT Platform us...How to build a Distributed Serverless Polyglot Microservices IoT Platform us...
How to build a Distributed Serverless Polyglot Microservices IoT Platform us...
 
Open stack + Cloud Foundry: Palo Alto Meetup February 2015
Open stack + Cloud Foundry: Palo Alto Meetup February 2015Open stack + Cloud Foundry: Palo Alto Meetup February 2015
Open stack + Cloud Foundry: Palo Alto Meetup February 2015
 
How to build an event-driven, polyglot serverless microservices framework on ...
How to build an event-driven, polyglot serverless microservices framework on ...How to build an event-driven, polyglot serverless microservices framework on ...
How to build an event-driven, polyglot serverless microservices framework on ...
 
Finding and-organizing Great Cloud Foundry User Groups
Finding and-organizing Great Cloud Foundry User GroupsFinding and-organizing Great Cloud Foundry User Groups
Finding and-organizing Great Cloud Foundry User Groups
 
Build Scalable Internet of Things Apps using Cloud Foundry, Bluemix & Cloudant
Build Scalable Internet of Things Apps using Cloud Foundry, Bluemix & CloudantBuild Scalable Internet of Things Apps using Cloud Foundry, Bluemix & Cloudant
Build Scalable Internet of Things Apps using Cloud Foundry, Bluemix & Cloudant
 
Palo Alto Virtual firewall deployment guide on OpenStack Cloud
Palo Alto Virtual firewall deployment guide on OpenStack Cloud  Palo Alto Virtual firewall deployment guide on OpenStack Cloud
Palo Alto Virtual firewall deployment guide on OpenStack Cloud
 
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
 
Hack for Good and Profit (Cloud Foundry Summit 2014)
Hack for Good and Profit (Cloud Foundry Summit 2014)Hack for Good and Profit (Cloud Foundry Summit 2014)
Hack for Good and Profit (Cloud Foundry Summit 2014)
 
IAB3948 Wiring the internet of things with Node-RED
IAB3948 Wiring the internet of things with Node-REDIAB3948 Wiring the internet of things with Node-RED
IAB3948 Wiring the internet of things with Node-RED
 
Automated Lifecycle Management - CloudFoundry on OpenStack
Automated Lifecycle Management - CloudFoundry on OpenStackAutomated Lifecycle Management - CloudFoundry on OpenStack
Automated Lifecycle Management - CloudFoundry on OpenStack
 

Similar to As a Service: Cloud Foundry on OpenStack - Lessons Learnt

Application M&O on OpenStack
Application M&O on OpenStackApplication M&O on OpenStack
Application M&O on OpenStack
天青 王
 

Similar to As a Service: Cloud Foundry on OpenStack - Lessons Learnt (20)

VMworld 2013: Deploying vSphere with OpenStack: What It Means to Your Cloud E...
VMworld 2013: Deploying vSphere with OpenStack: What It Means to Your Cloud E...VMworld 2013: Deploying vSphere with OpenStack: What It Means to Your Cloud E...
VMworld 2013: Deploying vSphere with OpenStack: What It Means to Your Cloud E...
 
Cloud Foundry and OpenStack: How They Fit - Cloud Expo 2014
Cloud Foundry and OpenStack: How They Fit - Cloud Expo 2014Cloud Foundry and OpenStack: How They Fit - Cloud Expo 2014
Cloud Foundry and OpenStack: How They Fit - Cloud Expo 2014
 
Autoscaling OpenStack Natively with Heat, Ceilometer and LBaaS
Autoscaling OpenStack Natively with Heat, Ceilometer and LBaaSAutoscaling OpenStack Natively with Heat, Ceilometer and LBaaS
Autoscaling OpenStack Natively with Heat, Ceilometer and LBaaS
 
Cloud Foundry and OpenStack - A Marriage Made in Heaven! (Cloud Foundry Summi...
Cloud Foundry and OpenStack - A Marriage Made in Heaven! (Cloud Foundry Summi...Cloud Foundry and OpenStack - A Marriage Made in Heaven! (Cloud Foundry Summi...
Cloud Foundry and OpenStack - A Marriage Made in Heaven! (Cloud Foundry Summi...
 
Successful Patterns for running platforms
Successful Patterns for running platformsSuccessful Patterns for running platforms
Successful Patterns for running platforms
 
Cloud Foundry: Hands-on Deployment Workshop
Cloud Foundry: Hands-on Deployment WorkshopCloud Foundry: Hands-on Deployment Workshop
Cloud Foundry: Hands-on Deployment Workshop
 
PLNOG 17 - Grzegorz Kornacki - F5 and OpenStack
PLNOG 17 - Grzegorz Kornacki - F5 and OpenStackPLNOG 17 - Grzegorz Kornacki - F5 and OpenStack
PLNOG 17 - Grzegorz Kornacki - F5 and OpenStack
 
PHP Buildpacks in the Cloud on Bluemix
PHP Buildpacks in the Cloud on BluemixPHP Buildpacks in the Cloud on Bluemix
PHP Buildpacks in the Cloud on Bluemix
 
OpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 Summit
OpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 SummitOpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 Summit
OpenStack in an Ever Expanding World of Possibilities - Vancouver 2015 Summit
 
OpenStack Enabling DevOps
OpenStack Enabling DevOpsOpenStack Enabling DevOps
OpenStack Enabling DevOps
 
[Rakuten TechConf2014] [F-4] At Rakuten, The Rakuten OpenStack Platform and B...
[Rakuten TechConf2014] [F-4] At Rakuten, The Rakuten OpenStack Platform and B...[Rakuten TechConf2014] [F-4] At Rakuten, The Rakuten OpenStack Platform and B...
[Rakuten TechConf2014] [F-4] At Rakuten, The Rakuten OpenStack Platform and B...
 
Chef and OpenStack Workshop from ChefConf 2013
Chef and OpenStack Workshop from ChefConf 2013Chef and OpenStack Workshop from ChefConf 2013
Chef and OpenStack Workshop from ChefConf 2013
 
Sicurezza integrate nella tua piattaforma Cloud-Native con VMware NSX (Pivota...
Sicurezza integrate nella tua piattaforma Cloud-Native con VMware NSX (Pivota...Sicurezza integrate nella tua piattaforma Cloud-Native con VMware NSX (Pivota...
Sicurezza integrate nella tua piattaforma Cloud-Native con VMware NSX (Pivota...
 
Application M&O on OpenStack
Application M&O on OpenStackApplication M&O on OpenStack
Application M&O on OpenStack
 
Accelerate Your OpenStack Deployment Presented by SolidFire and Red Hat
Accelerate Your OpenStack Deployment Presented by SolidFire and Red HatAccelerate Your OpenStack Deployment Presented by SolidFire and Red Hat
Accelerate Your OpenStack Deployment Presented by SolidFire and Red Hat
 
SharePoint on Azure
SharePoint on Azure SharePoint on Azure
SharePoint on Azure
 
Zero to 1000+ Applications - Large Scale CD Adoption at Cisco with Spinnaker ...
Zero to 1000+ Applications - Large Scale CD Adoption at Cisco with Spinnaker ...Zero to 1000+ Applications - Large Scale CD Adoption at Cisco with Spinnaker ...
Zero to 1000+ Applications - Large Scale CD Adoption at Cisco with Spinnaker ...
 
tack Deployment in the Enterprise
tack Deployment in the Enterprisetack Deployment in the Enterprise
tack Deployment in the Enterprise
 
Cisco Cloud Computing and Open Stack: Velocity 2011
Cisco Cloud Computing and Open Stack: Velocity 2011Cisco Cloud Computing and Open Stack: Velocity 2011
Cisco Cloud Computing and Open Stack: Velocity 2011
 
OSCON 2013 - Planning an OpenStack Cloud - Tom Fifield
OSCON 2013 - Planning an OpenStack Cloud - Tom FifieldOSCON 2013 - Planning an OpenStack Cloud - Tom Fifield
OSCON 2013 - Planning an OpenStack Cloud - Tom Fifield
 

More from Animesh Singh

More from Animesh Singh (17)

Machine Learning Exchange (MLX)
Machine Learning Exchange (MLX)Machine Learning Exchange (MLX)
Machine Learning Exchange (MLX)
 
KFServing Payload Logging for Trusted AI
KFServing Payload Logging for Trusted AIKFServing Payload Logging for Trusted AI
KFServing Payload Logging for Trusted AI
 
KFServing and Kubeflow Pipelines
KFServing and Kubeflow PipelinesKFServing and Kubeflow Pipelines
KFServing and Kubeflow Pipelines
 
KFServing and Feast
KFServing and FeastKFServing and Feast
KFServing and Feast
 
Kubeflow Distributed Training and HPO
Kubeflow Distributed Training and HPOKubeflow Distributed Training and HPO
Kubeflow Distributed Training and HPO
 
Kubeflow Pipelines (with Tekton)
Kubeflow Pipelines (with Tekton)Kubeflow Pipelines (with Tekton)
Kubeflow Pipelines (with Tekton)
 
KFServing - Serverless Model Inferencing
KFServing - Serverless Model InferencingKFServing - Serverless Model Inferencing
KFServing - Serverless Model Inferencing
 
End to end Machine Learning using Kubeflow - Build, Train, Deploy and Manage
End to end Machine Learning using Kubeflow - Build, Train, Deploy and ManageEnd to end Machine Learning using Kubeflow - Build, Train, Deploy and Manage
End to end Machine Learning using Kubeflow - Build, Train, Deploy and Manage
 
Defend against adversarial AI using Adversarial Robustness Toolbox
Defend against adversarial AI using Adversarial Robustness Toolbox Defend against adversarial AI using Adversarial Robustness Toolbox
Defend against adversarial AI using Adversarial Robustness Toolbox
 
Advanced Model Inferencing leveraging Kubeflow Serving, KNative and Istio
Advanced Model Inferencing leveraging Kubeflow Serving, KNative and IstioAdvanced Model Inferencing leveraging Kubeflow Serving, KNative and Istio
Advanced Model Inferencing leveraging Kubeflow Serving, KNative and Istio
 
Hybrid Cloud, Kubeflow and Tensorflow Extended [TFX]
Hybrid Cloud, Kubeflow and Tensorflow Extended [TFX]Hybrid Cloud, Kubeflow and Tensorflow Extended [TFX]
Hybrid Cloud, Kubeflow and Tensorflow Extended [TFX]
 
Trusted, Transparent and Fair AI using Open Source
Trusted, Transparent and Fair AI using Open SourceTrusted, Transparent and Fair AI using Open Source
Trusted, Transparent and Fair AI using Open Source
 
AIF360 - Trusted and Fair AI
AIF360 - Trusted and Fair AIAIF360 - Trusted and Fair AI
AIF360 - Trusted and Fair AI
 
AI & Machine Learning Pipelines with Knative
AI & Machine Learning Pipelines with KnativeAI & Machine Learning Pipelines with Knative
AI & Machine Learning Pipelines with Knative
 
Fabric for Deep Learning
Fabric for Deep LearningFabric for Deep Learning
Fabric for Deep Learning
 
Microservices, Kubernetes and Istio - A Great Fit!
Microservices, Kubernetes and Istio - A Great Fit!Microservices, Kubernetes and Istio - A Great Fit!
Microservices, Kubernetes and Istio - A Great Fit!
 
IBM BlueMix Architecture and Deep Dive (Powered by CloudFoundry)
IBM BlueMix Architecture and Deep Dive (Powered by CloudFoundry) IBM BlueMix Architecture and Deep Dive (Powered by CloudFoundry)
IBM BlueMix Architecture and Deep Dive (Powered by CloudFoundry)
 

Recently uploaded

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
🔝|97111༒99012🔝 Call Girls In {Delhi} Cr Park ₹5.5k Cash Payment With Room De...
🔝|97111༒99012🔝 Call Girls In  {Delhi} Cr Park ₹5.5k Cash Payment With Room De...🔝|97111༒99012🔝 Call Girls In  {Delhi} Cr Park ₹5.5k Cash Payment With Room De...
🔝|97111༒99012🔝 Call Girls In {Delhi} Cr Park ₹5.5k Cash Payment With Room De...
Diya Sharma
 

Recently uploaded (20)

Netherlands Players expected to miss UEFA Euro 2024 due to injury.docx
Netherlands Players expected to miss UEFA Euro 2024 due to injury.docxNetherlands Players expected to miss UEFA Euro 2024 due to injury.docx
Netherlands Players expected to miss UEFA Euro 2024 due to injury.docx
 
Unveiling the Mystery of Main Bazar Chart
Unveiling the Mystery of Main Bazar ChartUnveiling the Mystery of Main Bazar Chart
Unveiling the Mystery of Main Bazar Chart
 
JORNADA 5 LIGA MURO 2024INSUGURACION.pdf
JORNADA 5 LIGA MURO 2024INSUGURACION.pdfJORNADA 5 LIGA MURO 2024INSUGURACION.pdf
JORNADA 5 LIGA MURO 2024INSUGURACION.pdf
 
Croatia vs Italy Euro Cup 2024 Three pitfalls for Spalletti’s Italy in Group ...
Croatia vs Italy Euro Cup 2024 Three pitfalls for Spalletti’s Italy in Group ...Croatia vs Italy Euro Cup 2024 Three pitfalls for Spalletti’s Italy in Group ...
Croatia vs Italy Euro Cup 2024 Three pitfalls for Spalletti’s Italy in Group ...
 
Personal Brand Exploration - By Bradley Dennis
Personal Brand Exploration - By Bradley DennisPersonal Brand Exploration - By Bradley Dennis
Personal Brand Exploration - By Bradley Dennis
 
TAM Sports_IPL 17 Till Match 37_Celebrity Endorsement _Report.pdf
TAM Sports_IPL 17 Till Match 37_Celebrity Endorsement _Report.pdfTAM Sports_IPL 17 Till Match 37_Celebrity Endorsement _Report.pdf
TAM Sports_IPL 17 Till Match 37_Celebrity Endorsement _Report.pdf
 
Spain Vs Italy 20 players confirmed for Spain's Euro 2024 squad, and three po...
Spain Vs Italy 20 players confirmed for Spain's Euro 2024 squad, and three po...Spain Vs Italy 20 players confirmed for Spain's Euro 2024 squad, and three po...
Spain Vs Italy 20 players confirmed for Spain's Euro 2024 squad, and three po...
 
Slovenia Vs Serbia UEFA Euro 2024 Fixture Guide Every Fixture Detailed.docx
Slovenia Vs Serbia UEFA Euro 2024 Fixture Guide Every Fixture Detailed.docxSlovenia Vs Serbia UEFA Euro 2024 Fixture Guide Every Fixture Detailed.docx
Slovenia Vs Serbia UEFA Euro 2024 Fixture Guide Every Fixture Detailed.docx
 
WhatsApp Chat: 📞 8617697112 Birbhum Call Girl available for hotel room package
WhatsApp Chat: 📞 8617697112 Birbhum  Call Girl available for hotel room packageWhatsApp Chat: 📞 8617697112 Birbhum  Call Girl available for hotel room package
WhatsApp Chat: 📞 8617697112 Birbhum Call Girl available for hotel room package
 
Spain Vs Italy Spain to be banned from participating in Euro 2024.docx
Spain Vs Italy Spain to be banned from participating in Euro 2024.docxSpain Vs Italy Spain to be banned from participating in Euro 2024.docx
Spain Vs Italy Spain to be banned from participating in Euro 2024.docx
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Who Is Emmanuel Katto Uganda? His Career, personal life etc.
Who Is Emmanuel Katto Uganda? His Career, personal life etc.Who Is Emmanuel Katto Uganda? His Career, personal life etc.
Who Is Emmanuel Katto Uganda? His Career, personal life etc.
 
Sports Writing (Rules,Tips, Examples, etc)
Sports Writing (Rules,Tips, Examples, etc)Sports Writing (Rules,Tips, Examples, etc)
Sports Writing (Rules,Tips, Examples, etc)
 
Trossard's Message Bridging Celebrities and Sports in Euro Cup 2024.docx
Trossard's Message Bridging Celebrities and Sports in Euro Cup 2024.docxTrossard's Message Bridging Celebrities and Sports in Euro Cup 2024.docx
Trossard's Message Bridging Celebrities and Sports in Euro Cup 2024.docx
 
Technical Data | Sig Sauer Easy6 BDX 1-6x24 | Optics Trade
Technical Data | Sig Sauer Easy6 BDX 1-6x24 | Optics TradeTechnical Data | Sig Sauer Easy6 BDX 1-6x24 | Optics Trade
Technical Data | Sig Sauer Easy6 BDX 1-6x24 | Optics Trade
 
Spain Vs Albania- Spain at risk of being thrown out of Euro 2024 with Tournam...
Spain Vs Albania- Spain at risk of being thrown out of Euro 2024 with Tournam...Spain Vs Albania- Spain at risk of being thrown out of Euro 2024 with Tournam...
Spain Vs Albania- Spain at risk of being thrown out of Euro 2024 with Tournam...
 
Hire 💕 8617697112 Kasauli Call Girls Service Call Girls Agency
Hire 💕 8617697112 Kasauli Call Girls Service Call Girls AgencyHire 💕 8617697112 Kasauli Call Girls Service Call Girls Agency
Hire 💕 8617697112 Kasauli Call Girls Service Call Girls Agency
 
Ramban Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts In...
Ramban  Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts In...Ramban  Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts In...
Ramban Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts In...
 
UEFA Euro 2024 Squad Check-in Who is Most Favorite.docx
UEFA Euro 2024 Squad Check-in Who is Most Favorite.docxUEFA Euro 2024 Squad Check-in Who is Most Favorite.docx
UEFA Euro 2024 Squad Check-in Who is Most Favorite.docx
 
🔝|97111༒99012🔝 Call Girls In {Delhi} Cr Park ₹5.5k Cash Payment With Room De...
🔝|97111༒99012🔝 Call Girls In  {Delhi} Cr Park ₹5.5k Cash Payment With Room De...🔝|97111༒99012🔝 Call Girls In  {Delhi} Cr Park ₹5.5k Cash Payment With Room De...
🔝|97111༒99012🔝 Call Girls In {Delhi} Cr Park ₹5.5k Cash Payment With Room De...
 

As a Service: Cloud Foundry on OpenStack - Lessons Learnt

  • 1. As a Service: Cloud Foundry on OpenStack - Lessons Learnt Apps @AnimeshSingh OpenStack Summit Barcelona October 2016 @blueboxjesse
  • 2. A polyglot “platform for the people” •  The de facto open PaaS platform •  Foundation established Dec. 2014, under Linux Foundation umbrella Cloud Foundry
  • 3. Cloud Foundry Community 60+ member companies driving Cloud Foundry.
  • 4. PaaS Cloud Foundry on OpenStack IaaS UAA Router DEA Pool Service Gateway Apps Service Connector Health Manager Messaging Cloud Controller Build Packs Service Nodes Cloud Foundry BOSH Cloud Provider Interface
  • 5. BOSH Deployment Process Deployment Manifest •  Release name/version •  # VMs, job params •  Stemcells to use Stemcell •  Base OS •  BOSH agent Release •  Name •  Software packages •  Config templates •  Scripts BOSH Cloud Foundry Virtual Machine •  Configuration •  Software Packages Virtual Machine •  Configuration •  Software Packages Virtual Machine •  Configuration •  Software Packages Virtual Machine •  Configuration •  Software packages
  • 6. © IBM Corporation 6 Problems: Faced, by us and by the community!
  • 7. Problems we faced As CF and OpenStack deployers we experienced various issues deploying CF and OpenStack, and CF on OpenStack §  Instability: Instability of OpenStack environments from various distros §  APIs: Lack of compliance in APIs and new releases. Some of the API behavior also differs based on the plugins used §  Capacity: Right from cpu/mem/disk etc. to HA, persistent disk, floating ips etc. – sizing needs to be precise §  Network: Should CF co reside with other management components in a network? §  OpenStack for Enterprise Software: Enterprise software lags, with most variations still available only for VMware. §  Generic Deployment: Consistency when deploying CF on OpenStack, VMware or any other IaaS §  Combined OpenStack and Cloud Foundry Usage: How to allow seamless usage and consumption of OpenStack services along with CF services at the same time? §  CF HA: What works, what doesn’t? §  Proxy: Environments behind customer firewalls with restricted outbound access §  Constant Release Cycles: Both CF and OpenStack have frequent releases, patches, updates etc. How do we reconcile?7
  • 8. 50% experience significant issues deploying CF onto OS 45% are intermediate OS users Problems Community Faces: Survey Results
  • 9. Close to 50% of users had to customize their environment for CF Problems Community Faces: Survey Results
  • 10. Most users on Juno/Kilo Close to 50% of users run their own local OpenStack Problems Community Faces: Survey Results
  • 11. © IBM Corporation 11 Our OpenStack and Cloud Foundry Offerings
  • 12. APACHEHAPROXY APACHEHAPROXY HA MYSQL ARBITER (PERCONA) HA NEUTRON! HA KEYSTONE! HA GLANCE! HA HORIZON! NOVA! CINDER API & ISCSI! HA NEUTRON! HA KEYSTONE! HA GLANCE! HA HORIZON! NOVA! CINDER API & ISCSI! HA MYSQL (PERCONA) RABBITMQ HA MYSQL (PERCONA) RABBITMQ Our OpenStack Offering - Bluemix Private Cloud (IaaS) NOVA CINDER API & ISCSI NOVA CINDER API & ISCSI
  • 13. §  IBM Platform as a Services offering •  Three deployments styles: public, dedicated, private •  1M+ registered users (20K+/month) •  100K+ running apps and 500+ services Bluemix Bare Metal (public and dedicated) and OpenStack/VMware (private) Our Cloud Foundry Offering - Bluemix (PaaS) Services Lifecycle Management IDS Application Runtime Runtimes & Frameworks Middleware Application Operational Mobile ExternalData Node Java Ruby Worklight WebSphere Liberty Eclipse IDE Application Composition Environment Create & Manage Services Test/Run Test/Run Explore Services Explore Services IBM Bluemix Check In Code Check In Code Web IDE (Eclipse Orion)
  • 15. Test if your OpenStack is fit for Cloud Foundry deployment Manually, you can run the validations here to see if your OpenStack is a good fit: https://docs.cloudfoundry.org/deploying/openstack/validate_openstack.html §  Can you access the OpenStack APIs for your instance of OpenStack? §  Can you access OpenStack metadata service from a virtual machine? §  Can you ping one virtual machine from another? §  Can you invoke large numbers of API calls? §  Can you create and mount a large volume? §  Can you upload and deploy an Ubuntu Server Cloud Image? §  Can networking be configured for both external and internal IPs? §  Can you access the Internet from within instances?
  • 16. Test if your OpenStack is fit for Cloud Foundry deployment To check in automated fashion if your OpenStack is ready to run BOSH and Cloud Foundry, you can run this CF Incubator project : https://github.com/cloudfoundry-incubator/cf-openstack-validator 16 Testing the CPI API Upload stemcell Create VM Find VM Create disk Find disk Attach disk to VM Detach disk from VM Create disk snapshot Delete disk snapshot Delete disk Delete VM Delete stemcell Other OpenStack tests Check API rate limit Check required versions of OpenStack projects CPI requires API version 1 for glance and cinder Security group settings Check if security group rules allow necessary incoming/outgoing ports Outbound internet access Timeservers can be reached Attach a floating IP Set VM metadata tags Access a VM over ssh from the outside Access one VM from another VM Create a large volume
  • 17. Get the right sizing for Cloud Foundry •  Sample sizing are available online as references e.g https://docs.cloudfoundry.org/deploying/openstack/required-flavors.html https://www.mirantis.com/blog/full-stack-devops-with-pivotal-cloud-foundry-on-mirantis-openstack https://docs.pivotal.io/pivotalcf/1-7/customizing/openstack.html#versions •  Increase default quota of the tenant to meet minimum requirement e.g number of ports always gets hit first •  Recommended ‘OpenStack flavors’ disk space should be go in ephemeral disk. Keep root disk to 10GB minimum
  • 18. Optimize OpenStack scheduling and communication Optimize Internal Communication: •  Configure OpenStack for high volume API calls e.g Increase OpenStack API rate limits (/etc/nova/api-paste.ini) •  Avoid name based security groups with nova-network. Name based security groups require message bus activity and database updates proportional to the number of existing VMs •  If Neutron is configured with VXLAN via the Open vSwitch mechanism, the MTU should be 1400. For GRE, the recommended number is 1460. Use the right Scheduler Use an OpenStack scheduler which evenly distributes load e.g compute_scheduler_driver = nova.scheduler.filter_scheduler.FilterScheduler
  • 19. Account for different OpenStack configurations •  If your OpenStack setup requires you to use disks from block storage instead, that will work with Cloud Foundry as well. properties. openstack.boot_from_volume: true •  By default, the VMs created try to receive data from OpenStack's HTTP metadata service. If your OpenStack installation doesn't provide metadata and userdata over HTTP, but requires you to use config-drive instead of metadata, you need to specify this in the property properties.openstack.config_drive: cdrom
  • 20. Optimize Cloud Foundry / BOSH bandwidth and communication Optimize Internal Communication: •  Increase BOSH NATS time out for high concurrency e.g Configure NATS messaging bus to increase ping interval Optimized routing and bandwidth allocation •  Isolate Cloud Foundry components using multiple networks e.g DEAs in their own network, brokered services in their own network Optimize log forwarding •  Supporting services like logging, report generation etc should go in their own tenant network. Also any communication between the VM(s) sending logs, and log receiving component(s) should go over the private network. Don’t use floating ips as destination, else you are paying double the cost.
  • 21. Optimize for Security and Network •  Only open ports which are needed. Use the most limited permissions required to complete the job. •  If OpenStack is using a self-signed certificate, configure properties.openstack.connection_options to include the property ca_cert •  Use tenant credentials: Do not use full admin credentials in your BOSH manifest •  Minimize floating ips: Except for the incoming Gateway device(HA Proxy, Datapower, F5 etc), none of the fabric VMs should be on public network or need a floating ip
  • 22. Account for customer boundary firewall or proxy •  BOSH will retrieve CF release components via the URL provided in deployment manifest. Also services and CF apps may need outbound access. In environments behind firewall or proxy with restricted access, this could be a major issue. •  If the firewall or proxy requires both destination and source ips to be enlisted, prepare a list of destination IPs/URLs you need to reach out and hand it to datacenter admin •  If your OpenStack VMs don’t have a floating ip from external network, the source ip presented to firewall will be Neutron gateway ip •  Cloud Foundry doesn’t support out of the box SSL packet inspection where the SSL certificate for a given sight is replaced by your own self signed certificate. Inspection is only supported using an Internet Authority signed certificate.
  • 23. Work on seamless OpenStack update/upgrade OpenStack separates the availability of workloads (Data Place) from the availability of the API services (Control Plane) OpenStack Code Major Upgrade Maintenance: Moving from one OpenStack release to another, e.g. from Kilo to Mitaka with data migration •  Infrequent, twice a year at most. New OpenStack code is put in place for all of the services that make up a cloud (e.g. Nova, Neutron, Glance, Heat, Cinder, Ceilometer, Aodh, Swift, etc..). •  ~10 minutes for each service OpenStack Code Minor Upgrade Maintenance: Upgrading OpenStack service, without data migration •  Typically only bug fixes. New OpenStack code is put in place and the services associated with that code are simply restarted. •  ~5 seconds for each service OpenStack Config Maintenance: Changing the configuration for one or more of the OpenStack services, needed to correct bugs in the service, or to tune the service due to consumer requests. •  Require the restart of a particular service. The disruption to the API control plane is isolated to the services receiving configuration updates. •  ~ seconds for each service
  • 25. OpenStack Installation: •  Leverage the open source Ursula Ansible and Rally Cloud infrastructure Automation framework •  Requires information about hardware, network environment and software repositories. Bluemix Private Cloud Install Automation Setup Storage Setup OpenStack Setup Network Run validation Setup Hardware Ursula, Rally-OpenStack
  • 26. OpenStack Discovery: •  Leverage the open source Fog gem to discover OpenStack artifacts in an automated manner •  Require OpenStack credentials and discover OpenStack compute and network information. Cloud Foundry on OpenStack deployment Automation Discover VM Configuration Sizes Discover Network Subnets Discover Network Security Rules Discover DHCP , DNS Gateway and floating IPs Discover Security Credentials
  • 27. Cloud Foundry Pre-req setup on OpenStack: •  Leverage the open source Fog gem to setup Cloud Foundry requirements in an automated manner •  Setup according to best practices and guidelines – still giving users the flexibility to change if desired Create Security Credentials Create VM configs for Router, DEAs, Cloud Controller, Service Nodes Create network Security Rules Setup tenant quota Cloud Foundry on OpenStack deployment Automation
  • 28. Cloud Foundry Deployment Automation •  Automate stemcell modification •  Automate Cloud Foundry deployment manifest file genration using Ruby ERB •  Automate upload of Cloud Foundry core release, services and runtime frameworks, followed by Cloud Foundry deployment Stemcell Creation and Upload Generate BOSH and Cloud Foundry Manifest Upload Cloud Foundry core, Services and runtime Deploy Cloud Foundry Deploy bosh director RUBY BOSH Cloud Foundry on OpenStack deployment Automation
  • 29. © IBM Corporation 29 As a Service: As a provider, look into offering Cloud Foundry and OpenStack as a Service
  • 30. Why as a Service? Cloud Foundry: –  New release every 2-3 weeks –  Bluemix PaaS is a combination of CF and 150+ Services –  Older versions will lead to huge version mismatches, and lead to version sprawl –  Keeps Public/Dedicated and Local Bluemix in sync OpenStack: –  Twice annual releases that touch the entire code base. –  Upgrading sequentially is important: stay up to date! –  OpenStack’s complexity requires expertise in many operational areas –  Focus on higher business value. Work with OpenStack, not on OpenSTack
  • 31. Private Cloud Hardware Bluemix Private Cloud: IaaS Relay: Box Panel Box Panel Site Controller (Software) Bluemix Private Cloud OpenStack Box Panel Formations Central Authentication Customer Relationship Management Service Catalog and Metering Billing and Invoicing Object Storage Block Storage Core Networking Inventory Management Network Management Reporting and Analytics Support Ticking, Chat and Email
  • 33. IaaS Relay: Site Controller Box Panel Site Controller Customer Cloud Resides on-premises adjacent to customer clouds, providing real-time administrative control of cloud environments. –  Network Automation –  Power Distribution Unit Automation –  System and Network: •  Monitoring •  Telemetry •  Logging –  Secure Remote Control and Access –  Bare Metal Provisioning –  Package and Container Repo
  • 34. SDN router The Internet Customer Network IBM Urban Code Deploy Softlayer Server Bluemix Platform Stemcells Releases Manifests BOSH CLI Automated Management Processes (Deploy, Upgrade etc.) IBM Urban Code Deploy Relay Customer Hardware & Infrastructure Bluemix Core Services •  Monitoring & Logging •  Cache •  Cloudant (Data Store) •  Qradar EPS •  IEM Relay Configuration Store (per customer) Bluemix Code & Automation Repository Opensource Code IBM Test & Staging Validation IBM Production Deployment &Validation Bluemix Local Inception VM UCD Agent • Secure connection • Connection originated from customer premise • Restricted access (agent- only) Cloud Foundry ACE UI Enterprise ITSM Customer Services Customer Premises Premises On-premise data store for logs, monitoring data etc. Bluemix Ops Console IBM Cloud Security Services Qradar Console IEM Server Bluemix Ops Directory Server Privileged ID Governance IPSec Tunnel DataPower • Customer’s Service traffic • Syndicated & 3rd party service traffic • App staging artifacts • Inbound & outbound user to app traffic •  LDAP •  Enterprise services •  Other SaaS services •  vCenter Network IsolationCustomer Services Bluemix Private Cloud PaaS Relay IBMPremises
  • 37. VPN Tunnel Inception VM Stemcells Releases Manifests BOSH CLI DataPower ACE UI Metering Admin UI NATS BM DB Backup Login server UAA CC Blobsto re HM CCDB Loggre gator Go router DEAs UAADB Logging UCD AgentOps Center Agent VPN Tunnel Bluemix Private Cloud: PaaS and IaaS As a Service! Bluemix Relay Bluemix Private Cloud Relay Site Controller Repo / Deploy Server Monitoring Server (Sensu) Logging (ELK) Bastion (Access)
  • 38. Cloud Foundry on OpenStack – A Great Fit! •  100% Open PaaS and IaaS solutions – No vendor lock-ins •  Strong and growing community of contributors and sponsors on both sides •  Power of Open Source community can be leveraged to automate the deployment and lifecycle management of Cloud Foundry on OpenStack •  OpenStack meets Cloud Foundry integration requirements, and is totally configurable and adaptable to handle the scale of a PaaS solution like Cloud Foundry •  Bottom Line: It’s a match made in Heaven !