SkillSprout
Chapter 1 · Lesson 1
Beginner
5 min read

What Is Cloud Computing?

Overview

Cloud computing is the on-demand delivery of IT resources - servers, storage, databases, networking and software - over the internet with pay-as-you-go pricing. Instead of buying and maintaining your own hardware, you rent exactly what you need from a provider such as AWS and stop paying when you stop using it.

Think of electricity. A factory in the 1900s built its own power plant. Today you plug into the grid, use what you need and get a bill. Cloud computing does the same for IT: AWS runs enormous, highly efficient data centers, and you plug in through the console, CLI or APIs.

Before the cloud, launching a new application meant forecasting demand, ordering servers, waiting weeks for delivery, and installing them in a data center. With the cloud, you can launch a server in minutes, experiment cheaply and shut it down when the experiment ends.

Key Concepts

  • On-demand self-service: you provision resources yourself through a console, CLI or API, with no human at the provider involved.
  • Broad network access: resources are reachable over the internet or private connections from many device types.
  • Resource pooling: the provider serves many customers from shared infrastructure (multi-tenancy) with logical isolation.
  • Rapid elasticity: capacity can be added or removed in minutes to follow demand.
  • Measured service: usage is metered, and you are billed only for what you consume.
  • Compared with on-premises, the cloud replaces up-front hardware purchases with variable operating costs.
  • AWS provides 200+ services across compute, storage, databases, networking, analytics, AI/ML, security and more.

Detailed Notes

The five essential characteristics

Cloud computing is commonly described by the five characteristics defined by NIST, which map directly to how AWS behaves.

CharacteristicWhat it meansAWS example
On-demand self-serviceProvision without a ticket or phone callLaunch an EC2 instance with one API call
Broad network accessReach services over standard networksConsole, CLI, SDKs, HTTPS endpoints
Resource poolingShared hardware, isolated tenantsMany accounts share physical hosts securely
Rapid elasticityScale out and in quicklyAuto Scaling adds instances at peak
Measured serviceMetered, pay for usePer-second EC2 billing, per-request Lambda billing

Cloud versus on-premises

AspectOn-premisesCloud (AWS)
Up-front costHigh (hardware, facilities)Near zero
Provisioning timeWeeks or monthsMinutes
Capacity planningGuess peak demandScale to actual demand
MaintenanceYou patch and replace hardwareAWS manages the physical layer
Global reachBuild or lease each siteDeploy in many Regions with a few clicks

One-time operations versus repeatable processes

How you provision matters as much as what you provision. The exam expects you to choose the right approach for the situation.

ApproachBest forWeakness
Management ConsoleLearning, exploring, one-off changesManual clicks are hard to repeat or audit
CLI and SDKs (programmatic access)Scripts, automation, application code calling AWSScripts still need maintenance and ordering logic
Infrastructure as code (CloudFormation, CDK)Repeatable, reviewable, version-controlled environmentsNeeds upfront template design

A good rule: use the console to learn and for one-time tasks; use code for anything you will do twice. Repeatable processes reduce human error, make environments identical (dev, test, prod) and provide an audit trail through version control. Services such as Auto Scaling and Elastic Beanstalk are also forms of automation because AWS performs provisioning on your behalf.

Three ways to access AWS

  • AWS Management Console: a web interface, ideal for learning and one-off tasks.
  • AWS Command Line Interface (CLI): scripts and automation from a terminal.
  • AWS SDKs: libraries for languages such as Python, JavaScript, Java and Go to call AWS from applications.

All three call the same underlying AWS APIs, so anything possible in one is generally possible in the others.

bash
# Launch a small server with one command (illustrative values)
aws ec2 run-instances --image-id ami-0abcdef1234567890 --instance-type t3.micro --count 1

# Stop paying for it when finished
aws ec2 terminate-instances --instance-ids i-0123456789abcdef0

The pay-as-you-go principle

AWS pricing rests on three fundamentals: you pay for compute (by the second or hour), storage (per GB-month) and outbound data transfer (per GB). Inbound data transfer to AWS is generally free. Many services also offer discounts for volume or commitment, covered in the billing chapter.

What the cloud does not remove

The cloud removes the undifferentiated heavy lifting of racking servers and running power and cooling, but you still design applications, manage identities, configure security and control cost. This split is formalised in the shared responsibility model.

Real World Example

A start-up building a ticketing app expects a huge spike when a concert goes on sale but has no idea how big. On-premises, it would buy servers for the peak and leave them idle the rest of the year.

On AWS, the team runs a handful of EC2 instances normally and lets Auto Scaling add more when the sale opens. After the rush, capacity shrinks back and the bill follows. They launched in two weeks instead of two quarters and never bought a server.

Architecture Diagram

On-demand cloud consumption
Architecture
YouConsole / CLI / SDK
AWS Cloud
Compute
Storage
Database
Metered bill

You request resources through APIs; AWS provisions and meters them.

  1. 1You decide what you need (a server, a bucket, a database).
  2. 2You send a request through the console, CLI or SDK.
  3. 3AWS provisions the resource from its shared global infrastructure in minutes.
  4. 4AWS meters your usage and you pay only for what was consumed.

Best Practices

  • ✓Treat infrastructure as disposable: create and delete resources freely, and avoid manual one-off servers.
  • ✓Prefer automation (CLI, SDKs, infrastructure as code) over repeated console clicking.
  • ✓Set a budget alert on day one so surprises are caught early.
  • ✓Tag resources so you can see who is using what.
  • ✓Start with managed services to reduce operational work.

Common Interview Questions

Exam Tips

CLF-C02 focus

  • "Pay-as-you-go" and "on-demand" are core cloud characteristics.
  • The three access methods are Console, CLI and SDKs; the exam may also mention APIs.
  • Cloud shifts cost from up-front hardware to variable usage.
  • AWS does not charge for inbound data transfer to the cloud.

Finished this lesson?

0 of 43 lessons done · 0% of the course