Amazon has recently announced S3 Object Lambda, a new serverless feature to add customized code and process data from S3 before returning it to an application. S3 Object Lambda works with S3 GET requests and uses AWS Lambda functions to modify data as it is being retrieved from the object storage
Amazon has recently announced S3 Object Lambda, a new serverless feature to add customized code and process data from S3 before returning it to an application. S3 Object Lambda works with S3 GET requests and uses AWS Lambda functions to modify data as it is being retrieved from the object storage.
S3 Object Lambda is designed to add transparency to the consumer of the S3 objects with the clients receiving a modified version without interacting with another endpoint and without changes to an existing product.
The object retrieved through the S3 Object Lambda Access Point does not have to exist in the underlying bucket: every GET request is intercepted by a Lambda invocation and the response can transform an existing object or generate a response. Danilo Poccia, chief evangelist EMEA at AWS, explains it with an example involving pictures and thumbnails:
When retrieving an object using S3 Object Lambda, there is no need for an object with the same name to exist in the S3 bucket. The Lambda function can use information in the name of the file or in the HTTP headers to generate a custom object. For example, if you ask to use an S3 Object Lambda Access Point for an image with name sunset_600x400.jpg, the Lambda function can look for an image named sunset.jpg and resize it to fit the maximum width and height as described in the file name.
Among other use cases, Amazon suggests transforming data formats (JSON to CSV), compression and decompression of data and redacting sensitive information from an object in S3. The code of a Lambda function that can be used with S3 Object Lambda Access Points to control access or to redact personally identifiable information was made available on GitHub.
Learn AWS cloud concepts, AWS services, security, architecture under AWS cloud practitioner course from AWS certified instructors. Authorized AWS Training
Mismanagement of multi-cloud expense costs an arm and leg to business and its management has become a major pain point. Here we break down some crucial tips to take some of the management challenges off your plate and help you optimize your cloud spend.
Take a look at some of the top cloud migration services you can use to migrate your services from on-premises to AWS Cloud. You need to understand the general terms of this field.
To move or not to move? Benefits are multifold when you are migrating to the cloud. Get the correct information to make your decision, with our cloud engineering expertise.
Learn more about AWS Cost Allocation Tags, tag examples via the web, CLI, and node.js, explore tag compliance services, and review tagging strategies.