aws terraform_使用Terraform从Pipfile自动在AWS Lambda层进行python库部署

aws terraform

AWS Lambda, a part of Amazon Web Services (AWS) is a serverless computing service that works as FaaS (Function as a Service). A FaaS is a service which provides users to develop and manage application service without thinking about infrastructure.

AWS Lambda是Amazon Web Services(AWS)的一部分,是一种无服务器计算服务,用作FaaS(功能即服务) 。 FaaS是一项服务,可为用户提供开发和管理应用程序服务的功能,而无需考虑基础架构。

Terraform is an Infrastructure as Code (IaC) tool which is developed by Hasi Corp to manage resources of cloud services like AWS, Google Cloud, Azure, etc. It is open-source and developed by golang.

TerraformHasi Corp开发的基础结构即代码( IaC )工具,用于管理AWS,Google Cloud,Azure等云服务的资源。它是开源的,由golang开发。

It is always challenging to zip the codes and upload them for AWS Lambda every time at the time of deployment. The more complex part is to upload codes of libraries e.g python libraries. At Craftsmen, we need to manage a lot of lambdas for various development purposes. So a smart solution for uploading lambda function code and libraries while deployment is a crying need.

每次部署时,每次压缩邮政编码并为AWS Lambda上载它们始终是一个挑战。 更复杂的部分是上传库代码,例如python库。 在Craftsmen中 ,我们需要为各种开发目的管理大量的lambda。 因此,在部署时迫切需要一种用于上传lambda函数代码和库的智能解决方案。

Our approach is to upload function codes as function level and libraries in lambda layer. The reasons are 1. Share python libraries between lambdas2. The console code editor can onl

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值