Skip to content

Kuwabuga/domains-and-certificates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Domains and Certificates

Current default provider AWS region: eu-west-1

Current status

Linting and Unit Tests
Setup domains in Route53
Setup & validate certificates using ACM

Description

This service is responsible for, based on the list of domains provided, to:

  1. Create a hosted zone in Route53
  2. After we setup the DNS servers and they propragated through our domain, setup the certificates, in the spicified AWS regions

Technologies

It was used the Terraform CDK in order to define our infrastructure, written in TypeScript

Workflow

  1. Run the pipeline "Setup domains in Route53"
    • this will create all the hosted zones (domains) defined in the file domains.ts, for the given environment
  2. After the hosted zones are created in Route53, map the domains DNS
    • go to your domain manager and set the custom DNS to match the ones given by Route53
  3. Run the pipeline "Setup & validate certificates using ACM"
    • there should be one SSL certificate for each hosted zone defined in Route53, in each region specified in the file domains.ts