Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Cloud Foundry Summit 2015: Running Cloud Foundry at Comcast

Speaker: Tim Leong, Com­cast

To learn more about Pivotal Cloud Foundry, visit

  • Login to see the comments

Cloud Foundry Summit 2015: Running Cloud Foundry at Comcast

  1. 1. Cloud Foundry at Comcast May 11, 2015
  2. 2. Tim Leong, Cloud Architecture Sergey Matochkin, App Platform Architecture Sam Guerrero, Cloud Engineering Neville George, Cloud Engineering Cloud Foundry at Comcast2 Comcast Cloud Services
  3. 3. Cloud Foundry Custom URLs: Challenges Cloud Foundry at Comcast3 HTTP Host Header • Changing Host Header for proper CF Routing • Enable GSLB Support Multiple SSL Certificates • How to support SSL for multiple domains?
  4. 4. GSLB, Custom URLs and SSL • HAProxy Config controlled by Puppet/Hiera • Custom Host Header replacement config through Puppet • Also works for certificate injection, with SNI Cloud Foundry at Comcast4 LB LB GSLB Puppet Hiera Update cfg HH key/value
  5. 5. Cloud Foundry Custom Services: Challenges Need for Custom Services •Logger •Outbound Proxy •HAProxy with custom URL mapping Cloud Foundry at Comcast5 Scale and Extend •Supports organic growth and on-demand scalability •Add new Services without major Dev efforts •Support service lifecycle
  6. 6. Cloud Foundry meets Docker and OpenStack at the Market Place •Docker can run anything – ideal runtime environment for services •Run Docker containers on OpenStack VMs •OpenStack is build to scale •Monitor utilization and automatically add VMs to maintain capacity Cloud Foundry at Comcast6
  7. 7. Two layers of Service Broker Implementation Cloud Foundry at Comcast7 Cloud Foundry Controller Service Broker API Logger Docker Pool Controller Logger HAProxy … SquidProxy OpenStack VMs DB VM Capacity Manager Container Manager
  8. 8. Docker Pool Controller Request Request PUT /b8ead779-08ce-4659-84dd-30d61838e10e { "image": "comcast-logger", "mem": 1024, "ports":[ 80, 5000 ] } Response { "host": "", "ports": { "80": 49202, "5000": 49203 } } Cloud Foundry at Comcast8 • Go find a server that can accommodate a new container • Start the container using “comcast-logger” image • Expose ports 80 and 5000 • Ensure that the container will have 1GB RAM to run • Here is your service FQDN • And port mappings
  9. 9. Shift in Thinking Cloud Foundry at Comcast9 • Self Service operating model (great for business but brings challenges to Engineering) • Logistics (Asset management, CMDB to CF App associations, showback / chargeback) • Expanded customer collaboration (App Specific / Network / DNS / Load Balancer) • Increased scope of responsibility (cf versions, buildpacks, backups) • “Run your own business” mentality (T-shaped)
  10. 10. Data Insight - “Knowing matters” Admin UI Tool - Visibility • GUI for state of the environment • Aids in certain operational aspects • Utilization metrics Cloud Foundry at Comcast10 Nagios - Proactive monitoring • Key Performance Indicators • Customer quotas • Problem correlation