简体   繁体   English

如何在没有 AWS 账户和 Docker 的情况下在本地运行 lambda function?

[英]How to run lambda function without AWS account and Docker on Local?

I am trying to execute Lambda function using SAM-CLI on local without docker.我正在尝试在没有 docker 的本地使用 SAM-CLI 执行 Lambda function。 So, I have question that, is it possible to run lambda function without AWS account and Docker on Local?所以,我有疑问,是否可以在没有 AWS 帐户的情况下运行 lambda function 和 Docker 在本地运行?

No, docker is a required prerequisite to invoke sam function locally.不,docker 是在本地调用 sam function 的必要先决条件。 Even if you use localstack , you need docker.即使你使用localstack ,你也需要 docker。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在本地计算机上模拟 AWS Parameter Store 进行 lambda 函数开发? - How to emulate AWS Parameter Store on local computer for lambda function development? 如何在AWS Lambda处理程序触发之前运行异步功能 - How to run async function before AWS Lambda handler triggers 为什么 bcryptjs 在 AWS Lambda 上比在本地 docker 上慢? - Why is bcryptjs slower on AWS Lambda than in local docker? AWS Lambda持续时间与功能运行时间 - AWS Lambda Duration vs Function run time Nestjs 在 lambda 函数上运行而不创建与 AWS API Gateway 结合的实际服务器? - Nestjs run on lambda function without creating an actual server to combine with AWS API Gateway? 如何在 docker 中为 AWS lambda 安装 puppeteer? - how to install puppeteer for AWS lambda inside docker? 如何调试 aws lambda 函数? - How to debug a aws lambda function? 如何在 VS Code 中调试本地 AWS Lambda function 与 API 网关编写在 Z558B544CF685F39D8B67E4 中? - How to debug in VS Code a local AWS Lambda function with API Gateway written in TypeScript? 无法将 Node.js AWS Lambda 函数部署到 Docker - Unable to deploy the Node.js AWS Lambda function to Docker AWS Lambda函数超时,但可在本地实例上使用 - AWS Lambda function times out but works on local instance
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM