serverless-samples  by aws-samples

Serverless application code samples

Created 4 years ago
312 stars

Top 86.3% on SourcePulse

GitHubView on GitHub
Project Summary

This repository provides a collection of AWS serverless application samples, targeting developers and architects building cloud-native solutions. It showcases practical implementations for various use cases, including AI-powered assistants, containerized applications, REST APIs, GraphQL APIs, and event-driven architectures, aiming to accelerate development and improve operational excellence.

How It Works

The samples leverage a variety of AWS services such as API Gateway, Lambda, ECS, Fargate, EventBridge, and SQS. Architectural patterns demonstrated include integrating Amazon Bedrock agents for AI-driven governance, dual deployment for Lambda and ECS, CI/CD pipelines with automated testing and observability for REST and GraphQL APIs, and secure private API implementations. The approach emphasizes "governance as code" and real-time feedback loops within development workflows.

Quick Start & Requirements

  • Installation: Varies by sample; typically involves AWS CLI, SAM CLI, Terraform, or Docker.
  • Prerequisites: AWS account, specific AWS service configurations, potentially Docker, Node.js, Python, and other language runtimes depending on the sample.
  • Resources: Samples often require deployment via Infrastructure as Code (IaC) tools.
  • Links: AWS Samples GitHub, Serverless Application Repository

Highlighted Details

  • AI-powered API development assistant using Amazon Bedrock agents and customizable knowledge bases.
  • Demonstrations of running container images on both AWS Lambda and AWS Elastic Container Service (ECS).
  • End-to-end serverless REST and GraphQL API examples with CI/CD, testing, and observability.
  • Solutions for integrating Terraform and AWS SAM via AWS Systems Manager Parameter Store.
  • Examples for private API implementations, multi-regional deployments, and WebSocket API integrations.

Maintenance & Community

This repository is part of the official AWS Samples organization. Contributions are welcome via pull requests. Details on contributing and code of conduct are available.

Licensing & Compatibility

  • License: MIT-0 License.
  • Compatibility: Permissive license allows for commercial use and integration with closed-source projects.

Limitations & Caveats

The repository contains a diverse set of samples, each with its own specific dependencies and deployment requirements. Users must consult individual sample READMEs for detailed setup instructions and potential limitations. Some samples may represent specific workarounds or demonstrations of particular features rather than fully production-ready, opinionated frameworks.

Health Check
Last Commit

3 days ago

Responsiveness

1 week

Pull Requests (30d)
6
Issues (30d)
0
Star History
5 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Will Brown Will Brown(Research Lead at Prime Intellect), and
7 more.

cohere-toolkit by cohere-ai

0.7%
3k
RAG toolkit for LLM application development and deployment
Created 1 year ago
Updated 5 days ago
Starred by Joe Walnes Joe Walnes(Head of Experimental Projects at Stripe), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
21 more.

E2B by e2b-dev

0.5%
10k
Open-source cloud runtime for AI apps and agents
Created 2 years ago
Updated 1 day ago
Starred by Pawel Garbacki Pawel Garbacki(Cofounder of Fireworks AI), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
2 more.

gpt4free by xtekky

0.1%
65k
API package for multi-provider LLM requests (GPT-4.1, Gemini 2.5, Deepseek R1)
Created 2 years ago
Updated 5 days ago
Feedback? Help us improve.