Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Overview of Compute Engine (Aug 2015)

Ian Lewis
August 25, 2015

Overview of Compute Engine (Aug 2015)

Ian Lewis

August 25, 2015
Tweet

More Decks by Ian Lewis

Other Decks in Technology

Transcript

  1. For the past 15 years, Google has been building out

    the world’s fastest, most powerful, highest quality cloud infrastructure on the planet.
  2. • Pioneering data center efficiency • Financed over 250 Megawatts

    of new wind power • First data centers to receive ISO 14001 certification • 100% carbon neutral Our Commitment to Environmental Responsibility
  3. Networking Management Networking Big Data Storage Mobile Developer Tools Compute

    Engine App Engine Container Engine Google Cloud Platform Compute Compute
  4. Networking Management Networking Big Data Storage Mobile Developer Tools Compute

    Engine App Engine Container Engine Google Cloud Platform Compute Compute
  5. Compute Resources - US, Europe and Asia zones - Fast

    SDN-Based virtual networking Consistently Fast - Fast VM Provisioning - Consistent Performance Cost Effective - Sub-Hour Billing - No IOPS charges for Block Storage - VMs not required for Load balancing Google Compute Engine
  6. Cores CPU to Memory ratio More memory 1 2 4

    8 More CPU (Shared) 16 Instances to suit diverse workloads 32 Compute Engine VMs: • Debian, CentOS, SUSE, RHEL, Ubuntu, Windows (Beta • shared core or 1 - 32 cores • Up to 208 GB of RAM
  7. 100% 0% 20% 40% 60% 80% Sustained Use Sustained-use discounts

    Net Price Per Hour Sustained-use discounts
  8. • Per GB pricing; no IO charges • Consistent Performance

    • Encryption • Live Migration Persistent Disk Persistent Disk
  9. • Per GB pricing; no IO charges • Consistent Performance

    • Encryption • Live Migration Persistent Disk SSD PD Standard PD Local SSD Persistent Disk • Sub-ms latency • 1-4 x 375 GB partitions • Storage redundancy • Checksums • Snapshots • 1GB-10TB
  10. • Per GB pricing; no IO charges • Consistent Performance

    • Encryption • Live Migration Persistent Disk SSD PD Standard PD Local SSD Persistent Disk • Sub-ms latency • 1-4 x 375 GB partitions • Storage redundancy • Checksums • Snapshots • 1GB-10TB 200 30 80 Local SSD IOPS/GB (log scale) 0 Standard PD 15 6 SSD PD 2
  11. RO RW • Attach/Detach Data disks on the fly •

    Mount Read-Write on a single VM • Mount Read-Only on many VMs Persistent Disk Attach/Mount options
  12. Load Balancing Load Balancing L3 (network) or L7 (HTTP/HTTPS) Load

    Balancing Single IP per forwarding rule No prewarming needed; goes from 0 to full- throttle in seconds Detects unhealthy virtual machines instances Balance loads across regions Routes traffic to the closest virtual machine Supports content-based routing
  13. • TCP and UDP (plus VPN protocols) • IP addresses

    • public: static and ephemeral • internal: ephemeral with automatic DNS • Network groups & firewall rules • rules applied to instances via tags • Gateways, routing and VPNs Networking Internet Networking
  14. Managed Instance Group • Grouping of identical VM instances Managed

    Instance Group VM VM VM Managed Instance Groups
  15. create/ destroy VMs Instance Group Manager Managed Instance Group VM

    VM VM Managed Instance Group • Grouping of identical VM instances • Provisioned and monitored by Instance Group Manager Instance Group Manager
  16. create/ destroy VMs Instance Group Manager Instance Template Instance Template

    Managed Instance Group VM VM VM Managed Instance Group • Grouping of identical VM instances • Provisioned and monitored by Instance Group Manager • Instance Templates separate configuration from provisioning Instance Templates
  17. Managed Instance Group destroy/ recreate VMs Instance Group Updater Rolling

    Update VM VM VM New Template Managed Instance Group • Grouping of identical VM instances • Provisioned and monitored by Instance Group Manager • Instance Templates separate configuration from provisioning • Rolling Updates applied by instance Group Updater Instance Group Updater
  18. Managed Instance Group create/ destroy VMs Instance Group Manager actuator

    monitor Autoscaler Cloud Monitoring utilisation VM VM VM Pub/Sub Topic Compute Engine Autoscaler
  19. Just Like Regular VMs • Same configurations, OSes, performance, tools,

    etc. More Cost Effective • Flat pricing: < 50% regular VM rates Reasonable, Predictable Limitations • 24h uptime limit • Chance of early preemption by system (~10-20%) ◦ No preemptions due to other customers’ Preemptible VM requests • Pre-termination notice to allow for clean shutdown Preemptible VMs: What Batch
  20. Flexibility Gives Google Efficiency • Limited time “lease” and preemption

    improve fleet allocation efficiency • Google can pass on the savings to you: win-win! “Regular” VMs are Suboptimal for Batch Use Cases • Always-on, infinite duration nature is not needed for batch type jobs • 99.95% continuous uptimes are designed for “serving” needs, not batch • Embarrassingly parallel jobs are often fault-tolerant to loss of worker nodes • Batch jobs might not hit best sustained use pricing thresholds Preemptible VMs: Why Batch
  21. • Log processing, Analytics, Big Data (Hadoop, MapReduce, etc.) •

    Rendering • Media transcoding • Financial modeling and simulation • Continuous integration - automated build and testing • Genomics Preemptible VMs: Typical Use Cases Batch