Skip to main content
Guidance

Cloud security guidance

How to choose, configure and use cloud services securely.

Page 6 of 29

Technically enforced separation in the cloud

The practical goals behind separating shared cloud resources.

The public cloud can be thought of as rentable computing power. You pay for what you need, when you need it, and for someone else to take care of all the maintenance.

To make this economically viable, cloud providers do not usually provide each customer with dedicated compute resources. Instead, resources such as compute power, networks, storage, and identity management are shared between multiple clients.

In this scenario, the separation implemented within each of those shared resources will affect the security of your deployed workloads and data. This makes it imperative that you choose a cloud service provider whose separation techniques match your security needs.

The next section looks at the practical goals which separation should achieve.
 

Note:

Separation techniques are only effective when the underlying technical mechanisms have been designed and implemented robustly. This relies on the components described in this guidance being developed according to the secure development practices described in Principle 7: Secure development.

The practical objectives of separation

Security-enforcing separation in the cloud has three main roles:

  • defending against direct attacks from an external attacker, such as malicious use of an internet-connected API, or an attack from a malicious customer of the cloud service
  • defending against lateral movement by an internal attacker, such as stopping the compromise of one of your services from affecting your other services, as described in our Preventing Lateral Movement guidance
  • enforcing correct behaviour in the absence of an attack, such as ensuring someone is only able to access the resources that they have been authorised to use

Judging the effectiveness of separation

A more robust separation mechanism is one that makes it harder for an attacker to access something that they should not be able to. The degree to which a separation mechanism succeeds in preventing unauthorised access is affected by:

  1. The complexity of the security-enforcing interface
    A low-complexity interface is better. This can be determined by taking into account things such as the number of system calls into the underlying operating system, the number of system components involved in the separation, and the complexity of the data passed to those system calls. This is often described as ‘reducing the attack-surface.’
  2. The number of layered mitigations applied to the interface
    Additional layers of protection on the interface make it stronger. Measures might include such things as disabling unnecessary parts of the interface, or adding a filter that blocks common attacks. This is a type of ‘defence-in-depth.’
  3. Configuration
    The effectiveness of a separation mechanism will also depend on the likelihood that it is configured correctly. An attacker could circumvent poorly configured protections. The complexity of of a system’s configuration will be an important factor. For example, the number of features that must be configured, and how well those features are configured by default. Principle 14: Secure use of the service will help you determine how easy a cloud service makes it for you to configure the service well.


Published

Publish date

Reviewed

Version

2.1