In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the relevant knowledge of "how to deploy programs on AWS's Lambda". Many people will encounter this dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Introduction to Serverless
Serverless is very popular these days, and serverless applications allow us to easily and quickly launch some functions without worrying about the underlying infrastructure.
So today let's use the idea of Serverless to deploy our program on the AWS.
Subject
Deploy an integrated application of nails and kintone on AWS. Clock in data that allows kintone to synchronize at any time. (there is a record of clocking in on the nails)
Process flow
Create npm project, write code = > set up nailing application = > set up IAM account for AWS = > set up vpc for AWS = > set up API Gateway gateway for AWS = > set up Lambda = > kintone custom development
Kintone Settin
First, we create a kintone app and add a single-line text box field to the app to save the punch address passed by the pin. And open the "API token" and set access permissions so that the application can add data through API.
Server-side development
Create a npm project and import kintone's js sdk dependency package.
Npm init
Npm install-- save @ kintone/kintone-js-sdk request request-promise
Kintone/kintone-js-sdk is the js sdk of kintone. For specific usage, please see the document https://kintone.github.io/kintone-js-sdk/latest/.
For the development of nails, see another article, https://cybozudev.kf5.com/hc/kb/article/1295078.
The following is the specific code for synchronizing the pinning data, which we named index.js
For more specific development code, please refer to
Https://cybozudev.kf5.com/hc/kb/article/1296149
That's all for the content of "how to deploy programs on AWS's Lambda". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.