Slide 1

Slide 1 text

Connecting 10000 cars to the AWS Cloud Ashwin @ Zoomcar | Oct-12, 2019

Slide 2

Slide 2 text

$whoami • Old school Sys / Network Admin • <3 Shell / UNIX • <3 Cloud and scaling tech companies • IoT is my new tinker toy • Own Mail and DNS servers

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

Note: This works when copying entire slides from other presentations as long as the source presentation is also 16:9 India’s first and largest app-based self- drive car rental company.

Slide 5

Slide 5 text

Cars E-Scooters

Slide 6

Slide 6 text

Note: This works when copying entire slides from other presentations as long as the source presentation is also 16:9 100% AWS

Slide 7

Slide 7 text

Some more data • 40 Cities • 3mn users on the platform • > 4000 rides every day • 5lac km travelled daily • 10000 cars

Slide 8

Slide 8 text

Some more data contd… • All cars are connected to platform • > 500mn IoT events ingested daily • > 1TB data lake for analysis and reporting

Slide 9

Slide 9 text

Note: This works when copying entire slides from other presentations as long as the source presentation is also 16:9 This is just cars! We have scooters too ;-)

Slide 10

Slide 10 text

How did we do this?

Slide 11

Slide 11 text

Note: This works when copying entire slides from other presentations as long as the source presentation is also 16:9 WE BURNT OURSELVES, OUR FAMILIES, OUR FRIENDS, OUR LAPTOPS and then some!

Slide 12

Slide 12 text

THAT CHEAP Datacenter!

Slide 13

Slide 13 text

• ~ 70 % uptime • No NOC • Noisy neighbor problems • Hands tied on architectural, design, infra decisions • DevOps === Red eyed devils on the floor • Maintain / own Systems • Maintain / own Infra

Slide 14

Slide 14 text

Bring on the experts!

Slide 15

Slide 15 text

• Mandate to scale – Zap subscribe • 1 month to create migration plan • 2 days to create instances • 3 days to migrate data • 4 hours of downtime • 5 Star Performance

Slide 16

Slide 16 text

Post the upgrade • Cloudfront – Website (1.2 secs to first paint) • Autoscaling API cluster (2sec to 150ms avg resp time) • EKS (~30% cost advantage) • Multi AZ RDS (No DBAs in office) • Read Replica Slaves (Daisy chained on demand for teams) • AWS Glue / Athena / Redshift (More data sources, more information) • 40X average scale / 200X peak load (Yaaaaay!!!) • Elasticache (Memcache / Redis at their performant best) • Kafka for IoT pipelines (Beast mode on steroids for distributed data processing)

Slide 17

Slide 17 text

Data is the new FUEL!

Slide 18

Slide 18 text

Business Intelligence • User behavior capturing • Quicker identification of UX drop off points • Demand Forecasting • Predictive Maintenance

Slide 19

Slide 19 text

Data Analytics • Every data point we can think of captured • Cars produce 500mn data points per day • Customer Churn • Fraud detection • Driver Score

Slide 20

Slide 20 text

Note: This works when copying entire slides from other presentations as long as the source presentation is also 16:9 And that’s how we connect 10000 cars to the AWS Cloud…

Slide 21

Slide 21 text

Note: This works when copying entire slides from other presentations as long as the source presentation is also 16:9 Hold on! There’s more!

Slide 22

Slide 22 text

Note: This works when copying entire slides from other presentations as long as the source presentation is also 16:9 How would YOU do it?

Slide 23

Slide 23 text

Note: This works when copying entire slides from other presentations as long as the source presentation is also 16:9 How would you connect 1mn devices?

Slide 24

Slide 24 text

Note: This works when copying entire slides from other presentations as long as the source presentation is also 16:9 Few Key Learnings

Slide 25

Slide 25 text

Bad arch decisions bite you hard

Slide 26

Slide 26 text

Be prepared to change at the earliest

Slide 27

Slide 27 text

Managed Services exist for a reason

Slide 28

Slide 28 text

Note: This works when copying entire slides from other presentations as long as the source presentation is also 16:9 AWS IoT

Slide 29

Slide 29 text

Note: This works when copying entire slides from other presentations as long as the source presentation is also 16:9 Key Components

Slide 30

Slide 30 text

Ingestion / Persistence / Analysis

Slide 31

Slide 31 text

Key Components • Applications • Device Management • Message management • Storage • Data Processing • Notifications • Analytics

Slide 32

Slide 32 text

Key Components • Applications – AWS IoT SDK / Edge with Greengrass • Device Management – AWS IoT Hub / Device Shadows • Message management – AWS IoT Message Queue / AWS IoT Rules Engine • Storage – RDS / DynamoDB • Data Processing - Lambda • Notifications – SQS • Analytics – EMR / Kinesis / Redshift

Slide 33

Slide 33 text

Why AWS IoT???

Slide 34

Slide 34 text

• Rock solid / proven ecosystem • Infinite Scale • Insanely small Time to Market • Programmability • Insights • Smooth learning curve • Existing support systems and community

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

Note: This works when copying entire slides from other presentations as long as the source presentation is also 16:9 Thank You [email protected] +91 9003010231