Distinguish cloud deployment and service models
Cloud computing pools resources and makes them available over a network on demand. Customers can provision resources quickly, scale capacity up or down, and measure usage. Access may use a browser, API, command-line tool, or private network connection. Costs can include usage charges, subscriptions, reserved capacity, and data transfer. Quotas and budget limits still apply.
- Public cloud
- A provider offers services for broad use. Individual resources can still be private and access-controlled.
- Private cloud
- Dedicated to one organization. It can run on premises or be hosted by a third party. Security depends on design and operation.
- Community cloud
- Reserved for organizations with shared requirements, such as a common mission or compliance obligations.
- Hybrid cloud
- Distinct cloud environments, often private and public, connected to support shared operations or workload and data portability.
- Software as a Service (SaaS). Customers use a hosted application and typically manage their users, data, and tenant settings.
- Platform as a Service (PaaS). Customers deploy their own applications on a managed platform. The provider manages the underlying platform within the service’s scope.
- Infrastructure as a Service (IaaS). Customers provision virtual compute, storage, and networking and typically manage guest operating systems and applications.
Anything as a Service (XaaS) is an umbrella term for delivered services. An organization can manage its cloud environment directly or hire a managed service provider. Record the provider’s delegated duties, privileges, and escalation contacts.
Connect cloud resources and enforce access policy
On-premises resources operate at the organization’s facilities. Off-premises resources are hosted elsewhere. Edge computing processes data at or near its source, such as a sensor or gateway. Fog computing distributes processing and storage through intermediate nodes between the source and a central cloud.
- Thin client
- Relies on a central system for much of its application processing or storage. The central system may be on premises or in the cloud.
- Transit gateway
- Acts as a routing hub for cloud virtual networks and connected on-premises networks. Use route tables and security controls to limit which networks can communicate.
- Serverless and microservices
- In serverless services, the provider handles provisioning and operation of the underlying servers. Customers still secure their code, dependencies, identities, and data within the service model. Microservices divide an application into independently deployable services that communicate over defined interfaces.
A cloud firewall enforces network traffic rules at a cloud boundary or workload. A cloud access security broker (CASB) extends visibility and policy enforcement to cloud service use. It can operate through proxies or service APIs. Secure access service edge (SASE) combines wide-area networking and cloud-delivered security capabilities to apply identity- and device-aware access policies.
NIST · Fog Computing Conceptual Model · AWS · Transit Gateway Documentation · CISA and partners · Cloud Security Technical Reference Architecture (PDF)
Assign and verify security responsibilities
Build a responsibility matrix for each service. List the task, who performs it, and how completion is verified. For example, in a typical IaaS VM deployment the provider secures the physical host and virtualization layer, while the customer patches the guest OS. Managed services shift some duties to the provider. Use the service documentation and contract to assign ownership. Map controls to the actual data paths, identities, and management interfaces in the deployment.
- Storage. Block unintended public access, scope permissions, protect keys, log access, and test restores.
- Network. Segment workloads, restrict inbound and outbound traffic, and review routes and firewall rules, including connections between cloud and on-premises networks.
- Compute. Harden images, patch the layers assigned to your team, and limit workload privileges. Use managed secrets with narrow access and rotation. Prefer short-lived credentials where supported, and keep secrets out of code, images, and logs.
Use cloud-native controls or third-party tools according to coverage, integration, and operational needs. For high availability, distribute supported components across independent availability zones and test failover. Consider a second region when recovery requirements warrant it. Keep backups and validate recovery separately. For hybrid environments, review identity, routing, logging, and data handling across both sides. An independent cloud security audit evaluates controls within a defined scope and period. Review the report’s exclusions and verify the customer-side controls separately.
AWS · Shared Responsibility Model · CISA and partners · Cloud Security Technical Reference Architecture (PDF)
Secure virtual machines, containers, and programmable infrastructure
Virtualization presents logical resources separately from the physical equipment. A hypervisor manages virtual hardware so multiple VMs can run their own guest operating systems on one host. A container packages an application and its dependencies and typically shares a kernel with other containers in its execution environment.
A VM escape crosses the isolation boundary from a guest and can put the host and other workloads at risk. Patch hypervisors, restrict management interfaces, and disable unneeded guest-to-host features. To control VM sprawl, maintain an inventory with owners, purposes, and retirement dates. For containers, use trusted base images, scan dependencies, limit privileges, protect the runtime and orchestrator, and keep the shared kernel patched where it is your responsibility.
- Infrastructure as code (IaC)
- Defines infrastructure in version-controlled configuration or code. Review changes before deployment and check for configuration drift afterward.
- SDN and SD-WAN
- Software-defined networking separates forwarding from programmable control decisions. SD-WAN applies centrally managed policy to connect sites over wide-area links.
- Software-defined visibility (SDV)
- Uses programmable policies to collect, filter, or route telemetry to monitoring tools. Verify that the resulting coverage includes the traffic and events needed for detection.
NIST · Guide to Security for Full Virtualization Technologies · NIST · Application Container Security Guide
Practice case
Moving a support portal to the cloud. A team plans to run a public support portal in containers on customer-managed cloud VMs. It stores uploaded files in managed object storage. One VM runs in one availability zone, the storage bucket has public read enabled, and a long-lived storage key is baked into the container image.
Who is responsible for patching the VM’s guest OS and securing the bucket and image? What changes would protect the uploads and improve service availability? What would you check before declaring the changes complete?
Review a possible answer
The provider typically secures the physical host, hypervisor, and managed storage platform. The customer patches the guest OS, maintains its container images, and configures bucket permissions. Verify these assignments in the service terms and record them in the responsibility matrix.
Block public bucket access, revoke the exposed key, and review storage access logs. Rebuild the image without the key and grant the workload a narrowly scoped identity with short-lived credentials. Deploy healthy instances in more than one zone behind a load balancer and account for shared dependencies. Test unauthorized and authorized file access, confirm the old key is unusable, and test failover and backup restoration.
Read and watch
- Compare customer responsibilities for compute and managed services. AWS · Shared Responsibility Model
- Review risks in images, registries, orchestrators, and container runtimes. NIST · Application Container Security Guide
- Watch how virtual machines and containers differ and how they can work together. IBM Technology video · Containers vs VMs