We will do some gcloud commands it's a vast so slowly will learn
- In our previous Blog we used our default zone to create our instance but we override it
by using
--zone
flag.
gcloud compute instances create my-gcloud-instance --zone=us-central1-a
- You can also create disks using gcloud.
you have to format and mount your disk you can refer this link https://bvakash.hashnode.dev/google-compute-engine-gce-disk
Now the issue is this disk size is so much I don't for normal web application.
- I can create a new disk with
--size
flag
gcloud compute disks create my-disk-1 --zone=us-central1-a --size=10
- I can resize my disk also.
gcloud compute disks resize my-disk-1 --zone=us-central1-a --size=30
Note:- You can't decrease your disk size only increase is supported.
This will be short Blog
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
ย