Aperçu du cours
Introduction
At DevOps Innovators, we are committed to leveraging the latest technologies to build scalable and efficient serverless applications. Recently, the team decided to adopt AWS SAM (Serverless Application Model) and Terraform for managing and deploying our serverless applications. This lab will guide you through the process of building a Lambda-based REST API using AWS SAM and Terraform, addressing common issues and ensuring a seamless deployment.
Objectives
Successfully complete this lab by achieving the following learning objectives:
- Set up the necessary tools and environment for AWS SAM and Terraform.
- Clone and configure a serverless application repository.
- Package and deploy the application using AWS SAM and Terraform.
- Verify the deployment and troubleshoot potential issues.
- Understand the integration between AWS SAM and Terraform for managing serverless applications.
Prerequisites
Before starting this lab, ensure you meet the following prerequisites:
- Knowledge of Serverless Architecture:
- Understanding of AWS Lambda, API Gateway, and DynamoDB.
- Familiarity with infrastructure as code (IaC) concepts.
- System Administration Skills:
- Basic command-line skills.
- Familiarity with AWS CLI and Terraform commands.
- Required Access and Configurations:
- AWS account with permissions to create and manage resources.
- Local setup with AWS CLI, Terraform, and AWS SAM CLI configured.
Required Materials and Software
- Computer with Stable Internet Access:
- You will need a computer with stable internet access to interact with AWS and the local development environment.
- AWS Account:
- Ensure you have an AWS account with permissions to create Lambda functions, API Gateway, and DynamoDB tables.
- Installed Tools:
- AWS CLI
- Terraform
- AWS SAM CLI