One way to connect to a virtual machine (VM) is via SSH. To connect to a VM using SSH we need:
‧ The IP address of the VM
‧ A key or some sort of credentials
‧ And a network that connect our machine to the remote one
In this video we are going to see how we can connect to a VM in Google Cloud even if machine doesn't have a public IP. We are going to do this by creating a VPC with a subnet with no internet access and we are going to SSH into it.
This is possible thanks to Identity-Aware Proxy (IAP).
https://cloud.google.com/compute/docs...
Chapters:
00:00 Plan
01:01 Create VPC and FW rule
01:58 Verify from GCP Console
02:35 Create the VM
03:38 SSH via IAP tunnel
03:58 Verify
04:08 Recap
#googlecloud #gcp #devsecops
WHO AM I:
Hey friends, welcome to my YouTube channel @outofdevops . If you're new my name is Anto, here I talk about software engineering and software engineers. Don't forget to comment like and subscribe 👍🏻.
YOUTUBE GEAR:
🎥 My YouTube Camera Gear - https://kit.co/outofdevops
MY SOCIAL LINKs:
🐦 Twitter - / outofdevops
📘 Facebook - / outofdevops
📰 My blog - https://amasucci.com
📸 Instagram - / outofdevops
GET IN TOUCH:
If you'd like to talk, I'd love to hear from you. Tweeting @OutOfDevOps directly will be the quickest way to get a response, but if your question is very long, feel free to email me at [email protected].
PS: Some of the links in this description are affiliate links that I get a kickback from 😜