This repository contains unofficial example code and documentation for deploying Strands Agents to third-party container services.
Strands Agents can be deployed to various cloud platforms using containerization. This repository provides ready-to-use examples for different deployment targets and programming languages.
Deploy Strands Agents using Docker containers:
- Python (
/docker/python/) - Python-based Strands Agent with FastAPI - TypeScript (
/docker/typescript/) - Node.js/TypeScript implementation
Deploy Strands Agents to Google Cloud Run:
- Python (
/cloudrun/python/) - Python-based Strands Agent with FastAPI - TypeScript (
/cloudrun/typescript/) - Node.js/TypeScript implementation
Deploy Strands Agents to Kubernetes clusters:
- Python (
/kubernetes/python/) - Python-based Strands Agent with FastAPI - TypeScript (
/kubernetes/typescript/) - Node.js/TypeScript implementation
- Choose your preferred language implementation
- Navigate to the corresponding directory
- Follow the deployment instructions in each example
- Configure your Strands Agent credentials and settings
- Docker installed locally
- Access to your chosen cloud platform (Google Cloud, Kubernetes cluster, etc.)
- Strands Agent installed + configured
strands-deploy-examples/
├── docker/
│ ├── python/ # Python Docker implementation
│ │ ├── README.md # Docker deployment guide
│ └── typescript/ # TypeScript Docker implementation
│ └── README.md # Docker deployment guide
├── cloudrun/
│ ├── python/ # Python Cloud Run implementation
│ │ ├── agent.py # Main agent code
│ │ ├── Dockerfile # Container configuration
│ │ └── requirements.txt
│ └── typescript/ # TypeScript Cloud Run implementation
│ ├── index.ts # Main agent code
│ ├── Dockerfile # Container configuration
│ └── package.json
├── kubernetes/
│ ├── python/ # Python Kubernetes implementation
│ │ ├── README.md # Kubernetes deployment guide
│ │ ├── agent.py # Main agent code
│ │ ├── Dockerfile # Container configuration
│ │ └── k8s-deployment.yaml
│ └── typescript/ # TypeScript Kubernetes implementation
│ ├── README.md # Kubernetes deployment guide
│ ├── index.ts # Main agent code
│ ├── Dockerfile # Container configuration
│ └── k8s-deployment.yaml
└── README.md
This is an unofficial repository. Feel free to submit issues and enhancement requests.