Terriermon - Digimon

04. VPC Networking Fundamentals

2024. 11. 12. 08:00클라우드/GCP

Task 1. Explore the default network

 

View the subnets

 

 

View the routes

 

 

 

View the firewall rules

 

Delete the default network

 

삭제된 것 확인

 

삭제 된 채로 인스턴스 생성 시도

 

Task 2. Create a VPC network and VM instances

Create an auto mode VPC network with Firewall rules

 

 

Create a VM instance in us-east1

 

 

 

 

 

 

Create a VM instance in us-central1

 

 

Task 3. Explore the connectivity for VM instances

 

ping -c 3 <Enter mynet-second-vm's internal IP here>

 

 

 

Task 5. Remove the allow-icmp firewall rules

 

 

Allow-custom 정책(all protocols allow)이 있어서 ping이 되는 모습

 

 

ping -c 3 10.142.0.2

ping -c 3 10.128.0.2

 

Ping이 되지 않는 모습 확인

 

Task 7. Remove the allow-ssh firewall rules

 

 

ssh 접속 불가

 

반응형

'클라우드 > GCP' 카테고리의 다른 글

06. Cloud SQL for MySQL  (1) 2024.11.14
05. Cloud IAM  (0) 2024.11.13
03. Cloud Storage  (0) 2024.11.11
02. Creating a Virtual Machine  (0) 2024.11.08
01. Google Cloud Fundamentals: Getting Started with Compute Engine | Cloud Skill  (0) 2024.11.07