Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

AWS Lambda in infrastructure

1,584 views

Published on

A short talk given at the AWS Berlin Meetup July 2015

Published in: Technology
  • Be the first to comment

AWS Lambda in infrastructure

  1. 1. All your Content one API
  2. 2. AWS Lambda use cases in infrastructure
  3. 3. About me Paolo @hungryblank CTO @contentful contentful.com
  4. 4. AWS Lambda? AWS Lambda is a compute service that runs your code in response to events...
  5. 5. AWS Lambda? You can use AWS Lambda to extend other AWS services with custom logic
  6. 6. AWS Lambda? or create your own back-end services that operate at AWS scale
  7. 7. AWS Lambda? 1. write your code (JavaScript/Java) 2. “upload” to AWS lambda 3. bind to event (S3, SNS, dynamo....) 4. profit
  8. 8. Lambda at Contentful AWS Contentful Customer Apps
  9. 9. Lambda at Contentful AWS Contentful Mid ground infrastructure
  10. 10. AWS Lambda? You can use AWS Lambda to extend other AWS services with custom logic
  11. 11. lambda at Contentful Self aware S3 buckets
  12. 12. Lambda at Contentful Wouldn’t be great if… S3 updates automatically invalidate the Cloudfront cache? Mid ground infrastructure
  13. 13. S3 + Lambda + cloudfront S3 Static Site generator (middleman) CloudFrontLambda
  14. 14. The code 70 lines of code https://goo.gl/J2dw5V
  15. 15. Another use case S3 + config file + template + lambda = auto magic template rendering
  16. 16. pre lambda: run a program in the cloud lambda: program the cloud
  17. 17. and more coming... ● AWS API Gateway + lambda ● more static site generator ○ https://github.com/contentful-labs/contentful-aws- lambda-static
  18. 18. thank you @hungryblank @contentful

×