在 Cloud de Confiance by S3NS 專案中啟用及管理 Global Front End Enterprise

在專案中啟用 Global Front End Enterprise 時, Cloud de Confiance by S3NS系統會將全域外部應用程式負載平衡器、Cloud CDN、Google Cloud Armor (Enterprise 功能) 和 Service Extensions,整合為單一的 Global Front End Enterprise 定價模式

查看專案中 Global Front End Enterprise 的啟用狀態

您可以確認專案是否已啟用 Global Front End Enterprise,或是專案是否使用標準個別定價。

控制台

  1. 前往 Cloud de Confiance 控制台的「Global Front End」(全域前端) 頁面。

    前往 Global Front End

  2. 在專案選取器選單中選取專案。

  3. 在「Global Front End」頁面中,找出標示的有效層級,即可查看 Global Front End Enterprise 的啟用狀態。

REST

啟用 Compute Engine Alpha 版 API,然後傳送 GET 要求,擷取專案中 Global Front End Enterprise 的啟用狀態:

curl -H "Authorization: Bearer $(gcloud auth print-access-token)" \
     "https://compute.googleapis.com/compute/alpha/projects/PROJECT_ID/global/globalFrontendSettings"

PROJECT_ID 替換為要查看 Global Front End Enterprise 啟用詳細資料的專案 ID。

在 JSON 回應中,確認 bundleType 欄位的值:

  • GLOBAL_FRONT_END:表示專案已啟用 Global Front End Enterprise。
  • INDIVIDUAL:表示專案未啟用 Global Front End Enterprise。

在專案中啟用 Global Front End Enterprise

如要在專案中啟用 Global Front End Enterprise,請聯絡您的 Cloud de Confiance 帳戶代表,將專案加入 許可清單。

在專案中啟用 Global Front End Enterprise 之前,請確認您的工作負載主要使用全域外部應用程式負載平衡器。區域性負載平衡器、直通式負載平衡器和標準級流量不適用於 Global Front End Enterprise 定價,而是個別計費。

REST

將專案加入允許清單並啟用 Compute Engine Alpha 版 API 後,請執行下列操作:

  1. 選用:查看 Global Front End Enterprise 的啟用狀態。如果專案未啟用 Global Front End Enterprise,請繼續下一個步驟。
  2. 傳送 PATCH 要求,在專案中啟用 Global Front End Enterprise。

    curl --request PATCH \
    -H "Authorization: Bearer $(gcloud auth print-access-token)" \
    -H "Content-Type: application/json" \
    --data '{
      "bundleType": "GLOBAL_FRONT_END"
    }' \
    "https://compute.googleapis.com/compute/alpha/projects/PROJECT_ID/global/globalFrontendSettings"
    

    PROJECT_ID 替換為要啟用 Global Front End Enterprise 的專案 ID。

  3. 請稍候片刻,然後查看「Global Front End Enterprise」的啟用狀態,確認是否已啟用。

在專案中停用 Global Front End Enterprise

您可以停用 Global Front End Enterprise,並將專案還原為個人計費。

停用 Global Front End Enterprise 後,系統會根據 Cloud Armor 專案層級決定要啟用的防護措施。 Cloud de Confiance 不會自動將專案還原為啟用 Global Front End Enterprise 前使用的 Cloud Armor 層級。您必須手動指定 Cloud Armor 計費方案 (Cloud Armor Standard 或 Cloud Armor Enterprise PayGo),以免安全性政策降級或產生預期外的計費異動。詳情請參閱「Cloud Armor Enterprise 降級」。

控制台

  1. 前往 Cloud de Confiance 控制台的「Global Front End」(全域前端) 頁面。

    前往 Global Front End

  2. 在專案選取器選單中選取專案。

  3. 在「隨選」欄中,按一下「啟用」

  4. 在確認對話方塊中,按一下「確認」

REST

如果尚未啟用,請啟用 Compute Engine Alpha 版 API,然後傳送 PATCH 要求,將 bundleType 欄位設為 INDIVIDUAL

curl --request PATCH \
     -H "Authorization: Bearer $(gcloud auth print-access-token)" \
     -H "Content-Type: application/json" \
     --data '{
       "bundleType": "INDIVIDUAL"
     }' \
     "https://compute.googleapis.com/compute/alpha/projects/PROJECT_ID/global/globalFrontendSettings"

PROJECT_ID 替換為要停用 Global Front End Enterprise 的專案 ID。

請稍候片刻,然後查看「Global Front End Enterprise」的啟用狀態,確認是否已啟用。

後續步驟