DEV Community

Cover image for Create and Manage Cloud Resources
Dhanraj K
Dhanraj K

Posted on

Create and Manage Cloud Resources

Virtual machines
Dividing a big server into multiple instance where each of them works exactly like a regular server. Each of this divided part is a Virtual machine.

What is a Compute engine?
A google Compute engine is a customizable VM, Google provide both pre-defined and custom-type compute engine.

Pre-defined machine-types are general(best for web, and small applications), Compute Optimized and Memory Optimized.

What is Ngnix?

Its a Http and reverse proxy server.

Creating a VM using Google Cloud Console

  1. Open cloud Console.
  2. Navigation menu > Compute Engine > VM Instances.
  3. Name your VM, and also select Region, Zone, Series, Machine type, Boot-Disk and Firewall
  4. Click on Create.

Creating a Vm using Command Line

  1. Open Cloud terminal
  2. Use gcloud command
gcloud compute instances create <vm_name> --machine-type <machine-type> --zone <your_Zone>
  1. Eg
gcloud compute instances create gcelab2 --machine-type n1-standard-2 --zone us-central1-c
  1. to Ssh into your instance
gcloud compute ssh gcelab2 --zone us-central1-c

Top comments (0)