11 个仓库
Testing of serverless functions within a local runtime environment featuring hot-reloading.
Distinct from Serverless Function Runtimes: Distinct from Serverless Function Runtimes: focuses on the local developer experience and testing loop rather than production runtimes.
Explore 11 awesome GitHub repositories matching devops & infrastructure · Local Serverless Testing. Refine with filters or upvote what's useful.
Floci is a local emulator for AWS services and cloud infrastructure designed for developing and testing applications without a live internet connection. It serves as a containerized cloud emulator and a serverless runtime emulator, allowing users to run high-fidelity replicas of cloud databases, queues, and compute services on a local machine. The project distinguishes itself by using real container images instead of simple mocks to ensure behavioral accuracy. It functions as a local API gateway simulator with proxy-based routing for REST and WebSocket APIs, and provides a serverless environm
Executes and reloads serverless functions in a local runtime to iterate on code without deploying to the cloud.
This is an infrastructure as code tool and serverless deployment orchestrator that provides a shorthand syntax for defining serverless infrastructure. It functions as a framework for transforming concise resource declarations into full AWS CloudFormation templates to automate the provisioning of cloud functions, APIs, and databases. The project distinguishes itself by using a macro-based transformation system to expand simplified resource types into detailed infrastructure components. It includes an automated permission mapping system that translates high-level resource interaction intents in
Provides a local runtime environment for simulating and testing serverless functions using containers.
AI Town is a TypeScript-based simulation engine used to create virtual environments where autonomous characters interact and socialize. It functions as a framework for orchestrating multiple AI agents within a persistent digital world, utilizing language models and a game engine to drive character behavior and social interactions. The project differentiates itself through a dedicated agent sandbox and a vector database agent store, which allow for the management of agent memories and world state. It integrates generative AI for background music and provides tools for simulation world design,
Provides a management interface to run and test serverless functions with custom arguments.
The AWS SAM Command Line Interface is a development toolkit used to define, emulate, and manage the lifecycle of serverless infrastructure. It serves as an infrastructure as code tool and a wrapper for AWS CloudFormation, allowing users to describe cloud resources through declarative templates. The project differentiates itself by providing a local serverless emulator that uses containers to execute and debug functions before they are deployed. It also enables rapid cloud iteration through real-time synchronization, which monitors local source code for changes and automatically pushes updates
Runs and debugs cloud functions on a local machine using containers to simulate the AWS environment.
aws-sam-local 是一个基于 Docker 的模拟器,用于在本地机器上运行和调试 AWS Lambda 函数及 API Gateway 配置。它提供了一个模拟 AWS Lambda 运行时的本地执行环境,允许在云部署前验证函数代码和无服务器应用程序模拟。 该项目利用运行时编排器来管理临时容器,复制云函数的隔离执行环境。它包括一个无服务器 API 网关模拟器和事件模拟工具,用于从 Kafka 和其他云触发器等源合成有效载荷。 该工具通过支持无服务器 API 的本地原型设计和各种云事件源的模拟,支持无服务器应用程序模型(Serverless Application Model)的更广泛开发周期。它提供了一个调试环境,用于识别无服务器函数中的错误,并完全控制执行状态。
Simulates AWS cloud services locally to accelerate the development cycle for serverless architectures.
docker-lambda 是一个基于 Docker 的无服务器模拟器和本地仿真器,旨在复制 AWS Lambda 运行时环境。它提供了一个系统,用于在本地执行无服务器函数,并通过容器化镜像镜像云执行环境。 该项目包含一个本地 API 服务器,允许通过 HTTP 调用函数,从而在测试期间消除冷启动。它具有一个构建工具,用于编译原生依赖项并使用专用系统镜像将函数代码打包到部署归档中。 该环境支持通过挂载本地目录来镜像共享依赖层,并利用文件系统监视来实现函数代码的热重载。它还提供了一种通过标准输入传递大型事件负载的机制,以绕过命令行长度限制。
Facilitates repeated local testing of serverless functions via an invocation API.
serverless-offline 是一个 Serverless Framework 插件,提供本地云基础设施模拟器。它充当 AWS Lambda 本地模拟器和 AWS API Gateway 模拟工具,允许在本地机器上开发和测试无服务器函数,而无需部署到远程提供商。 该项目的独特之处在于模拟双向 WebSocket 连接和消息路由,以及模仿 HTTP 网关的请求生命周期。它包含一个模拟身份验证器流水线,用于在本地验证令牌和 JWT,并支持将虚拟依赖层挂载到执行环境中。 该工具广泛涵盖了跨多种运行时的函数执行(具备隔离执行模式)、用于请求路由的云网关模拟,以及用于基于时间逻辑的定时事件触发模拟。它还提供了 SDK 调用模拟和请求上下文模拟功能,以促进本地集成测试。
Provides local runtime environments for testing serverless functions and their interactions.
Miniflare 是一个用于 Cloudflare Workers 的本地模拟器和仿真器。它在本地机器上提供了一个无服务器(serverless)运行时环境,允许在不部署到生产云环境的情况下开发和测试函数及边缘 API。 该项目实现了边缘存储原语的本地模拟,包括键值存储、对象存储和持久对象(Durable Objects)。它进一步启用了本地集成测试平台,其中无服务器函数在隔离的沙盒中执行。 该工具集涵盖了广泛的开发面,包括通过文件系统监控进行热重载、存储绑定的本地状态持久化,以及环境密钥管理。它还支持使用状态隔离容器进行自动化集成测试,以防止测试用例之间的数据泄漏。
Provides a local runtime environment for testing serverless functions with integrated hot-reloading.
This project is a comprehensive library of reference implementations and patterns for building web applications using the Go Fiber framework. It provides curated templates and implementation guides for creating REST APIs, web servers, and structured backend services. The repository serves as a practical resource for applying architectural patterns, including Clean and Hexagonal architectures, as well as port-and-adapter decoupling. It offers detailed examples for integrating common web features such as OAuth2 authentication, JWT verification, WebSockets for real-time communication, and server
Provides a local runtime environment for invoking and verifying serverless functions before deployment.
AWS Lambda Runtime Interface Emulator 是一个代理服务器,旨在在本地容器内复制云端无服务器(serverless)执行环境。它作为一个轻量级接口,允许开发者通过在本地机器上模拟远程控制平面和事件调用模型,来验证函数逻辑、性能和 API 集成。 该工具通过拦截 HTTP 请求并将其转换为无服务器函数处理程序所预期的结构化 JSON 事件负载来运行。它通过同步事件循环管理函数生命周期,并将包括安全凭证和元数据在内的本地配置设置直接映射到容器进程空间,以确保与生产环境的一致性。 除了标准的函数测试外,该模拟器还通过提供运行时接口的功能性实现,支持对自定义扩展和代理的验证。这允许在将容器化的无服务器应用及其相关组件部署到云端之前进行测试。
Simulates the cloud execution environment locally to verify function logic and performance before deployment.
Functions Framework for Python 是一个旨在构建和部署便携式无服务器函数的库。它使开发者能够编写模块化代码,以响应传入的 HTTP 请求或云事件,从而无需管理底层服务器基础设施或复杂的请求处理逻辑。 该框架提供了一致的运行时环境,将代码打包成便携式容器镜像,确保在各种云原生平台上的行为完全一致。它利用基于装饰器的注册来定义函数入口点,并包含一个模拟生产环境的本地开发服务器,允许在部署前在本地机器上进行测试和调试。 该框架处理传入的 Web 请求和云事件到结构化对象的转换,遵循标准化的事件模式定义和网关接口协议。它还集成了集中式错误拦截,以管理异常并在函数执行期间促进自定义响应。
Enables running and debugging cloud-ready functions on a local machine to verify logic before production deployment.