Creating VM with using Subnets (Private subnet)

B V AKASHB V AKASH
2 min read

In this lab, we are going to launch our VM in our particular subnets which are public and private subnets.

before this lab complete Google VPC - firewall refer this link :-

https://bvakash.hashnode.dev/google-vpc-firewall

We will do a Private Subnet this time

Step 1:- Click on create an instance.

Step 2:- Name your instance, for example, database server and choose the region and zone where your subnet resides. Finally, choose your Machine family.

Step 3:- Don't allow HTTP and HTTPS traffic under the firewall (Because we don't want to face our database server to face the internet), Next expand Advanced options.

Step 4:- Click Network, Give a private tag under network tags, Scroll down and under Network choose your VPC network and choose private subnet.

Step 5:- Scroll down, Internal IPv4 gives a custom internal IP address and Under External IPv4 address make it none (with this setting you won't get your external IP address) and click done.

Step 6:- Now click on create.

Your instance will be created, As you can see the external IP address is not there because we gave none instead of Ephermal remember.

That's it, for now, we will continue further more in next blog.

Hope you liked it. Will see you on the next topic ๐Ÿ˜ƒ

Next Topic

https://bvakash.hashnode.dev/bastion-host-jump-host

0
Subscribe to my newsletter

Read articles from B V AKASH directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

B V AKASH
B V AKASH

I design, architect, and maintain hybrid cloud environments.