Amazon has recently revealed new features for AWS Lambda in order to expand itself as a development platform. “Lambda architecture” and “serverless computing” are two of such names people are calling it. All these names can be interpreted with the same idea : breaking of applications into clusters of single function running on demand and on automatically managed resources.
Let’s have a look on the two new features:
1. Environment Variables
Associating environment variables with specific Lambda functions will allow API keys to be used without hard coding them into a function. The environment variables are stored as a pair of key/value in AWS Key Management Service to provide encryption and decryption. Amazon is doing nothing new with encryption and decryption. Variables have a storage limit of 4KB per function.
2. AWS Serverless Application Model (SAM)
Amazon web services SAM includes the evident documentation for an AWS Lambda applications describing everything in AWS’s architecture namely Amazon API Gateway resources and Amazon DynamoDB tables. AWS CloudFormation uses SAM files and can be generated automatically to use existing Lambda function to be used for other lambda functions.
Amazon earlier this month made an announcement of AWS Mobile Hub , Amazon’s mobile application development system. Mobile Hub is not used for bridging Lambda functions already present but can be helped in creating functions, providing them with API Gateway endpoints used in mobile apps.