Noobs introduction to Cloud and Virtual Machine
Tags: beginners, cloud, webdev
Published: 2019-02-18 12:39:08

---
title: Noobs introduction to Cloud and Virtual Machine
published: true
description: As a beginner in development (specially in web development)do you know What does cloud and VM actually mean ? and Why do we need them ? 
tags: beginners,cloud,webdev
cover_image: https://thepracticaldev.s3.amazonaws.com/i/6gwe0wgxzmqxcale4sex.jpg
---

<Center><sup>[Image source](https://pixabay.com/en/cloud-computer-backup-technology-3998880/) by [katielwhite91](https://pixabay.com/en/users/katielwhite91-5572368/)</sup></center>


I have seen lots of beginners getting confused by terms cloud and VM, but most importantly why do we need them in first place? so, here the simplest way to understand what Cloud and VM term means with some usecases.

## Cloud

Reach of internet is ever expanding and with that every day new users are getting added and connected to rest of the the world.

Concept of cloud computing has came from the same need. To increase the processing power of your applications so that it can reach to the end user in every corner of the world easily.

No matter if you are a developer , Business owner , engineer or independent blogger. As your user base increases you will need to bring more reliable and effective system to handle this ever growing traffic and provide smooth and fast access to your product.

### So where does the cloud computers fit into this ?
As you might probably know that everything that exists on internet is stored on variety of devices known as the Servers.


Now when you want to launch a digital product no matter how big or small you will need to put it on the highly reliable servers for better performance.

#### Lets take a example of jack
Jack runs a person blog where he talks abut the investment In stock market. He runs this blog on his own server.

He has just started this new blog and the number of visitors on his blog are limited to 50 to 500. In this particular case jack’s own server is more that enough to handle that load. he is doing perfectly fine.

After couple months his visitor count gets increased from 1000 to 10000 per day and now his server are getting exhausted because of the increased traffic , so jack decides to increase his hardware (Hard disk , Ram , Processor) and he buys new stuff and upgrades his server.

**After several months guess what happens ?**

yup , you guessed it right . visitors count of the blog has gone way up and Jack is in trouble(again).

#### Do you see the problem here ? here are couple of them.
1. Jack will have to buy more stuff and upgrade his server manually every few months.
2. Computer Hardware is not chip. He will need considerable amount of funds.
3. Jack will have to take care of the server on his own. you know the regular clean up , software updates , Maintenance etc..
4. Point 3 is hard job because it takes up a lot of time so jack will have to manage between blogging and maintaining his servers.
5. At some point if jack decided to sell/close his blog then what will he do with all the servers that he has setup manually ? do he sell it ? Keep with him in-case in future he decides to restart his blogging ?

Now Jack can do all the above by himself or let some one else do it. And by doing so he will save much of this otherwise wasted resources and time.

#### Better option for Jack is to turn to Cloud Computing

So let’s see how cloud computing will save jack.

> Cloud computing is an information technology (IT) paradigm that enables ubiquitous access to shared pools of configurable system resources and higher-level services that can be rapidly provisioned with minimal management effort, often over the Internet. Cloud computing relies on sharing of resources to achieve coherence and economies of scale, similar to a public utility. — Wikipedia

## In other words “You pay for what you use”

With cloud computing jack will be able to add or remove the resources like hard disks , processors , ram etc.. as per his need. And this resources will exists with the cloud service providers so that he will be able to carry on with his work with less management effort and will be able to more focus on his product.

### Do you know who are these service provides ?
Many companies in the industry are specialized in the cloud computing like Amazon , Microsoft , Google , Alibaba etc…

You can buy the server space with this service providers and they will take care of the rest. Your basic needs are taken care of and you are free to focus just on your product. and if need arises to increase your hardware.. Well then you are just few clicks away..


## Virtual Machine

### Do you know what Virtual Machine is ?
In Layman’s terms VM is a emulation of the computer. Lets see a example to understand what does it mean ?

Suppose you are using a Windows Machine right now and suddenly you need a Ubuntu OS on your system. now what will you do ? Would you remove windows and install Ubuntu ? or buy a new system and install it there ?

Simple answer is **NO** for both option.

What you will do is that you will install a software like **virtual box** that allows you to run more than one operating system at a time and once software is installed you can install and use Ubuntu in that environment without compromising your current system architecture.

This environment is called __**virtual Machine**__ .


___

Hope this will help in better understanding of cloud and vm

Thanks for reading.


<sup>This is a small portion of [article](https://medium.com/@priteshusdadiya/advancing-the-future-of-cloud-computing-with-crowd-machine-72d9f324239d) i published a long time ago</sup>