1. Inventory encryption scope
An encryption indicator is useful only when its scope is known. Record volume, snapshot, database, channel, and endpoint separately. EBS encryption by default is a regional setting for new resources within its scope; it does not convert old volumes.
Evidence collected in eu-west-1 does not establish configuration in eu-central-1. EBS encryption protects data at rest and the path between EC2 and attached storage without automatically turning external HTTP into TLS. In an obsolescence project, connect inventory to required migration actions and responsible teams.
If legacy resources remain unencrypted, report that gap explicitly instead of counting setting enablement as completion for the entire application.
2. Treat new keys as migrations
The key associated with an existing EBS volume or snapshot does not change by editing an alias. A snapshot copy permits another key and preparation of a new volume. Plan cutover and preservation of data written after the snapshot.
When an API receives an invalid KMS identifier, failure can be asynchronous; confirm final state before accepting creation. When sharing an encrypted snapshot, also check access to the customer managed key. Resource authorization and cryptographic authorization are different dependencies.
The change package should identify source, copy, destination key, permissions, functional validation, and criteria for retiring old resources. Do not remove the recovery path merely because a copy request was accepted.
3. Distinguish an RDS copy from a migrated service
An encrypted RDS DB instance retains the key selected at creation. To use another key identifier, prepare a snapshot, a copy with the intended key, and restoration into a new instance. For an unencrypted source, an encrypted snapshot copy is the required step before restoration.
A snapshot protected by the AWS managed key cannot be directly shared across accounts in that state. In the consulted CreateDBInstanceReadReplica reference, KmsKeyId must be omitted for an encrypted same-Region replica, retaining the source key; in another Region, specify a destination key.
The general encryption page contains conflicting statements about another key in the same Region. This lesson interprets that API contract; confirm engine, operation and support before applying the design to a real migration. These DB instance rules should not be generalized to every Aurora design.
In the payments scenario, validate reconciliation, connectivity, and pending data before changing the application destination. DNS neither synchronizes data nor proves usable rollback. The exercise selects snapshot migration.
Current documentation also describes blue/green encryption changes where supported; do not assume eligibility without checking limitations. Workshop: a 10:00 snapshot has 1,000 IDs; the source commits 12 more payments; the restored destination receives three distinct canary IDs.
There is no replication. Before reading the answer, calculate the sets and what each destination would lose. Answer: source 1,012, destination 1,003, union 1,015.
Keep writes suspended, reconcile the 15 IDs without duplication and rehearse recovery before authorizing one destination. Reverting to source DNS would lose the three canary payments; destination DNS does not recover the source’s 12. Acceptance workshop: the write-freeze window is 45 minutes.
After the final snapshot, copying 18, restoring 17 and validation 12 are sequential: 47 minutes before counting snapshot time, so the plan does not fit. Redesign or obtain another window; do not omit validation or use old data without reconciliation.
In a cross-account delivery, separate three criteria: an AWS managed key snapshot is not directly shareable; a customer managed key copy needs snapshot and key authorization; if B requires independence, copy under B’s key and confirm restoration before retiring temporary dependencies.
For a cross-Region replica, a correctly located key and KMS access are separate controls: an authorized source-Region key fails the first; a destination key with denial fails the second.
4. Prove TLS and server identity
Encrypting RDS at rest does not prevent an authorized SQL client from obtaining plaintext results; decryption is transparent. For the PostgreSQL channel, apply effective rds.force_ssl configuration when requirements demand rejection of non-TLS connections.
Test both permitted and rejected connections. In a libpq client, verify-ca checks the chain and verify-full adds hostname matching. Encryption and identity are related but distinct guarantees.
During a CA change for direct RDS clients, prepare application trust before changing the server and confirm restart requirements for the version used. An old connection still open does not demonstrate a new handshake with the new chain. Include creation of new connections in acceptance criteria.
Transport matrix: A connects using verify-full and valid credentials; B uses disable with the same credentials and also connects; C without TLS fails due to a wrong password. B contradicts TLS enforcement even if a parameter-group change is pending; C does not resolve that failure.
Apply effective configuration and repeat A allowed/B denied for transport. In a name matrix, the certificate covers db.example.test but not alias.example.test despite the same IP: verify-ca on the alias proves only the chain; verify-full fails on the alias and passes on the covered name, given other conditions.
Do not downgrade validation to make the alias pass. During CA rotation across twelve clients, seven with loaded trust and a fresh handshake are prepared; three with only a disk bundle and two without updates leave five to prepare. Existing pools do not prove acceptance of the new chain.
5. Locate validation in load balancers and APIs
An ALB HTTPS target group encrypts the backend path, but ALB does not validate those target certificates. Do not use that configuration as proof of expired-certificate rejection. On the client side, mutual TLS passthrough delivers the chain for target validation; verify performs authentication at ALB.
If requirements include revocation, also confirm the mechanism and currency of relevant lists. In API Gateway REST, mutual TLS on a custom domain does not disable the default execute-api endpoint. Testing only the advertised hostname can overlook that alternate path.
Draw each segment and identify where the certificate is presented, which identity it represents, and which component decides. An HTTPS label on the diagram does not answer all those questions. Path workshop: mutual-TLS domain A rejects a client without a certificate; domain B on the same API without mutual TLS accepts it; execute-api also accepts it.
Other authorization requirements are satisfied in all three trials. Disabling only execute-api leaves B open to the same request. Protect or retire B and repeat trials on each entry.
Separately, on an ALB in passthrough mode, a trusted reader chain does not authorize release: verify the chain at the target and apply operation rules to the verified identity. Record authentication and authorization as separate outcomes. For mTLS revocation, construct the matrix L1/L2 × revoked serial 20/valid serial 21 from the same CA.
An old list on L1 and a rejection of 20 on L2 do not establish four correct outcomes. Update effective revocation, confirm rejection of 20 and acceptance of 21 on each listener. Removing the entire CA also blocks 21 and does not meet authorized continuity.
6. Separate issuance, renewal, and deployment
ACM does not provide managed renewal for certificates imported from an external CA. The team must obtain renewal and manage reimport or replacement and associations. Exportable public certificates issued by ACM have another lifecycle: ACM manages renewal, but deployment onto the external host remains the customer responsibility.
A server can present the old certificate while the central manager already shows the new version. Protect the private key and verify every endpoint after installation. For ALBs in different Regions, make the ACM certificate available in each relevant Region.
For a CloudFront viewer certificate, the requirement is us-east-1 regardless of origin location. Do not generalize that exception to all load balancers. Exported-renewal workshop: A has serial N on disk and served, B has N on disk but serves O, C retains O and D has N without an observed handshake.
Only 1/4=25% is demonstrated, even if ACM renewed and the canary only on A passes. Activate B, deliver and activate C, observe D and validate every target again with correct SNI/hostname; issuance, files and served certificates are distinct evidence.
7. Accept the change with execution evidence
The local exercise uses fictional endpoint inventory and observed serials to decide whether installation is complete. It performs no handshakes, validates no chains, and does not replace real diagnostic tools. A missing endpoint keeps acceptance pending even when every observed endpoint has the intended serial.
For a real change, add chain, hostname, validity, protocol, and functional behavior to agreed criteria. Distribute tasks across PKI, cloud, application, and RUN with weekend owners. Plan recovery without assuming that an already revoked certificate can be reused.
This lesson connects intended configuration to the created resource, exercised connection, and accepted service. These complementary forms of evidence should accompany reporting, handover, and decommissioning. Six-endpoint workshop: A/B present the renewal in new handshakes and pass chain, hostname and operation; C/D still present the old version; E has no observation; F presents the new version but fails hostname.
Calculate acceptance before reading the answer: only 2/6 meet all criteria, although three present the new serial. Do not remove E from the denominator. Complete C/D, observe E and repair F; then repeat handshake and operation per endpoint.
Code only compares supplied serial labels; a match never closes TLS validation. Equal serials without issuer identity also do not universally identify the same certificate.
# Original fictional deployment-evidence model, not a TLS validator.
# No credentials, network calls, or certificate changes.
def deployment(required, observed, expected_serial):
if not isinstance(required, set) or not isinstance(observed, dict):
raise ValueError("required set and observed mapping expected")
if any(not isinstance(name, str) or not name.strip() for name in required):
raise ValueError("endpoint names must be nonempty strings")
if not isinstance(expected_serial, str) or not expected_serial.strip():
return "evidence-incomplete"
if not required or not required.issubset(observed):
return "evidence-incomplete"
if any(not isinstance(observed[name], str) or not observed[name].strip()
for name in required):
return "evidence-incomplete"
if any(observed[name] != expected_serial for name in required):
return "old-certificate-present"
return "serials-match-further-validation-required"
assert deployment(set(), {}, "new") == "evidence-incomplete"
assert deployment({"a", "b"}, {"a": "new"}, "new") == "evidence-incomplete"
assert deployment({"a", "b"}, {"a": "new", "b": "old"}, "new") == "old-certificate-present"
assert deployment({"a", "b"}, {"a": "new", "b": "new"}, "new") == "serials-match-further-validation-required"
assert deployment({"a"}, {"a": "new", "out-of-scope": "old"}, "new") == "serials-match-further-validation-required"
print("five deployment-evidence cases passed; no TLS connection was made")
The certificate manager shows renewal, but two servers still present the old version. The team validates deployment per endpoint.
Common pitfalls
Default as legacy migration; snapshot as restored service; TLS as every verification; renewal as deployment.
Related topics: Identity and data · Acceptance and continuity
Confirm the resource and endpoint in use; intended configuration and central issuance do not demonstrate the complete outcome.
References
- EBS encryption by default · Primary documentation consulted 2026-10-12
- EBS encryption · Primary documentation consulted 2026-10-12
- Sharing the KMS key for EBS snapshots · Primary documentation consulted 2026-10-12
- Encrypting RDS resources · Primary documentation consulted 2026-10-12
- SSL with RDS PostgreSQL · Primary documentation consulted 2026-10-12
- PostgreSQL libpq SSL support · Primary documentation consulted 2026-10-12
- RDS certificate rotation · Primary documentation consulted 2026-10-12
- ALB target groups · Primary documentation consulted 2026-10-12
- ALB mutual TLS · Primary documentation consulted 2026-10-12
- API Gateway mutual TLS · Primary documentation consulted 2026-10-12
- Import certificates into ACM · Primary documentation consulted 2026-10-12
- ACM exportable public certificates · Primary documentation consulted 2026-10-12
- CloudFront TLS certificate requirements · Primary documentation consulted 2026-10-12
- SCS-C03 data protection · SCS-C03
- CreateDBInstanceReadReplica: KmsKeyId contract · AWS API reference consulted 2026-10-12