Sign in to your Google Cloud account. If you're new to
Google Cloud,
create an account to evaluate how our products perform in
real-world scenarios. New customers also get $300 in free credits to
run, test, and deploy workloads.
In the Google Cloud console, on the project selector page,
select or create a Google Cloud project.
Ottieni i ruoli e le autorizzazioni necessari per creare un collegamento di rete
e un'istanza Cloud Data Fusion. Per ulteriori informazioni, consulta la sezione
Ruoli e autorizzazioni richiesti.
Nel campo Nome istanza, inserisci un nome per la nuova istanza.
Nel campo Descrizione, inserisci una descrizione per l'istanza.
Dal menu a discesa Regione, seleziona la Google Cloud regione in cui vuoi
creare l'istanza.
Nel menu a discesa Versione, seleziona 6.10 o una versione successiva.
Seleziona un'Edizione.
Espandi Opzioni avanzate e segui questi passaggi:
Seleziona Abilita IP privato.
Per Tipo di connettività, seleziona Private Service Connect.
Dal menu a discesa Collegamento di rete, seleziona un collegamento di rete.
Se non ne esiste uno, creane uno nuovo:
Fai clic su Crea collegamento di rete.
Nel campo Nome, inserisci un nome per il collegamento di rete.
Dal menu a discesa Rete, seleziona una rete VPC o un VPC condiviso.
Il campo Regione viene aggiornato automaticamente. Il valore è uguale a quello dell'istanza Cloud Data Fusion. Non puoi modificare questo campo.
Dal menu a discesa Subnet, seleziona un intervallo di subnet.
In Preferenza di connessione, viene selezionata automaticamente l'opzione
Accetta connessioni per i progetti selezionati.
Quando crei l'istanza Cloud Data Fusion, il progetto tenant di Cloud Data Fusion viene automaticamente aggiunto all'elenco Progetti accettati.
Nota: l'opzione Accetta automaticamente le connessioni per tutti i progetti
è meno sicura perché consente a qualsiasi servizio di ottenere indirizzi IP dalla
tua subnet.
Fai clic su Crea.
Nella pagina Crea istanza, dal menu a discesa Collegamento di rete, seleziona il collegamento di rete appena creato.
Fai clic su Crea. Il processo di creazione dell'istanza richiede
fino a 30 minuti.
Esegui la pulizia
Per evitare che al tuo account Google Cloud vengano addebitati costi relativi alle risorse utilizzate in questa pagina, segui questi passaggi.
[[["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."],[[["\u003cp\u003eThis guide details the process of creating a private Cloud Data Fusion instance using Private Service Connect, emphasizing the importance of enabling necessary APIs and having appropriate roles and permissions beforehand.\u003c/p\u003e\n"],["\u003cp\u003eThe setup involves selecting a region, version, and edition for the instance, along with enabling private IP and choosing Private Service Connect as the connectivity type.\u003c/p\u003e\n"],["\u003cp\u003eA network attachment must be selected or created, which involves choosing a VPC or Shared VPC network and a subnetwork, while ensuring enough IP addresses are available.\u003c/p\u003e\n"],["\u003cp\u003eThe guide also includes instructions on cleaning up resources, providing methods for deleting the created Cloud Data Fusion instance and, if necessary, deleting the project to avoid continued billing.\u003c/p\u003e\n"],["\u003cp\u003eFollowing the instance setup, users are guided towards creating their first pipeline and learning more about Private Service Connect within Cloud Data Fusion.\u003c/p\u003e\n"]]],[],null,["# Create a private instance with Private Service Connect\n======================================================\n\nLearn how to create a Cloud Data Fusion private instance with\nPrivate Service Connect.\n\n*** ** * ** ***\n\nTo follow step-by-step guidance for this task directly in the\nGoogle Cloud console, click **Guide me**:\n\n[Guide me](https://console.cloud.google.com/freetrial?redirectPath=/?walkthrough_id=data-fusion--configure-private-service-connect)\n\n*** ** * ** ***\n\nBefore you begin\n----------------\n\n- Sign in to your Google Cloud account. If you're new to Google Cloud, [create an account](https://console.cloud.google.com/freetrial) to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.\n- In the Google Cloud console, on the project selector page,\n select or create a Google Cloud project.\n\n | **Note**: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.\n\n [Go to project selector](https://console.cloud.google.com/projectselector2/home/dashboard)\n-\n [Verify that billing is enabled for your Google Cloud project](/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project).\n\n-\n\n\n Enable the Cloud Data Fusion, BigQuery, Cloud Storage, and Dataproc APIs.\n\n\n [Enable the APIs](https://console.cloud.google.com/flows/enableapi?apiid=datafusion.googleapis.com,bigquery.googleapis.com,storage.googleapis.com,dataproc.googleapis.com)\n\n- In the Google Cloud console, on the project selector page,\n select or create a Google Cloud project.\n\n | **Note**: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.\n\n [Go to project selector](https://console.cloud.google.com/projectselector2/home/dashboard)\n-\n [Verify that billing is enabled for your Google Cloud project](/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project).\n\n-\n\n\n Enable the Cloud Data Fusion, BigQuery, Cloud Storage, and Dataproc APIs.\n\n\n [Enable the APIs](https://console.cloud.google.com/flows/enableapi?apiid=datafusion.googleapis.com,bigquery.googleapis.com,storage.googleapis.com,dataproc.googleapis.com)\n\n1.\n\n\n Enable the Cloud Data Fusion, BigQuery, Cloud Storage, and Dataproc APIs.\n\n\n [Enable the APIs](https://console.cloud.google.com/flows/enableapi?apiid=datafusion.googleapis.com,bigquery.googleapis.com,storage.googleapis.com,dataproc.googleapis.com)\n2. Get the roles and permissions required to create a network attachment and a Cloud Data Fusion instance. For more information, see [Required roles and permissions](/data-fusion/docs/how-to/configure-private-service-connect#roles-permissions).\n3. Make sure that you have created a [VPC](/vpc/docs/create-modify-vpc-networks#creating_networks) or a [Shared VPC](/vpc/docs/provisioning-shared-vpc#setting_up_shared_vpc) network.\n\nCreate a private instance with Private Service Connect\n------------------------------------------------------\n\n1. Go to the Cloud Data Fusion **Instances** page, and click **Create instance**.\n\n\n [Create an instance](https://console.cloud.google.com/data-fusion/instance-create)\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\n2. In the **Instance name** field, enter a name for your new instance.\n\n3. In the **Description** field, enter a description for your instance.\n\n4. From the **Region** drop-down, select the Google Cloud region in which you\n want to create the instance.\n\n5. From the **Version** drop-down, select `6.10` or later.\n\n6. Select an **Edition**.\n\n7. Expand **Advance options** and do the following:\n\n 1. Select **Enable private IP**.\n\n 2. For **Connectivity type** , select **Private Service Connect**.\n\n | **Note:** The option to select the connectivity type appears only if you selected a Cloud Data Fusion version that supports Private Service Connect.\n 3. From the **Network attachment** drop-down, select a network attachment.\n\n If a network attachment is not present, create a new one:\n 1. Click **Create network attachment**.\n 2. In the **Name** field, enter a name for your network attachment.\n 3. From the **Network** drop-down, select a VPC or a Shared VPC network.\n 4. The **Region** field is auto-updated. Its value is same as the the Cloud Data Fusion instance. You can't edit this field.\n 5. From the **Subnetwork** drop-down, select a subnetwork range.\n\n | **Note:** The provisioning of a secondary range for a subnet isn't required for Cloud Data Fusion. Each Cloud Data Fusion instance requests up to 32 IP addresses from the network attachment. Ensure that the subnet has enough IP addresses to support the number of Cloud Data Fusion instances that you plan to create.\n 6. For **Connection preference** , the option\n **Accept connections for selected projects** is auto-selected.\n\n When you create the Cloud Data Fusion instance, the\n Cloud Data Fusion tenant project is automatically added to the\n **Accepted projects** list.\n\n\n Note: The option **Automatically accept connections for all projects**\n is less secure because it allows any service to obtain IP addresses from\n your subnet.\n 7. Click **Create**.\n\n 8. On the **Create instance** page, from the **Network attachment**\n drop-down, select the newly created network attachment.\n\n8. Click **Create**. It takes up to 30 minutes for the instance creation\n process to complete.\n\nClean up\n--------\n\n\nTo avoid incurring charges to your Google Cloud account for\nthe resources used on this page, follow these steps.\n\n### Delete the Cloud Data Fusion instance\n\nFollow these instructions to\n[delete your Cloud Data Fusion instance](/data-fusion/docs/how-to/delete-instance).\n\n### Delete the project\n\n\nThe easiest way to eliminate billing is to delete the project that you\ncreated for the tutorial.\n\nTo delete the project:\n\n| **Caution** : Deleting a project has the following effects:\n|\n| - **Everything in the project is deleted.** If you used an existing project for the tasks in this document, when you delete it, you also delete any other work you've done in the project.\n| - **Custom project IDs are lost.** When you created this project, you might have created a custom project ID that you want to use in the future. To preserve the URLs that use the project ID, such as an `appspot.com` URL, delete selected resources inside the project instead of deleting the whole project.\n|\n|\n| If you plan to explore multiple architectures, tutorials, or quickstarts, reusing projects\n| can help you avoid exceeding project quota limits.\n1. In the Google Cloud console, go to the **Manage resources** page.\n\n [Go to Manage resources](https://console.cloud.google.com/iam-admin/projects)\n2. In the project list, select the project that you want to delete, and then click **Delete**.\n3. In the dialog, type the project ID, and then click **Shut down** to delete the project.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nWhat's next\n-----------\n\n- [Create your first pipeline](/data-fusion/docs/tutorials/targeting-campaign-pipeline).\n- Learn more about [Private Service Connect](/data-fusion/docs/how-to/configure-private-service-connect) in Cloud Data Fusion."]]