Prerequisites
Required Tools
Section titled “Required Tools”| Tool | Minimum Version | Purpose |
|---|---|---|
| Terraform | ≥ 1.5 | Infrastructure provisioning |
| AWS CLI | ≥ 2.0 | Authentication and resource verification |
Verify your installed versions:
terraform versionaws --versionAWS Permissions
Section titled “AWS Permissions”Your AWS credentials must have permissions to create and manage:
| Service | Resources |
|---|---|
| Amazon ECS | Cluster, Express Gateway ServiceThe aws_ecs_express_gateway_service Terraform resource that provisions an ECS service with managed ALB, auto scaling, and simplified configuration for HTTP/HTTPS web applications and APIs. , task definitions |
| VPC Virtual Private Cloud — an isolated virtual network within AWS where resources are deployed. | VPC, subnets,
Internet Gateway |
| IAM | Task Execution Role |
| Elastic Load Balancing | (managed by Express Mode) |
Bedrock Model Access
Section titled “Bedrock Model Access”The demo uses Amazon Bedrock
AWS fully managed service providing foundation models for generative AI applications. for image analysis via a Foundation Model
A pre-trained large language or multimodal model available through Amazon Bedrock. . Two conditions must be met:
Marketplace Agreement
Section titled “Marketplace Agreement”- Open the Amazon Bedrock console
- Navigate to Model access
- Request access to Anthropic Claude models
- Wait for status to show Access granted
Regional Availability
Section titled “Regional Availability”Your deployment region must support the chosen model. Check the Bedrock model support by region documentation.
The demo uses an Inference Profile
A Bedrock configuration that specifies model parameters and routing for inference requests. to route requests to the correct endpoint.
aws_region = "ap-southeast-2"