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
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
17
Introducing Vault
ramitsurana
0
1.7k
Getting Started with Consul
ramitsurana
0
13
Building Digital Transaction Systems in the new Banking World
ramitsurana
0
23
Building Big Architecture XP Conference 2016
ramitsurana
0
32
Dependency management in golang
ramitsurana
0
69
Building Big Architecture
ramitsurana
0
21
Achieving CI/CD with Kubernetes
ramitsurana
0
18
Docker for the new Era: Introducing Docker,its components and tools
ramitsurana
0
25
Other Decks in Programming
See All in Programming
2025 컴포즈 마법사
jisungbin
0
150
AI時代もSEOを頑張っている話
shirahama_x
0
160
TypeScript 5.9で使えるようになった import defer でパフォーマンス最適化を実現する
bicstone
1
390
Java_プロセスのメモリ監視の落とし穴_NMT_で見抜けない_glibc_キャッシュ問題_.pdf
ntt_dsol_java
0
230
TypeScriptで設計する 堅牢さとUXを両立した非同期ワークフローの実現
moeka__c
5
2.2k
詳細の決定を遅らせつつ実装を早くする
shimabox
2
1.3k
GraalVM Native Image トラブルシューティング機能の最新状況(2025年版)
ntt_dsol_java
0
170
高単価案件で働くための心構え
nullnull
0
160
「文字列→日付」の落とし穴 〜Ruby Date.parseの意外な挙動〜
sg4k0
0
260
Phronetic Team with AI - Agile Japan 2025 closing
hiranabe
2
670
Microservices Platforms: When Team Topologies Meets Microservices Patterns
cer
PRO
0
480
無秩序からの脱却 / Emergence from chaos
nrslib
1
8.2k
Featured
See All Featured
Building an army of robots
kneath
306
46k
Visualization
eitanlees
150
16k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
Being A Developer After 40
akosma
91
590k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
1
46
Designing for humans not robots
tammielis
254
26k
Balancing Empowerment & Direction
lara
5
760
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
680
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.6k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Producing Creativity
orderedlist
PRO
348
40k
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 :)