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
13
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
66
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
24
Other Decks in Programming
See All in Programming
ZeroETLで始めるDynamoDBとS3の連携
afooooil
0
150
Constant integer division faster than compiler-generated code
herumi
2
430
バイブコーディングの正体——AIエージェントはソフトウェア開発を変えるか?
stakaya
5
790
一人でAIプロダクトを作るための工夫 〜技術選定・開発プロセス編〜 / I want AI to work harder
rkaga
6
980
Reactの歴史を振り返る
tutinoko
1
170
オホーツクでコミュニティを立ち上げた理由―地方出身プログラマの挑戦 / TechRAMEN 2025 Conference
lemonade_37
1
440
DynamoDBは怖くない!〜テーブル設計の勘所とテスト戦略〜
hyamazaki
0
190
階層化自動テストで開発に機動力を
ickx
1
480
変化を楽しむエンジニアリング ~ いままでとこれから ~
murajun1978
0
670
物語を動かす行動"量" #エンジニアニメ
konifar
12
3k
あなたとJIT, 今すぐアセンブ ル
sisshiki1969
0
410
あまり知られていない MCP 仕様たち / MCP specifications that aren’t widely known
ktr_0731
0
230
Featured
See All Featured
Become a Pro
speakerdeck
PRO
29
5.5k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.4k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
GitHub's CSS Performance
jonrohan
1031
460k
How GitHub (no longer) Works
holman
314
140k
A Modern Web Designer's Workflow
chriscoyier
695
190k
Bash Introduction
62gerente
614
210k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
BBQ
matthewcrist
89
9.8k
Docker and Python
trallard
45
3.5k
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 :)