menu
arrow_back

Optimizing cost with Google Cloud Storage

Optimizing cost with Google Cloud Storage

1시간 크레딧 7개

GSP649

Google Cloud Self-Paced Labs

Overview

In this lab, you use Cloud Functions and Cloud Scheduler to identify and clean up wasted cloud resources. You trigger a Cloud Function to migrate a storage bucket from a Cloud Monitoring alerting policy to a less expensive storage class.

GCP provides storage object lifecycle rules that automatically moves objects to different storage classes based on a set of attributes, such as their creation date or live state. However, these rules can’t take into account whether the objects have been accessed. Sometimes, you might want to move newer objects to Nearline storage if they haven’t been accessed for a certain period of time.

What you'll do

  • Create two storage buckets, add a file to the serving-bucket, and generate traffic against it.

  • Create a Cloud Monitoring dashboard to visualize bucket utilization.

  • Deploy a Cloud Function to migrate the idle bucket to a less expensive storage class, and trigger the function by using a payload intended to mock a notification received from a Cloud alerting policy.

이 실습의 나머지 부분과 기타 사항에 대해 알아보려면 Qwiklabs에 가입하세요.

  • Google Cloud Console에 대한 임시 액세스 권한을 얻습니다.
  • 초급부터 고급 수준까지 200여 개의 실습이 준비되어 있습니다.
  • 자신의 학습 속도에 맞춰 학습할 수 있도록 적은 분량으로 나누어져 있습니다.
이 실습을 시작하려면 가입하세요
점수

—/100

Enable the Cloud Scheduler API

단계 진행

/ 10

Create a Cloud Storage bucket

단계 진행

/ 10

Make bucket public

단계 진행

/ 10

Create another cloud storage bucket

단계 진행

/ 10

Deploy cloud function

단계 진행

/ 30

Confirm the migration of bucket to Nearline.

단계 진행

/ 30