Amazon Web Services

By default, the template is setup to deploy to AWS S3. You'll need an AWS account to continue.

Configuring the app for deployment

Custom Domain

  1. Purchase a domain name

Provision an SSL certificate

  1. Navigate to the AWS Certificate Manager. Make sure your location is set to N. Virginia or us-east-1 - this is the only region allowed to have wildcard subdomains.
  2. Click "Request a certificate" and select "Request a public certificate"
  3. Add two domain names:
    • *
  4. Choose "DNS validation"
  5. Click "Confirm and request"
  6. Download the CNAME records CSV file.

Create an S3 bucket

  1. Navigate to AWS S3
  2. Click "Create bucket"
  3. Name your bucket after your domain, for example
  4. Select your nearest region and click "next."
  5. Click "next" again, leaving the default values for the "Properties" step.
  6. Uncheck "Block all public access" and click "Next"
  7. Click "Create Bucket"

Configure your S3 bucket

  1. Click on the name of your newly created bucket.
  2. Click the properties tab, and click "Static website hosting."
  3. Select "Use this bucket to host a website" and type in index.html for both the index and error documents. Click "save."
  4. Select the "Permissions" tab. Click "Bucket Policy."
  5. Past this bucket policy in the editor and be sure to replace <bucket-name> with your bucket's name:
    "Version": "2012-10-17",
    "Statement": [
    "Effect": "Allow",
    "Principal": "*",
    "Action": "s3:ListBucket",
    "Resource": "arn:aws:s3:::<bucket-name>"
    "Effect": "Allow",
    "Principal": "*",
    "Action": "s3:GetObject",
    "Resource": "arn:aws:s3:::<bucket-name>/*"

Create and configure a CloudFront Distribution

  1. Navigate to AWS CloudFront

Configure DNS records

  1. Navigate to AWS Route53