From The Coalface CCCEU13


Published on

A presentation on how ShapeBlue's clients are using CloudStack

Published in: Technology
  • Be the first to comment

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

No notes for slide
  • Can’t name some clients because how they run their clouds is sensitive commercially or ‘for pubic safety’But these are all real customer stories
  • Names will be changed to protect the innocent / guilty / culpableSome very large customers’ logos not shown – although I will talk about their use cases
  • A brief word on ShapeBlue - What we’re saying is:This what we do - This is our day job - This feeds our families,etcetc
  • What kind of uses are we talking about
  • We throw out ‘Test & Dev’ as our go-to use case for private clouds – we’ll look at what this actually meansScalable public facing apps – indicate kind of scale we’re talking about laterHigh speed deployment – quote one client physical tin was a 15 working day lead time, virtualisation changed that – to 18 days (because it’s a black art with therefore more internal checks and balancesNo names as to who said reduced reliance (been cited more than once) - Networking & VM teams – firewall rules etc
  • That’s the generalitiesNow for the specifics
  • Facts from and annual report 2012CloudStack environment is still in developmentNote MASSIVE scale
  • Load split between AWS and CloudStack - burst above threshold goes to AWSCheaper to run base load in own datacentre.They have done the maths to figure out where the line should be.
  • Loss of link to DC2 stops ability to orchestrate DC2
  • Really cool setup – trader media grouploss of an entire datacenter does not effect the other datacenterTwo f5 load balancers are separate virtual servers from the same physical box
  • RightScale templates for each environmentA unique code which ties a ‘large tomcat server’ instance in AWS to a ‘large tomcat server’ instance in CloudStackRightScale can be set to start instances on a automated time-based
  • Paddy Power – Based in Dublin (Ireland)This was the least offence ad I could find
  • 2012 figures
  • Templating environments allows developers to ‘call up’ a standard environment and start developing quickly,discard and start again
  • Chaos Monkey is not a reference to any ShapeBlue consultants or Project Managers [humour] Monkey induces artificial delays in our RESTful client-server communication layer to simulate service degradation and measures if upstream services respond appropriately. In addition, by making very large delays, we can simulate a node or even an entire service downtime (and test our ability to survive it) without physically bringing these instances down. This can be particularly useful when testing the fault-tolerance of a new service by simulating the failure of its dependencies, without making these dependencies unavailable to the rest of the system.Conformity Monkey finds instances that don’t adhere to best-practices and shuts them down. For example, we know that if we find instances that don’t belong to an auto-scaling group, that’s trouble waiting to happen. We shut them down to give the service owner the opportunity to re-launch them properly.Doctor Monkey taps into health checks that run on each instance as well as monitors other external signs of health (e.g. CPU load) to detect unhealthy instances. Once unhealthy instances are detected, they are removed from service and after giving the service owners time to root-cause the problem, are eventually terminated.Janitor Monkey ensures that our cloud environment is running free of clutter and waste. It searches for unused resources and disposes of them.Security Monkey is an extension of Conformity Monkey. It finds security violations or vulnerabilities, such as improperly configured AWS security groups, and terminates the offending instances. It also ensures that all our SSL and DRM certificates are valid and are not coming up for renewal.10-18 Monkey (short for Localization-Internationalization, or l10n-i18n) detects configuration and run time problems in instances serving customers in multiple geographic regions, using different languages and character sets.Chaos Gorilla is similar to Chaos Monkey, but simulates an outage of an entire Amazon availability zone. We want to verify that our services automatically re-balance to the functional availability zones without user-visible impact or manual intervention.
  • Isolation allows dev to much more closely match dev (also see regulatory authority)Faster transition from dev to prod through closer replication of environment including constraints (ie firewall ACLs)Take configs from virtual ASA in dev environment -> ratify and place on prod environment devicesThe Prod environment may or may not be in CloudStack
  • UK’s Largest Pay-TV BroadcasterMassive scaleA number of elements of their infrastructure will be run on CloudStack
  • Traffic must traverse the VPC router multiple times to answer a single ‘query’10’s of thousands of Transactions per Second required in the environment
  • Using security groups there is no bottleneck.Arrows here show allowed direction of requestsCF = cloudfoundry
  • I’m not a Cassandra expert so I’m going to keep this simpleIn basic zone – map pod to clustermore difficult in advanced zones.
  • In basic zone – map pod to clustermore difficult in advanced zones.
  • That’s the generalitiesNow for the specifics
  • Deployment server – Chef/Puppet/Ansible (rise of DevOps)Load balancers – physical (F5/NetScaler) or virtual (Zen Load balancer or HAProxy)CS Manager usually in active/passive configuration (some clients looking at dedicated API CS manager) MySQL still in master/slave configuration.MySQL HA / DR is still a headache for most clients.-> DRDB / MySQL clustering / Galera all being trialled
  • From The Coalface CCCEU13

    1. 1. From The Coalface Real Customer Use Cases Paul Angus Cloud Architect Twitter: @ShapeBlue
    2. 2. From The Coalface Real Customer Use Cases How they’re using CloudStack CloudStack Infrastructure @ShapeBlue #CloudStack #CCCEU13
    3. 3. About Me Who am I Cloud Architect with ShapeBlue Worked with CloudStack since 2.2.13 Specialising in deployment of CloudStack and surrounding infrastructure Orange, TomTom, PaddyPower, Ascenty, BSkyB I view CloudStack from ‘What can cloud consumers practically do with it’ point-of-view @ShapeBlue #CloudStack #CCCEU13
    4. 4. @ShapeBlue #CloudStack #CCCEU13
    5. 5. About ShapeBlue “ShapeBlue are expert builders of public & private clouds. They are the leading global independent CloudStack / CloudPlatform integrator & consultancy” @ShapeBlue #CloudStack #CCCEU13
    6. 6. From The Coalface Use Cases @ShapeBlue #CloudStack #CCCEU13
    7. 7. Use Cases Test & Dev Highly scalable public facing applications High speed server resource deployment Reduced reliance on corporate infrastructure teams @ShapeBlue #CloudStack #CCCEU13
    8. 8. From The Coalface In a real private cloud @ShapeBlue #CloudStack #CCCEU13
    9. 9. Trader Media Owns ‘AutoTrader’ which started in print media Website receives 10 million unique users per month An average of 833,000,000 page views per month CloudStack environment is still in development @ShapeBlue #CloudStack #CCCEU13
    10. 10. Trader Media Traffic Profile (indicative) Hits Burst Threshold Early Morning ` Lunchtime @ShapeBlue #CloudStack #CCCEU13 Late Evening
    11. 11. Trader Media ‘Standard deployment’ DC1 DC2 LB CS Man CS Man Hosts Hosts Hosts Hosts Hosts Hosts Hosts Hosts MySQL MySQL @ShapeBlue #CloudStack #CCCEU13
    12. 12. Trader Media DC1 DC2 F5 Hosts Hosts Hosts Hosts CS Man F5 CS Man CS Man CS Man F5 MySQL MySQL Galera F5 MySQL MySQL MySQL Galera @ShapeBlue #CloudStack #CCCEU13 MySQL Hosts Hosts Hosts Hosts
    13. 13. Trader Media RightScale CLOUD MANAGEMENT Configuration Management Governance Controls Automation Engine @ShapeBlue #CloudStack #CCCEU13
    14. 14. Paddy Power “If we haven’t yet done the marketing equivalent of running up and slapping you in the face, then please allow us to introduce ourselves. Paddy Power is Ireland’s biggest, most successful, security conscious and innovative bookmaker” @ShapeBlue #CloudStack #CCCEU13
    15. 15. Paddy Power Facts and figures has 1.6 million users* Annual revenue of $535m from online users* CloudStack environment is still in development *2012 figures @ShapeBlue #CloudStack #CCCEU13
    16. 16. Paddy Power Environment Templates Tomc at NEW APP Tomc at NOSQL NEW APP Tomc at NOSQL NEW APP NOSQL Tomc at NEW APP NEW APP NOSQL @ShapeBlue #CloudStack #CCCEU13
    17. 17. Paddy Power Chaos Monkey / Simian Army (Problems as a Service) Guest instances which are designed specifically to disrupt or test elements to prove the robustness of the overall architecture. @ShapeBlue #CloudStack #CCCEU13
    18. 18. Paddy Power Faster transition from Development to Production Develpoment ntier Environment Virtual Cisco ASA Physical Cisco ASA Web Web App App DB DB @ShapeBlue #CloudStack #CCCEU13 Production ntier Environment
    19. 19. UK Satellite Broadcaster Mobile viewing application has 3.26 million users 51 million monthly streamed items 12 million monthly streamed VOD views Mobile Apps have a combined 6.3 million user base 23 million weekly on-demand downloads @ShapeBlue #CloudStack #CCCEU13
    20. 20. UK Satellite Broadcaster Security Groups VPC Bottleneck GW LB CloudStack Public VPC Router Web Tier App Tier Data Tier @ShapeBlue #CloudStack #CCCEU13
    21. 21. UK Satellite Broadcaster CloudStack External Security groups in advanced zones LB GW GW GW GW GW Security Group Separation Web Tier CF Tier App Tier Mgmt Tier Data Tier @ShapeBlue #CloudStack #CCCEU13
    22. 22. UK Satellite Broadcaster Cassandra Requires anti-affinity of instances ‘Snitch’ maps IPs to racks and data centers – requires control over IP addressing in conjunction with VM placement @ShapeBlue #CloudStack #CCCEU13
    23. 23. UK Satellite Broadcaster Bursting to Amazon Requires VPN/direct link to maintain database consistency Uses Akamai @ShapeBlue #CloudStack #CCCEU13
    24. 24. From The Coalface Real Infrastructures @ShapeBlue #CloudStack #CCCEU13
    25. 25. CloudStack Infrastructure Logical management farm Load Balancer CS Manager Load Balancer CS Manager Deployment Server MySQL @ShapeBlue #CloudStack #CCCEU13 MySQL
    26. 26. Typical Hardware Storage Vendors Protocols Speeds Arrangement NetApp NFS 1Gb 1 Array per pod Hitachi Nexenta FCoE iSCSI 40Gb converged 10Gb 1 Array per zone 2 Arrays per pod SolidFire @ShapeBlue #CloudStack #CCCEU13
    27. 27. Typical Hardware Compute Vendors No Cores Interface Speeds Hypervisors HP 2x4 6x1Gb XenServer Dell 2x8 ESXi Cisco 4x10 2x10Gb 8x1Gb SuperMicro 4x8 12x1Gb (LACP) @ShapeBlue #CloudStack #CCCEU13 KVM
    28. 28. Typical Hardware Networking Vendors Speed Arrangement Cisco 1Gb Juniper Arista 10Gb 40Gb (Converged) Stacked Etherchannel (multi-chassis LACP) @ShapeBlue #CloudStack #CCCEU13
    29. 29. Questions ? @ShapeBlue #CloudStack #CCCEU13
    30. 30. Resources Slides: Blogs: Email: Twitter: @CloudyAngus Web: @ShapeBlue #CloudStack #CCCEU13
    31. 31. From The Coalface Real Customer Use Cases Paul Angus Cloud Architect Twitter: @CloudyAngus @ShapeBlue