forked from aws-samples/aws-genai-llm-chatbot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added docs for private chatbot, updated CLI to use SupportedBedrockRe…
…gion type
- Loading branch information
Showing
5 changed files
with
33 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Private Chatbot | ||
|
||
Allows the deployment of a private chatbot via the 'npm run create' 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](https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-private.html) for your chosen domain. (i.e. chatbot.example.org) | ||
2. A Route 53 [Private Hosted Zone](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/hosted-zones-private.html) (i.e. for example.org) | ||
|
||
### During 'npm run create' | ||
```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 | ||
``` | ||
|
||
### After Private Deployment: | ||
1. In Route 53 [link the created VPC to the Private Hosted Zone (PHZ)](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/hosted-zone-private-associate-vpcs.html) | ||
2. In the PHZ, [add an "A Record"](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-to-elb-load-balancer.html) with your chosen subdomain (i.e. chatbot.example.org) that points to the website Application Load Balancer Alias. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters