ladderlore
  • 输入服务名称,例如 S3 或 IAM。

概念

Encryption at rest and in transit

Scrambling data so that only someone with the right key can read it, both where it is stored and while it moves.

本课尚未翻译,暂以英文显示。

用户
应用程序
Stored data, encrypted at rest
ACMKMSin transitin transitcertificatekey
TLS protects data while it moves. A key from AWS KMS protects it where it is stored. ACM supplies the TLS certificate.
  • What it protects

    At rest
    Stored data: disks, databases and backups
    In transit
    Data that moves across a network
  • How

    At rest
    Data is encrypted with a key before it is written
    In transit
    TLS, the protocol behind HTTPS, or an encrypted VPN tunnel
  • AWS tools

  • 示例

    At rest
    An encrypted Amazon EBS volume
    In transit
    A browser connecting to a load balancer over HTTPS
The two states of data, side by side.

1 / 2

  • What it protects

    At rest
    Stored data: disks, databases and backups
    In transit
    Data that moves across a network
  • How

    At rest
    Data is encrypted with a key before it is written
    In transit
    TLS, the protocol behind HTTPS, or an encrypted VPN tunnel

2 / 2

  • AWS tools

  • 示例

    At rest
    An encrypted Amazon EBS volume
    In transit
    A browser connecting to a load balancer over HTTPS
The two states of data, side by side.

是什么

Encryption turns readable data into scrambled data, called ciphertext. Without the right key, ciphertext is useless. Encryption is one of the main security benefits of the cloud: AWS builds it into most services, so you can often turn it on with one setting. Many services encrypt data by default. For example, Amazon S3 has encrypted every new object automatically since January 2023.

是什么

Data needs protection in two states. Encryption at rest protects data where it is stored: on disks, in databases and in backups. Encryption in transit protects data while it moves across a network, usually with Transport Layer Security (TLS), the protocol behind HTTPS. To connect a data center to AWS, AWS Site-to-Site VPN sends traffic through encrypted tunnels over the internet.

AWS gives you the tools. AWS Key Management Service (AWS KMS) and AWS CloudHSM manage the keys for data at rest. AWS Certificate Manager (ACM) provides the certificates that TLS needs. Under the shared responsibility model, you decide what to encrypt and who controls the keys.

要记住

  • At rest = stored data. In transit = data moving over a network, usually protected with TLS (HTTPS in a browser).
  • Server-side encryption: the AWS service encrypts the data after it receives it. Client-side encryption: you encrypt the data before you send it.
  • AWS also encrypts traffic on its own network between Regions and between Availability Zones. Traffic between your users and your application still needs TLS.

要记住

  • From a data center to AWS: AWS Site-to-Site VPN is encrypted. AWS Direct Connect is not encrypted by default.
  • Protect the keys as carefully as the data. AWS KMS records each use of your keys in AWS CloudTrail.
  • Other security benefits of the cloud: AWS secures the data centers and hardware, many protections are on by default, and security checks can run automatically in every account.

考试中

  • “Protect data stored in Amazon S3, Amazon EBS or Amazon RDS” is encryption at rest, usually with keys from AWS KMS.
  • “Protect data that travels between users and a website” is encryption in transit with TLS, using a certificate from ACM.
  • “Who is responsible for encrypting customer data?” The customer, under the shared responsibility model. AWS provides the tools, and some services encrypt by default.