Large Language Models for Test Case Evolution and Repair
AWS Lambda - A quick introduction #advancedaws
1. @crichardson
AWS Lambda
A quick introduction
Chris Richardson
Author of POJOs in Action
Founder of the original CloudFoundry.com
@crichardson
chris@chrisrichardson.net
http://plainoldobjects.com
http://microservices.io
2. “The Magic Happens at the
@crichardson
Intersection of
Functions, Events and Data”
3. @crichardson
AWS Lambda is a PaaS*
for
event-driven microservices
* in a restricted kind of way
4. NodeJS functions that consume
events
@crichardson
S3
Kinesis
DynamoDB
console.log('Loading event');
exports.handler = function(event, context) {
console.log('value1 = ' + event.key1);
console.log('value2 = ' + event.key2);
console.log('value3 = ' + event.key3);
context.done(null, 'Hello World');
};
Events
Pricing (once you have exceeded the free tier)
$0.0000002 per request
$0.00001667 for every GB-second
Invoke API
5. IAM role for lambda
@crichardson
NodeJS module
Specify event handler
execution
Resource limits
17. @crichardson
Final thoughts
Useful for writing “simple” AWS-oriented services
What would be nice:
Ability to specific environment variables for externalized
configuration, e.g. names of AWS resources