AWS Lambda的源代码控制和部署 [英] Source Control and deployment for AWS Lambda

查看:125
本文介绍了AWS Lambda的源代码控制和部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有人提出了一个很好的解决方案来进行源代码控制并将代码部署到AWS Lambda?我真的很讨厌我必须一直压缩文件并上传它们.是否有更好的方法来做到这一点,也许是一种服务会根据Lambda的更改推送代码?

Has anybody come up with a good solution to source control and deploy code to AWS Lambda? I really hate that I have to zip the files all the time and upload them. Is there a better way to do this perhaps a service that pushes code based on changes to Lambda?

推荐答案

您可以尝试无服务器框架这.当前的Beta版看起来非常有前途.

You can try Serverless Framework for this. Current beta looks very promising.

无服务器框架允许您在没有任何服务器的情况下构建整个应用程序.它结合了AWS API Gateway和AWS Lambda函数,并支持自动部署.

Serverless Framework allow you to build entire application without any servers. It combines AWS API Gateway with AWS Lambda functions and supports auto-deployment.

Beta v1版本仅支持NodeJS,但它们计划支持所有语言.

Beta v1 release supports NodeJS only, but they plan to support for all languages.

项目文档: http://docs.serverless.com/v0.5.0/docs

这篇关于AWS Lambda的源代码控制和部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆