deployment-aws-serverless-setup

Automate AWS serverless deployment setup for microservices with Go CDK.

Updated Oct 27, 2025
One-click install
npx skills add https://github.com/mariotoffia/gobridge --skill deployment-aws-serverless-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deployment-aws-serverless-setup
Source: https://github.com/mariotoffia/gobridge/tree/main/.cursor/skills/deployment-aws-serverless-setup
Command: npx skills add https://github.com/mariotoffia/gobridge --skill deployment-aws-serverless-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a guided, repeatable blueprint to set up a complete AWS serverless deployment for microservices, covering CDK Go infrastructure, Lambda handlers, DynamoDB schemas, and EventBridge integration.

Core Features & Use Cases

  • Infrastructure as Code: Defines a multi-resource serverless stack using AWS CDK in Go, including Lambda, API Gateway, DynamoDB, SQS, and EventBridge wiring.
  • Environment-driven Deployments: Supports dev/stage/prod with stage-specific stacks and version tagging for traceability.
  • Step-by-step Deployment Guide: Includes directory structure, CDK app, stack, and lambda entry points to boot a production-ready serverless service.
  • Use Case: A microservice platform that requires scalable API endpoints, event-driven processing, and resilient data storage with per-service isolation.

Quick Start

  1. Bootstrapping and deployment require AWS CLI v2, Node.js, and Go 1.25+. Install and configure credentials.
  2. Bootstrap CDK for your account and region, then run make deploy STAGE=dev VERSION=latest to provision the stack.
  3. After deployment, retrieve the API URL from CloudFormation outputs and test the API and event paths.

Frequently Asked Questions about deployment-aws-serverless-setup

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

FAQPage Schema
How do I automate AWS serverless deployment with CDK for microservices?

You can automate AWS serverless deployment by defining a multi-resource stack using AWS CDK in Go, including Lambda, API Gateway, DynamoDB, and EventBridge wiring. This provides a guided, repeatable blueprint to set up complete serverless microservices.

How do I deploy separate CDK stacks for dev, staging, and prod environments?

You deploy separate CDK stacks for dev, staging, and prod by using environment-driven deployments with stage-specific stacks. The process supports running a make deploy command with STAGE and VERSION variables to provision per-environment infrastructure.

What do I need to bootstrap a CDK serverless stack with Lambda and DynamoDB?

To bootstrap a CDK serverless stack you need AWS CLI v2, Node.js, and Go 1.25+ installed and configured. After bootstrapping CDK for your AWS account and region, you can run the deployment command to provision the stack.

Does this serverless setup use a single-table DynamoDB design with EventBridge?

Yes, this serverless setup uses a single-table DynamoDB design alongside EventBridge routing. It enforces infrastructure-as-code practices to wire event-driven processing and resilient data storage with per-service isolation.

What's the best way to structure a Go CDK project for Lambda and EventBridge?

The best way to structure a Go CDK project is by following a step-by-step directory layout that includes the CDK app, stack, and Lambda entry points. This structure boots a production-ready serverless service with scalable API endpoints.

How do I test an AWS serverless API after deploying via CDK?

To test an AWS serverless API after deploying via CDK, retrieve the API URL from the CloudFormation outputs. Once retrieved, you can use this URL to test both the API and event paths in your newly provisioned dev, staging, or prod environment.