You are on page 1of 7

Demo Slides

GCP Networking

Virtual Private Cloud


Managed networking functionality for Cloud Platform
Resources
VPC Demo

• Create Auto , Custom VPC

• Explore Default, Auto and Custom VPC

• Create Subnets

• Create Route and Firewall rules

• Virtual Machine to test


Create VPC and Subnet
PROJECT Default VPC is available when you
create project
Region1 Region2
Create Auto VPC - Test
Us-east1-b Us-east1-c Us-west1-a subnet creation mode to Auto– rest all default
Zone1 Zone2 Zone1

PRODUCTION psubreg1-1 psubreg1-2 psubreg2


Create Custom VPC – Prod
Custom Network pvm2 Select subnet creation mode to Custom
pvm1 pvm3
Add Subnet
1. psubreg1-1 - 10.10.1.0/24
TEST/STAGE Auto Subnet Region – us-east1
Auto Network tvm4
IP Range - 10.10.1.0/24
1. Psubreg1-2 - 10.10.2.0/24
Region – us-east1
DEV - useast1
Default east1 subnet IP Range - 10.10.2.0/24
Default Network dvm4 1. psubreg2 - 10.11.1.0/24
tvm5
Region – us-west1
IP Range - 10.10.2.0/24
VPC Demo – Create VPC
Create Virtual Machines
1. pvm1
Use zone : us-east1-b
Subnet : psubreg1-1
VPC : prod
2. pvm2
Use zone : us-east1-c
Subnet psubreg1-2 4. tvm4
VPC : prod Use Zone : us-east1-c
3. pvm3 subnet with auto subnet
VPC : test
Use zone : us-west1-a
5. dvm5
subnet psubreg2
Use Zone : us-east1-c
VPC : prod Create VM with subnet with default network
VPC : dev
VPC Demo – Create VPC
Create Virtual Machines
SSH dvm5 and try following command
➢ ping dvm5 -> this resolves
➢ ping tvm4 -> (same zone does it connect ?)
- Use alternate method
> ping <tvm4 internal IP > - What is it ?
➢ ping <tvm4 external IP > - Does it ? – Use traceroute
➢ ping <pvm1 external IP> - Does it work ?
➢ Set network tags – “allow defaults” ssh to pvm1
ping pvm2, pvm3 – does it work ?
➢ ping <pvm1 external IP> - Does it work now ?
- Go to firewall rules
➢ Try with internal IP or dns - Allow ssh-icmp-rdp…
- No connection with internal IP or dns.. - with target – click on all instance
Bastion Host Demo

SUBNET
SUBNET SSH access
Bastion Host

Client SSH

Client
Operations
Maintenance
GCP Networking

Cloud VPC Demo


Done ….

You might also like