Files
awesome-kubernetes/v2-docs/aws-serverless.md

29 KiB
Raw Blame History

AWS Serverless

!!! info "Architectural Context" Detailed reference for AWS Serverless in the context of Cloud Providers (Hyperscalers).

Standard Reference

API Management

GraphQL and AppSync

Security

  • (2022) How to enforce user quota on AWS AppSync with Lambda Authorizer [JAVASCRIPT CONTENT] [ADVANCED LEVEL] [COMMUNITY-TOOL] — Demonstrates how to design custom Lambda Authorizers for AWS AppSync (GraphQL) to implement rate-limiting, user tier quotas, and tenant-based isolation. Reduces compute strain by verifying credentials and quotas at the API edge.

Cloud Platforms

Serverless Architecture

AWS Lambda

  • (2025) AWS Lambda Limits [NONE CONTENT] [COMMUNITY-TOOL] [GUIDE] — The critical reference table mapping AWS Lambda system quotas. Outlines payload thresholds, execution timeouts, ephemeral storage configurations, and concurrency parameters necessary for scalable platform designs.
  • (2024) you can use Python with AWS Lambda [PYTHON CONTENT] [DOCUMENTATION] [COMMUNITY-TOOL] — The authoritative documentation for designing, packaging, and optimizing Python functions running inside AWS Lambda. Detail runtime limits, library dependencies, and context executions.
  • (2023) Security Overview of AWS Lambda [NONE CONTENT] [ADVANCED LEVEL] [CASE STUDY] [COMMUNITY-TOOL] — The authoritative AWS security whitepaper detailing the multi-tenant isolation architectures of Firecracker microVMs. Explores IAM execution policies, VPC security group associations, and transport encryption controls.
  • (2021) dashbird.io: Deploying AWS Lambda with Docker Containers: I Gave it a Try and Heres My Review [NONE CONTENT] [COMMUNITY-TOOL] — An engineering review of packaging and deploying AWS Lambda targets as OCI-compliant Docker containers. Analyzes cold-start impacts, image composition strategies, and orchestration workflow modifications.
  • (2021) aws.amazon.com: Operating Lambda: Understanding event-driven architecture Part 1 [NONE CONTENT] [ADVANCED LEVEL] [COMMUNITY-TOOL] [GUIDE] — A foundational multi-part operational guide from AWS technical evangelists focusing on event-driven serverless architectures. Explores decoupled communication, idempotent execution, and event processing.
  • (2021) aws.amazon.com: Optimizing Lambda functions packaged as container images [NONE CONTENT] [ADVANCED LEVEL] [COMMUNITY-TOOL] [GUIDE] — Highly technical optimization guide for serverless containers. Focuses on cache warming, base image choices, and reducing multi-tier image footprints to minimize cold start latency.
  • (2020) Using Amazon EFS for AWS Lambda in your serverless applications [NONE CONTENT] [ADVANCED LEVEL] [COMMUNITY-TOOL] [GUIDE] — Detailed implementation pattern describing how to mount Amazon Elastic File System (EFS) onto serverless Lambda functions. This unlocks local high-performance file sharing, and heavy workload storage operations.
  • (2020) cloudonaut.io: Serverless Hybrid Cloud: Accessing an API Gateway via VPN or Direct Connect [NONE CONTENT] [ADVANCED LEVEL] [COMMUNITY-TOOL] — An engineering case study showcasing how to securely route public API Gateway requests into localized networks via VPN tunnels or Direct Connect links. Details complex hybrid serverless network setups.
  • (2016) AWS Lambda, Echo, and the Future of Cloud Automation [NONE CONTENT] [COMMUNITY-TOOL] — A historical analysis of voice automation and early event-driven serverless architectures using AWS Lambda alongside smart devices. Serves as a reference for evolutionary IoT and API integration models.

Concepts

  • (2022) Serverless: The Future of Software Architecture? [NONE CONTENT] [LEGACY] — An evolutionary study evaluating the long-term design patterns of serverless architectures. Compares legacy VM deployments with transient, stateless event handlers to optimize computational costs.

Resources

  • (2025) Youtube channel: AWS Serverless [NONE CONTENT] [COMMUNITY-TOOL] — AWS's official developer video channel focusing on serverless systems design. Shares step-by-step engineering tutorials on EventBridge, Step Functions, and API Gateway optimization.

Container Orchestration

AWS ECS and Fargate

Machine Learning Ops

  • (2020) Deploy Machine Learning Pipeline on AWS Fargate [PYTHON CONTENT] [ADVANCED LEVEL] [COMMUNITY-TOOL] [GUIDE] — Describes deploying modular machine learning pipeline tasks onto AWS Fargate containers. Demonstrates cost savings from using serverless container architectures instead of maintaining idle GPU/CPU virtual machine clusters for inference engines.

Performance Optimization

Storage Architecture

  • (2021) Amazon EFS with Amazon ECS and AWS Fargate Part 1 [N/A CONTENT] [ADVANCED LEVEL] [LEGACY] — A detailed developer's guide showing how to mount elastic, multi-writer shared storage structures (Amazon EFS) onto transient AWS ECS containers running under AWS Fargate. Highly critical for migrating legacy workloads requiring stateful configurations.

Kubernetes and EKS

Serverless Containers

  • (2022) deloitte.com: Fargate con EKS [SPANISH CONTENT] [ADVANCED LEVEL] [COMMUNITY-TOOL] — Evaluates using AWS Fargate with Amazon EKS to run serverless Kubernetes pods. Eliminates the overhead of configuring, patching, and scaling standard EC2 worker node pools, transferring structural management duties back to AWS.

DevOps and CICD

Serverless Deployment

AWS SAM

AWS SAM Pipelines

Infrastructure as Code

AWS CDK

Serverless IaC

AWS SAM (1)

Fundamentals

Terraform

Serverless Provisioning

  • (2023) terrateam.io: AWS Lambda Function with Terraform [HCL CONTENT] [COMMUNITY-TOOL] — Demonstrates how to configure and deploy AWS Lambda functions natively using HashiCorp Terraform. Covers managing the function zip package, continuous IAM role updates, integration with API Gateway, and dealing with Terraform's state transitions.

Modernization

Monolith Migration

.NET Core

  • (2022) Migrating a monolithic .NET REST API to AWS Lambda [C# CONTENT] [ADVANCED LEVEL] [CASE STUDY] [CASE STUDY] [COMMUNITY-TOOL] — Formulates a structured migration plan to convert a monolithic ASP.NET Core Web API into a serverless AWS Lambda execution environment. Evaluates the use of the Amazon.Lambda.AspNetCoreServer bridge, highlighting cold start profiling and memory management strategies.

Observability and Monitoring

CloudWatch

Alerting Systems

Security and Governance

IAM and Access Control

ABAC

Kubernetes Compliance

Infrastructure Translation

  • (2023) ==github.com/awslabs/specctl== 258 [GO CONTENT] [ADVANCED LEVEL] 🌟🌟🌟🌟🌟 [DE FACTO STANDARD] — A specialized security tool developed by AWS Labs to parse, extract, and map standard Kubernetes manifest objects or ECS task definitions directly into AWS infrastructure controls. Analyzes security and network isolation requirements.

Secret Management

Go Runtime

  • (2022) ==aidansteele/secretsctx== [GO CONTENT] [ADVANCED LEVEL] 🌟🌟🌟🌟🌟 [DE FACTO STANDARD] — A Go-based runtime library designed to inject dynamic secrets from external storage layers directly into context-aware serverless pipelines. By managing runtime secret validation outside main configuration structures, it significantly reduces code complexity.

Serverless Architecture (1)

API Gateway

REST APIs

AWS Lambda (1)

Antipatterns

  • (2021) Issues to Avoid When Implementing Serverless Architecture with AWS Lambda [N/A CONTENT] [ADVANCED LEVEL] [COMMUNITY-TOOL] — Identifies critical pitfalls in serverless system designs, including over-allocated memory tiers, synchronous Lambda chaining, and poor database connection reuse. Offers concrete architectural remediations like asynchronous message queuing and utilizing RDS Proxy for connection pooling.

Cold Starts

  • (2022) aws.amazon.com: New Accelerate Your Lambda Functions with Lambda SnapStart [N/A CONTENT] [ADVANCED LEVEL] [COMMUNITY-TOOL] — Introduces AWS Lambda SnapStart, an optimization technique that dramatically reduces startup latency for Java runtimes by capturing and caching memory/disk snapshots of initialized microcontainers. Sub-second cold starts are achieved with minimal code changes.

Concurrency and Scaling

  • (2023) aws.amazon.com: Understanding AWS Lambda scaling and throughput [N/A CONTENT] [ADVANCED LEVEL] [COMMUNITY-TOOL] — Breaks down AWS Lambda's concurrency allocation models, describing burst limits, provisioned concurrency, and account-wide throttling mechanisms. Essential for architects designing low-latency architectures under erratic user workloads.

Configuration Management

  • (2021) Deploying AWS Lambda layers automatically across multiple Regions [N/A CONTENT] [ADVANCED LEVEL] [COMMUNITY-TOOL] — Provides an automation framework for replicating Lambda Layers across multiple geographical AWS regions. Ensures dependency consistency, reduces manual overhead in multi-region failover setups, and leverages CloudFormation and Step Functions for automated version control.

Fundamentals (1)

  • (2021) infoworld.com: Serverless computing with AWS Lambda, Part 1 [N/A CONTENT] [COMMUNITY-TOOL] — A foundational guide introducing AWS Lambda's core event-driven architecture, compute-on-demand scaling models, and pricing structures. It discusses cold start implications, resource allocation limits, and the initial shift away from persistent virtual machine infrastructure towards highly transient microservices.

Hardware Platforms

Java Runtimes

  • (2022) infoworld.com: AWS Lambda kickstarts Java functions [JAVA CONTENT] [COMMUNITY-TOOL] — Discusses the architectural impacts of AWS Lambda SnapStart on Java microservices. Addresses how this feature shifts the paradigm for enterprise Java, making frameworks like Spring Boot and Quarkus viable alternatives for low-latency serverless operations.

Performance Optimization (1)

  • (2022) dashbird.io: 4 Tips for AWS Lambda Optimization for Production [N/A CONTENT] [COMMUNITY-TOOL] — Focuses on advanced optimization techniques for AWS Lambda in high-throughput environments. It covers cold start mitigation, memory provisioning tuning to balance cost and performance, connection pooling for databases, and leveraging structured execution logs for real-time observability.

Caching

Data Management

  • (2022) Data Caching Across Microservices in a Serverless Architecture [N/A CONTENT] [ADVANCED LEVEL] [COMMUNITY-TOOL] — Evaluates architectural strategies for distributed caching within serverless applications. It highlights the use of Amazon ElastiCache (Redis) and DynamoDB Accelerator (DAX) to alleviate performance bottlenecks, reduce database round-trips, and maintain low latency in ultra-elastic stateless execution environments.

Databases

Selection Criteria

Event-Driven

Design Patterns

  • (2022) dev.to: Event driven architectures using AWS with example [N/A CONTENT] [COMMUNITY-TOOL] — Breaks down standard Event-Driven Architecture (EDA) paradigms, demonstrating asynchronous patterns utilizing AWS EventBridge, SQS, and Lambda. Illustrates decoupling domains to achieve maximum system scalability and operational tolerance.

Messaging and Integration

Webhooks

  • (2022) dev.to: Manage webhooks at scale with AWS Serverless [TYPESCRIPT CONTENT] [COMMUNITY-TOOL] — Details a resilient cloud architecture designed to consume, validate, and process high-volume webhook traffic. Employs Amazon API Gateway to ingest requests, Amazon SQS to decouple workloads, and AWS Lambda to asynchronously process events, minimizing drop rates during traffic spikes.

Orchestration

AWS Step Functions

  • (2024) AWS Step Functions [N/A CONTENT] [COMMUNITY-TOOL] — A managed serverless orchestration service that simplifies state machine design for multi-step microservices. It coordinates complex distributed workflows, manages execution state, handles built-in retries, and integrates natively with over 200 AWS services to prevent deep nesting of Lambda functions.

💡 Explore Related: Googlecloudplatform | Edge Computing | Azure