Introduction
In this article, we will learn how to set up the first VM in google cloud. We would also learn how to install Apache Server and communicate using external IP Address.
Prerequisites
- Google free tier or paid account.
- Basic knowledge of using Google cloud services and understanding of Virtual Machines in general.
In this article, we will cover the following topics:
- Create a Virtual Machine with Debian public Image
- Understand machine family and configuration
- Install HTTP server and communicate with external environment.
Implementation
Step 1 - Create and configure VM using cloud console
Use this link to create a free tier account https://console.cloud.google.com/
The account creation will require you to provide your credit/debit card details for validation. The first 3 months of the Google cloud Subscription is free and you will not be automatically charged unless you upgrade your account manually.
Once the account is created successfully, we can log into https://console.cloud.google.com/.
The Default google cloud dashbaord would be displayed as below.

A default project would be created. Search for Google compute Engine in Search bar. This would display an option to enable Google Engine API. If you are using compute engine resources for the first time this API needs to be enabled. Click on Enable and wait for some time to get it ready.

Once the compute engine is ready click on create instance. This would open up a new window to configure VM details as below.

Name: Name of virtual machine
Labels: Labels are useful to easily identify and manage VM lists.
Regions and Zones: Select the Region and Zone where the VM needs to be deployed.
Step 2 - Understand machine family and configuration
Machine Configuration: Depending on the type of workflow select the appropriate Machine Type.
Machine Family Types
General Purpose: Hosting general mills web applications select General purpose machine family.
Compute-optimized: Compute intensive workloads like gaming applications can be deployed on this workload.








Join the conversation! Your thoughts help the community grow.