How Nordcloud used Serverless to help MaaS revolutionize transportation
Nordcloud Solutions is a Nordcloud Group company with expertise in designing and developing applications that leverage the capabilities of leading public cloud platforms. The Nordcloud Solutions team recently helped build the backend for the award-winning Whim personal transportation app by MaaS Global.
MaaS Global (Mobility as a Service) is a startup working to revolutionize personal transportation. Supported by the increasing trends of urbanization and buying everything as a service, we travel more, but we don't want to own a car.
Whim – the mobile application by MaaS Global, has been called the "Spotify of transportation". Whim offers a wealth of options from getting place A to B by public transport, taxi and even rental car – all in a digital subscription service.
There are no common standards and few business practices on how to order buses, taxis or rental cars on behalf of the end customers. MaaS had to create its own models, and adapt their model to fit to the varying practices and IT systems of its partners.
Instead of creating its own maps, geodata or routing systems, MaaS aimed to tap into the existing systems in the field. The technical challenge was making them work together reliably while supporting potentially millions of concurrent users.
Nordcloud Solutions constructed the technical backbone of this system, so that it could be proven to the investors and partners, and helped MaaS developers get up-to-speed with Serverless development on AWS.
Nordcloud Solutions, in co-operation with the MaaS development team, applied their Serverless know-how and constructed a microservices architecture consisting of a few dozen adapters with its own data storage for order handling. The system was founded on AWS services, consisting of a REST API using the Serverless Framework and Postgres data storage. With the exception of managed database services, the whole solution was based on a serverless architecture pattern with Lambda and API Gateway, which theoretically scales infinitely out-of-the-box.
Because the technical mash-up of external maps, geocoding, routing and booking services could fail if any of the third party services fail, some practices to increase fault tolerance were taken into account. A continuous integration system was built using GitHub and Travis, so that new development could happen without exhaustive manual integration and testing work.
Nordcloud Solutions chose the Serverless Framework because they had prior experience with the framework and its predecessor (JAWS), and it was the most robust framework for developing serverless applications on AWS. The framework also provided a plug-in mechanism. This helped to streamline the build and deploy process for optimal output and application performance.
The first end-to-end version, consisting of the full flow of finding a route through getting a Taxi ordered was demoed to investors just four months after the start of the project. Since then, the platform has launched in beta in the Helsinki area with paying end customers, and it' s currently expanding internationally to the United Kingdom.
Creating a Serverless backend allowed developers to focus on building application logic instead of operating the infrastructure. This is the same reason why companies like Zalando are operating their stack in the cloud.
The Whim app, powered by the Nordcloud Solutions bootstrapped backend has won several awards, including the Helsinki Smart City Action Award and Nordic Smart Cities Award. Whim has been featured in the international press, including The Economist, The Guardian, Wired and Helsingin Sanomat.
Eight months after the start of the project, new development still stands on the same foundations set in the bootstrapping phase. MaaS has successfully passed all planned steps of funding, is in a public beta phase in the Helsinki area, and is currently expanding to the first locations outside of Finland. An internal development team capable of taking over the task of developing the solution further was successfully ramped up during the project.
Nordcloud Solutions was our choice for this project because of their expertise in cloud solutions and Serverless microservices. We needed Whim-app to be extendable and scale arbitrarily straight from the start. The whole process was really fast-paced and results spectacular; first online routing demo with a test site was up overnight, surprising everyone in the industry and even our board, making the CTO look good in the process!
Sami Pippuri - CTO at MaaS Global
"The serverless architecture and Serverless Framework have been a perfect fit for us. The serverless architecture allows developers to focus on actual business logic instead of the black magic involved in classical backend solutions. This has helped us to lower the bar in enabling frontend developers to go fullstack and contribute to the backend application as well.”, Nordcloud Solutions CTO Mikael Puittinen. He adds: ”The serverless framework allows us to automate the development lifecycle from project creation to deployment and operations. Its open plugin architecture allows developers such as us to extend the platform with functionality that streamlines the development lifecycle even further."
Nordcloud is a European leader of public cloud infrastructure solutions and services. Since 2012 we've completed over 300 deployments to help our enterprise customers gain the maximum benefits of the cloud including security, agility, scalability and overall cost-savings. As an independent cloud-native company, we are representing all globally leading cloud technology providers neutrally for the customers’ benefit. With a strong Nordic heritage, Nordcloud is headquartered in Helsinki with offices in Stockholm, Malmö, Oslo, London, Amsterdam, Poznan and Munich.
Nordcloud is an AWS Premier, Managed Services, Lambda, API Gateway and DynamoDB Partner, Microsoft Azure Gold Cloud Partner and strategic Google Cloud Platform Partner.