Skip to content

Private Chatbot

Allows the deployment of a private chatbot via the 'npm run config' CLI setup.

  • VPC only accessible website with an Application Load Balancer in front of an S3 hosted website.
  • Private Appsync APIs and Web Sockets
  • VPC endpoints for AWS services
  • Utilises a AWS Private CA certifice
  • Utilises a Amazon Route 53 Private Hosted Zone and Domain

Prerequisites: Private Chatbot Deployment

  1. AWS Private CA issued ACM certificate for your chosen domain. (i.e. chatbot.example.org)
  2. A Route 53 Private Hosted Zone (i.e. for example.org)

During 'npm run config'

shellsession
$ ✔ Do you want to deploy a private website? I.e only accessible in VPC (Y/n) · 
true
$ ✔ ACM certificate ARN · 
arn:aws:acm:us-east-1:1234567890:certificate/12345678-1234-1234-1234-12345678
$ ✔ Domain for private website · 
chatbot.example.org
$ ✔ Do you want to deploy a private website? I.e only accessible in VPC (Y/n) · 
true
$ ✔ ACM certificate ARN · 
arn:aws:acm:us-east-1:1234567890:certificate/12345678-1234-1234-1234-12345678
$ ✔ Domain for private website · 
chatbot.example.org

After Private Deployment:

  1. In Route 53 link the created VPC to the Private Hosted Zone (PHZ)
  2. In the PHZ, add an "A Record" with your chosen subdomain (i.e. chatbot.example.org) that points to the website Application Load Balancer Alias.

This library is licensed under the MIT-0 License.