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
14
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
12
Building Digital Transaction Systems in the new Banking World
ramitsurana
0
22
Building Big Architecture XP Conference 2016
ramitsurana
0
31
Dependency management in golang
ramitsurana
0
68
Building Big Architecture
ramitsurana
0
21
Achieving CI/CD with Kubernetes
ramitsurana
0
17
Docker for the new Era: Introducing Docker,its components and tools
ramitsurana
0
25
Other Decks in Programming
See All in Programming
Swift Updates - Learn Languages 2025
koher
2
490
AIと私たちの学習の変化を考える - Claude Codeの学習モードを例に
azukiazusa1
10
4.4k
Design Foundational Data Engineering Observability
sucitw
3
200
Android端末で実現するオンデバイスLLM 2025
masayukisuda
1
170
ユーザーも開発者も悩ませない TV アプリ開発 ~Compose の内部実装から学ぶフォーカス制御~
taked137
0
190
プロパティベーステストによるUIテスト: LLMによるプロパティ定義生成でエッジケースを捉える
tetta_pdnt
0
3.3k
Introducing ReActionView: A new ActionView-compatible ERB Engine @ Rails World 2025, Amsterdam
marcoroth
0
710
rage against annotate_predecessor
junk0612
0
170
請來的 AI Agent 同事們在寫程式時,怎麼用 pytest 去除各種幻想與盲點
keitheis
0
120
知っているようで知らない"rails new"の世界 / The World of "rails new" You Think You Know but Don't
luccafort
PRO
1
180
AIを活用し、今後に備えるための技術知識 / Basic Knowledge to Utilize AI
kishida
22
5.9k
Updates on MLS on Ruby (and maybe more)
sylph01
1
180
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
61k
Why Our Code Smells
bkeepers
PRO
339
57k
Reflections from 52 weeks, 52 projects
jeffersonlam
352
21k
The Straight Up "How To Draw Better" Workshop
denniskardys
236
140k
Code Review Best Practice
trishagee
71
19k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Thoughts on Productivity
jonyablonski
70
4.8k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
Docker and Python
trallard
46
3.6k
Raft: Consensus for Rubyists
vanstee
140
7.1k
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 :)