Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Using Serverless Architectures to build and pr...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Ramit Surana
October 15, 2018
Programming
0
15
Using Serverless Architectures to build and provision modern infrastructures
Introduction to AWS Lambda, Chalice and API Gateway
Ramit Surana
October 15, 2018
Tweet
Share
More Decks by Ramit Surana
See All by Ramit Surana
DEPLOYING WORDPRESS BLOG USING DOCKER COMPOSE & ANSIBLE ON AWS
ramitsurana
0
18
Introducing Vault
ramitsurana
0
1.7k
Getting Started with Consul
ramitsurana
0
15
Building Digital Transaction Systems in the new Banking World
ramitsurana
0
23
Building Big Architecture XP Conference 2016
ramitsurana
0
33
Dependency management in golang
ramitsurana
0
71
Building Big Architecture
ramitsurana
0
22
Achieving CI/CD with Kubernetes
ramitsurana
0
19
Docker for the new Era: Introducing Docker,its components and tools
ramitsurana
0
26
Other Decks in Programming
See All in Programming
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
610
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
440
CSC307 Lecture 10
javiergs
PRO
1
660
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
280
ノイジーネイバー問題を解決する 公平なキューイング
occhi
0
110
高速開発のためのコード整理術
sutetotanuki
1
410
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
390
「ブロックテーマでは再現できない」は本当か?
inc2734
0
1k
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.9k
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1.6k
Raku Raku Notion 20260128
hareyakayuruyaka
0
360
Featured
See All Featured
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
110
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.2k
New Earth Scene 8
popppiees
1
1.5k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
0
3.4k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
Claude Code のすすめ
schroneko
67
210k
Visualization
eitanlees
150
17k
How to Ace a Technical Interview
jacobian
281
24k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
260
Done Done
chrislema
186
16k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Transcript
Using Serverless Architectures to build and provision modern infrastructures Ramit
Surana @ramitsurana /in/ramitsurana
Agenda • Introduction to AWS Lambda • Serverless Architecture •
Demo • Architecture • Chalice • Monitoring • API Perfomance and Measurements • Learningz • Useful Services • Other Options
What comes to mind ?
Introduction to AWS Lambda • Service based on docker containers
• Also called Function as a Service • Available in Node.js (JavaScript), Python, Java (Java 8 compliant) and C # (.NET Core), and Go. • Cost Involved: - First 1 million requests free - $0.20 per 1 million requests
Serverless Architectures • Distribution of API Calls into Functions •
Usage of external services from cloud to allocate data • Pay as you go model @Copyright by Martin Fowler
Demo Time !
Architecture Website API Gateway S3 DynamoDB/RDS/Elasticache Lex Website Data
Chalice • Integrates well with other AWS Services • Can
deploy using chalice deploy • Built using Python • Other Frameworks are Serverless (JAWS), Zappa etc
Monitoring • Individual Lambda can be monitored only for last
24 hrs • Use AWS Services like CloudWatch & CloudTrail • IOPipe • Datadog
API Performance Measurements • Jmeter • Use of Curl
Other Options • Azure Functions • GCP Functions • Oracle
Cloud Functions • OpenWhisk • Iron.io • Webtask.io • Nuclio
Learnings Pros • Serverless is really powerful ! • Great
Performance • Highly Scalable • Low Cost • Stateless Cons • Monitoring and Debugging is hard • Lack of Fine Grained Control • Cold start issues • Timeout Issues • Vendor Lock-In
References • Chalice - https://github.com/aws/chalice • SAM - https://github.com/awslabs/serverless-application-model •
Python-lambda - https://github.com/nficano/python-lambda • AWS Lambda - https://aws.amazon.com/de/lambda/features/ • Jmeter - https://jmeter.apache.org/ • Cloudwatch - https://aws.amazon.com/de/cloudwatch/ • FaaS - https://martinfowler.com/articles/serverless.html • https://github.com/ramitsurana/the-serverless-stuff
Thank You for joining :)