making of maas - aws meetup helsinki 2016

21
Building the Future of Mobility

Upload: sami-pippuri

Post on 14-Apr-2017

391 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Making of maas - aws meetup Helsinki 2016

Building the Futureof Mobility

Page 2: Making of maas - aws meetup Helsinki 2016

About Me

Sonera

Longish Nokia Career- Software- Music Industry- Developer Relations across S40, Symbian, Maemo,MeeGo,Qt,HERE,Flash, WRT,HTML5,Windows Phone…

- 2-timeWebby AwardWinner

SSH, Ixonos

Non-profit initiatives &startups

MaaSGlobal

SamiPippuriCTO,MaaSGlobal

@pippuri

#spaceselfie

Topicalio

Whim

Page 3: Making of maas - aws meetup Helsinki 2016

Transportation is being hit by a DIGITAL TSUNAMI.

So what is changing?

Page 4: Making of maas - aws meetup Helsinki 2016

The key challenges of fast evolving urbanmobility

Urbanisation Travel problems Insufficient solutions

More people More traffic jams Multipleand disconnected apps

Route based public transportation

Emerging transport sharing

More vehicles Less parking space

More urban travel More time spent on PT

More complex travel More delays

Car ownership not fitting with modern lifestyle

Page 5: Making of maas - aws meetup Helsinki 2016

Cities can’t cope with urban mobility demand

2,8

43,2

67,1

2010 2030 2050

Urbanisation Current alternative

Urban mobility demand 2010-2050 (trillions pkm.p.a.;%)

Source: Appendix

URBAN MOBILTYDEMAND EXPLODES

2,6 x

3 bnThe number of vehicles on

the road worldwide is projected to triple, to as

many as 3billionby 2035.

37,2%From 1995 to 2013 public transportation ridership

increased by 37,2%,exceeding the 22,7% growth rateof

the U.Spopulation

42 h42 hours a year are

spent in a traffic jam (USA).

106h106 h/year on

average spent on urban travel.

149minon public transport

each day.

2 xThe world’s current total of 1,2 billion cars could

double by 2030.

10,8 bnIn 2014, people took a record -breaking

10.8 billion trips on public

transport.

40%of inner-city traffic consists of vehicles looking for a parking

space.

38min38 minutes

(26 %) of which is spent idly waiting for the bus or

train to arrive.

40%with a 40 %

dissatisfaction rate.

Private traffic

Public transport

New York

+68%

+55%

Travel problems

Page 6: Making of maas - aws meetup Helsinki 2016

Current optionsType of transport

Government role

Challenges

Increasing costs

Traffic jams and curfews

Privatecars

Mismatch between supply and demand

Public transport

Limited and expensive parking

Heavyrestrictions

NO SINGLE SOLUTIONEXISTS

Heavysubsidies

Urban pollution

Huge amount of disparate service providers

Inefficient due to single passenger jurneys

Low usage vs cost

Cost ofownership

More time spent on public transport than ever

Extensive planning required

Cost ofoperation

Urbanisation Current options

Travel problems

Page 7: Making of maas - aws meetup Helsinki 2016

The MaaS solution

Freedom from ownership A singleapp Increased

efficiency

Access to all transport without the need to

own a car

Hassle free

One intuitive app to manage your travel needs

User friendly

Increased utilisation rate AND route optimisation

WITH on-demand routing

Saves money

Page 8: Making of maas - aws meetup Helsinki 2016

… AND TAILORED TO YOUR NEED AS MONTHLY PACKAGES?

Our product - transport sold by monthlysubscription

WHAT IF ALL TRANSPORTATION WAS CONVERGED…

Page 9: Making of maas - aws meetup Helsinki 2016

Pilot Project:MVP TEST AREA

Copyright Maas Global Oy 9

Tampere

HelsinkiRegion

TurkuRegion

TallinnRegion

Page 10: Making of maas - aws meetup Helsinki 2016

Perhaps the more INTERESTING BIT

So how are we making this happen?

Page 11: Making of maas - aws meetup Helsinki 2016

System Goals

Goals

• Scalable, cloud-based• Mobile-first customerexperience• Utilizing readymadecloudAPIs• Infrastructure-as-code• Establish industrystandardAPIswhere they

don’texistyet• Openforecosystempartners• Createenthusiasm inthewiderecosystem–

enablee.g.Universitiesandsmaller developerhousesaroundtheworld

Non-Goals

• Closedarchitecture orlock-ins

• Exclusive deals• Server infrastructure• Intermediate, all-

encompassing frameworks• Something foreverybody

Page 12: Making of maas - aws meetup Helsinki 2016

Loosely coupled Microservice API integrations – flexible inclusion into MaaS framework

Routing

TrafficOperatorTrafficOperatorTrafficOperatorTransportOperator

Weather

SubscriptionPayment

Identity

GenericRuleEngine

CustomerSupport

Whimbackend

APIGW

WhimApps

Page 13: Making of maas - aws meetup Helsinki 2016

MaaS tech Mission: Build a “Transport AI”

Anticipation,Service

Optimization

“TransportAI”

BETTER SERVICE, HIGHER UTILIZATION

Page 14: Making of maas - aws meetup Helsinki 2016

IoT and ML Powered Decision Making

TransportAI

APIbridge

AnalyticsStore

TSPAdapter(s)

RoutingAPI

BookingAPI

ServiceBus/Registry

IoT APIGW

Page 15: Making of maas - aws meetup Helsinki 2016

Transport Service Provider Adapter

FlexibleRoutes(GeoJSON)

FixedRoutes(GTFS2JSON)

Real-timevehicles

Journeybooking/ticketing

Journeypayment

ContractData

Anopensource frameworkandadapter for

integrating providers

• Nolock-in toasingleMaaSOperator

• CreateopenAPIstandardswhere they

don’texistyet

• Enableanecosystemofdevelopers

• Scale integration globally

OpenSourceProject (firstfocusingonbookings):http://maas-api.org

Page 16: Making of maas - aws meetup Helsinki 2016

Tech Stacks

iOS MaaSCoreAndroid

Swift Java

AWSSDK

AWSIoT Cognito …

Lambda(Node.js 4.x)

Serverless

AWSComponents

RESTAPIs

Apps Backend Integrations

BPMN-js MaaS-API SBUS

Page 17: Making of maas - aws meetup Helsinki 2016

Serverless Project Workflow*

Serverlessw/CloudFormation

autoinstall meta

mocha

Webpack+Babel

Base toolstack

TravisCI ManualDeployment

Unit& integrationtesting

sls Xdeploy

*Current state– notideal!

Page 18: Making of maas - aws meetup Helsinki 2016

Why cloud-native and serverlessVirtualHardware Cost Set-uptime Personnel

BEFORE 1firewall/LB, 2DBmachines, 2frontends,3backends…>$1500/monthfor0users

>1week just tohaveanenvironment,accounts,OSinstallations,networking rules,databases..

DBAinfraengineerNetworking,Backups, Updates…Monitoring,Developers

MaaS 0EURtosetup,< $100/monthtosupport~5000users

First routing demoonday1,capable ofscaling tothousandsofconcurrent users

1Senior FullStackJavascript developer

Page 19: Making of maas - aws meetup Helsinki 2016

Lessons learned

Bleedingedgeissharp- Serveless0.5- Testing&Deploymentflow&management- RemoteTeams- Learningcurve&Hiring- Unknownfailuresituations&debugging

Page 20: Making of maas - aws meetup Helsinki 2016

Conclusions

Serverlesscomputingwastherightmodeltogofor- Effortlessscalability- Zeromaintenance- Statelesspatterns- Isolation- NativeCloudComponents- Productivity

…butstillabitrougharoundtheedges.

Page 21: Making of maas - aws meetup Helsinki 2016

@pippurimaas.global/jobs