Migrating to Post-Quantum Cryptography on AWS: What You Own, What AWS Owns, and Where to Start
AWS has already done most of the server-side post-quantum work. What is left for you is updating clients, changing TLS policies and moving a few signing keys. How to scope that work, what to change first, and how to prove progress from logs AWS already writes.

Post-quantum cryptography (PQC) migration usually gets presented as a ten-year programme that starts with a full inventory of every algorithm in the company. On AWS that is the wrong place to start. AWS has spent the last two years adding hybrid post-quantum key exchange to its own service endpoints, to CloudFront and to the load balancer policies you can select, and ML-DSA signing to KMS and Private CA. If most of your traffic ends at AWS-managed endpoints, a large share of the work is already done on the server side. What is left is mostly yours: the clients, a few TLS policies, any services you run yourself, and the keys that sign your software.
This post covers how we scope that remaining work, what to change first, and how to show progress to a board or an auditor using logs that AWS already produces.
What is actually at risk
A cryptographically relevant quantum computer would break the public-key algorithms behind almost all of today's key exchange and signatures: RSA, ECDH and ECDSA. It does not meaningfully weaken symmetric encryption. That gives two separate problems, and one thing you can stop worrying about:
- Key exchange (confidentiality). An attacker can record TLS traffic today and decrypt it once a quantum computer exists. This is "harvest now, decrypt later", and it is the reason to act before anyone has such a machine. The fix is ML-KEM (FIPS 203), deployed in hybrid mode alongside a classical algorithm.
- Signatures (authenticity). A future attacker could forge signatures made with RSA or ECDSA. This only matters for signatures that still need to be trusted when that attacker exists: firmware roots of trust, long-lived code-signing keys, device certificates. The fix is ML-DSA (FIPS 204).
- Data at rest. Data properly encrypted with 256-bit symmetric keys (S3, EBS, RDS and DynamoDB with KMS) does not need re-encrypting. This is the most common source of over-scoping, and the CISO's guide AWS published in July 2026 tells you to say so to the board early.
AWS ranks the work in this order, and it is a sensible default for most organisations:
- Long-lived sensitive data in transit over public networks.
- Long-lived roots of trust for software and firmware signing.
- Short-lived assets, including session-based authentication.
The deadlines that matter
NIST published the three standards (ML-KEM, ML-DSA and SLH-DSA) in August 2024, and most national timelines now refer to them. The dates differ by jurisdiction, but they all move the same way:
| Source | What it says |
|---|---|
| NSA CNSA 2.0 | PQC required for new national security system products from January 2027 |
| NIST IR 8547 (draft) | RSA and ECC deprecated after 2030, disallowed after 2035 |
| EU coordinated roadmap (June 2025) | High-risk use cases migrated by 2030, as much as feasible by 2035 |
| UK NCSC | Highest-priority migrations done by 2031, everything by 2035 |
| US Executive Order 14412 and OMB M-26-15 (June 2026) | Federal high-value systems: key establishment by end of 2030, signatures by end of 2031; TLS 1.3 support no later than 2 January 2030 |
Even if none of these applies to you directly, they reach you through procurement. Regulated customers are already adding PQC readiness questions to vendor questionnaires and RFPs, and AWS's guidance expects most regions to require PQC readiness for new procurement from 2027. If you sell to banks, healthcare, the public sector or defence, the practical deadline is your next contract renewal, not 2035.
Split the work three ways
The most useful thing in AWS's migration guidance is the shared responsibility split. Every workload falls into one of three buckets, and the bucket decides who does the work.
| Bucket | Examples | Your job |
|---|---|---|
| AWS has done the server side | Public endpoints for KMS, ACM, Secrets Manager, S3, IAM, STS, EC2, DynamoDB and many more; CloudFront viewer connections | Update clients so they offer ML-KEM. The endpoint uses it as soon as they do |
| AWS has built it, you switch it on | ALB and NLB listeners, API Gateway custom domains, Transfer Family SFTP, Site-to-Site VPN, Aurora and RDS engines | Choose a PQ policy or upgrade the engine version, in infrastructure as code |
| You own it | Self-managed reverse proxies, custom TLS code, on-premises systems, devices, third-party software | Upgrade libraries, replace vendors that will not upgrade, or move the workload onto a managed service |
The CISO's guide adds a useful refinement to the third bucket: separate the vendors who will upgrade for you (hold them to a date), the vendors who will not upgrade in time (replace them, and get that into this year's procurement and capex cycle), and the systems you own outright. That three-way classification replaces the bottom-up cryptographic inventory that stalls so many programmes. You still need an inventory, but it only has to be detailed enough to put each workload in a bucket.
The quickest way to shrink your share is to move work into the first two buckets. AWS says it directly: workloads that depend mostly on managed services need the least PQC migration effort.
Step 1: TLS 1.3 everywhere, then update the clients
Hybrid post-quantum key exchange only exists in TLS 1.3. If you still have TLS 1.2-only clients or endpoints, nothing else in this post will help them, so this comes first.
On AWS-managed endpoints that already support ML-KEM, the client decides whether a connection is post-quantum. An updated client that offers hybrid key exchange gets it; an old one falls back to classical X25519 without any error. That makes client updates the main work for the first bucket.
Browsers have largely solved themselves. Chrome 131+, Firefox 132+ and Safari 26 offer hybrid PQ key exchange by default; Edge supports it from version 120 but needs it switched on. AWS said at re:Invent 2025 that CloudFront became one of its two largest sources of PQ-TLS traffic within three months of turning it on, almost entirely because browsers update themselves. In enterprise fleets, the thing to watch is pinned browser versions.
AWS SDKs are less uniform. As of the re:Invent 2025 session on crypto agility:
| Behaviour | SDKs |
|---|---|
| PQ-TLS on and preferred by default | Go 1.24+, Node.js 22.20+ (LTS) and 24.9.0+, Rust crates built after 29 August 2025, Kotlin on Linux after 1.5.78 |
| Opt in through the AWS Common Runtime (CRT) HTTP client | Java v2, Kotlin on macOS and Windows, C++ 1.11.673+ with AwsCrtHttpClient, C++ on macOS 26+ |
| Depends on OpenSSL 3.5+ in the operating system | Python (boto3), PHP, Ruby, AWS CLI |
The last row is the one that catches teams out. A Python Lambda function or a CLI-based pipeline step is only post-quantum if the runtime image ships OpenSSL 3.5 or later, so the change happens in your base images, AMIs and container builds, not in application code. Check the AWS SDK PQ-TLS guide for current versions before you plan; this table will be out of date quickly.
For Java, the change is one line on the HTTP client builder. AWS's own workshop uses it to import keys into KMS over a hybrid connection:
SdkAsyncHttpClient httpClient = AwsCrtAsyncHttpClient.builder()
.postQuantumTlsEnabled(true)
.build();
Three things to get right beyond the version bump:
- Fix it once in the shared layers. Update golden AMIs, base container images and CI/CD templates, and standardise custom software on one crypto-agile library rather than patching each service separately. AWS-LC is the obvious choice on AWS: it was the first library to include ML-KEM in a FIPS 140-3 validation.
- Supporting is not the same as preferring. AWS endpoints use PQ key exchange with any client that offers it, but third-party services may not if the client lists PQ as supported without putting it first. Test against the endpoints you actually call.
- Verify in the logs, not in the dependency file. A correct library version does not prove the negotiated key exchange is hybrid. Step 3 covers how to check.
Step 2: Change the policies you control
For the second bucket, the work is configuration. The main items:
Application and Network Load Balancers. Change the HTTPS or TLS listener to a PQ security policy, for example ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09. It offers X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024 alongside the classical groups, so clients without PQ support still connect.
aws elbv2 modify-listener \
--listener-arn "$LISTENER_ARN" \
--ssl-policy ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09
Read the policy name before you apply it. The Res (restricted) variants also drop the TLS 1.2 CBC cipher suites, so a legacy client that can only use CBC will stop connecting. Check the connection logs (Step 3) for clients that would be affected, or choose the non-restricted PQ variant until they are gone.
API Gateway. Regional custom domains take a PQ policy such as SecurityPolicy_TLS13_1_2_PQ_2025_09. Edge-optimised APIs are served through CloudFront and get PQ on the viewer side automatically.
CloudFront. Since September 2025, every security policy supports hybrid PQ key exchange for viewer connections, with nothing to configure. Connections from CloudFront to AWS origins such as S3 are on AWS's side. Connections to custom origins are not covered yet: AWS says origin-side support will be opt-in first and later the default.
Transfer Family. SFTP servers can use a security policy that prefers the mlkem768x25519-sha256 SSH key exchange. Partner file transfers are a classic harvest-now target, so this should come early.
Databases and VPN. Aurora MySQL, Aurora PostgreSQL and RDS for MySQL, MariaDB and PostgreSQL support hybrid PQ key exchange from specific engine versions, so the change is an engine upgrade. Site-to-Site VPN supports ML-KEM in IKEv2 through a tunnel option change. The AWS PQ readiness page lists the minimum versions per service.
Classic Load Balancer. AWS has no PQC plan for it. If you still run one, this is a good reason to migrate.
Self-managed reverse proxies (NGINX, HAProxy, Envoy on EC2 or EKS) need OpenSSL 3.5+ or an equivalent library on the host for the inbound side. Then configure the proxy's outbound connections to your backends to prefer PQ as well. Follow the data path all the way to the database; securing only the first hop leaves the rest of the path classical.
Two governance points make these changes stick. Set the policy explicitly in Terraform or CloudFormation, because the default policy may not include PQ. Then make the right choice the only one that works: AWS recommends IAM condition keys that limit create and update calls to approved TLS policies. An SCP along these lines blocks non-PQ HTTPS listeners across the organisation (test it in a sandbox OU first, and check the condition key against the current ELB service authorisation reference):
{
"Sid": "DenyNonPqTlsListeners",
"Effect": "Deny",
"Action": [
"elasticloadbalancing:CreateListener",
"elasticloadbalancing:ModifyListener"
],
"Resource": "*",
"Condition": {
"Null": { "elasticloadbalancing:SecurityPolicy": "false" },
"StringNotLike": { "elasticloadbalancing:SecurityPolicy": "ELBSecurityPolicy-*PQ-*" }
}
}
Step 3: Measure what is actually negotiated
Executives keep funding a multi-year programme when they can see progress, and AWS's own guidance puts TLS metric dashboards among its first three actions. You do not need a separate scanning product to start. Three data sources cover most of it.
What is configured: AWS Config. An advanced query over an organisation aggregator lists every listener that has not been moved to a PQ policy:
SELECT accountId, awsRegion, resourceId, configuration.SslPolicy
WHERE resourceType = 'AWS::ElasticLoadBalancingV2::Listener'
AND configuration.SslPolicy NOT LIKE 'ELBSecurity%-PQ-%'
Turn the same check into a Config rule, send NON_COMPLIANT changes through EventBridge, and you will see when a new listener goes live without PQ or someone rolls a policy back.
What clients negotiate at your edge: load balancer connection logs. ALB and NLB connection logs (not access logs) record the negotiated group in tls_keyexchange. With the logs in Athena, the headline KPI is one query:
SELECT
COUNT(*) AS connections,
ROUND(100.0 * SUM(CASE WHEN tls_keyexchange LIKE '%MLKEM%' THEN 1 ELSE 0 END) / COUNT(*), 1) AS pq_percent
FROM alb_connection_logs
WHERE tls_verify_status = 'Success';
Group the same data by tls_protocol and tls_cipher to find the TLS 1.2 and CBC clients before you switch to a restricted policy.
What your own code negotiates with AWS: CloudTrail. CloudTrail events for KMS, ACM, Payment Cryptography and a growing list of other services include tlsDetails.keyExchange. Grouping classical connections by user agent gives you a list of the SDKs and tools to update:
SELECT eventSource, userAgent, tlsDetails.keyExchange, COUNT(*) AS calls
FROM <event_data_store_id>
WHERE eventTime > '2026-11-01 00:00:00'
AND tlsDetails.keyExchange NOT LIKE '%MLKEM%'
GROUP BY eventSource, userAgent, tlsDetails.keyExchange
ORDER BY calls DESC
That is the work list for Step 1, ordered by volume. The CISO's guide suggests a short set of KPIs to report every quarter: share of connections on TLS 1.3 with ML-KEM, PQC coverage per bucket, validated versus unconfirmed vendor timelines, and time to remediate a newly flagged dependency.
Do not wait for perfect visibility before you start migrating. Run the telemetry work alongside the migration. Once it is in place it will also show the improvement from changes you made before you could measure them.
Step 4: Signatures and long-lived roots of trust
Signatures can wait longer than key exchange, with one important exception: anything whose trust anchor is hard to replace. Firmware signing keys burned into devices, code-signing roots for software that will run for a decade, and device identity certificates all need planning now, because the devices will still be in the field when the deadlines arrive.
AWS's building blocks are in place:
- AWS KMS supports ML-DSA signing keys (since June 2025), generated and used inside FIPS 140-3 Security Level 3 HSMs.
- AWS Private CA can build a full ML-DSA hierarchy (since November 2025). AWS's workshop builds an ML-DSA-65 root and subordinate CA, issues a code-signing certificate for a KMS-held ML-DSA key, and signs a JAR file with it.
- IAM Roles Anywhere accepts ML-DSA CAs as trust anchors (since March 2026), so on-premises servers and IoT devices can get AWS credentials with quantum-resistant certificate authentication.
What is not ready yet is the public web PKI. Browser-trusted ML-DSA TLS certificates are waiting on the CA/Browser Forum and the browser root programmes, so your public ALB and CloudFront certificates stay RSA or ECDSA for now. That is acceptable: the ML-KEM key exchange already protects confidentiality, and a certificate only has to resist forgery while it is valid.
Plan for the size difference. An ML-DSA-65 signature is 3,309 bytes and its public key 1,952 bytes, compared with 256 and 272 bytes for RSA-2048. On servers this hardly matters. On constrained devices, in long certificate chains and in protocols with tight message limits it can, so test those first.
For hardware that cannot be updated in place, the CISO's guide recommends an annual review as part of capex planning. Some devices will last their full life; others will need replacing early. Reviewing every year means early replacement is a budgeted decision rather than an emergency.
What it costs in performance
Less than most teams expect. AWS's workshop benchmarks on an m7i.large instance show ML-KEM-768 running faster than ECDH P-384 at the same security level, with every ML-KEM operation under a millisecond. The cost is mostly bandwidth: a full TLS handshake to KMS grew from 6,464 to 8,949 bytes with hybrid X25519 plus ML-KEM-768. The extra work happens once per handshake, so reused connections pay nothing, and AWS measured the first request on a new connection at roughly 300 microseconds slower to first byte.
The places to test are the ones that are already sensitive to handshake size: high connection churn without keep-alive, middleboxes that mishandle a ClientHello spanning two TCP segments, and constrained networks.
What 1Password's migration shows
1Password's case study is a useful benchmark because it covers both sides. On the server side, they moved from TLS 1.2 to 1.3, replaced OpenSSL with AWS-LC, and selected a PQ TLS policy on their ALBs. CloudFront needed no changes because AWS had already upgraded it. On the client side, they replaced a mix of Rust crates with aws-lc-rs and Rustls. The server-side migration to hybrid key exchange took three months, needed no cryptographic code changes, and showed no performance regressions after staggered rollouts and soak testing across client hardware and operating systems. In the words of their engineering manager, Daryl Martin, "we deployed our post-quantum protection without any cryptographic code changes."
The lesson is not that it was easy. It is that the work went into release engineering (staged rollout, soak tests, client coverage) rather than cryptography, because the cryptography was in a managed library and a managed endpoint.
Build for the next migration too
Today's "PQ-TLS" means hybrid ML-KEM. AWS expects a move to pure post-quantum TLS after 2030, more algorithms are still being standardised, and post-quantum certificates will arrive in several waves. The real goal is to make changing cryptography routine. That depends on four capabilities, and most organisations need them anyway:
- Patching discipline. If you cannot keep your fleet current today, PQC will expose that gap across the whole estate.
- Incremental release with clean rollback. Larger keys and handshakes will cause surprises in production. Roll out gradually and be able to undo quickly.
- Consistent CI/CD. Every service that uses asymmetric cryptography may need a rebuild against new libraries. Manual deployments slow down the whole programme.
- Automated key and certificate lifecycle. Rotation, issuance and validation have to run without manual steps.
The same capabilities also help with ordinary vulnerability response, where the time between disclosure and exploitation keeps getting shorter.
A 90-day starting plan
- Weeks 1-2: appoint one accountable owner with executive sponsorship. Classify your top workloads into the three buckets. Send PQC timeline questions to your key vendors.
- Weeks 2-4: enable ALB/NLB connection logs and CloudTrail Lake (or Athena over CloudTrail), run the Config query across the organisation, and publish the first PQ-percentage dashboard.
- Weeks 4-8: find any remaining TLS 1.2-only paths. Update base images to OpenSSL 3.5+, bump SDKs (enable the CRT client where needed), and move internet-facing listeners and SFTP endpoints to PQ policies in IaC.
- Weeks 8-12: add the SCP guardrail and the Config rule, list your long-lived signing keys and device roots of trust, and run a pilot ML-DSA hierarchy in Private CA and KMS for the most important one.
At the end of that you have a measurable PQ share for your traffic, guardrails that stop it slipping back, a vendor list with dates, and a funded plan for the signing keys. That will satisfy a board and most procurement questionnaires.
What this looks like at ccX
Post-quantum readiness is part of our Cloud Security Posture Review: we classify your workloads into the three buckets, run the Config, connection log and CloudTrail queries across your organisation to measure where you are, and give your team a prioritised list of client updates, policy changes and guardrails in Terraform. For most AWS-heavy estates the first measurable result comes within weeks, not years.
If a customer questionnaire has started asking about post-quantum readiness and you do not have an answer yet, book a 30-minute scoping call.
Where to go from here
- AWS: Migrating to post-quantum cryptography - the shared responsibility split and service status.
- The CISO's guide to post-quantum mandates and migrations - running it as an organisation-wide programme.
- PQC Foundation Workshop - ALB policies, Config inventory, Athena adoption queries, ML-DSA CA and Roles Anywhere.
- Using Post-Quantum Cryptography on AWS - SDK configuration, ML-KEM benchmarks and SFTP.
- 1Password case study
- From 5,000 Security Hub findings to a backlog your team can finish
- Cloud Security Posture Review
Service support, SDK versions and security policy names reflect AWS documentation as of December 2026 and change frequently. Check the AWS post-quantum readiness pages before planning changes. Regulatory dates are summarised for engineering planning, not legal advice.
Sitemap
- Read this post on the web
- All blog posts
- Full site map
- Home
- Services
- AWS Cost Optimization Review
- Cloud Security Posture Review
- AWS GenAI Production Readiness
- EU AI Act Compliance
- Glossary
- Contact