Download presentation
Presentation is loading. Please wait.
1
FaaS на AWS очима дотнетчика
Taras Romanyk Technical Lead at Conscensia
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
What isn’t Serverless? PaaS Containers Stored Procedure as a Service
If your PaaS can efficiently start instances in 20ms that run for half a second, then call it serverless. PaaS – scaling per request Container – container shape and size management, AWS Fargate SP – hard to test, specific language, deployment
4
Platforms Azure Functions Amazon - AWS Lambda Functions
Google Cloud Functions IBM Cloud Functions (based on Apache OpenWhisk) Oracle Cloud Fn Alibaba - Function Compute DEMO!!!!!!!
5
How to start AWS Free Tier 12 month free Always free
Setup a billing alert Enable price notification
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
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
Lambda execution model
Synchronous (push) Asynchronous (event) Stream-based
9
Use cases API gateway + lambda + DynamoDB Event on media file load
Event on image processing Analytics?
10
AWS integrations 18 geographic Regions + 4 in progress 98 services
11
AWS Lambda Limitation 3008 MB allocated CPU 5 min execution
12
Step functions Orchestrate AWS Lambda functions
It is like Azure durable function AWS Step Functions is part of the AWS Serverless Platform, and makes it simple to orchestrate AWS Lambda functions for serverless applications.
13
Pitfalls: cold start Warm in background Warm with CloudWatch
JavaScript, Python Remove access to VPC Warm with CloudWatch smart warm, background warm, JS, Python
14
Pitfalls: price for API Gateway
15
How to code on Python Boto 3 Moto: Mock AWS Services LocalStack
Placebo Cloud9 - decorator - Develop and test your cloud apps offline - tool for mocking external API’s in python applications.
16
AWS SDK for .NET AWS SDK for .NET AWS SDK for Unity
AWS SDK for Xamarin
17
AWS Toolkit for Visual Studio
AWS Lambda Project (.NET Core) AWS Serverless Application (.NET Core) NodeJS
18
Pitfall: bad design Default value in C# deployment Flow management
19
AWS Serverless Application (.NET Core)
CloudFormation SAM (Serverless Application Model) Xunit YAML/JSON serverless framework Terraform DEMO!!!!!
20
Deployment All at once Blue/Green Canaries/Linear Traffic shifting
21
Q&A Taras Romanyk http://rredcat.blogspot.com/ rredcat@gmail.com
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.