Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 746 Bytes

File metadata and controls

34 lines (23 loc) · 746 Bytes

GSP878 - Defending Edge Cache with Cloud Armor

Setup

  1. Set project id

    export PROJECT_ID=$(gcloud config get-value project)
    echo $PROJECT_ID
    gcloud config set project $PROJECT_ID

Task 1. Create a Cloud Storage bucket and upload an object

  1. Buat bucket

  2. Upload Object ke bucket

    wget --output-document google.png https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png
    gsutil cp google.png gs://qwiklabs-gcp-04-ebcf80e9f30a
    rm google.png

Task 2. Create a Load Balancer

Task 3. Delete the object from Cloud Storage bucket

Task 4. Create an Edge Security policy for a CDN Cache and validate the policy