Skip to content

Latest commit

Β 

History

History
79 lines (58 loc) Β· 2.86 KB

File metadata and controls

79 lines (58 loc) Β· 2.86 KB

Strands Deploy Examples

This repository contains unofficial example code and documentation for deploying Strands Agents to third-party container services.

Overview

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.

Available Examples

Docker

Deploy Strands Agents using Docker containers:

  • Python (/docker/python/) - Python-based Strands Agent with FastAPI
  • TypeScript (/docker/typescript/) - Node.js/TypeScript implementation

Google Cloud Run

Deploy Strands Agents to Google Cloud Run:

  • Python (/cloudrun/python/) - Python-based Strands Agent with FastAPI
  • TypeScript (/cloudrun/typescript/) - Node.js/TypeScript implementation

Kubernetes

Deploy Strands Agents to Kubernetes clusters:

  • Python (/kubernetes/python/) - Python-based Strands Agent with FastAPI
  • TypeScript (/kubernetes/typescript/) - Node.js/TypeScript implementation

Quick Start

  1. Choose your preferred language implementation
  2. Navigate to the corresponding directory
  3. Follow the deployment instructions in each example
  4. Configure your Strands Agent credentials and settings

Prerequisites

  • Docker installed locally
  • Access to your chosen cloud platform (Google Cloud, Kubernetes cluster, etc.)
  • Strands Agent installed + configured

Project Structure

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

Contributing

This is an unofficial repository. Feel free to submit issues and enhancement requests.