Google Cloud VPC (Virtual Private Cloud): 💿
- Own isolated network in the GCP cloud
- Control all the traffic in and out
- Create all your resources within a VPC (Avoid unauthorized access, and enable communication between cloud resources)
- Is a global resource (has subnets in one or more regions)
- (REMEMBER) VPC is NOT tied to a region or a zone. VPC resources can be in any region or zone!
Lưu ý sử dụng resources trong Cloud VPC:
Có nhiều types of resources tạo từ cloud - databases, compute,...
- Mỗi type của resource có mỗi cách access từ VPC khác nhau.
- Load Balancer là public resources
- Database or VM là private resources.
- Use separate subnets để chia private và public resources.
- Lý do bổ sung cho việc sử dụng subnet:
- Để phân phối tài nguyên trên nhiều vùng (regions) nhằm đảm bảo tính sẵn sàng cao.
CIDR (Classless Inter-Domain Routing) Blocks: