简体   繁体   中英

Deploying lambda applications on AWS

I am writing AWS Lambda functions for my project (node) and now trying to figure out the best way to deploy these. Ideally I would want to

  1. Convert the ES7 code into a version lambda can understand possibly using webpack.
  2. Deploy using a command line tool or some npm package.

What is the best way to get this done?

You can use serverless and serverless-webpack to do both of those.

serverless is a deployment and configuration tool.

serverless-webpack is a plugin for serverless that will compile your ES7 code upon deployment.

Either you canzip it and upload it or you can use automate the deployment with AWS CodePipelne. Please see here more details about automated deployment

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM