Skip to content

Examples ​

Source: examples/. Most examples ship a docker-compose.yml and a demo.sh; check each README.

bash
cd examples/<name>
docker compose up -d
./demo.sh
docker compose down -v
ExamplePurposeRequiresSource
apigw-websocket-chatAPI Gateway WebSocket API with a Node.js Lambda that echoes each message back.OpenTofu, wscatGitHub
azure-keyvault-appGo app reads its config from a Key Vault secret, signs a payload with a Key Vault key and verifies it.Go, Bash (curl)GitHub
azure-servicebus-cosmos-workerGo worker consumes a Service Bus queue into Cosmos DB, plus a change-feed reader printing the new documents.Go, Bash (curl)GitHub
azure-servicesExercises Azure Blob/Queue/Table Storage and Azure Cosmos DB side-by-side in one gopherstack instance.Bash (curl, grep, head, sed)GitHub
cognito-api-authSecures API Gateway endpoints using Cognito User Pool Authorizer and JWTs.OpenTofu, BashGitHub
ddb-lambda-chainA 3-table event stream pipeline where DynamoDB Streams trigger a Go Lambda function.Go, BashGitHub
ec2-dockerDemonstrates provisioning EC2 instances and running SSH commands on them locally.Bash (ssh, dig)GitHub
elasticache-valkeyDemonstrates provisioning an ElastiCache Valkey cluster and connecting via embedded DNS.Bash (valkey-cli or redis-cli)GitHub
eventbridge-sqsRoutes custom events from Amazon EventBridge to an SQS queue.AWS CLI v2GitHub
extensionsExample: extensions.Docker Compose, BashGitHub
gcp-bigquery-gcs-loadUploads a CSV to Cloud Storage, runs a BigQuery load job and an aggregate query.Go, Bash (curl)GitHub
gcp-run-pubsub-pushA Cloud Run service (Docker image) receiving Pub/Sub push messages.Docker, Go, Bash (curl)GitHub
iam-role-enforcementIAM enforcement with STS AssumeRole: an assumed role is allowed on one bucket and table and denied on another.AWS CLI v2GitHub
kinesis-lambda-aggregatorKinesis stream invokes a Node.js Lambda to aggregate events into DynamoDB.OpenTofu, BashGitHub
s3-access-logsDemonstrates configuring S3 server access logging.AWS CLI v2GitHub
s3-lambda-processorS3 object uploads trigger a Go Lambda function to process the object.OpenTofu, Go, BashGitHub
sns-sqs-fanoutA pub/sub fanout architecture distributing SNS messages to multiple SQS queues.AWS CLI v2GitHub
stepfunctions-order-workflowServerless orchestration using Step Functions to manage an order processing state machine.OpenTofu, BashGitHub

Released under the MIT License.