A quick presentation on what AWS Lambda is about and what was announced at AWS re:Invent 2015 Las Vegas. In see Lambda as a easy to define event handles that glue different AWS services together at a surprising scale.
2. Me
Currently leading Cloudera Director
Previously Axemblr, Cloudsoft, Facebook, Adobe etc.
Attended AWS re:invent 2015
Looking at Lambda for:
1. usage data collection
2. lightweight aggregation
3.
4.
5. What can lambda do?
âGood way to glue AWS services togetherâ - Me
6.
7.
8.
9.
10.
11.
12. Got it. Whatâs new?
What was announced at AWS re:Invent 2015 (link)
13. VPC support
â allow access from Lambda to internal services
â access controlled via security groups (inbound rules)
â requires additional IAM permissions (networking)
â available later this year
14. Python Functions
â Python 2.7
â built-in AWS SDK
â could be packaged as zip file
â 1.5GB size limit
â hacky support for virtualenv
â native extensions could work (must
be compiled for Amazon Linux)
http://docs.aws.amazon.
com/lambda/latest/dg/python-lambda.
html
15. Run up to 5 minutes
â Remaining time:
context.get_remaining_time_in_millis())
â Terminated at the end
â A lot can happen in 5 CPU minutes
â 100s of GB/s can be split as âsmallâ chunks
16. Versioning & Aliasing
â ARN contains versions as suffix:
arn:aws:lambda:us-west-2:123456789012:function:PyFunc1:1234
â No version = use newest
â Versions are generated on uploaded (1,2,3âŠ)
â All lambda configs are now linked to (name, version): language, memory,
timeout, IAM role, CloudWatch metrics & logs
â A version can have aliases:
arn:aws:lambda:us-west-2:123456789012:function:PyFunc1:prod
â Wire with aliases not specific versions or newest