Skip to content
VirtualLP Virtual Learning Platform

Introduction to Cloud Computing and Types of Clouds

14 min read Topic 10 of 34

When you save a file in Google Drive, you can open it over the Internet. The file is stored on servers managed by the provider. A server is a computer that stores information or does work for other computers.

Cloud computing lets you use storage, software and computing power over a network when needed. You do not have to buy and maintain all the computers yourself.

A company can rent cloud resources instead of buying all its servers. It chooses what it needs and manages its use. Costs depend on the service and pricing plan.

Remember this

Think of electricity. You don't build a power plant at home. You take power from the grid, use as much as you need, and pay a monthly bill for the units used. Cloud computing gives computers the same way.

Cloud computing (NIST (National Institute of Standards and Technology) SP 800-145)

The NIST definition describes cloud computing as network access to a shared pool of resources, such as servers, storage and applications. Users can request and release these resources quickly with little manual work by the provider.

Key terms:

Words in the definition What it means
Ubiquitous, convenient network access You can use it from anywhere, on any device, over the Internet
On-demand You get it when you ask for it – no waiting for a purchase order
Shared pool of resources Many customers share the provider's huge set of machines
Configurable You choose the size – small or big, few or many
Rapidly created and released You get it in minutes and give it back when done
Minimal management effort The provider does most of the hard work (hardware, power, cooling, repairs)

NIST describes the cloud with 5 essential characteristics, 3 service models and 4 deployment models – the “5-3-4” framework. This whole module follows it.

mindmap
  root((Cloud computing<br/>NIST))
    Essential characteristics
      On-demand self-service
      Broad network access
      Resource pooling
      Rapid elasticity
      Measured service
    Service models
      IaaS
      PaaS
      SaaS
    Deployment models
      Public
      Private
      Hybrid
      Community
Memorise “5-3-4”

5 characteristics, 3 service models, 4 deployment models. Almost every long answer on cloud basics is built around this structure.

A short history

Cloud computing did not appear suddenly. The idea grew step by step:

Year What happened
1960s John McCarthy said computing may one day be sold like a public utility (like water or electricity). Big mainframe computers were shared by many users at the same time (time-sharing).
1990s Grid computing joined many computers together. Companies called Application Service Providers rented software. Engineers drew the Internet as a cloud in network diagrams – that is where the name comes from.
1999 Salesforce.com gave customer-management software through a web browser – an early example of software as a service (SaaS).
2006 Amazon Web Services launched S3 (Simple Storage Service) (storage) and EC2 (Elastic Compute Cloud) (virtual servers). Modern cloud really started here.
2008 Google App Engine let developers run apps without managing servers (PaaS (Platform as a Service)). Microsoft announced Azure (launched 2010).
2010 OpenStack – free software to build your own cloud – was started by Rackspace and NASA.
2014+ Containers (Docker), serverless computing (AWS Lambda) and Kubernetes became popular.
2020s Using many clouds together (multi-cloud), edge computing, AI (Artificial Intelligence) and GPU (Graphics Processing Unit) clouds. India's government cloud MeghRaj (GI Cloud).

The cloud reference model (the layers)

Imagine the cloud as a building with floors. The higher the floor you rent, the more work the provider does for you.

flowchart TB
    SaaS[SaaS – ready-made applications<br/>Gmail, Salesforce, Microsoft 365] --> PaaS[PaaS – a platform to run your code<br/>App Engine, Azure App Service, Heroku]
    PaaS --> IaaS[IaaS – virtual machines, storage, networks<br/>EC2, Azure VMs, Compute Engine, OpenStack]
    IaaS --> V[Virtualization layer – one physical server split into many virtual ones]
    V --> P[Physical infrastructure – data centres, servers, power, cooling]
  • IaaS (Infrastructure as a Service) – you rent the basic building blocks (virtual computers, disks, networks) and install everything yourself.
  • PaaS – you only bring your code; the platform runs it.
  • SaaS – you just use the finished software.

(The three service models are explained in detail in the next lesson.)

Types of clouds (deployment models)

The deployment model answers one question: who owns the cloud and who is allowed to use it?

places to stay

Public cloud is like a hotel: anyone can book a room, many guests share the building, you pay per night. Private cloud is like your own house: only your family uses it, you control everything, but you pay for all of it. Hybrid cloud is living in your house but booking hotel rooms when relatives come for a wedding. Community cloud is like a hostel shared by students of the same college: they share the cost and follow the same rules.

1. Public cloud

The cloud is owned and run by a provider and anyone can use it over the Internet. Many customers share the same physical machines – this sharing is called multi-tenancy (many “tenants” in one building).

  • Examples: Amazon Web Services (AWS), Microsoft Azure, Google Cloud Platform, Oracle Cloud, IBM Cloud, Alibaba Cloud.
  • Advantages: no need to buy hardware, almost unlimited size, pay only for what you use, available all over the world, the provider does the maintenance.
  • Disadvantages: you have less control; some laws require data to stay in the country (data sovereignty); you share machines with others; the bill can grow if you are careless; you need a good Internet connection; moving away from one provider can be hard (vendor lock-in).

2. Private cloud

A cloud used by only one organisation. It can be in the company's own building (on-premises) or in someone else's data centre, and it can be managed by the company or by another firm.

  • Examples: a bank running OpenStack or VMware vCloud in its own data centre; Azure Stack; AWS Outposts.
  • Advantages: full control, more security and privacy, can be customised, helps follow strict rules (RBI (Reserve Bank of India) rules for banks, HIPAA (Health Insurance Portability and Accountability Act) for health data, GDPR (General Data Protection Regulation) for personal data in Europe).
  • Disadvantages: costly to buy and run, cannot grow as easily, needs skilled staff, machines may sit idle (under-used) when demand is low.

3. Hybrid cloud

A mix of two or more clouds – usually a private cloud plus a public cloud. Each stays separate, but they are connected so data and applications can move between them.

  • Example: an online shopping company keeps customer payment data in its private cloud. During a festival sale, traffic becomes 10 times bigger, so it adds extra servers from a public cloud for those few days. This is called cloud bursting – “bursting out” into the public cloud when the private cloud is full.
  • Advantages: flexible, saves money, sensitive data stays private, the business keeps running if one side fails.
  • Disadvantages: harder to connect and manage, security must cover both sides, delay (latency) between the clouds, needs more skills.

4. Community cloud

A cloud shared by several organisations that have the same needs – the same type of work, security rules or laws. It is managed by those organisations or by a third party.

  • Examples: government clouds such as India's MeghRaj (GI Cloud); a health cloud shared by hospitals; a research cloud shared by universities.
  • Advantages: members share the cost, it follows the rules of that sector, members can work together easily.
  • Disadvantages: limited size, decisions are slow because many members must agree, bandwidth and storage are shared among members.

Comparison

Basis Public Private Hybrid Community
Owner Provider One organisation Mixed Group of organisations
Who uses it Anyone (general public) One organisation One organisation + public cloud Members with common needs
Cost Pay-per-use, little money upfront High upfront cost Moderate Shared by members
Can it grow? (scalability) Very high Limited High Moderate
Security & control Less control Highest High for sensitive data High
Example AWS, Azure, GCP (Google Cloud Platform) OpenStack in a company Bank systems in-house + AWS MeghRaj, health cloud

Benefits of cloud computing

  1. Saves money – no big purchase of servers (CapEx, capital expenditure). You pay a monthly bill instead (OpEx, operating expenditure) – like renting instead of buying.
  2. Speed (agility) – get a server in minutes instead of waiting weeks for hardware to arrive.
  3. Elasticity – add servers when many users come (a sale, exam results day) and remove them afterwards.
  4. Global reach – put your application close to users in many countries.
  5. Reliability – copies in several data centres (Availability Zones), backups and disaster recovery.
  6. Focus on your business – the provider takes care of hardware and much of the daily work.
  7. Innovation – instantly use AI, data analytics, IoT and serverless services.
  8. Greener – big shared data centres use energy more efficiently than many small server rooms.

Challenges and risks

  • Security and privacy – your data is stored outside your building.
  • Laws and data location (compliance and data residency) – some laws say certain data must stay in the country.
  • Vendor lock-in – special services of one provider make it hard to move to another.
  • Downtime and Internet dependence – no Internet, no cloud.
  • Cost control – servers you forgot to switch off keep adding to the bill.
  • Less control over the hardware and its performance.
In the real world

During the 2020 lockdown, Zoom grew from 10 million to 300 million daily meeting participants in just four months. It added servers on AWS and Oracle Cloud as users joined. With only its own data centres this would have been impossible. That is rapid elasticity on a public cloud.

Summary

  • NIST definition: on-demand network access to a shared pool of configurable resources that can be given and taken back quickly with little effort.
  • 5-3-4: 5 essential characteristics, 3 service models (IaaS, PaaS, SaaS), 4 deployment models.
  • Public (owned by a provider, shared by everyone), private (only one organisation), hybrid (private + public connected so data and apps can move), community (shared by organisations with the same needs).
  • Benefits: lower cost, speed, elasticity, global reach, reliability. Challenges: security, laws, lock-in, cost control.

Practice questions

  1. Define cloud computing as per NIST. Explain the NIST cloud model.
  2. Explain the types of clouds with advantages, disadvantages and examples.
  3. Differentiate public, private, hybrid and community clouds.
  4. What is cloud bursting? Which deployment model uses it?
  5. List the benefits and challenges of cloud computing.
  6. Differentiate hybrid cloud and multi-cloud.

Create a free account to track your progress and unlock virtual labs.