Build and Secure Networks in Google Cloud
PreviousBuild and Deploy a Docker Image to a Kubernetes ClusterNextSet Up and Configure a Cloud Environment in Google Cloud
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
gcloud compute firewall-rules delete open-access
Go to Compute Engine > VM Instances > Select bastion > click on Start
gcloud compute firewall-rules create ssh-ingress --allow=tcp:22 --source-ranges 35.235.240.0/20 --target-tags ssh-ingress --network acme-vpc
gcloud compute instances add-tags bastion --tags=ssh-ingress --zone=us-central1-b
gcloud compute firewall-rules create http-ingress --allow=tcp:80 --source-ranges 0.0.0.0/0 --target-tags http-ingress --network acme-vpc
gcloud compute instances add-tags juice-shop --tags=http-ingress --zone=us-central1-b
gcloud compute firewall-rules create internal-ssh-ingress --allow=tcp:22 --source-ranges 192.168.10.0/24 --target-tags internal-ssh-ingress --network acme-vpc
gcloud compute instances add-tags juice-shop --tags=internal-ssh-ingress --zone=us-central1-b
ssh <internal IP of the juice-shop>
Hub: https://github.com/gdsc-pdeu
LinkedIn: https://linkedin.com/company/developer-student-clubs-pdeu
Instagram: https://www.instagram.com/dsc.pdeu/
GDSC Lead - Jay Gohil:
Website: https://jay-gohil.me/
LinkedIn: https://www.linkedin.com/in/jay--gohil/
GitHub: https://github.com/gohil-jay
Instagram: https://www.instagram.com/_jay.gohil/
GCP Facilitator - Jay Patel:
Website: http://pateljay.me/
LinkedIn: https://www.linkedin.com/in/--jaypatel--/
GitHub: https://github.com/jaypatel31
Instagram: https://www.instagram.com/jaypatel98196/