SlideShare ist ein Scribd-Unternehmen logo
1 von 24
RAJAT
PANWAR
CHIEF TECHNOLOGY OFFICER
OUR SERVER-LESS
JOURNEY
In under 18 months entirely
on serverless. And
additional benefits…
Efficiency
Dev & QA reduced by 2X
Visibility
More metrics and
dashboards
Automation
CI/CD without 3rd party
tools
Ownership
Single responsibility from
Dev to Production
Predictability
Out of Box Events and
Alarms
WHY IT STARTEDBusiness wanted go-to
market faster
VPC
AWS Cloud
Availability Zone 1
UI Servers
Auto Scaling group
Availability Zone 2
API Servers
Auto Scaling group
EC2 Instance EC2 Instance
EC2 Instance EC2 Instance
ALB
ALB
CloudFront S3
Clients
ElasticCache
RDS
DynamoDB
Static Content
Apps/Affiliates Our Architecture in 2017
OUR SDLCWe went deeper into
understanding development
to deployment cycle
Scattered Focus
Monolithic Approach
Inversed QA Efficiency
More time was spent to test
functionalities which were not
modified
Siloed Responsibilities
Developer: My code works fine,
Admin must have done the
wrong deployment
Jinx
Do not touch those
files/settings. Server will stop
working
MICROSERVICESHighly focused approach
and smaller changes
• Monolithic • Microservices
User Interface
Business Logic
Data Access Layer
Database Database Database Database Database
Microservice
Microservice
Microservice Microservice Microservice
User Interface
SO, HOW DID IT
ALL BEGAN…
It all started from aws
Summit Mumbai in 2017
AWS Cloud
AWS LambdaAPI Gateway
Amazon CloudFront
Amazon ElastiCache
AWS Lambda
AWS Lambda
Amazon Aurora
Amazon DynamoDB
S3 Bucket
Proposed Server less Architecture
HOLIDAYS PLATFORM REVAMP
Tight delivery schedule of
3 months from scratch
Finalized to go ahead with
Lambda and API Gateway
Used aws X-Ray for
performance bottlenecks
Cloudwatch Metrics and
Cloudwatch logs
Delivered Entire Product 8
days early
50+ Microservices Latency under 950ms Inbuilt Monitoring and APM
FINAL DELIVERY
IT WAS JUST THE
BEGINNING
We were not only able to
reduce our go-to market
time, but improved
efficiencies on multiple
fronts
OWNERSHIP RESPONSIBILITY SCALABILITY VISIBILITY AUTOMATION SECURITY
USE CASE: IMAGE OPTIMIZATION
80M +
IMAGES
50+ TB DATA DIFFERENT DEVICES 4 DIFFERENT
RESOLUTIONS
COMPUTE AND TIME
INTENSIVE
IMAGE OPTIMIZATION WORKFLOW
AWS Cloud
Client Amazon CloudFront API Gateway Lambda S3 Bucket
Original High
Resolution Image
Optimized and
Resized Image
USE CASE: RETRY BOOKING
LARGE CODE BASE CUSTOM BUSINESS
LOGIC
SCHEDULED JOBS BUGS CUSTOM
NOTIFICATIONS
RETRY BOOKING WORKFLOW
Client
Push booking
transaction
Push notification
on success
Retry n times
SQS Lambda
Push after n retries
SQS DL
Notify on failure
SES
AWS Cloud
SNS
API Gateway Lambda Systems Manager SQS SNS SES Kinesis
Kinesis Firehose S3 Cognito IAM DynamoDB CloudTrail EC2
ElasticCache CloudWatch CloudFormation Route 53 X-Ray Step Functions ALB
Budgets EventBridge CloudFront
Aws Summit Mumbai
May 2017
Migrated all internal services to
lambda
CloudWatch Events and
Dynamodb
Aug. 2017
Initiated entire product on
Lambda + API Gateway
Jan. 2018
Delivered Holidays product 8
days early
Integrated with X-Ray
Mar. 2018
Cloudformation Templates
June 2018
Fully integrated CI/CD pipeline
Oct 2018
Event Driven Design pattern
SQS, SES, Lambda Authorizer,
S3
Feb 2019
500+ Microservices
100% serverless
May 2019
WHAT'S NEXT
We are planning to leverage
aws Bahrain region to offer
low latency for all our
Middle East customers.
THANK YOU

Weitere ähnliche Inhalte

Was ist angesagt?

AWS: Serverless Architecture - Beyond functions and into the future
AWS: Serverless Architecture - Beyond functions and into the future AWS: Serverless Architecture - Beyond functions and into the future
AWS: Serverless Architecture - Beyond functions and into the future Dynatrace
 
The future is Serveless | Filip Knapik | #4 Serverless UG Warsaw
The future is Serveless | Filip Knapik | #4 Serverless UG WarsawThe future is Serveless | Filip Knapik | #4 Serverless UG Warsaw
The future is Serveless | Filip Knapik | #4 Serverless UG WarsawServerless User Group Poland
 
Logic Apps and Azure Functions for Serverless Integration (2017-03-25)
Logic Apps and Azure Functions for Serverless Integration (2017-03-25)Logic Apps and Azure Functions for Serverless Integration (2017-03-25)
Logic Apps and Azure Functions for Serverless Integration (2017-03-25)Paco de la Cruz
 
AWSome Day Philippines Keynote 2015
AWSome Day Philippines Keynote 2015AWSome Day Philippines Keynote 2015
AWSome Day Philippines Keynote 2015Hwee Bee Tan
 
Build a Text Enabled Keg-orator Robot with Alexa, AWS IoT & AWS Lambda
Build a Text Enabled Keg-orator Robot with Alexa, AWS IoT & AWS LambdaBuild a Text Enabled Keg-orator Robot with Alexa, AWS IoT & AWS Lambda
Build a Text Enabled Keg-orator Robot with Alexa, AWS IoT & AWS LambdaAmazon Web Services
 
Introduction to Serverless
Introduction to ServerlessIntroduction to Serverless
Introduction to ServerlessNikolaus Graf
 
AWS Community Day Bangkok 2019 - Building & Deploying AWS Lambda with Serverl...
AWS Community Day Bangkok 2019 - Building & Deploying AWS Lambda with Serverl...AWS Community Day Bangkok 2019 - Building & Deploying AWS Lambda with Serverl...
AWS Community Day Bangkok 2019 - Building & Deploying AWS Lambda with Serverl...AWS User Group - Thailand
 
Using AWS Lambda to Build Control Systems for Your AWS Infrastructure
Using AWS Lambda to Build Control Systems for Your AWS InfrastructureUsing AWS Lambda to Build Control Systems for Your AWS Infrastructure
Using AWS Lambda to Build Control Systems for Your AWS InfrastructureAmazon Web Services
 
Serverless computing
Serverless computingServerless computing
Serverless computingNitinSalvi14
 
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 minsAWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 minsAWS User Group - Thailand
 
Serverless Computing
Serverless Computing Serverless Computing
Serverless Computing Rushi Namani
 
SQL Strikes Back! Options for Large Scale SQL Analytics - AWS Summit SG 2017...
SQL Strikes Back! Options for Large Scale SQL Analytics - AWS Summit SG  2017...SQL Strikes Back! Options for Large Scale SQL Analytics - AWS Summit SG  2017...
SQL Strikes Back! Options for Large Scale SQL Analytics - AWS Summit SG 2017...Amazon Web Services
 
Aws cloud migration simplified
Aws cloud migration simplifiedAws cloud migration simplified
Aws cloud migration simplifiedPadam Sahi
 
Serverless Computing Model
Serverless Computing ModelServerless Computing Model
Serverless Computing ModelMohamed Samir
 
AWS Community Day Bangkok 2019 - Hello ClaudiaJS
AWS Community Day Bangkok 2019 - Hello ClaudiaJSAWS Community Day Bangkok 2019 - Hello ClaudiaJS
AWS Community Day Bangkok 2019 - Hello ClaudiaJSAWS User Group - Thailand
 
Introduction to Containers - AWS Startup Day Johannesburg.pdf
Introduction to Containers - AWS Startup Day Johannesburg.pdfIntroduction to Containers - AWS Startup Day Johannesburg.pdf
Introduction to Containers - AWS Startup Day Johannesburg.pdfAmazon Web Services
 
Building a Data Processing Pipeline on AWS - AWS Summit SG 2017
Building a Data Processing Pipeline on AWS - AWS Summit SG 2017Building a Data Processing Pipeline on AWS - AWS Summit SG 2017
Building a Data Processing Pipeline on AWS - AWS Summit SG 2017Amazon Web Services
 

Was ist angesagt? (20)

AWS: Serverless Architecture - Beyond functions and into the future
AWS: Serverless Architecture - Beyond functions and into the future AWS: Serverless Architecture - Beyond functions and into the future
AWS: Serverless Architecture - Beyond functions and into the future
 
The future is Serveless | Filip Knapik | #4 Serverless UG Warsaw
The future is Serveless | Filip Knapik | #4 Serverless UG WarsawThe future is Serveless | Filip Knapik | #4 Serverless UG Warsaw
The future is Serveless | Filip Knapik | #4 Serverless UG Warsaw
 
Logic Apps and Azure Functions for Serverless Integration (2017-03-25)
Logic Apps and Azure Functions for Serverless Integration (2017-03-25)Logic Apps and Azure Functions for Serverless Integration (2017-03-25)
Logic Apps and Azure Functions for Serverless Integration (2017-03-25)
 
AWSome Day Philippines Keynote 2015
AWSome Day Philippines Keynote 2015AWSome Day Philippines Keynote 2015
AWSome Day Philippines Keynote 2015
 
Build a Text Enabled Keg-orator Robot with Alexa, AWS IoT & AWS Lambda
Build a Text Enabled Keg-orator Robot with Alexa, AWS IoT & AWS LambdaBuild a Text Enabled Keg-orator Robot with Alexa, AWS IoT & AWS Lambda
Build a Text Enabled Keg-orator Robot with Alexa, AWS IoT & AWS Lambda
 
Introduction to Serverless
Introduction to ServerlessIntroduction to Serverless
Introduction to Serverless
 
AWS Community Day Bangkok 2019 - Building & Deploying AWS Lambda with Serverl...
AWS Community Day Bangkok 2019 - Building & Deploying AWS Lambda with Serverl...AWS Community Day Bangkok 2019 - Building & Deploying AWS Lambda with Serverl...
AWS Community Day Bangkok 2019 - Building & Deploying AWS Lambda with Serverl...
 
Serverless Architecture
Serverless ArchitectureServerless Architecture
Serverless Architecture
 
Using AWS Lambda to Build Control Systems for Your AWS Infrastructure
Using AWS Lambda to Build Control Systems for Your AWS InfrastructureUsing AWS Lambda to Build Control Systems for Your AWS Infrastructure
Using AWS Lambda to Build Control Systems for Your AWS Infrastructure
 
Serverless computing
Serverless computingServerless computing
Serverless computing
 
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 minsAWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
 
Serverless Computing
Serverless Computing Serverless Computing
Serverless Computing
 
SQL Strikes Back! Options for Large Scale SQL Analytics - AWS Summit SG 2017...
SQL Strikes Back! Options for Large Scale SQL Analytics - AWS Summit SG  2017...SQL Strikes Back! Options for Large Scale SQL Analytics - AWS Summit SG  2017...
SQL Strikes Back! Options for Large Scale SQL Analytics - AWS Summit SG 2017...
 
Aws cloud migration simplified
Aws cloud migration simplifiedAws cloud migration simplified
Aws cloud migration simplified
 
Serverless Computing Model
Serverless Computing ModelServerless Computing Model
Serverless Computing Model
 
AWS解決方案介紹和展示
AWS解決方案介紹和展示AWS解決方案介紹和展示
AWS解決方案介紹和展示
 
Python on AWS Lambda
Python on AWS Lambda Python on AWS Lambda
Python on AWS Lambda
 
AWS Community Day Bangkok 2019 - Hello ClaudiaJS
AWS Community Day Bangkok 2019 - Hello ClaudiaJSAWS Community Day Bangkok 2019 - Hello ClaudiaJS
AWS Community Day Bangkok 2019 - Hello ClaudiaJS
 
Introduction to Containers - AWS Startup Day Johannesburg.pdf
Introduction to Containers - AWS Startup Day Johannesburg.pdfIntroduction to Containers - AWS Startup Day Johannesburg.pdf
Introduction to Containers - AWS Startup Day Johannesburg.pdf
 
Building a Data Processing Pipeline on AWS - AWS Summit SG 2017
Building a Data Processing Pipeline on AWS - AWS Summit SG 2017Building a Data Processing Pipeline on AWS - AWS Summit SG 2017
Building a Data Processing Pipeline on AWS - AWS Summit SG 2017
 

Ähnlich wie How one company built a fully serverless architecture in 18 months

Serverless Architecture 101 ⚡
Serverless Architecture 101 ⚡Serverless Architecture 101 ⚡
Serverless Architecture 101 ⚡Thanh Nguyen
 
Serverless Computing How to Innovate Faster
Serverless Computing How to Innovate FasterServerless Computing How to Innovate Faster
Serverless Computing How to Innovate FasterAmazon Web Services
 
SMC301 The State of Serverless Computing
SMC301 The State of Serverless ComputingSMC301 The State of Serverless Computing
SMC301 The State of Serverless ComputingAmazon Web Services
 
AWS Startup Insights Kuala Lumpur
AWS Startup Insights Kuala LumpurAWS Startup Insights Kuala Lumpur
AWS Startup Insights Kuala LumpurAmazon Web Services
 
Primeros pasos en desarrollo serverless
Primeros pasos en desarrollo serverlessPrimeros pasos en desarrollo serverless
Primeros pasos en desarrollo serverlessjavier ramirez
 
Serverless solutions - AWS Summit SG 2017
Serverless solutions - AWS Summit SG 2017 Serverless solutions - AWS Summit SG 2017
Serverless solutions - AWS Summit SG 2017 Amazon Web Services
 
SRV409 Deep Dive on Microservices and Docker
SRV409 Deep Dive on Microservices and DockerSRV409 Deep Dive on Microservices and Docker
SRV409 Deep Dive on Microservices and DockerAmazon Web Services
 
The State of Serverless Computing | AWS Public Sector Summit 2017
The State of Serverless Computing | AWS Public Sector Summit 2017The State of Serverless Computing | AWS Public Sector Summit 2017
The State of Serverless Computing | AWS Public Sector Summit 2017Amazon Web Services
 
Amazon Web Services User Group Sydney - March 2018
Amazon Web Services User Group Sydney - March 2018Amazon Web Services User Group Sydney - March 2018
Amazon Web Services User Group Sydney - March 2018PolarSeven Pty Ltd
 
Lessons learned while going serverless in production
Lessons learned while going serverless in productionLessons learned while going serverless in production
Lessons learned while going serverless in productionMohamed Labouardy
 
Deep Dive on Microservices and Docker
Deep Dive on Microservices and DockerDeep Dive on Microservices and Docker
Deep Dive on Microservices and DockerKristana Kane
 
AWS re:Invent 2016: Building Complex Serverless Applications (GPST404)
AWS re:Invent 2016: Building Complex Serverless Applications (GPST404)AWS re:Invent 2016: Building Complex Serverless Applications (GPST404)
AWS re:Invent 2016: Building Complex Serverless Applications (GPST404)Amazon Web Services
 
Secure your critical workload on AWS
Secure your critical workload on AWSSecure your critical workload on AWS
Secure your critical workload on AWSAmazon Web Services
 
Security & Governance on AWS – Better, Faster, and Cost Effective - Technical...
Security & Governance on AWS – Better, Faster, and Cost Effective - Technical...Security & Governance on AWS – Better, Faster, and Cost Effective - Technical...
Security & Governance on AWS – Better, Faster, and Cost Effective - Technical...Amazon Web Services
 
AWSome Day Intro - Stockholm 20160308
AWSome Day Intro - Stockholm 20160308AWSome Day Intro - Stockholm 20160308
AWSome Day Intro - Stockholm 20160308Amazon Web Services
 
5 Years Of Building SaaS On AWS
5 Years Of Building SaaS On AWS5 Years Of Building SaaS On AWS
5 Years Of Building SaaS On AWSChristian Beedgen
 
20211028 ADDO Adapting to Covid with Serverless Craeg Strong Ariel Partners
20211028 ADDO Adapting to Covid with Serverless Craeg Strong Ariel Partners20211028 ADDO Adapting to Covid with Serverless Craeg Strong Ariel Partners
20211028 ADDO Adapting to Covid with Serverless Craeg Strong Ariel PartnersCraeg Strong
 
Track 4 Session 3_ 利用 AWS Step Functions 建構穩健的業務處理流程
Track 4 Session 3_ 利用 AWS Step Functions 建構穩健的業務處理流程Track 4 Session 3_ 利用 AWS Step Functions 建構穩健的業務處理流程
Track 4 Session 3_ 利用 AWS Step Functions 建構穩健的業務處理流程Amazon Web Services
 
Accelerate Digital Transformation with IBM Cloud Private
Accelerate Digital Transformation with IBM Cloud PrivateAccelerate Digital Transformation with IBM Cloud Private
Accelerate Digital Transformation with IBM Cloud PrivateMichael Elder
 

Ähnlich wie How one company built a fully serverless architecture in 18 months (20)

Serverless Architecture 101 ⚡
Serverless Architecture 101 ⚡Serverless Architecture 101 ⚡
Serverless Architecture 101 ⚡
 
Serverless Computing How to Innovate Faster
Serverless Computing How to Innovate FasterServerless Computing How to Innovate Faster
Serverless Computing How to Innovate Faster
 
SMC301 The State of Serverless Computing
SMC301 The State of Serverless ComputingSMC301 The State of Serverless Computing
SMC301 The State of Serverless Computing
 
AWS Startup Insights Kuala Lumpur
AWS Startup Insights Kuala LumpurAWS Startup Insights Kuala Lumpur
AWS Startup Insights Kuala Lumpur
 
Primeros pasos en desarrollo serverless
Primeros pasos en desarrollo serverlessPrimeros pasos en desarrollo serverless
Primeros pasos en desarrollo serverless
 
Serverless solutions - AWS Summit SG 2017
Serverless solutions - AWS Summit SG 2017 Serverless solutions - AWS Summit SG 2017
Serverless solutions - AWS Summit SG 2017
 
SRV409 Deep Dive on Microservices and Docker
SRV409 Deep Dive on Microservices and DockerSRV409 Deep Dive on Microservices and Docker
SRV409 Deep Dive on Microservices and Docker
 
AWS Startup Insights Singapore
AWS Startup Insights SingaporeAWS Startup Insights Singapore
AWS Startup Insights Singapore
 
The State of Serverless Computing | AWS Public Sector Summit 2017
The State of Serverless Computing | AWS Public Sector Summit 2017The State of Serverless Computing | AWS Public Sector Summit 2017
The State of Serverless Computing | AWS Public Sector Summit 2017
 
Amazon Web Services User Group Sydney - March 2018
Amazon Web Services User Group Sydney - March 2018Amazon Web Services User Group Sydney - March 2018
Amazon Web Services User Group Sydney - March 2018
 
Lessons learned while going serverless in production
Lessons learned while going serverless in productionLessons learned while going serverless in production
Lessons learned while going serverless in production
 
Deep Dive on Microservices and Docker
Deep Dive on Microservices and DockerDeep Dive on Microservices and Docker
Deep Dive on Microservices and Docker
 
AWS re:Invent 2016: Building Complex Serverless Applications (GPST404)
AWS re:Invent 2016: Building Complex Serverless Applications (GPST404)AWS re:Invent 2016: Building Complex Serverless Applications (GPST404)
AWS re:Invent 2016: Building Complex Serverless Applications (GPST404)
 
Secure your critical workload on AWS
Secure your critical workload on AWSSecure your critical workload on AWS
Secure your critical workload on AWS
 
Security & Governance on AWS – Better, Faster, and Cost Effective - Technical...
Security & Governance on AWS – Better, Faster, and Cost Effective - Technical...Security & Governance on AWS – Better, Faster, and Cost Effective - Technical...
Security & Governance on AWS – Better, Faster, and Cost Effective - Technical...
 
AWSome Day Intro - Stockholm 20160308
AWSome Day Intro - Stockholm 20160308AWSome Day Intro - Stockholm 20160308
AWSome Day Intro - Stockholm 20160308
 
5 Years Of Building SaaS On AWS
5 Years Of Building SaaS On AWS5 Years Of Building SaaS On AWS
5 Years Of Building SaaS On AWS
 
20211028 ADDO Adapting to Covid with Serverless Craeg Strong Ariel Partners
20211028 ADDO Adapting to Covid with Serverless Craeg Strong Ariel Partners20211028 ADDO Adapting to Covid with Serverless Craeg Strong Ariel Partners
20211028 ADDO Adapting to Covid with Serverless Craeg Strong Ariel Partners
 
Track 4 Session 3_ 利用 AWS Step Functions 建構穩健的業務處理流程
Track 4 Session 3_ 利用 AWS Step Functions 建構穩健的業務處理流程Track 4 Session 3_ 利用 AWS Step Functions 建構穩健的業務處理流程
Track 4 Session 3_ 利用 AWS Step Functions 建構穩健的業務處理流程
 
Accelerate Digital Transformation with IBM Cloud Private
Accelerate Digital Transformation with IBM Cloud PrivateAccelerate Digital Transformation with IBM Cloud Private
Accelerate Digital Transformation with IBM Cloud Private
 

Kürzlich hochgeladen

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 

Kürzlich hochgeladen (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

How one company built a fully serverless architecture in 18 months

  • 2. OUR SERVER-LESS JOURNEY In under 18 months entirely on serverless. And additional benefits…
  • 3. Efficiency Dev & QA reduced by 2X Visibility More metrics and dashboards Automation CI/CD without 3rd party tools Ownership Single responsibility from Dev to Production Predictability Out of Box Events and Alarms
  • 4. WHY IT STARTEDBusiness wanted go-to market faster
  • 5. VPC AWS Cloud Availability Zone 1 UI Servers Auto Scaling group Availability Zone 2 API Servers Auto Scaling group EC2 Instance EC2 Instance EC2 Instance EC2 Instance ALB ALB CloudFront S3 Clients ElasticCache RDS DynamoDB Static Content Apps/Affiliates Our Architecture in 2017
  • 6. OUR SDLCWe went deeper into understanding development to deployment cycle
  • 7. Scattered Focus Monolithic Approach Inversed QA Efficiency More time was spent to test functionalities which were not modified Siloed Responsibilities Developer: My code works fine, Admin must have done the wrong deployment Jinx Do not touch those files/settings. Server will stop working
  • 9. • Monolithic • Microservices User Interface Business Logic Data Access Layer Database Database Database Database Database Microservice Microservice Microservice Microservice Microservice User Interface
  • 10. SO, HOW DID IT ALL BEGAN… It all started from aws Summit Mumbai in 2017
  • 11. AWS Cloud AWS LambdaAPI Gateway Amazon CloudFront Amazon ElastiCache AWS Lambda AWS Lambda Amazon Aurora Amazon DynamoDB S3 Bucket Proposed Server less Architecture
  • 12. HOLIDAYS PLATFORM REVAMP Tight delivery schedule of 3 months from scratch Finalized to go ahead with Lambda and API Gateway Used aws X-Ray for performance bottlenecks Cloudwatch Metrics and Cloudwatch logs
  • 13.
  • 14. Delivered Entire Product 8 days early 50+ Microservices Latency under 950ms Inbuilt Monitoring and APM FINAL DELIVERY
  • 15. IT WAS JUST THE BEGINNING We were not only able to reduce our go-to market time, but improved efficiencies on multiple fronts
  • 16. OWNERSHIP RESPONSIBILITY SCALABILITY VISIBILITY AUTOMATION SECURITY
  • 17. USE CASE: IMAGE OPTIMIZATION 80M + IMAGES 50+ TB DATA DIFFERENT DEVICES 4 DIFFERENT RESOLUTIONS COMPUTE AND TIME INTENSIVE
  • 18. IMAGE OPTIMIZATION WORKFLOW AWS Cloud Client Amazon CloudFront API Gateway Lambda S3 Bucket Original High Resolution Image Optimized and Resized Image
  • 19. USE CASE: RETRY BOOKING LARGE CODE BASE CUSTOM BUSINESS LOGIC SCHEDULED JOBS BUGS CUSTOM NOTIFICATIONS
  • 20. RETRY BOOKING WORKFLOW Client Push booking transaction Push notification on success Retry n times SQS Lambda Push after n retries SQS DL Notify on failure SES AWS Cloud SNS
  • 21. API Gateway Lambda Systems Manager SQS SNS SES Kinesis Kinesis Firehose S3 Cognito IAM DynamoDB CloudTrail EC2 ElasticCache CloudWatch CloudFormation Route 53 X-Ray Step Functions ALB Budgets EventBridge CloudFront
  • 22. Aws Summit Mumbai May 2017 Migrated all internal services to lambda CloudWatch Events and Dynamodb Aug. 2017 Initiated entire product on Lambda + API Gateway Jan. 2018 Delivered Holidays product 8 days early Integrated with X-Ray Mar. 2018 Cloudformation Templates June 2018 Fully integrated CI/CD pipeline Oct 2018 Event Driven Design pattern SQS, SES, Lambda Authorizer, S3 Feb 2019 500+ Microservices 100% serverless May 2019
  • 23. WHAT'S NEXT We are planning to leverage aws Bahrain region to offer low latency for all our Middle East customers.

Hinweis der Redaktion

  1. Today I am going to share with you our serverless journey.
  2. And how it all started along with some of the use cases which transformed the way we think and build.
  3. Now when we look back in time and compare how we used to do things before serverless and now, There is a clear distinction in these 5 areas. We are able to release features more quickly Have more visibility without the need of 3rd party integrations Fully automated CI/CD pipeline Developers have end to end ownership from development to production And better proactive insights to take action before things turning ugly
  4. So, Why it all started? For a very simple reason, Business wants to run much faster then what any engineering team could deliver. And this got us thinking to relook at how we do things, how can we improve our architecture and increase speed of delivery.
  5. This was our architecture in 2017, Pretty standard! Separate EC2 instances for UI and API all inside VPC and Auto Scaling Groups sitting behind Application Load Balancers. Honestly we were not able to identify any problem with this architecture. It was fine! So we decided to go deeper and look into our Software Development Life Cycle
  6. We started analysing day to day activities from development to QA to Deployment on production. The kind of challenges we faced. In no time, we were able to identify 4 areas where most of the time was getting wasted. And I am sure even you would be able to corelate to these problems
  7. Since there were too many moving parts, developers had to juggle between creating new features and making sure existing keeps on working. For even a small change, QA efforts were increasing as they were required to not only test new features, BUT also other features even though nobody touched them because they were part of single deployment package. And this is what we called Inversed QA Efficiency. If no bugs were identified in testing those untouched features, It was waste of effort as we could have gone live even without testing those. And I am sure you must have heard this many times, Any bug in production, Developer would say, my code is running fine on my system. The deployment guy must have done something wrong.
  8. So we decided to address these problems one by one and Microservices looked the right approach to atleast solve our initial two problems. As this would enable focused development approach for developers and QA will be required to test only those services which are modified. Removing the need of testing untouched features.
  9. I am sure you all must be aware of difference between Monolithic and Microservice approach. But still for reference I pulled this up. And this is the exact reference I used to explain my engineering team why we need to shift to Microservices Architecture. Now the challenge was which framework to use? How to create our Microservices framework?
  10. I was attending aws Summit Mumbai back in 2017 and Mr. Werner Vogels was presenting the keynote. And there was a Eureka moment where I realized that Lambda now has support for .net Core. Since .NET is our primary development language, we could start testing Lambda out and this will not only solve our problem of which microservice framework to choose, but also will open the doors for serverless world!
  11. We took our initial architecture and replaced just two things. API Gateway instead of Load Balancer and individual lambda function for each feature instead of EC2 instances. BUT still all this was in theory. Why? Just imagine going to business guys and saying. Hey look, we have come up with new fancy architecture and for next few months we won’t be able to take any new features. What do you think the answer would be?
  12. It was in around Christmas of 2017 where we asked to revamp our entire Holidays platform with aggressive timeline of 3 months. So the engineering team decided that this is the best opportunity to try on what we believe and lets deliver this project using Lambda, API Gateway for microservices, X-Ray for application monitoring and CloudWatch for logs and metrics.
  13. And we delivered it before time.
  14. Now we had a production application using microservices and serverless. And a proof to the business that this new architecture will help increase our efficiency. But this was just the beginning of what we could achieve.
  15. And within 18 months we were able to completely transform all our monolithic applications to serverless and also improve on these 6 verticals. In these 18 months, we were also able to take benefit of Event Driven Design pattern using aws services and made more robust and easy to maintain applications. There are few use cases which I’ll share with you.
  16. To convince customers, Online Travel relies heavily on good quality images. And in our case at the time, we hade more than 80 Million images with over 50 TB in storage size. We were required to make a balance as when to show high quality image and when to show small thumbnails or device specific image. This required to resize and optimize every single image to 4 different sizes. This would mean over 320 Million additional images in different resolutions. But it would require lot of time and compute. So we leveraged out of box features provided by aws.
  17. We solved the problem using this architecture. We were not required to resize every image before hand, but made it on demand.
  18. In Online travel there are times when a customer booking fails due to various reasons. So we had created a flow to retry booking for certain number of times and act accordingly. Trust me it is not simple and we had written 1000s lines of code which obviously had bugs. We had to configure schedulers to constantly monitor these scenarios.
  19. These are the list of aws services that we are currently using and counting.