Skip to content
EgyKode
03 · AWS by handLab 17 / 59
Guided labaws

Production DNS & TLS with Route 53 and ACM

Take a site from an IP address to a real domain over HTTPS, with a certificate that renews itself.

Time
50 min
Level
Intermediate
Objectives
4 objectives
Cost
Low cost

Where this fits in the platform

This lab adds

  • A domain you control, with a certificate on it

Which lets you

Before you start

You will need

  • AWS CLI v2, configured
  • A domain you control

You will be able to

  • Choose between A, CNAME and ALIAS records deliberately
  • Validate an ACM certificate by DNS and understand why it renews
  • Plan a cutover around TTL instead of being surprised by it

CostLow cost

Low. A Route 53 hosted zone is $0.50/month and queries are fractions of a cent. ACM certificates are free. A domain, if you do not have one, is roughly $12/year.

How to clean up

The scenario#

The platform is reachable at d3bbb7tnfglcfh.cloudfront.net. That is fine for a test and unusable for anything real.

This is the same work that put egykode.com in front of this page, including the mistake that cost an hour.

Hands-on environment

Run it on AWS

This lab builds real cloud infrastructure, so it needs your own AWS account. Follow the cost and cleanup notes above — the resources are yours, and so is the bill.

Anything you tick here is your own record. EgyKode cannot see inside that terminal, so the success criteria stay self-assessed even when the environment checks your work for you.

A hosted zone

Step 1 of 5

Clean up#

Run this even if you did not finish.

DestructiveThis removes real resources. Check which environment you are in first.

Terminal
aws route53 list-resource-record-sets --hosted-zone-id <id>
# Delete non-default records, then the zone (a hosted zone bills monthly):
aws route53 delete-hosted-zone --id <id>
aws acm delete-certificate --certificate-arn <arn>

Cost of this lab: Low. A Route 53 hosted zone is $0.50/month and queries are fractions of a cent. ACM certificates are free. A domain, if you do not have one, is roughly $12/year.

Success criteria

0 of 4

The concept behind it

Ready to try it without help?Do the challenge

Next up

Lab 17 of 59 on the project path

EC2 Operations: SSM, CloudWatch Logs & MetricsOperate an instance without SSH: run commands, ship logs, and alarm on something that matters.50 minIntermediate

Previous: Static Site on S3 + CloudFront