Skip to content

awsdataarchitect/bedrock-recipe-app-cdk

Repository files navigation

Open source example code for a Food Recipe - Generative AI App on ECS, powered by AWS Bedrock Managed FM Models using CDK

This is a CDK project written in TypeScript that provisions a Streamlit UI based Generative AI App powered by AWS Bedrock running on an ECS Fargate Cluster in a VPC with Public Subnets and associated IAM Roles/Policies, Security Groups, Route Tables, Internet Gateway and an Application Load Balancer.

The cdk.json file tells the CDK Toolkit how to execute your app.

Useful commands

  • npm run build compile typescript to js
  • npm run watch watch for changes and compile
  • npm run test perform the jest unit tests
  • cdk deploy deploy this stack to your default AWS account/region
  • cdk diff compare deployed stack with current state
  • cdk synth emits the synthesized CloudFormation template