Who is this for?

This is an introductory topic for software developers who want to learn how to deploy Lambda functions on AWS Graviton processors.

What will you learn?

Upon completion of this Learning Path, you will be able to:

  • Deploy Lambda functions on Graviton processors using Terraform.

Prerequisites

Before starting, you will need the following:

Summary

AI-assisted

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.

Close
?
You’ll deploy AWS Lambda functions on Graviton with Terraform. First, you’ll define Lambda resources and provide Node.js and Python function code. Then, you’ll apply the Terraform configuration to provision functions, and review the small code and configuration changes needed to move between Node.js and Python.

Frequently asked questions

AI-assisted

These FAQs were 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.

Close
?
Which architecture setting targets AWS Graviton for Lambda?
Use the arm64 architecture in your Terraform configuration to target Graviton processors.
How do I verify that the deployed Lambda function uses Arm64?
Open AWS Lambda in the AWS console, select Functions, and open your function. In Runtime settings, verify that the Architecture field is listed as arm64.
What file name and handler inputs does the Python example use?
Save the Python function as python_lambda.py. The handler reads event["first_name"] and event["last_name"] to build the returned message.
How do I test the Python Lambda function in the AWS console?
Open the function’s Test tab, enter {"first_name": "Arm-", "last_name": "user"} in the Event JSON field, and select Test. You should see the same output as when you run the function with Terraform.
What result should I expect after applying Terraform?
Terraform creates a Lambda function configured to run on arm64. When invoked with the expected inputs, the example returns a greeting message.
Next