Tuesday 27 November 2018

New sam build command introduced by AWS SAM

The AWS Serverless Application Model (SAM) is an open-source layout for creating serverless applications. AWS SAM offers shorthand syntax to show functions, APIs, databases, and event source linkings. You can describe the application you require and model it with the YAML by only few lines per resource. While execution, AWS SAM converts and widens the SAM syntax into AWS CloudFormation syntax, allowing you to create serverless applications quicker.

The AWS SAM CLI is a command line tool which runs on an AWS Serverless Application Model template and application code. You can call Lambda functions locally, build an execution package for your serverless application, execute your serverless application to the AWS Cloud with the AWS Serverless Application Model Command Line Interface. With the utilization of AWS SAM CLI commands, you can build, test, and deploy your serverless applications to the AWS Cloud.

Now sam build command can utilize to compile deployment packages for AWS Lambda functions inscribed in Python Language with the help of AWS Serverless Application Model (AWS SAM) Command Line Interface (CLI). This new sam build command allows you to seamlessly build deployment artifacts which object AWS Lambda's performance domain. This sam build command allows the functions you create locally to execute in a homogeneous in the cloud. This command iterates via the functions in your application, looks for a manifest file like requirements.txt which includes dependencies, and automatically creates deployment artifacts that you can deploy to Lambda with the sam package and sam deploy commands.

No comments:

Post a Comment

Maximizing Content Delivery Efficiency: Optimizing Performance in AWS CloudFront

  Unleash Blazing-Fast Content Delivery: Your Guide to CloudFront Optimization Introduction: AWS CloudFront stands as a cornerstone of moder...