This project uses AWS CDK to set up an infrastructure for image generation using AWS Bedrock.
This CDK application deploys the necessary resources to leverage AWS Bedrock for image generation tasks. AWS Bedrock is a fully managed service that makes it easy to use foundation models from leading AI companies through an API.
Before you begin, ensure you have the following installed:
- Node.js (version 18.x or later)
- AWS CDK CLI
- AWS CLI configured with appropriate credentials
- Model requested and available in your AWS account
- Clone this repository
- Navigate to the project directory
- Install dependencies
- Synthesize the CloudFormation template
- Deploy the stack
npm install
npm build
cdk synth
cdk deploy
To avoid incurring future charges, remember to destroy the resources when you're done:
cdk destroy