Book Image

Google Cloud Platform for Architects

By : Vitthal Srinivasan, Loonycorn , Judy Raj
Book Image

Google Cloud Platform for Architects

By: Vitthal Srinivasan, Loonycorn , Judy Raj

Overview of this book

Using a public cloud platform was considered risky a decade ago, and unconventional even just a few years ago. Today, however, use of the public cloud is completely mainstream - the norm, rather than the exception. Several leading technology firms, including Google, have built sophisticated cloud platforms, and are locked in a fierce competition for market share. The main goal of this book is to enable you to get the best out of the GCP, and to use it with confidence and competence. You will learn why cloud architectures take the forms that they do, and this will help you become a skilled high-level cloud architect. You will also learn how individual cloud services are configured and used, so that you are never intimidated at having to build it yourself. You will also learn the right way and the right situation in which to use the important GCP services. By the end of this book, you will be able to make the most out of Google Cloud Platform design.
Table of Contents (19 chapters)
13
Logging and Monitoring

Serving Static Content with GCS Buckets

The following diagram illustrates something interesting: just as we can place a backend service (for example, a group of VMs) behind a load balancer for dynamic content, we can also place backend buckets behind a load balancer. It would also make sense to use Google's Content Delivery Network (CDN) to cache the content in those buckets in front of the load balancer, but that is not actually shown in this diagram:

GCP also features content-based load balancing, where an HTTP(S) load balancer can be set up to distribute traffic to different backends depending on the URL path. For instance, if the video content for your website is stored in a bucket, you could configure your load balancer to direct all requests to URL paths that begin with /video to your bucket. All other requests can be served by your VM instances:

...