gcp Google Cloud Blog ·

Cloud Run makes highly available, multi-region services easier

bloginfragcpengineergcp-cloud-rungcp-cloud-sqlgcp-cloud-storagegcp-spannergcp-firestore
feature

Cloud Run now offers enhanced capabilities for multi-region high availability, including readiness probes and service health aggregation. These features automate failover within seconds during regional disruptions, reducing downtime for critical applications. This update benefits developers and architects deploying resilient workloads, especially for public-facing or private network applications, and is available at no additional cost in all Cloud Run regions.

  • Automated multi-region failover for Cloud Run services
  • Readiness probes for instance health monitoring
  • Service health aggregation via Serverless NEGs
  • Support for public internet and private network applications
  • Design considerations for multi-region deployments
Features (1)
  • Automated multi-region failover for Cloud Run services

    New capabilities enhance multi-region Cloud Run services by automatically detecting regional disruptions and failing over to healthy regions within seconds. This is achieved through readiness probes for instance-level health checks and service health aggregation, which provide an aggregate view of service health per region.

Enhancements (2)
  • Readiness probes for instance health monitoring

    Readiness probes offer instance-level health checks for Cloud Run containers, determining when they are ready to serve traffic and monitoring the number of healthy or unhealthy instances per region. This allows for granular health insights crucial for high availability scenarios.

  • Service health aggregation via Serverless NEGs

    Service health aggregates readiness probe data to calculate the overall health of a Cloud Run service in each region. This aggregate health is exposed through serverless network endpoint groups (NEGs) and integrates with global application load balancers for automatic traffic failover.

Notes (3)
  • Support for public internet and private network applications

    The enhanced multi-region capabilities can be configured for both public-facing applications using a global external application load balancer, and private applications using a cross-regional internal application load balancer for automated detection and failover.

  • Design considerations for multi-region deployments

    When designing multi-region setups, consider eliminating single points of failure at each application layer, ensuring data replication across regions with consideration for recovery point objectives, and leveraging Google Cloud's multi-region database solutions for data residency requirements.

  • Availability and cost of new features

    Cloud Run's enhanced multi-region high availability services are available at no additional cost in all Cloud Run regions. Users only pay for the standard CPU and memory utilized by the readiness probes.

Read the original announcement →

https://cloud.google.com/blog/products/serverless/cloud-run-multi-region-services-enhanced-for-high-availability/

Related releases