building serverless applications with lambda
play

Building Serverless Applications with Lambda Craig Golightly - PowerPoint PPT Presentation

Building Serverless Applications with Lambda Craig Golightly SENIOR SOFTWARE CONSULTANT @seethatgo www.seethatgo.com Overview What is a serverless application? How AWS Lambda works Serverless architectures Demo: API Gateway and Lambda


  1. Building Serverless Applications with Lambda Craig Golightly SENIOR SOFTWARE CONSULTANT @seethatgo www.seethatgo.com

  2. Overview What is a serverless application? How AWS Lambda works Serverless architectures Demo: API Gateway and Lambda

  3. Serverless No server Flexible scaling High availability No idle capacity management

  4. AWS Lambda Compute layer for serverless Functions - Code to execute - Configuration how to execute - Event sources (optional) Always on, automatically scales Functions are stateless

  5. Lambda Execution Event Source

  6. Creating Your Lambda Function AWS Cloud Native language support Lambda S3 bucket Function code package Lambda runtime - Stored in S3 - Size limit Lambda Layers + API - Zip archive - Keep code package small - Avoid dependency errors

  7. Lambda Pricing CPU and network 100ms increments Test and measure capacity Rate based on Memory settings to Increase as allocate memory allocation optimize execution cost more memory

  8. Lambda with S3 and SNS Object S3 Data SNS

  9. Lambda with SQS and Kinesis SQS Queue Message Data Kinesis Data Streams

  10. Lambda with Lex and Cloudwatch Chatbot Lex Event CloudWatch (cron replacement) (time-based)

  11. Amazon API Gateway HA, scalable, managed service for APIs - Authentication and authorization - Throttling, metering, caching Manage requests / responses - Lambda functions Key component for serverless web apps - Meets serverless criteria “AWS Networking and the API Gateway” course

  12. Serverless Developer Tools AWS Serverless AWS, open source, Architecture Model third-party (SAM) Local Lambda Shorthand syntax environment CloudFormation Access logs and metrics templates from deployed functions

  13. AWS Serverless Application Repository Managed serverless repository - Browse serverless applications Publish your own application IAM resource level access - Private - Specific AWS accounts - Share publicly

  14. Demo AWS Serverless Application Repository - Deploy serverless app CloudFormation API Gateway - Calls Lambda function

  15. Criteria for serverless applications Summary Lambda is compute component - Using with other AWS services How Lambda functions work AWS Serverless Application Repository - API Gateway to trigger Lambda

  16. Up Next: Running Containers on AWS

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend