Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Di halaman ini, Anda akan mempelajari cara membuat konfigurasi konektivitas pribadi.
Jenis konfigurasi ini berisi informasi yang digunakan Datastream untuk
berkomunikasi dengan sumber data melalui jaringan pribadi (secara internal dalam
Google Cloud, atau dengan sumber eksternal yang terhubung melalui VPN atau
Interconnect). Komunikasi ini terjadi melalui koneksi
antarmuka Private Service Connect atau koneksi
peering Virtual Private Cloud (VPC).
Koneksi antarmuka Private Service Connect menggunakan mesin virtual (VM) dengan antarmuka jaringan yang dibuat Datastream.
Kemudian, antarmuka jaringan terhubung ke jaringan VPC Anda menggunakan lampiran
jaringan yang Anda berikan, dengan alamat IP yang ditetapkan dari subnetwork
lampiran jaringan.
Koneksi peering VPC adalah koneksi jaringan antara dua VPC yang memungkinkan Anda merutekan traffic di antara keduanya menggunakan alamat IPv4 pribadi internal. Anda
harus memberikan alamat IP pribadi saat menyiapkan konfigurasi konektivitas pribadi
karena Datastream tidak mendukung resolusi Domain Name System
(DNS) dalam koneksi pribadi.
Sebelum memulai
Sebelum membuat konfigurasi konektivitas pribadi, tinjau prasyaratnya:
Gunakan tabel berikut untuk mengisi kolom di bagian
Konfigurasi konektivitas pribadi pada halaman
Buat konfigurasi konektivitas pribadi:
Kolom
Deskripsi
Nama konfigurasi
Masukkan nama tampilan konfigurasi konektivitas
pribadi.
ID Konfigurasi
Datastream mengisi kolom ini secara otomatis berdasarkan nama konfigurasi yang Anda masukkan. Anda dapat mempertahankan ID yang dibuat secara otomatis atau mengubahnya.
Wilayah
Pilih region tempat konfigurasi konektivitas pribadi disimpan.
Di bagian Setel koneksi, pilih opsi dari drop-down
Metode konektivitas pribadi:
Antarmuka PSC: pilih opsi ini untuk menggunakan antarmuka Private Service Connect sebagai metode konektivitas pribadi Anda:
Kolom
Deskripsi
ID Project
Pilih ID project tempat lampiran jaringan yang ingin Anda gunakan berada. Secara default, ini adalah project Anda saat ini. Untuk mengubah nilai, klik Ubah, lalu pilih project lain.
Lampiran jaringan
Pilih lampiran jaringan yang
Anda buat untuk VPC.
Memperbarui daftar yang diizinkan
Klik tombol ini untuk mengizinkan koneksi dari alamat IP Datastream. Anda harus memiliki peran
compute.networkAdmin yang ditetapkan untuk terhubung ke lampiran
jaringan.
VPC peering: pilih opsi ini untuk menggunakan VPC peering sebagai metode konektivitas pribadi Anda:
Kolom
Deskripsi
Jaringan VPC yang diizinkan
Pilih jaringan VPC yang Anda buat.
Alokasikan rentang IP
Masukkan rentang IP yang tersedia di jaringan
VPC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-04 UTC."],[[["\u003cp\u003ePrivate connectivity configurations enable Datastream to communicate with data sources over a private network via a Virtual Private Cloud (VPC) peering connection.\u003c/p\u003e\n"],["\u003cp\u003eCreating a private connectivity configuration requires a VPC network that can peer with Datastream's private network and an available IP range (with a /29 CIDR block) within the VPC.\u003c/p\u003e\n"],["\u003cp\u003eDatastream does not support DNS resolution in private connections, so private IP addresses must be provided when setting up the configuration.\u003c/p\u003e\n"],["\u003cp\u003eIf using a Shared VPC, the Datastream service account needs \u003ccode\u003ecompute.networkAdmin\u003c/code\u003e IAM role permission in the host project, and the service project must have the Datastream API enabled.\u003c/p\u003e\n"],["\u003cp\u003eUnused private connectivity configurations are automatically deleted after six consecutive months of inactivity, so they need to be used in an active connection profile to be retained.\u003c/p\u003e\n"]]],[],null,["# Create a private connectivity configuration\n\nIn this page, you learn how to create a private connectivity configuration.\nThis type of configuration contains information that Datastream uses to\ncommunicate with a data source over a private network (internally within\nGoogle Cloud, or with external sources connected over VPN or\nInterconnect). This communication happens through a\n*Private Service Connect interface* connection or a\n*Virtual Private Cloud (VPC) peering* connection.\n\nA **Private Service Connect interface** connection uses a virtual\nmachine (VM) with a network interface that Datastream creates.\nThe network interface then connects to your VPC network using the network\nattachment that you supply, with the IP address assigned from the network\nattachment subnetwork.\n\nA **VPC peering** connection is a networking connection between two VPCs that\nlets you route traffic between them using internal, private IPv4 addresses. You\nneed to provide the private IP addresses when setting up the private connectivity\nconfiguration because Datastream doesn't support Domain Name System\n(DNS) resolution in private connections.\n| Datastream automatically deletes private connectivity configurations that haven't been used for a period of six consecutive months. To retain your private connectivity configurations, make sure they are used in at least one active connection profile.\n\nBefore you begin\n----------------\n\nBefore you create your private connectivity configuration, review the\nprerequisites:\n\n- For VPC peering, see [VPC peering prerequisites](/datastream/docs/vpc-peering#vpc-prereqs).\n- For Shared VPC, see [Shared VPC prerequisites](/datastream/docs/vpc-peering#shared-vpc).\n- For Private Service Connect interfaces, see [Private Service Connect prerequisites](/datastream/docs/psc-interfaces#psci-prereqs).\n\nCreate the configuration\n------------------------\n\nTo create a private connectivity configuration, perform the following steps:\n\n1. Go to the **Private connectivity configurations** page in the Google Cloud console.\n\n [Go to the Private connectivity configurations page](https://console.cloud.google.com/datastream/private-connections)\n2. Click **Create configuration**.\n\n3. Use the following table to populate the fields of the\n **Configure private connectivity** section of the\n **Create private connectivity configuration** page:\n\n4. In the **Set up connection** section, select an option from the\n **Private connectivity method** drop-down:\n\n - **PSC interfaces** : select this option to use Private Service Connect interface as your private connectivity method:\n\n - **VPC peering** : select this option to use VPC peering as your private connectivity method:\n\n5. Click **CREATE**.\n\n | It takes a few minutes for your private connectivity configuration to be created. Background resources need to be created so that the configuration can be created.\n\nAfter creating a private connectivity configuration, you can\n[view high-level and detailed information](/datastream/docs/view-a-private-connectivity-configuration)\nabout it.\n\nWhat's next\n-----------\n\n- Learn how to [view your private connectivity configuration](/datastream/docs/create-a-private-connectivity-configuration).\n- Find out how to [delete a private connectivity configuration](/datastream/docs/delete-a-private-connectivity-configuration).\n- Learn about the [Private Service Connect interfaces](/datastream/docs/psc-interfaces) private connectivity method.\n- Learn about the [VPC peering](/datastream/docs/vpc-peering) private connectivity method."]]