# Driving Southeast Asia Forward with AWS

[Grab](https://yomu.fyi/company/grab) · Arul Kumaravel · May 21, 2017

**Type:** Explainer

## Summary

Grab transitioned its transportation platform from a single Ruby on Rails monolith on Amazon EC2 and Amazon RDS MySQL to a microservices architecture hosted on Amazon Web Services. The platform processes multi-petabyte real-time data flows and hundreds of millions of GPS data points to match drivers with passengers and push proactive demand heat maps. Operational efficiency is sustained with fewer than ten full-time infrastructure engineers, supported by AWS managed services. The analytics backend also transitioned from MySQL to Amazon Redshift, eventually moving to an Amazon S3 data lake using Amazon EMR and Presto. These data-driven matching systems improved driver-passenger allocation rates by up to 30%.

## Context

Scaling a transportation platform across 40 cities in 7 countries required processing real-time demand, unpredictable weather, and multi-petabyte GPS data streams without ballooning infrastructure maintenance headcount.

## Approach / What changed

Grab migrated from a monolithic Ruby on Rails architecture to microservices on AWS, running its analytics platform on an S3 data lake with EMR and Presto while using real-time demand mapping to dispatch drivers.

## Takeaways

- Leveraging real-time big data mapping increased driver-passenger booking allocation rates by up to 30%.
- Fewer than 10 full-time engineers maintain the entire underlying AWS infrastructure despite a 200-fold increase in usage over four years.
- The internal analytics architecture evolved across iterations from MySQL to Amazon Redshift, and ultimately to an Amazon S3 data lake running Presto on Amazon EMR.

**Tags:** [Architecture](https://yomu.fyi/topic/architecture), [AWS](https://yomu.fyi/topic/aws), [Data Pipelines](https://yomu.fyi/topic/data-pipelines), [Microservices](https://yomu.fyi/topic/microservices), [Scalability](https://yomu.fyi/topic/scalability)

[Read original post](https://engineering.grab.com/driving-southeast-asia-forward-with-aws)
