Configura un perimetro di servizio utilizzando i Controlli di servizio VPC
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
I Controlli di servizio VPC sono una Google Cloud funzionalità che ti consente di configurare un perimetro di servizio e creare un confine per il trasferimento dei dati. Puoi utilizzare
Controlli di servizio VPC con Cloud Tasks per proteggere i tuoi
servizi.
Target supportati
Dopo aver configurato un perimetro di servizio, le richieste HTTP da un'esecuzione di Cloud Tasks sono consentite per:
Richieste autenticate agli endpoint functions.net di destinazione delle funzioni Cloud Run conformi a VPC Service Controls
Richieste autenticate a destinazione Cloud Run conformi a VPC Service Controls agli endpoint run.app
Esempi di target non supportati
Una volta configurato un perimetro di servizio, le richieste HTTP provenienti da un'esecuzione di Cloud Tasks vengono bloccate per le richieste non conformi.
Ad esempio, le richieste a tutti i seguenti elementi sono bloccate:
Destinatari delle funzioni Cloud Run non conformi ai Controlli di servizio VPC agli endpoint functions.net
Destinatari Cloud Run non conformi ai Controlli di servizio VPC negli endpoint
run.app
Destinazioni delle funzioni Cloud Run su endpoint non functions.net
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[],[],null,["# Set up a service perimeter using VPC Service Controls\n\nVPC Service Controls is a Google Cloud feature that allows you to set\nup a service perimeter and create a data transfer boundary. You can use\nVPC Service Controls with Cloud Tasks to help protect your\nservices.\n\nSupported targets\n-----------------\n\nOnce you set up a service perimeter, HTTP requests from a\nCloud Tasks execution are allowed for:\n\n- Authenticated requests to VPC Service Controls-compliant Cloud Run functions targets at `functions.net` endpoints\n- Authenticated requests to VPC Service Controls-compliant Cloud Run targets at `run.app` endpoints\n\nExamples of unsupported targets\n-------------------------------\n\nOnce you set up a service perimeter, HTTP requests from a\nCloud Tasks execution are blocked for non-compliant requests.\nFor example, requests to all of the following are blocked:\n\n- Non-VPC Service Controls-compliant Cloud Run functions targets at `functions.net` endpoints\n- Non-VPC Service Controls-compliant Cloud Run targets at `run.app` endpoints\n- Cloud Run functions targets at non-`functions.net` endpoints\n- Cloud Run targets at non-`run.app` endpoints\n- Non-Cloud Run functions endpoints\n- Non-Cloud Run endpoints\n\nWhat's next\n-----------\n\n- To set up a service perimeter, see\n [Create a service perimeter](/vpc-service-controls/docs/create-service-perimeters).\n\n- To adjust the ingress settings of your Cloud Run function, see\n [Configuring network settings](/functions/docs/networking/network-settings).\n\n- To adjust the ingress settings of your Cloud Run service, see\n [Restricting ingress for Cloud Run](/run/docs/securing/ingress).\n\n- To learn more about VPC Service Controls, see the\n [overview](/vpc-service-controls/docs/overview) and\n [supported products and limitations](/vpc-service-controls/docs/supported-products)."]]