Encryption on AWS is easier than its reputation suggests. For most services it is a checkbox, and AWS Key Management Service (KMS) does the hard work of protecting keys. The decisions that matter are which type of key to use, who is allowed to use it, and how to avoid locking yourself out of your own data.
This guide explains encryption at rest and in transit on AWS, the three kinds of KMS keys, what they cost, and safe defaults for S3, EBS and RDS.
At rest and in transit
Encryption at rest protects stored data, such as S3 objects, EBS volumes, snapshots and database storage. Encryption in transit protects data moving over the network with TLS. Under the shared responsibility model, AWS provides the tools, but turning them on and controlling access to keys is your job.

The three kinds of KMS keys
AWS owned keys are used internally by services, for example S3 SSE-S3. You never see them and cannot manage them. AWS managed keys are created in your account for a service, with names such as aws/ebs or aws/rds. You can see them and their use in CloudTrail, but cannot change their policies. Customer managed keys are keys you create, with key policies, rotation settings, aliases and the ability to disable or delete them. The KMS concepts documentation explains each.
Key types side by side
| Key type | Visible in account | You control policy | Cross-account sharing | Monthly key fee |
|---|---|---|---|---|
| AWS owned | No | No | No | None |
| AWS managed | Yes | No | No | None |
| Customer managed | Yes | Yes | Yes, via key policy | Yes, per key |
Defaults for S3, EBS and RDS
- S3: since January 2023, every new object is encrypted with SSE-S3 by default. Choose SSE-KMS when you need key-level access control or audit, and turn on S3 Bucket Keys to cut KMS request costs.
- EBS: enable encryption by default in the EC2 settings for each Region. New volumes and snapshots are then encrypted automatically; existing unencrypted volumes need a snapshot copy with encryption.
- RDS and Aurora: encryption is chosen at creation. To encrypt an existing unencrypted database, copy a snapshot with encryption and restore from it.
The EBS volume types guide and the RDS vs EC2 database guide cover those services in more depth.
Key policies and access
Every KMS key has a key policy, and it is the primary control on who can use the key. A typical customer managed key policy gives the account administrators the right to manage the key, and specific roles the right to encrypt and decrypt. IAM policies then grant access only if the key policy allows the account to delegate. Keep three practices in mind:
- Separate key administrators from key users.
- Grant decrypt only to the roles that truly read the data.
- For cross-account access, add the other account in the key policy and grant its role permission in that account’s IAM.
The IAM roles and policies guide explains how identity policies and resource policies combine.
Rotation, disabling and deletion
You can enable automatic rotation for symmetric customer managed keys; KMS keeps older key material so existing data still decrypts. Disabling a key stops all use immediately and can be reversed, which makes it a safe way to test whether anything still depends on it. Deletion is permanent: AWS enforces a waiting period of 7 to 30 days, and after that, data encrypted only with the key cannot be recovered. Set a CloudWatch alarm on attempts to use a key pending deletion.
What KMS costs
Customer managed keys carry a monthly fee each, and KMS API requests are billed per 10,000 beyond a free monthly allowance. AWS managed keys have no monthly key fee, but requests still count. High-volume workloads, especially S3 with SSE-KMS, can generate many requests; S3 Bucket Keys reduce them sharply. Check the KMS pricing page for current rates.
Encryption in transit
- Serve websites and APIs over HTTPS with free AWS Certificate Manager certificates on CloudFront or load balancers.
- Add an S3 bucket policy that denies requests without aws:SecureTransport.
- Require TLS on database connections.
- Use Session Manager for admin access, which runs over TLS without opening SSH.
Encryption checklist
- EBS encryption by default on in every Region you use.
- S3 default encryption on; SSE-KMS with Bucket Keys where control is needed.
- New RDS instances created encrypted.
- Customer managed keys have clear admins and users in the key policy.
- No key scheduled for deletion without a confirmed plan.
- TLS enforced on public and internal endpoints.
After taking over an account, review existing KMS keys and their policies so no one else can still use them; the handover checklist lists it, and the details listed with each AWS account show what comes preconfigured.
KMS and encryption questions
Is data on AWS encrypted by default?
Many services now encrypt by default. All new S3 objects are encrypted with SSE-S3 at no extra cost, and you can turn on EBS encryption by default per Region. Check each service, because defaults differ.
How much does AWS KMS cost?
Each customer managed key has a monthly charge, and API requests are billed per 10,000 after a free monthly allowance. AWS managed keys have no monthly key charge. See the KMS pricing page for current rates in your Region.
What happens if I delete a KMS key?
Data encrypted only with that key becomes unrecoverable. AWS enforces a waiting period of 7 to 30 days before deletion, during which you can cancel. Disabling the key first is a safer test.
Can I share an encrypted EBS snapshot with another account?
Only if it is encrypted with a customer managed key whose key policy allows the other account. Snapshots encrypted with the AWS managed aws/ebs key cannot be shared directly; copy them with a customer managed key first.
Does KMS rotate keys automatically?
You can enable automatic rotation for symmetric customer managed keys and choose the rotation period. Old key material is kept so existing data can still be decrypted.
Editorial guide by Mark Biden · Reviewed 24 November 2026. Official sources are linked beside the relevant sections; AWS features, quotas and prices change, so confirm details in the AWS console before relying on them.

Leave a Reply