Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Commit

Permalink
More GCP scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiddelkoop committed Nov 10, 2021
1 parent 1b8618b commit 2c1a0cd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
9 changes: 0 additions & 9 deletions scripts/gcp-clean.sh

This file was deleted.

9 changes: 9 additions & 0 deletions scripts/gcp-vpc-create-default.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

## Create a default VPC similar to the GCP default.
echo "=== gcp-vpc-create-default.sh"

echo "+++ creating the default VCP network allowing internal traffic and external ssh and ICMP access"
gcloud compute networks create default
gcloud compute firewall-rules create default-allow-internal --network default --allow all --source-ranges=10.128.0.0/9
gcloud compute firewall-rules create default-allow-external --network default --allow tcp:22,icmp

0 comments on commit 2c1a0cd

Please sign in to comment.