Sub topic 1
What Cloud Computing Is
Prerequisites
This chapter assumes you already know the following:
- Basic PC hardware terms: CPU, RAM, storage, and network adapter.
- How to use an operating system such as Windows or Linux.
- Basic networking terms: IP address, LAN (local area network), and the internet.
You do not need any prior cloud experience. This chapter is the starting point for the rest of the tutorial. Later chapters cover cloud traits, deployment models, service models, and virtualization in more detail.
The working definition
Cloud computing is a way of using computing resources, such as servers, storage, databases, networking, and software, over a network on demand. A provider owns and runs the hardware. You rent access to it instead of buying and maintaining it yourself.
The word "cloud" comes from network diagrams, where the internet was drawn as a cloud shape. The shape meant "details hidden here." That is still a good way to read it. As a customer, you ask for a resource and use it. You do not need to know which rack, building, or city it sits in.
The US National Institute of Standards and Technology (NIST) gives the most widely quoted definition. It describes cloud computing as a model for convenient, on-demand network access to a shared pool of configurable computing resources that can be provisioned and released with minimal management effort. CompTIA's A+ objectives draw on this same model.
Three phrases in that definition matter for the exam:
- On demand. You can get a resource when you need it, often within minutes, without calling a salesperson or installing hardware.
- Shared pool. The provider serves many customers from the same large collection of hardware.
- Minimal management effort. The provider handles the physical work, so you manage less.
A traditional setup compared with the cloud
To see what the cloud changes, compare it with the older approach, often called on-premises ("on-prem").
In an on-premises setup, a company buys servers, puts them in its own server room, and hires staff to maintain them. The company pays the full cost up front. It must also buy enough capacity for its busiest day, even though most of that capacity sits idle the rest of the year.
In a cloud setup, the company rents capacity from a provider. It pays for what it uses and can add or remove capacity as demand changes.
| Aspect | On-premises | Cloud |
|---|---|---|
| Who owns the hardware | The organization | The provider |
| Cost pattern | Large up-front purchase (capital expense) | Ongoing usage fees (operating expense) |
| Capacity planning | Buy for peak demand in advance | Add or remove as needed |
| Time to get a new server | Days to weeks (order, ship, install) | Minutes |
| Maintenance and repairs | Your staff | The provider, for the layers it manages |
| Control over physical location | Complete | Limited to the options the provider offers |
The cost pattern row appears often in business discussions. A capital expense (CapEx) is a large purchase of equipment that lasts several years. An operating expense (OpEx) is a recurring cost for a service. The cloud generally shifts spending from CapEx to OpEx.
How the provider makes it work
A cloud provider runs very large data centers, which are buildings full of servers, storage systems, and network equipment. Three technologies make it possible to share that hardware safely among customers.
- Virtualization. Software called a hypervisor divides one physical server into several isolated virtual machines. Each customer gets virtual machines that behave like separate computers. Later chapters cover virtualization in detail, because it is also a major exam topic on its own.
- Automation. Software handles requests without a human operator. When you click "create server," a program finds free capacity, builds the virtual machine, and connects it to your network.
- Network access. You reach your resources over a network, usually the internet. Large organizations may also use a private link or a VPN (virtual private network) to the provider.
The sequence below shows what happens when a customer requests a new virtual server.
Everyday examples
You probably use cloud services already. These examples help connect the definition to things you know.
- Web email. Your messages live on the provider's servers, and you read them from any device with a browser.
- Online document editors. The application runs on the provider's servers, and your files are stored there.
- Photo and file storage. Files you upload are kept in the provider's data centers and synced to your devices.
- Streaming video and music. The service delivers content from its servers on demand.
- Rented virtual servers. An IT team creates a Windows or Linux server in minutes and deletes it when the project ends.
The first four are consumer-facing. The last is how many businesses use the cloud for infrastructure. The service models chapter explains why these fall into different categories (SaaS and IaaS).
What the cloud does and does not change
The cloud moves where computing happens and who runs the hardware. It does not remove the need for IT skills. A support technician still has to diagnose problems. The problems just have different causes.
Some things get easier:
- Users can reach services from many locations and devices.
- Organizations avoid buying hardware they may not fully use.
- The provider handles power, cooling, hardware replacement, and physical security of the data center.
Some things stay the same or get harder:
- Network dependence. If the internet connection fails, users lose access to cloud resources. A slow connection makes cloud applications feel slow.
- Shared responsibility for security. The provider secures the data center and the platform. The customer is still responsible for items such as strong passwords, correct access settings, and the data it stores.
- Cost surprises. Usage-based billing can grow quickly if resources are left running.
- Less control. The customer cannot choose every hardware detail, and a provider outage affects every customer on that service.
- Compliance. Some laws and company policies limit where data may be stored. Moving data to a provider may need review.
Common mistakes and exam traps
Intermediate learners often stumble on the same few points. Watch for these.
- Treating "cloud" and "internet" as the same thing. The internet is the network. The cloud is a set of services you reach through it. A private cloud may not use the public internet at all.
- Assuming cloud storage is a backup. Sync services mirror changes, including deletions and overwrites. A synced folder can protect you from a lost laptop, but it does not replace a proper backup with version history. The cloud storage chapter returns to this.
- Assuming the provider handles everything. What the provider manages depends on the service model. With a rented virtual server, you still patch the operating system.
- Confusing virtualization with cloud computing. Virtualization is a technology. Cloud computing is a delivery model that commonly uses that technology, along with automation and self-service. A single virtual machine on your laptop is virtualization, but it is not a cloud.
Checking your own system
Cloud providers rely on hardware with virtualization support, and so can your own PC. Although this chapter focuses on definitions, it is useful to see how a technician checks a workstation. The commands below belong to the virtualization chapters, but you can try the first now.
On Linux, the first command shows the CPU's virtualization technology (VT-x for Intel or AMD-V for AMD). The second counts the logical CPUs whose flags include vmx or svm. A nonzero count means the CPU supports hardware virtualization.
lscpu | grep -i virtualization
grep -E -c '(vmx|svm)' /proc/cpuinfoOn Windows, systeminfo reports the Hyper-V requirements section. It shows whether virtualization is enabled in firmware and whether the host can run Hyper-V.
systeminfo | findstr /i "Hyper-V"Where this chapter fits
The rest of the tutorial builds on this definition in a set order.
- The next chapter covers the defining traits of cloud services: shared resources, rapid elasticity, metered usage, and high availability.
- The following chapters cover the deployment models (public, private, hybrid, community) and the service models (IaaS, PaaS, SaaS).
- Later chapters turn to cloud storage and file synchronization, then to virtualization on a client PC, and finally to scenario questions that combine these ideas.
Check your understanding
Exercise
A company currently runs its own mail server in a back room. It decides to switch to a provider that hosts mail on its own servers, bills per user each month, and lets the company add users in minutes. Name three features of this change that match the cloud computing definition, and say what shifts in the company's spending pattern.
Show answer
Any three of these match: the resources are delivered over a network, the company rents instead of owns the hardware, capacity is available on demand (users are added in minutes), the provider runs the hardware and serves many customers from a shared pool, and usage is billed on a recurring basis. Spending shifts from a large up-front capital expense (buying the server) to an ongoing operating expense (monthly fees).
Exercise
A coworker says, "We have virtual machines on our laptops for testing, so we already use the cloud." Explain why this statement is not accurate, and what would have to be true for it to count as cloud computing.
Show answer
Virtualization is a technology that lets one physical machine run several isolated virtual machines. Cloud computing is a delivery model in which a provider offers resources on demand over a network from a shared pool, with automation and self-service. Virtual machines on a laptop that the user owns and runs locally are virtualization only. They would count as cloud computing only if the resources were provided as an on-demand service, for example by renting virtual machines from a provider's data center and reaching them over a network.
Exercise
Your office internet connection goes down for two hours. Staff can still open files stored on their local drives, but they cannot use the company's web-based document editor or its cloud file storage. Which characteristic of cloud computing does this show, and what is one way an organization can reduce the impact?
Show answer
It shows network dependence: cloud resources are reached over a network, so a lost connection cuts off access. An organization can reduce the impact with a second internet connection from a different provider, offline access features in its sync software, or local copies of critical files.