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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Ramit Surana
October 15, 2018
Programming
33
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Using Serverless Architectures to build and provision modern infrastructures
Introduction to AWS Lambda, Chalice and API Gateway
Ramit Surana
October 15, 2018
More Decks by Ramit Surana
See All by Ramit Surana
DEPLOYING WORDPRESS BLOG USING DOCKER COMPOSE & ANSIBLE ON AWS
ramitsurana
0
32
Introducing Vault
ramitsurana
0
1.7k
Getting Started with Consul
ramitsurana
0
32
Building Digital Transaction Systems in the new Banking World
ramitsurana
0
35
Building Big Architecture XP Conference 2016
ramitsurana
0
41
Dependency management in golang
ramitsurana
0
82
Building Big Architecture
ramitsurana
0
39
Achieving CI/CD with Kubernetes
ramitsurana
0
32
Docker for the new Era: Introducing Docker,its components and tools
ramitsurana
0
37
Other Decks in Programming
See All in Programming
スマート反転とウェブアクセシビリティ
camiha
0
150
フロントエンドUIフレームワークのこれまでとこれから
ssssota
1
720
Foundry Localでエージェント開発
seosoft
0
150
AWS DevOps Agentで インシデント対応をAIに任せたい
honmarkhunt
7
2.5k
AIの中の人になってみる
htkym
0
170
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
0
390
Gmail/Google DriveをトリガーにAIエージェントを動かそう! / Run AI agents with Gmail/Google Drive as triggers!
har1101
3
470
From 6 People Classroom Meetup to 100 People Regional Conference / FOSS4G Hiroshima 2026
furukawayasuto
0
120
信頼性の目標を誰も求めてない
shubox
0
490
変化を抱擁するドキュメントの作り方 - ビジネスルール駆動開発がもたらす、コードとの新しい関係
ioki
2
120
Go × SIMDで高速化するベクトル検索 ~ルーフラインモデルでSIMDが効く境界を探れ! ~
po3rin
1
160
まだ間に合う!今年の夏こそSchemeのマクロ展開器を完全理解!
omasanori
0
640
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
The Curious Case for Waylosing
cassininazir
1
500
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
410
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
Building an army of robots
kneath
306
46k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.4k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
The Cult of Friendly URLs
andyhume
79
7k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.6k
Practical Orchestrator
shlominoach
191
12k
Designing for Timeless Needs
cassininazir
1
470
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
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 :)