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.

FaaS on AWS for .NET developers

177 views

Published on

When and how to use (or not use) Amazon Web Services for .NET developers.
FaaS and Serverless on AWS

Published in: Software
  • Be the first to comment

FaaS on AWS for .NET developers

  1. 1. FaaS on AWS for .NET developers Taras Romanyk .NET Technical Lead
  2. 2. What is Serverless?  Run code without managing operating system  Horizontal scaling  Reduce operation cost  Reduce development cost  Improved Latency and Geolocation  No specific framework  Limited in execution duration  Startup latency and “cold starts”  Multitenancy problems
  3. 3. What isn’t Serverless?  PaaS  Containers  Stored Procedure as a Service
  4. 4. Platforms  Azure Functions  Amazon - AWS Lambda Functions  Google Cloud Functions  IBM Cloud Functions (based on Apache OpenWhisk)  Oracle Cloud Fn  Alibaba - Function Compute
  5. 5. How to start  AWS Free Tier 12 month free Always free  Setup a billing alert
  6. 6. Supported languages & platforms  Node.js (4.3/6.10/8.10)  Python (2.7/3.6)  Java (8)  .NET Core 1.0/.NET Core 2.0  Go (1.x)
  7. 7. We are using...  Node.js (4.3/6.10/8.10)  Python (2.7/3.6)  Java (8)  .NET Core 1.0/.NET Core 2.0  Go (1.x)
  8. 8. Lambda execution model  Synchronous (push)  Asynchronous (event)  Stream-based
  9. 9. Use cases
  10. 10. AWS integrations  18 geographic Regions + 4 in progress  98 services
  11. 11. AWS Lambda Limitation  3008 MB allocated CPU  5 min execution
  12. 12. Step functions Orchestrate AWS Lambda functions
  13. 13. Pitfalls: cold start  Warm in background  Warm with CloudWatch  JavaScript, Python  Remove access to VPC
  14. 14. Pitfalls: price for API Gateway
  15. 15. How to code on Python  Boto 3  Moto: Mock AWS Services  LocalStack  Placebo  Cloud9
  16. 16. AWS SDK for .NET  AWS SDK for .NET  AWS SDK for Unity  AWS SDK for Xamarin
  17. 17. AWS Toolkit for Visual Studio  AWS Lambda Project (.NET Core)  AWS Serverless Application (.NET Core)  NodeJS
  18. 18. Pitfall: bad design
  19. 19. AWS Serverless Application (.NET Core)  CloudFormation  SAM (Serverless Application Model)  Xunit  YAML/JSON
  20. 20. Deployment  All at once  Blue/Green  Canaries/Linear
  21. 21. Q&A  Taras Romanyk  http://rredcat.blogspot.com/  rredcat@gmail.com  https://www.linkedin.com/in/rredcat/

×