> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agno.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Customize AgentOS on AWS

> Iterate, customize, and manage your AgentOS AWS template for production.

Iterate, customize, and manage your AgentOS AWS template for production.

```python infra/settings.py theme={null}
infra_settings = InfraSettings(
    infra_name="my-custom-ai",
    aws_region="us-east-1",
    aws_subnet_ids=["subnet-123", "subnet-456"],
)
```

## Customization Flow

| Phase              | Action                                        |
| :----------------- | :-------------------------------------------- |
| **Development**    | Run locally with Docker to iterate on code.   |
| **Infrastructure** | Update resource definitions in `infra/`.      |
| **Production**     | Provision and update resources with Agno CLI. |
| **Automation**     | Use GitHub Actions for continuous deployment. |

## Key Areas

### 1. Infrastructure Settings

Configure `infra_name`, `aws_region`, `aws_subnet_ids`, and `image_repo` in `infra/settings.py`.

[Infra Settings guide](/deploy/templates/aws/configure/infra-settings)

### 2. Environments

Define development resources for Docker in `infra/dev_resources.py` and production resources for AWS ECS in `infra/prd_resources.py`.

[Development App](/deploy/templates/aws/configure/development-app) | [Production App](/deploy/templates/aws/configure/production-app)

### 3. Database

Define tables with SQLAlchemy and manage migrations with Alembic. Production databases migrate during task startup.

[Database & Migrations guide](/deploy/templates/aws/configure/database-tables)

### 4. Security

Manage environment variables in resource files. Local secrets are stored in a Git-ignored `secrets/` directory; production secrets use AWS Secrets Manager.

[Environment Variables](/deploy/templates/aws/configure/env-vars) | [Secrets Manager](/deploy/templates/aws/configure/secrets)

### 5. Python Dependencies

Add libraries to `pyproject.toml`. The template includes scripts to sync `requirements.txt` and rebuild images.

[Python Packages guide](/deploy/templates/aws/configure/python-packages)

### 6. CI/CD

Automate code validation (linting, testing) and image builds with pre-configured GitHub Actions.

[CI/CD guide](/deploy/templates/aws/configure/ci-cd)

### 7. Networking

Enable HTTPS and point custom Route 53 domains to your load balancer using ACM.

[HTTPS guide](/deploy/templates/aws/go-live/https)

### 8. Workflow

SSH into containers for debugging and onboard new team members.

[SSH Access](/deploy/templates/aws/configure/ssh-access) | [Add New Users](/deploy/templates/aws/configure/new-users)
