aws-lambda

Deploy Trebuchet actors to AWS Lambda with DynamoDB and WebSocket streaming.

Updated Jan 27, 2026
One-click install
npx skills add https://github.com/briannadoubt/trebuchet-plugin --skill aws-lambda
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-lambda
Source: https://github.com/briannadoubt/trebuchet-plugin/tree/main/skills/aws-lambda
Command: npx skills add https://github.com/briannadoubt/trebuchet-plugin --skill aws-lambda

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill simplifies deploying Trebuchet actors to AWS by providing a cohesive workflow that wires Lambda deployments, DynamoDB state storage, CloudMap service discovery, and API Gateway WebSocket streaming. It reduces setup complexity and ensures production-ready configurations for scalable real-time applications.

Core Features & Use Cases

  • Serverless deployment: Trebuchet actors run on AWS Lambda with cross-compilation for ARM64.
  • State persistence: DynamoDB-backed actor state storage for fault-tolerant workflows.
  • Service discovery: CloudMap-based automatic actor discovery and routing.
  • WebSocket streaming: Real-time bidirectional communication through API Gateway WebSocket.
  • Operator tooling: Lambda handler implementation, connection management, and cost optimization guidance.
  • Use Case: Deploy a real-time multiplayer game server where actors manage rooms and players with low latency.

Quick Start

trebuchet init --name my-game-server --provider aws trebuchet deploy --provider aws --region us-east-1

Frequently Asked Questions about aws-lambda

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy serverless actors to AWS Lambda for real-time applications?

Deploy serverless actors to AWS Lambda by using the trebuchet CLI with cross-compilation for ARM64, wiring Lambda execution with API Gateway WebSocket streaming for real-time bidirectional communication.

What's the best way to manage state persistence for AWS Lambda actors?

Manage AWS Lambda actor state persistence using DynamoDB-backed storage, which provides fault-tolerant workflow management and ensures state recovery for serverless applications.

Does this Trebuchet AWS deployment workflow support WebSocket connections?

Yes, this deployment supports WebSocket connections through API Gateway, enabling real-time bidirectional communication and connection management for scalable applications like multiplayer game servers.

Do I need Docker and AWS credentials to deploy Trebuchet actors to Lambda?

Yes, you need Docker for cross-compilation and valid AWS credentials to deploy Trebuchet actors to Lambda, with optional Terraform available for managing the underlying infrastructure.

How does CloudMap service discovery work with AWS Lambda actors?

CloudMap provides automatic actor discovery and routing for AWS Lambda deployments, ensuring that serverless actors can dynamically locate and communicate with each other across the infrastructure.

Can I use this serverless deployment approach for a multiplayer game server?

Yes, you can deploy a real-time multiplayer game server where actors manage rooms and players with low latency, utilizing Lambda execution and WebSocket streaming for scalable gameplay.