Skip to Content

Cloud Foundations

What cloud computing is, what AWS offers, and the ideas every other page builds on.

What cloud computing is

Cloud computing is renting IT resources (servers, storage, databases, networks, software) over the internet, when they are needed, and paying only for what is used.

Before the cloud, a company that wanted to run a website bought servers, put them in a room it rented or owned, and paid people to keep them running. This is called running on-premises. It has three problems:

  • Payment comes up front. Servers cost money months before they earn any.
  • Capacity has to be guessed. Buy too few and the site falls over on a busy day. Buy too many and they sit idle.
  • Change is slow. Ordering, shipping and installing a new server takes weeks.

The cloud fixes all three. The provider owns the data centers and the hardware. A server is requested through a website or an API call, arrives in a minute or two, and is handed back when no longer needed. Billing works like electricity: by the second, hour or gigabyte.

Example

A ticket-selling site is quiet most of the year, then gets 50 times its normal traffic in the hour a big concert goes on sale. On-premises, it would need to own enough servers for that one hour all year round. In the cloud, it adds servers for the sale and removes them afterwards, paying for the extra servers only during the busy hours.

What AWS is

Amazon Web Services (AWS) is Amazon's cloud provider. It offers more than 200 services that are available on demand and scale up or down with little effort. It runs some of the biggest sites in the world, including Amazon.com itself and Netflix.

A short history

AWS timeline from 2002 to 2007 AWS timeline from 2002 to 2007

How AWS started, 2002 to 2007.

AWS began in 2002 as infrastructure for Amazon's own teams. In 2003 Amazon saw that running infrastructure well was one of its core strengths, and that other companies would pay for it. The first public service, the message queue Amazon SQS, came in 2004. In 2006 AWS relaunched with SQS, S3 (storage) and EC2 (servers), the three services that started the modern cloud, and in 2007 it opened in Europe.

Since then, companies of every size have moved to AWS: start-ups such as Dropbox and Airbnb, media companies such as Netflix, and public bodies such as NASA.

AWS in numbers

At the time the course slides were made, AWS had about $90 billion in yearly revenue (2023) and 31% of the cloud market (first quarter of 2024), ahead of Microsoft Azure at 25%. Gartner had named it a leader in cloud platforms for 13 years in a row, and it had more than a million active customers.

These figures change every year, and the exam doesn't ask about them. What matters is that AWS is the largest cloud provider, so its services and patterns are the ones most common at work.

What people use AWS for

AWS isn't tied to one industry. Common uses include:

  • Enterprise IT: moving a company's internal systems out of its own data center.
  • Backup and storage: keeping copies of data far away from the office, at low cost.
  • Big data analytics: processing more data than one computer can hold.
  • Websites, mobile and social apps: serving users anywhere in the world.
  • Gaming: game servers that grow with the number of players.

McDonald's, 21st Century Fox, Activision and Netflix are among the well-known companies running on AWS.

The six advantages of cloud computing

AWS sums up why the cloud is worth it in six points. Learn the names: questions and answer options use the same wording.

The six advantages of cloud computing The six advantages of cloud computing

AWS's six advantages of cloud computing.
  1. Trade fixed expense for variable expense. Pay for actual use, instead of buying data centers and servers before knowing how they will be used. A start-up pays a few dollars a month at launch, not tens of thousands for servers.
  2. Benefit from massive economies of scale. AWS buys hardware for millions of customers, so its price per unit is lower than any one company could get alone. AWS has cut its prices many times as it has grown.
  3. Stop guessing capacity. Add or remove resources as demand changes, instead of buying for the busiest day, like the ticket site above.
  4. Increase speed and agility. New resources take minutes, not weeks, so teams can try ideas quickly and cheaply. A developer can test a new database for an afternoon, then delete it.
  5. Stop spending money running and maintaining data centers. Spend time on the product, not on racking servers and cooling rooms.
  6. Go global in minutes. Deploy in Regions around the world with a few clicks, closer to the users. A European app can add a copy in Singapore for its Asian users in a day.

Service models: how much AWS manages

Cloud services differ in how much of the stack the provider runs for the customer.

Who manages each layer for on-premises, IaaS, PaaS and SaaS Who manages each layer for on-premises, IaaS, PaaS and SaaS

Who manages each layer in each service model.

Each column is a stack of seven layers, from the customer's data at the top down to the facilities at the bottom. Orange layers are the customer's to manage; teal layers are managed by AWS.

  • On-premises: the customer manages every layer, down to the building.
  • IaaS (Infrastructure as a Service): AWS runs the facilities, servers, storage and virtualisation. The customer manages the operating system, runtime, application and data. Example: Amazon EC2 provides a virtual server and the customer does the rest.
  • PaaS (Platform as a Service): AWS also runs the operating system and runtime. The customer brings the application and data. Example: AWS Elastic Beanstalk: the customer uploads code and AWS runs it.
  • SaaS (Software as a Service): AWS runs the whole product. The customer only uses it and supplies the data. Example: Amazon Rekognition: an image goes in and a description of what's in it comes back.

AWS Lambda is sometimes called FaaS (Function as a Service): the customer uploads one function and AWS runs it when an event happens. It sits between PaaS and SaaS.

The more the provider manages, the less the customer can change, and the less work and risk the customer carries. The same split decides who is responsible for security: see the shared responsibility model.

Deployment models: where things run

  • Cloud: every part of the application runs in the cloud. Example: a new start-up built entirely on AWS.
  • Hybrid: cloud resources connected to systems that stay on-premises. Example: a bank keeps its core ledger in its own data center and runs its mobile app on AWS.
  • On-premises (private cloud): resources in the organisation's own data center, often run with virtualisation tools. Example: a government agency that can't use a public cloud.

Hybrid set-ups come up often in the exam: connecting offices to AWS (VPN, Direct Connect), syncing files (DataSync, Storage Gateway) and moving workloads over time.

Exam tips

  • "Avoid large up-front costs", "pay only for what is used" → trade fixed expense for variable expense (on-demand pricing).
  • "Unpredictable traffic", "don't want to over-provision" → stop guessing capacity: elasticity, usually Auto Scaling.
  • "Least operational overhead", "fully managed" → the most managed option that fits, often serverless or SaaS-style services rather than EC2.
  • "Must keep some systems in the company data center" → hybrid: connect on-premises to AWS rather than moving everything.
  • "Reach users worldwide with low latency" → go global in minutes: more Regions, or edge services such as CloudFront.

Common traps

  • "Run it on EC2" when the question stresses low operational overhead. EC2 is IaaS: the customer patches and manages the OS. A managed or serverless service usually wins.
  • Thinking the cloud means everything moves at once. Hybrid is normal, and often the right answer for regulated data or a gradual migration.
  • Picking the cheapest option when the question asks for the fastest or most reliable. The constraint in the question decides. Cost wins only when cost is what it asks for.

In this group

AWS documentation

On this page

Open notes

Spotted a mistake?

These notes are open source. Suggest a fix, or star the repo if they helped you.

Suggest an edit

For AI agents: llms.txt · llms-full.txt