37 lines
764 B
Markdown
37 lines
764 B
Markdown
# Bifrost on AWS ECS
|
|
|
|
Deploys Bifrost as an ECS Fargate service with optional ALB and autoscaling.
|
|
|
|
## Prerequisites
|
|
|
|
- AWS account with appropriate permissions
|
|
- AWS CLI configured (`aws configure`)
|
|
- Terraform >= 1.0
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
# Copy and edit the example variables file
|
|
cp terraform.tfvars.example terraform.tfvars
|
|
|
|
# Deploy
|
|
terraform init
|
|
terraform plan
|
|
terraform apply
|
|
```
|
|
|
|
## Configuration
|
|
|
|
Two approaches can be combined:
|
|
|
|
1. **File-based** -- Set `config_json_file` to point to an existing `config.json`.
|
|
2. **Variable-based** -- Set individual variables (`config_store`, `logs_store`, `providers_config`). These override matching keys from the file.
|
|
|
|
See `terraform.tfvars.example` for examples of both.
|
|
|
|
## Cleanup
|
|
|
|
```bash
|
|
terraform destroy
|
|
```
|