|
1 | 1 | [](https://awsaistack.com)
|
2 | 2 |
|
3 |
| -_The AWS AI Stack is a robust Serverless Compose & Framework scaffolding project |
4 |
| -you can deploy immediately, pay only for what you use, and remove the pieces you |
5 |
| -don't need._ |
| 3 | +**AWS AI Stack** – A ready-to-use, full-stack, boilerplate, using only AWS serverless services to deliver an LLM application powered by one or multiple models via AWS Bedrock (Claude 3.5 Sonnet, Llama3.1, Mistral Large 2, and many more). |
6 | 4 |
|
7 |
| -**[VIEW LIVE DEMO](https://awsaistack.com)** |
| 5 | +**[View the Live Demo – awsaistack.com](https://awsaistack.com)** |
8 | 6 |
|
9 |
| -This is an example project you can deploy immediately, without any additional |
10 |
| -configuration. Use this as a boilerplate project to get started with creating |
11 |
| -an AI Chat bot, authentication services, business logic, async workers, all on |
12 |
| -AWS Lambda, API Gateway, DynamoDB, and EventBridge. |
| 7 | +Use this as a boilerplate project to create an AI Chat bot, authentication services, business logic, async workers, all on AWS Lambda, API Gateway, DynamoDB, and EventBridge. |
13 | 8 |
|
14 |
| -This is a true serverless architecture, so you only pay for what you use. That |
15 |
| -is, you do not pay for idle. Some of the services, like DynamoDB, or AWS Bedrock |
16 |
| -trained models, may have additional storage costs. |
| 9 | +This is a true serverless architecture, so you only pay for what you use, not for idle time. Some services, like DynamoDB, or AWS Bedrock trained models, may have additional storage costs. |
17 | 10 |
|
18 |
| -This project is domain-oriented so you can easily remove the pieces you don't |
19 |
| -need, like AI Chat, authentication, etc. |
| 11 | +# Features |
20 | 12 |
|
21 |
| -Highlights of this project include: |
22 |
| - |
23 |
| -- **Custom AI Chat API & Website** |
24 |
| - - Lambda function URLs |
25 |
| - - Streaming responses |
26 |
| - - Using AWS Bedrock Models |
27 |
| -- **Custom Domain Names with Lambda** |
| 13 | +- **Full-Stack Application** |
| 14 | + - Backend: API (AWS API Gateway V2, AWS Lambda), Event-driven architecture (AWS Event-Bridge, AWS Lambda), Database (AWS DynamoDB), AI (AWS Bedrock) |
| 15 | + - Frontend: Vanilla React app. |
| 16 | +- **AI Chat & Streaming Responses** |
| 17 | + - Full serverless AI Chat architecture w/ streaming responses on AWS Lambda. |
| 18 | +- **Supports Multiple AI Models** |
| 19 | + - Use one or multiple models via AWS Bedrock: Claude 3.5 Sonnet, Llama3.1, Mistral Large 2, and many more. |
| 20 | +- **100% Serverless** |
| 21 | + - This is a true serverless architecture. It auto-scales and you only pay when users use it. Some services may have additional storage costs. |
| 22 | +- **Custom Domain Names** |
28 | 23 | - Custom domain names for API Gateway services using the `serverless-domain-manager` plugin
|
29 | 24 | - Custom domain names for Lambda services using CloudFront Distributions
|
30 |
| -- **Authentication with JWT Tokens** |
| 25 | +- **API & Event-Driven** |
| 26 | + - Express.js API placeholder service for your business logic |
| 27 | + - Shared EventBridge to public & subscribe to events |
| 28 | + - Worker service to process events from EventBridge |
| 29 | +- **Built-In Authentication** |
31 | 30 | - API Gateway authorizer
|
32 | 31 | - Login & Registration API on Lambda with Express.js
|
33 | 32 | - DynamoDB table to store user information
|
34 | 33 | - Shared library to provide JWT token authentication
|
35 | 34 | - Frontend website that uses login & registration API
|
36 |
| -- **Business API & Worker** |
37 |
| - - Express.js API placeholder service for your business logic |
38 |
| - - Shared EventBridge to public & subscribe to events |
39 |
| - - Worker service to process events from EventBridge |
40 |
| -- **Serverless Compose** |
41 |
| - - Shared configuration for all services |
42 |
| - - Stages & Params for different environments |
| 35 | +- **Multi-Environment** |
| 36 | + - Shared configuration for all services. |
| 37 | + - Separated configuration for different environments. |
| 38 | +- **Domain Oriented Architecture** |
| 39 | + - This project is domain-oriented so you can easily remove the pieces you don't need, like AI Chat, authentication, etc. |
43 | 40 | - **CI/CD with Github Action**
|
44 |
| - - Github Actions to deploy the services to prod |
45 |
| - - Github Actions to deploy PRs & remove services after merge |
| 41 | + - Github Actions to deploy the services to prod. |
| 42 | + - Github Actions to deploy PRs & remove services after merge. |
46 | 43 |
|
47 | 44 | # Getting Started
|
48 | 45 |
|
|
0 commit comments