Google Cloud Storage is one of the most used GCP services. It allows users to create buckets and store objects into them. Because a static website is composed of simple HTML, CSS, and JavaScript files, you can upload them into a cloud storage bucket and serve your static website from a single storage bucket. Using a cloud storage bucket for serving your website is a good choice instead of using a server because it allows you to deep-handle the security of the objects you upload, it allows you not to have a standard monthly fee but you only pay for the storage spaces you are using, and you can distribute your content within a single region, dual-region, or multi-region. In this lab, you will create a regional cloud storage bucket and you will upload the files of your static website to it. You will then create a load balancer and a CDN distribution to be able to have an efficient caching and file serving approach.
Upon completion of this lab you will be able to:
This lab is intended for:
This lab has no prerequisites.
April 15th, 2024 - Updated the instructions and screenshots to reflect the latest UI
February 24th, 2022 - Updated the instructions and screenshots to reflect the latest UI