Deploy AWS Lambda and DynamoDB using the Serverless Framework
Introduction
Objective
Service declaration
Deployment
Next Steps
Deploy AWS Lambda and DynamoDB using the Serverless Framework
Who is this for?
This learning path is for software developers interested in learning how to deploy serverless applications using the Serverless Framework and Amazon Web Services. It automates several manual deployment steps that developers typically need to perform when deploying microservice-based or IoT applications.
What will you learn?
After completing this Learning Path, you'll be able to perform the following tasks:
- Create a multi-resource Serverless Framework solution.
- Automate deployment of AWS Lambda function consuming data from DynamoDB.
Prerequisites
Before starting, you'll need the following prerequisites:
- A Windows on Arm computer such as the Lenovo Thinkpad X13s running Windows 11, or a Windows on Arm virtual machine
- A code editor such as Visual Studio Code for Arm64
- Completion of Deploy AWS services using the Serverless Framework
Summary
This summary was drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
You’ll deploy a temperature service with AWS Lambda and DynamoDB using the Serverless Framework. First, you’ll define a DynamoDB table, two Lambda functions, and their permissions in
serverless.yml. You’ll then deploy the service from its project directory and inspect the generated API endpoints. Finally, you’ll call the POST endpoint to write temperature data, and the GET endpoint to retrieve an average value.