serverless-samples  by aws-samples

Serverless application code samples

created 4 years ago
309 stars

Top 88.0% 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

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
4
Issues (30d)
0
Star History
20 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.