Sample VPC and Subnets using CLI
Use the following commands as an example when executing your own commands to create VPCs for your GCP account. Open the Google Cloud Shell windows for these particular commands:
Procedure
1 |
In the Security Cloud Control platform menu, choose . |
2 |
Create VPC apps and subnet apps-us-east1 |
3 |
Create VPC |
4 |
Create at least two Firewall rules for VPC
|
5 |
Create at least three Firewall rules for VPC apps. Use the following as examples:
Once you run the above commands, you can create a VM instance in the apps VPC and launch a test web application on port 8000.
|