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

139 views

Published on

AWS Lambda - What, why, when, how?

Published in: Technology
  • Be the first to comment

  • Be the first to like this

AWS Lambda

  1. 1. AWS Lambda What, why, when, how?
  2. 2. What is Lambda?
  3. 3. Compute service where you don't think about…
  4. 4. Servers
  5. 5. Capacity
  6. 6. Deployments
  7. 7. Scaling
  8. 8. Fault tolerance
  9. 9. Metrics and logging
  10. 10. Automatic OS and language updates
  11. 11. All of that is taken care of automatically
  12. 12. You can easily…
  13. 13. Bring your own code, including native libraries
  14. 14. Run code in parallel
  15. 15. Lambda use cases
  16. 16. Create backends
  17. 17. Create event handlers
  18. 18. Create data processing systems
  19. 19. Serverless
  20. 20. Event-driven scale
  21. 21. 100ms billing units
  22. 22. You never pay for idle!
  23. 23. How it works
  24. 24. Upload code in a zip file
  25. 25. Code can be… v0.10 & v4.3 Java 8 v2.7
  26. 26. Code is stateless, persistence goes elsewhere
  27. 27. Monitoring and logging handled automatically by CloudWatch
  28. 28. Integrates with other AWS services
  29. 29. S3 DynamoDB RDS VPC CloudWatch CloudFormation Cognito SNSAPI Gateway SES SWF Kinesis CloudTrail CloudWatch All these & more…
  30. 30. Compute Power 23 "power levels"
  31. 31. Specified in Lambda as memory
  32. 32. From 128MB To 1.5GB
  33. 33. More memory = More CPU
  34. 34. Price scales with power level
  35. 35. Pricing per 100ms (rounded up to nearest 100ms)
  36. 36. Run durations from 100ms to 5 minutes
  37. 37. For compute intensive tasks set power level higher
  38. 38. For I/O intensive tasks set power level lower
  39. 39. Event Sources • S3 • Schedule events • AWS IoT • CloudWatch • DynamoDB • Kinesis • SNS • API Gateway (sort of)
  40. 40. “Serverless” API’s with AWS API Gateway & Lambda
  41. 41. Versioning
  42. 42. By using versioning nothing changes
  43. 43. But now you can publish a version
  44. 44. Versions can have aliases
  45. 45. VPC Support
  46. 46. Pricing
  47. 47. $0.20 per 1 million requests
  48. 48. Pay for CPU usages in 100ms intervals. Price depends on memory allocation. From $0.000000208 to $0.000002501 per 100ms
  49. 49. First 1 million request and 400,000 GB-seconds of compute time per month FREE!!!
  50. 50. This is equal to approx.: 888 hours at 128Mb …. 74 hours at 1.5Gb
  51. 51. Example uses
  52. 52. Image processing
  53. 53. Data processing
  54. 54. Scheduled Tasks
  55. 55. Document generation
  56. 56. If you need help email me andrew.dixon@mso.net

×