Using Console
Using CLI
Using Python
<path_to_service_account_key_file>
, <project_id>
, and <default_vpc_name>
with the appropriate values for your GCP environment. Also, make sure to test the script in a non-production environment before running it in production.