-
FIND ALL YOUR CYBER SECURITY ANSWERS ON OUR WIKI PAGE
The Cert2Connect wiki for a clear overview of terminology and the many abbreviations in the cyber, cloud and software security landscape.
AWS SAM
AWS SAM
AWS SAM (Serverless Application Model) is an open-source framework provided by Amazon Web Services (AWS) to simplify the development, deployment, and management of serverless applications on AWS Lambda and other serverless services. SAM extends the capabilities of AWS CloudFormation to support the serverless paradigm, making it easier to define and manage serverless resources as code.
Key features and concepts of AWS SAM include:
- Serverless Application Definition: SAM allows you to define serverless applications using YAML or JSON templates. It introduces simplified syntax for defining AWS resources, such as Lambda functions, API Gateway endpoints, DynamoDB tables, and more.
- Local Development and Testing: SAM provides a local development environment called "SAM Local" that enables you to test and debug serverless applications on your local machine before deploying them to AWS.
- Lambda Function Configuration: SAM supports defining event triggers for Lambda functions, such as API Gateway, S3, DynamoDB, and more, directly in the template.
- Resource Dependencies: SAM simplifies the declaration of resource dependencies, making it easier to create complex serverless applications.
- Packaging and Deployment: SAM integrates with AWS CloudFormation to package and deploy your serverless applications. It generates CloudFormation templates that define the resources required for your application.
- Reusable Code: SAM supports the creation of Lambda layers, which allow you to package and reuse common code across multiple functions.
- Application Metadata: You can define metadata for your serverless application, such as runtime, memory, and timeout settings.
- Step Functions Integration: SAM supports defining AWS Step Functions state machines as part of your serverless application.
AWS SAM aims to streamline the process of building and deploying serverless applications by providing a simplified and consistent approach to defining resources, handling dependencies, and managing the deployment process. It aligns with best practices for serverless development and enables developers to focus on writing application code while abstracting away much of the underlying infrastructure management.
Updated on 11 Aug, 2023