Knowledge Article for CDN Purging on GCP

Work Instructions for CDN Purge on GCP

  1. Create a Custom IAM Role for CDN Purge
    1. Go to the GCP Console:
      1. Open the Google Cloud Console.
    2. Select Your Project:
      1. Ensure you’re in the project where you want to create the custom role.
    3. Navigate to IAM & Admin:
      1. In the left sidebar, click on IAM & Admin > Roles.
    4. Create a New Role:
      1. Click on the + Create Role button at the top.
    5. Fill in Role Details:
      1. Title: Enter a name for the role (e.g., "CDN Purge Role").
      2. Description: Describe the purpose (e.g., "Role to allow purging of Cloud CDN cache").
      3. Role ID: This will be auto-generated but can be modified if needed.
    6. Add Permissions:
      1. In the Permissions section, add the following permissions:
      2. compute.urlMaps.update: Allows updating URL maps, which is necessary for purging.
      3. compute.urlMaps.invalidateCdnCache: Allows purging the cache.
      4. compute.urlMaps.get: Allows getting URL map details.

Note: This article has to be used for the resolution steps only. This is not a SOP.