VPC Peering in Google Cloud | Networking in GCP
16.4 هزار بار بازدید -
4 سال پیش
-
This video explains about what
This video explains about what VPC peering in google cloud, advantages and Demo of peering within an organization.
Timelines:
1. Advantages - 01:18
2. Scenarios - 03:08
3. Exam's perspective - 04:18
4. Demo - 04:29
5. Peering Demo - 13:21
Steps used the in the project:
First Project:
create a custom network:
gcloud compute networks create network-a --subnet-mode custom
Create a subnet within this VPC and specify a region and IP range by running:
gcloud compute networks subnets create network-a-central --network network-a --range 10.0.0.0/16 --region us-central1
Create a VM instance:
gcloud compute instances create vm-a --zone us-central1-a --network network-a --subnet network-a-central
Run the following to enable SSH and icmp, because you'll need a secure shell to communicate with VMs during connectivity testing:
gcloud compute firewall-rules create network-a-fw --network network-a --allow tcp:22,icmp
Second Project
Switch to the second cloud shell and create a custom network:
gcloud compute networks create network-b --subnet-mode custom
Create a subnet within this VPC and specify a region and IP range by running:
gcloud compute networks subnets create network-b-central --network network-b --range 10.8.0.0/16 --region us-central1
Create a VM instance:
gcloud compute instances create vm-b --zone us-central1-a --network network-b --subnet network-b-central
Run the following to enable SSH and icmp, because you'll need a secure shell to communicate with VMs during connectivity testing:
gcloud compute firewall-rules create network-b-fw --network network-b --allow tcp:22,icmp
----------
- Questions? Thoughts? Disagreements? Tell us here in the comments.
----------
- PLEASE SUBSCRIBE! @cloudadvocate
Oh and follow me!
Facebook: Facebook: multicloudguy
Twitter: Twitter: multicloudguy
Timelines:
1. Advantages - 01:18
2. Scenarios - 03:08
3. Exam's perspective - 04:18
4. Demo - 04:29
5. Peering Demo - 13:21
Steps used the in the project:
First Project:
create a custom network:
gcloud compute networks create network-a --subnet-mode custom
Create a subnet within this VPC and specify a region and IP range by running:
gcloud compute networks subnets create network-a-central --network network-a --range 10.0.0.0/16 --region us-central1
Create a VM instance:
gcloud compute instances create vm-a --zone us-central1-a --network network-a --subnet network-a-central
Run the following to enable SSH and icmp, because you'll need a secure shell to communicate with VMs during connectivity testing:
gcloud compute firewall-rules create network-a-fw --network network-a --allow tcp:22,icmp
Second Project
Switch to the second cloud shell and create a custom network:
gcloud compute networks create network-b --subnet-mode custom
Create a subnet within this VPC and specify a region and IP range by running:
gcloud compute networks subnets create network-b-central --network network-b --range 10.8.0.0/16 --region us-central1
Create a VM instance:
gcloud compute instances create vm-b --zone us-central1-a --network network-b --subnet network-b-central
Run the following to enable SSH and icmp, because you'll need a secure shell to communicate with VMs during connectivity testing:
gcloud compute firewall-rules create network-b-fw --network network-b --allow tcp:22,icmp
----------
- Questions? Thoughts? Disagreements? Tell us here in the comments.
----------
- PLEASE SUBSCRIBE! @cloudadvocate
Oh and follow me!
Facebook: Facebook: multicloudguy
Twitter: Twitter: multicloudguy
4 سال پیش
در تاریخ 1399/03/05 منتشر شده
است.
16,470
بـار بازدید شده