Introduction to Cloud
What cloud computing is, how it compares to running your own data center, the IaaS, PaaS, and SaaS service models, public, private, community, and hybrid clouds, and what the cloud means for DBAs.
Life before the cloud: on-premises
For decades, every company that needed computers bought and ran its own. Cloud computing changed that: today, most companies rent computing power, storage, and even whole databases from a provider, and pay only for what they use.
Running your own equipment is called on-premises, or on-prem. The company buys the servers, storage, and network gear, houses them in its own data center, and employs the people who keep it all running. It works, but it's expensive and slow to change:
- Big up-front costs. Hardware is bought years in advance, sized for the busiest day you expect.
- Slow to grow. Adding capacity means ordering, shipping, and installing new hardware, which can take weeks or months.
- Wasted capacity. Servers sized for peak demand sit mostly idle the rest of the time.
- Lots of specialists. Someone has to look after power, cooling, hardware, networks, operating systems, and backups.
On-prem still has real strengths: full control over the hardware and the data, and the freedom to customize everything. Many companies still run important systems this way, especially where regulations or long-term costs favor it.
What's cloud computing
Cloud computing means using computing resources, such as servers, storage, databases, and software, over the internet from a provider's data centers, instead of owning them. You use them like a utility: switch them on when you need them, and pay for what you use.
You already use the cloud every day. Photos backed up to iCloud or Google Photos, files in Dropbox, email in Gmail or Outlook, and websites built on Wix all run on cloud infrastructure.
The standard definition, from the US National Institute of Standards and Technology (NIST), says a real cloud service has five characteristics:
In business terms, the cloud turns capital expenses (CapEx: buying equipment up front) into operating expenses (OpEx: paying monthly for what you use).
Cloud service models: IaaS, PaaS, and SaaS
Cloud services come in three main models. The difference is how much the provider manages for you, and how much is left for you to manage:
- IaaS (Infrastructure as a Service): you build
- The provider rents you the raw building blocks: virtual servers, storage, and networks, with CPU and memory by the hour. You install and manage everything on top, from the operating system up. It's the closest to running your own servers, without owning the hardware. Examples: Amazon EC2, Azure Virtual Machines, OCI Compute.
- PaaS (Platform as a Service): you deploy
- The provider also manages the operating system and the software platform, such as the runtime or the database engine. You bring your application and your data. Examples: Azure App Service, AWS Elastic Beanstalk, Heroku, and managed databases such as Amazon RDS.
- SaaS (Software as a Service): you consume
- The provider runs the whole application, and you simply use it, usually in a web browser. Examples: Gmail, Microsoft 365, Salesforce, Slack, Zoom.
The pizza analogy
A popular way to remember the models is to think about pizza. Each option leaves you with less work, and less choice about how it's made:
The models for databases
For a DBA, the service model decides how much of the database work is yours:
| Model | Database example | Who does what |
|---|---|---|
| On-premises | Oracle Database on your own servers | You do everything, from racking the hardware to tuning queries. |
| IaaS | Oracle or PostgreSQL installed on an Amazon EC2 or Azure virtual machine | You install, patch, back up, and tune the database and the operating system. The provider runs the hardware. |
| PaaS (often called DBaaS, database as a service) | Amazon RDS, Azure SQL Database, Oracle Autonomous Database | The provider installs, patches, and backs up the database. You manage the schema, users, security, and performance. |
| SaaS | Salesforce, Microsoft 365 | A database is inside, but you never see it: the provider manages it completely. |
Cloud deployment models
Service models describe what you rent. Deployment models describe whose cloud it is and who shares it:
- Public cloud
- Computing services offered by a provider over the internet to anyone who wants to buy them. Many customers, called tenants, share the provider's hardware, but each one's resources and data are kept separate. Examples: AWS, Microsoft Azure, Google Cloud, Oracle Cloud Infrastructure (OCI).
- Private cloud
- A cloud used by a single organization. It can run in the company's own data center or be hosted by a provider, but no other customer shares it. It offers the most control, at the highest cost.
- Community cloud
- A cloud shared by several organizations with the same needs, such as government agencies or banks that must meet the same regulations. It can be run by the members themselves or by a provider.
- Hybrid cloud
- A mix of private infrastructure (a private cloud or on-prem data center) and at least one public cloud, connected so they work together.
When does a company choose hybrid? Common reasons include:
- Keeping sensitive or regulated data on-prem, while running websites and analytics in the public cloud.
- Moving to the cloud gradually, one system at a time.
- Handling busy periods by adding public cloud capacity, called cloud bursting.
- Using the public cloud as a disaster recovery site for on-prem systems.
Who's responsible for what
A common myth is that in the public cloud, the provider takes care of everything. In fact, every provider uses a shared responsibility model. The provider secures the cloud itself; you secure what you put in it:
Most cloud data breaches don't come from providers being hacked. They come from customers' mistakes, such as a storage bucket left open to the internet or a database with a weak password. In the cloud, a DBA's security work doesn't go away; it changes shape.
The major cloud providers
Four public clouds matter most to DBAs. Each offers virtual machines for running databases yourself, and managed database services:
AWS is the largest provider, Azure is especially popular with companies that already use Microsoft software, and OCI is a natural home for Oracle databases. Google Cloud is strong in data analytics. The Cloud DBA path covers running databases on Azure, AWS, and OCI in depth.
On-premises vs cloud
Neither option is always better. Here's how they compare:
| On-premises | Cloud | |
|---|---|---|
| Cost | Large up-front investment (CapEx), then steady running costs. Can be cheaper for large, predictable, long-running workloads. | No up-front investment; pay as you go (OpEx). Costs can grow quickly without monitoring, from idle resources or data transfer fees. |
| Scaling | Weeks or months to buy and install hardware | Minutes, and capacity can shrink again when it's not needed |
| Control | Full physical control of hardware and data | Less control over the underlying platform; you choose regions and settings |
| Availability | Only as good as your own investment in redundancy | Providers offer uptime commitments (service level agreements) and data centers in many regions |
| Disaster recovery | Needs a second site, which you build and pay for | Backups and standby copies in another region are a few settings away |
| Staff | Needs specialists for hardware, data centers, and networks | The provider handles the physical layers; your team focuses higher up |
| Internet dependency | Internal systems keep working without internet access | Access depends on network connections to the provider |
| Data location and compliance | Data stays in your building | You choose the region, but must check it meets your data residency and compliance rules |
What the cloud means for DBAs
The cloud doesn't replace DBAs; it changes the job. With managed databases, the provider takes over routine work such as installing software, patching, and taking backups. That leaves DBAs more time for the work that needs judgment:
- Choosing the right service, size, and region for each database.
- Securing it: network access, users, encryption, and auditing.
- Tuning queries and design, since the provider won't fix a slow query for you.
- Planning high availability and disaster recovery across regions.
- Controlling costs, because in the cloud every oversized server shows up on the bill.
- Migrating databases from on-prem to the cloud.
In practice: a new database, then and now
A product team needs a PostgreSQL database for a new app.
- On-premises: Kofi requests a server. Purchasing, delivery, racking, network, and storage take six to eight weeks, then Kofi installs and configures PostgreSQL. The team waits two months, and the server is sized for a peak that may never come.
- In the cloud: Kofi creates a managed PostgreSQL database in about fifteen minutes. The provider handles the hardware, installation, patching, and backups.
Kofi's work doesn't disappear; it moves. Kofi still chooses the size and region, sets up high availability and backup retention, keeps the database off the public internet, decides who gets access, tunes the queries, and watches the bill, because a forgotten test database keeps charging every hour it runs.
Key takeaways
- On-premises means buying and running your own hardware. Cloud computing means renting it from a provider over the internet and paying for what you use.
- Real cloud services are self-service, reachable over the network, pooled, elastic, and measured.
- IaaS rents you infrastructure, PaaS adds the platform (including managed databases), and SaaS gives you a finished application.
- Clouds can be public, private, community, or hybrid, and many companies use several public clouds.
- Security is shared: the provider secures the cloud, and you secure your data, access, and configuration.
- For DBAs, the cloud shifts work from installing and patching toward design, security, performance, and cost.