Key points
- Cloud providers secure the platform; customers secure what they put on it.
- Misconfiguration is a more common cause of exposure than clever attacks.
- Identity is the main boundary in cloud environments.
- Patching, backups and logging keep systems recoverable and observable.
Infrastructure is the foundation that applications run on: servers, storage, networks and the software that manages them. Increasingly it is rented from a cloud provider rather than owned, which changes who is responsible for what but does not remove the need for security.
Shared responsibility
In a cloud service the provider looks after the physical buildings, the hardware and the core platform. The customer remains responsible for how the service is configured, who may use it and what data is stored in it. The more a service is managed by the provider, the less the customer has to run, but the customer's duties never reach zero. Many problems arise because each side assumed the other was handling something.
Misconfiguration
Cloud services are flexible and quick to create, which makes mistakes easy. A storage area left open to everyone, a management interface exposed to the internet or a default setting left unchanged can reveal data without any attack technique at all. Defences include templates that build environments the same safe way every time, automated checks that compare live settings with a standard, and review before changes go live.
Identity in the cloud
In hosted environments the identity of a person or service is effectively the perimeter, since anyone with valid credentials can reach the management interface from anywhere. Strong sign-in, narrow permissions and careful handling of the secrets used by programs are essential. These ideas are covered in identity and access.
Virtualisation and containers
Virtualisation lets many virtual machines share one physical computer, each isolated from the rest. Containers are lighter: they package an application with what it needs but share the host's operating system kernel. Separation is strong but not absolute, so sensitive workloads should be separated, images should come from trusted sources and be kept current, and containers should run with the fewest privileges possible. A sandbox is a related idea of confining untrusted code.
Patching
Vendors release fixes for known flaws, and attackers study those fixes. Systems that stay unpatched become easy targets. Good practice is to keep an inventory of what is running, rank updates by exposure and severity, test them, and apply them on a regular schedule. A zero-day flaw has no fix yet, which is why layered defences matter.
Backups
Backups protect availability and integrity. They should be taken regularly, stored separately from the systems they protect, protected from tampering and tested by actually restoring from them. An untested backup is only a hope.
Network boundaries and logging
Even in the cloud, networks should be divided so that public-facing systems cannot reach internal ones freely; see network security. Logs record who did what and when. They should be collected centrally, protected from alteration and retained long enough to support incident response.