Skip to content

lizradway/strands-deploy-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Unofficial Strands container deployment examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published