- DevOps for Serverless Applications
- Shashikant Bangera
- 259字
- 2021-07-16 17:35:37
AWS Lambda with DevOps
To start implementing DevOps for AWS Lambda, we first create an assembly line. An assembly line outlines the stages involved when a developer creates code, tests the code, and then commits the code into a repository. The source code is pulled from the repository, and is then built and tested. After this, the static code analysis takes place. Once it is deployed into a production-like environment, acceptance tests are run against it. This is how the application is monitored, and how logging is managed. We will look at these stages using the recipes in this section. We will also look at two perspectives of DevOps—one through AWS's own set of tools, and the other through serverless frameworks, such as GitHub, Jenkins, Mocha (for testing), and JSHint (for source code analysis).
So the first step is to set up a local development environment where we can create a folder structure, add and change the source code, add images, and so on. We can run the source code locally, execute tests, and debug them for errors and failures. We will do this using a Node.js tutorial. We will set up a Node.js project from scratch with unit testing, source code analysis, and acceptance testing.
The Node.js application that I have created is a simple task manager. The underlying architecture is AWS Lambda functions with an API gateway to add, update, delete, and list the DynamoDB table. In short, we will be doing the create, read, update, and delete functions through AWS Lambda functions.
- 嵌入式Linux開發技術
- Mobile-first Bootstrap
- Ansible權威指南
- Arch Linux Environment Setup How-to
- 開源安全運維平臺OSSIM疑難解析:入門篇
- PLC控制系統應用與維護
- 嵌入式操作系統(Linux篇)(微課版)
- 操作系統分析
- 鴻蒙操作系統設計原理與架構
- OpenHarmony開發與實踐:基于紅莓RK2206開發板
- Linux系統管理初學者指南:基于CentOS 7.6
- 15分鐘!畫出我的漫畫角色:賣萌篇
- Learning Joomla! 3 Extension Development(Third Edition)
- Unity AR/VR開發:實戰高手訓練營
- Gradle Effective Implementations Guide(Second Edition)