AWS Certificate Manager (ACM)
AWS Certificate Manager for public and private TLS certificates, requesting and validating certificates, automatic renewal, imported certificates and expiry monitoring, and ACM with load balancers and API Gateway.
What it is
AWS Certificate Manager (ACM) provisions, manages and deploys TLS certificates.
- Provides in-flight encryption for websites (HTTPS).
- Supports both public and private TLS certificates.
- Free for public TLS certificates used with integrated services.
- Automatic TLS certificate renewal.
- Integrations (load TLS certificates on):
- Elastic Load Balancers (CLB, ALB, NLB);
- CloudFront distributions;
- APIs on API Gateway.
- On an ALB, add an HTTP → HTTPS redirect rule so every user ends up on HTTPS (see SSL/TLS on load balancers).
Requesting public certificates
- List the domain names to include in the certificate:
- fully qualified domain name (FQDN):
corp.example.com; - wildcard domain:
*.example.com.
- fully qualified domain name (FQDN):
- Select a validation method:
- DNS validation, preferred for automation: ACM provides a CNAME record to put in the domain's DNS (one click with Route 53);
- email validation: ACM sends emails to the contact addresses in the WHOIS database.
- It can take a few hours to be verified.
- The public certificate is enrolled for automatic renewal: ACM renews ACM-generated certificates before they expire.
Updated since the slides
ACM public certificates are now valid for 198 days (they used to be valid for 395). ACM renews DNS-validated certificates 45 days before expiry; the slides' "60 days" applied to the older 395-day certificates. ACM is also phasing out email validation during 2027, so use DNS validation. The exam ideas don't change: ACM certificates are free and renew automatically, as long as they're DNS-validated and in use.
Importing certificates
- A certificate can be generated outside ACM and then imported.
- No automatic renewal: a new certificate must be imported before expiry.
- ACM sends daily expiration events to EventBridge, starting 45 days before expiry for imported certificates (the number of days can be configured).
- AWS Config has a managed rule,
acm-certificate-expiration-check, to flag expiring certificates (configurable number of days).
ACM with API Gateway
Create a custom domain name in API Gateway, then:
- Edge-optimized (default, for global clients): requests are routed through CloudFront edge locations; the API Gateway still lives in one Region. The TLS certificate must be in the same Region as CloudFront:
us-east-1. - Regional (clients in the same Region): the TLS certificate must be imported in the same Region as the API stage.
- Then set up a CNAME or (better) an alias record in Route 53.
See API Gateway endpoint types.
Real-world examples
- A start-up requests
*.example.comin ACM with DNS validation in Route 53 and attaches it to its ALB and CloudFront distribution; it never thinks about renewal again. - A bank must use certificates from its own provider. It imports them into ACM and uses an EventBridge rule on expiry events to open a ticket 30 days before.
Exam tips
- "Free TLS certificates that renew automatically" → ACM public certificates (DNS validation).
- "HTTPS on an ALB, CloudFront or API Gateway" → ACM certificate.
- "Certificate for an edge-optimized API or CloudFront" → ACM in us-east-1.
- "Imported certificate expiring" → re-import before expiry; monitor with EventBridge expiry events or the Config rule.
- "TLS certificate on an EC2 instance directly" → not a standard ACM public certificate (use a self-managed one, or the newer exportable certificates).
Common traps
- "ACM renews imported certificates." Only certificates ACM issued.
- "Use an ACM certificate from eu-west-1 on CloudFront." CloudFront needs the certificate in us-east-1.
Check yourself
Requesting a public certificate needs an owned domain, so instead:
Request (or import) the certificate in ACM in us-east-1, create the custom domain name in API Gateway with that certificate, and point an alias record in Route 53 at it.
Create an EventBridge rule on ACM's certificate approaching expiration events (or use the AWS Config rule acm-certificate-expiration-check) that notifies SNS; then import a renewed certificate.
AWS documentation
AWS Secrets Manager
AWS Secrets Manager for storing and rotating secrets, managed rotation and Lambda rotation, integration with RDS and Aurora, multi-Region secrets, and Secrets Manager vs Parameter Store.
WAF, Shield and Firewall Manager
AWS WAF web ACLs and rules for layer 7 protection, a fixed IP with WAF through Global Accelerator, AWS Shield Standard and Advanced against DDoS, and AWS Firewall Manager for rules across an organization.