Download - AWS Lambda in infrastructure
All your Content one API
AWS Lambdause cases in infrastructure
About me
Paolo@hungryblank
CTO @contentful
contentful.com
AWS Lambda?
AWS Lambda is a compute service that runs your code in response to events...
AWS Lambda?
You can use AWS Lambda to extend other AWS services with custom logic
AWS Lambda?
or create your own back-end services that operate at AWS scale
AWS Lambda?
1. write your code (JavaScript/Java)2. “upload” to AWS lambda3. bind to event (S3, SNS, dynamo....)4. profit
Lambda at Contentful
AWS
Contentful
Customer Apps
Lambda at Contentful
AWS
Contentful
Mid ground infrastructure
AWS Lambda?
You can use AWS Lambda to extend other AWS services with custom logic
lambda at Contentful
Self aware S3buckets
Lambda at Contentful
Wouldn’t be great if…
S3 updates automatically invalidate the Cloudfront cache?
Mid ground infrastructure
S3 + Lambda + cloudfront
S3 Static Sitegenerator
(middleman)CloudFront Lambda
Another use case
S3 +config file +template +
lambda=
auto magic template rendering
pre lambda: run a program in the cloud
lambda: program the cloud
and more coming...
● AWS API Gateway + lambda● more static site generator
○ https://github.com/contentful-labs/contentful-aws-lambda-static
thank you@hungryblank @contentful