menu
arrow_back

Clean up unused IP addresses

Clean up unused IP addresses

1 jam 7 Kredit

GSP646

Google Cloud Self-Paced Labs

Overview

In this lab, you will use Cloud Functions and Cloud Scheduler to identify and clean up wasted cloud resources. On Google Cloud Platform (GCP), static IP addresses are a free resource when they’re attached to a load balancer or virtual machine (VM) instance. When a static IP address is reserved, but not used, it accumulates an hourly charge. In apps that heavily depend on static IP addresses and large-scale dynamic provisioning, this waste can become significant over time.

What you'll do

  • Create a Compute Engine VM with a static external IP address and a separate unused static external IP address

  • Deploy a Cloud Function to identify unused addresses

  • Create a Cloud Scheduler job to schedule the function to run by using an HTTP trigger

Bergabunglah dengan Qwiklabs untuk membaca tentang lab ini selengkapnya... beserta informasi lainnya!

  • Dapatkan akses sementara ke Google Cloud Console.
  • Lebih dari 200 lab mulai dari tingkat pemula hingga lanjutan.
  • Berdurasi singkat, jadi Anda dapat belajar dengan santai.
Bergabung untuk Memulai Lab Ini
Skor

—/100

Enable the Cloud Scheduler API

Jalankan Langkah

/ 10

Create two static IP addresses

Jalankan Langkah

/ 20

Create an instance with static IP address created earlier.

Jalankan Langkah

/ 20

Deploy cloud function

Jalankan Langkah

/ 20

Create App Engine Application

Jalankan Langkah

/ 10

Run a cloud schedular job

Jalankan Langkah

/ 10

Confirm the deletion of unused IP address

Jalankan Langkah

/ 10