Service · Security, Identity, and Compliance · CLF-C02 အပေါ် ဆက်လေ့လာရန်
AWS Certificate Manager (ACM)
Which certificate, how to validate it, where it can attach, and the Region rule for CloudFront.
ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။
Cloud Practitioner မှ သင်သိပြီးသားများ
- ACM issues and renews SSL/TLS certificates for HTTPS.
- Public certificates for integrated services are free.
- DNS validation lets ACM renew automatically. Imported certificates are not renewed.
CloudFront
- US East (N. Virginia)
ALB and NLB
- The load balancer’s Region
API Gateway, Regional endpoint
- The API’s Region
API Gateway, edge-optimized
- US East (N. Virginia)
EC2 instance
- Not attachable. Use a load balancer
| Service | Certificate must be in |
|---|---|
| CloudFront | US East (N. Virginia) |
| ALB and NLB | The load balancer’s Region |
| API Gateway, Regional endpoint | The API’s Region |
| API Gateway, edge-optimized | US East (N. Virginia) |
| EC2 instance | Not attachable. Use a load balancer |
How
- DNS validation
- Add one CNAME record
- Email validation
- Approve an email to domain contacts
Renewal
- DNS validation
- Automatic
- Email validation
- Needs approval again
Best for
- DNS validation
- Most cases, Route 53 users
- Email validation
- No access to DNS
| Aspect | DNS validation | Email validation |
|---|---|---|
| How | Add one CNAME record | Approve an email to domain contacts |
| Renewal | Automatic | Needs approval again |
| Best for | Most cases, Route 53 users | No access to DNS |
ဘာလဲ
ACM issues public certificates for domains you own. For private names inside your company, AWS Private CA issues private certificates, which ACM can manage. To prove ownership of a domain, use DNS validation or email validation. DNS validation adds one CNAME record, and ACM renews the certificate automatically as long as that record stays. Email validation asks a person to approve, and renewal needs approval again.
ဘာလဲ
ACM certificates attach to integrated services: an Application Load Balancer, a Network Load Balancer with a TLS listener, Amazon CloudFront and Amazon API Gateway. A standard public ACM certificate cannot be installed on an EC2 instance, so terminate TLS at a load balancer. An exportable certificate, which costs extra, exists for cases that need the certificate on the server.
ဘာလဲ
A certificate must be in the same Region as the service that uses it. CloudFront is the exception: its certificate must be in US East (N. Virginia). The same applies to an edge-optimized API Gateway custom domain. With Server Name Indication (SNI), one ALB listener or CloudFront distribution can hold several certificates and serve different domain names.
မှတ်ထားရန်
- DNS validation renews automatically. Email validation needs approval each time.
- Public certificates for integrated services are free.
- Attach to ALB, NLB, CloudFront and API Gateway. Not directly to EC2.
- CloudFront certificates must be in US East (N. Virginia).
- Load balancer certificates must be in the load balancer’s Region.
မှတ်ထားရန်
- Private names: AWS Private CA.
စာမေးပွဲမှာ
- “HTTPS on CloudFront with a custom domain, and the certificate is not found” points to a certificate that must be in us-east-1.
- “A certificate that renews with no manual work” points to ACM with DNS validation.
- “TLS on EC2 instances behind a load balancer with the least work” points to an ACM certificate on the load balancer.
ဒါတွေနဲ့ မရောပါနဲ့
AWS Key Management Service (AWS KMS)Who may use a key, which key type, how keys rotate and delete, and where KMS limits you.
AWS Secrets ManagerRotate and share secrets across accounts and Regions, and choose it or Parameter Store.
Amazon CloudFrontA CDN with cache rules, private S3 origins, origin failover, signed access and code at the edge.