mobile & the cloud - meetupfiles.meetup.com/1698110/cloud and mobile - foley.pdfmobile & the...

25
MOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist Microsoft Corporation Developer and Platform Evangelism (DPE) [email protected] http://patrickfoley.com @patrickfoley

Upload: others

Post on 29-May-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability

MOBILE & THE CLOUDa perfect match

Patrick Foley

ISV Architect Evangelist

Microsoft Corporation

Developer and Platform Evangelism (DPE)

[email protected]

http://patrickfoley.com

@patrickfoley

Page 2: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability

MOBILE & THE CLOUD

phone home

most non-trivial mobile apps require a back-end

Page 3: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability

MOBILE & THE CLOUD

what do you need from back-end?

• support all phone types– plus tablet and browser

– don’t forget feature phones

• rapid development

• performance and scalability

• reliability

• security– identity management

– connect with existing / internal systems

• cheap

Page 4: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability

ENTER THE CLOUDbut what is it?

Page 5: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability

MOBILE & THE CLOUD

Cloud = The Internet

• websites

• Software as a Service (SaaS)

– Salesforce.com, Dynamics CRM Online, BPOS/Office365, …

– countless other enterprise and consumer SaaSISVs

– often – but not always – browser-based

• store your data “in the cloud”

– Skydrive, Dropbox, Mozy, Nasuni, …

Page 6: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability

MOBILE & THE CLOUD

Cloud = Utility Computing

• implies back-end

• easy to add computing power

• easy to subtract computing power

Page 7: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability

MOBILE & THE CLOUD

history: ancient times

• physical boxes

• new workload? new server

Page 8: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability

MOBILE & THE CLOUD

history: recent times

• virtual machines

– 1 physical box can house multiple (2, 10, 100,

…) “virtual” computers (VMs)

• new workload? new VM

• standardized physical hardware

– VMs look just like physical computers to

application software

Virtualized Environment

Page 9: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability

MOBILE & THE CLOUD

benefits of server virtualization

• cost

– server consolidation/improved utilization

• manageability

– more flexible HA/DR scenarios

• hosters have used VMs for many years

• sidebar: multiple types of virtualization

Page 10: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability

MOBILE & THE CLOUD

along comes Amazon

• one of the biggest, best ecommerce sites

• demand peaks at holidays

• “Can we sell our excess capacity?”

• the (public) cloud is born

– August 2006 beta, October 2008 “release”

December December

Co

mp

ute

Req

uir

ed

Page 11: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability

MOBILE & THE CLOUD

what’s different?• no long-term contract

• pay in 1-hour increments

• launch new compute capacity (VM’s) in minutes– even by “remote control” (API)

• implications– experiment cheaply

– handle peaks

– level playing field

– CapEx to OpEx

– develop for HUGE scale• assuming you already know how to write stateless web apps

Page 12: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability

MOBILE & THE CLOUD

the market grows

• Google

• Microsoft

• Rackspace and other “traditional” hosters

• VMWare

• Salesforce.com

• Heroku.com

• “Me too!”

Page 13: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability

MOBILE & THE CLOUD

economies of scale

• Microsoft and Google are investing billions each year in

data center capacity

• whitepaper: massive TCO savings in public vs private

– 100 servers: cost prohibitive

– 1000 servers: 10 times the cost of a public cloud

Page 14: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability

MOBILE & THE CLOUD

example: sxp

Page 15: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability

MOBILE & THE CLOUD

Private(On-Premise)

Storage

Server HW

Networking

Servers

Databases

Virtualization

Runtimes

Applications

Security & Integration

Cu

sto

me

r m

anag

es

increasing complexity

Page 16: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability

different types of clouds

SaaS

Software as a Service (Office365, salesforce.com, …)

• Customer-ready

• Often self-service

• “Just use it”

• Don’t care about guest

OS

• Assumed to be scalable

IaaS

Infrastructure as a Service (Amazon, rackspace, VMWare, partners)

• Operations-ready

• Can be self-service

• “VMs on demand”

• Customer must manage guest

OS

• Great if you already know how

to write scalable apps or if you

want to run legacy apps

PaaS

Platform as a Service (Microsoft, Google, Salesforce)

• Developer-ready

• Mostly self-service

• “Write a chunk of code”

• Don’t have to manage

guest OS

• Easy to scale (stateless

web apps by default)

• Easy to operate / HA

DR built in

MOBILE & THE CLOUD

Page 17: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability

MOBILE & THE CLOUD

cloud computing taxonomythe sweet spot for a

mobile app back-end

Traditional IT

Storage

Servers

Networking

O/S

Middleware

Virtualization

Data

Applications

Runtime/DB

Custo

mer

manag

es

IaaS

Storage

Servers

Networking

O/S

Middleware

Virtualization

Data

Applications

Runtime/DB

Manag

ed b

y v

endor

Custo

mer

manag

es

Custo

mer

manages

PaaS

Manag

ed b

y v

endor

Storage

Servers

Networking

O/S

Middleware

Virtualization

Applications

Runtime/DB

Data

SaaS

Manag

ed b

y v

endor

Storage

Servers

Networking

O/S

Middleware

Virtualization

Applications

Runtime/DB

Data

Page 18: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability

MOBILE & THE CLOUD

so does cloud work for mobile?

• support all phone types: YES, via RESTful APIs and pages– plus tablet and browser: YES

– don’t forget feature phones: YES

• rapid development: YES, in various ways (e.g., deployment)

• performance and scalability: YES, easy to add resources

• reliability: YES, built-in or easy-to-add HA

• security: YES, data centers follow consistent best practices– identity management: more and more

– connect with existing / internal systems: more and more

• cheap: YES, a lot cheaper than self-hosting

Page 19: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability

MOBILE & THE CLOUD

scenarios• mobile app as isolated business

– productivity

– game

– collaboration/social

• expanding existing solution with mobile– consumer/soho

– enterprise/smb

• custom corporate mobile solution

• marketing-based solution

• quick-n-dirty – don’t overlook html and jQuerymobile

Page 20: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability

MOBILE & THE CLOUD

cloud architecture questions

• how will you be managing identity?

• how will you partition data for customers?

• do you need relational storage or is “no SQL” a better fit?

• how will you monitor usage? determine scalability factors?

• do you need to connect through corporate firewall?

• do you need to expose/sync with internal data?

• are you migrating from on-prem/self-hosted

Page 21: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability
Page 22: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability

MOBILE & THE CLOUD

Windows Azure: cloud for mobile

• supports all mobile platforms

• best developer tools

• PaaS

• trivial to scale

• HA/DR

• enables single sign-on

• DevOp

• “You can pull Azure from my cold, dead fingers”- Matt Spradley, founder of Impirus and Vignature

Page 23: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability

MOBILE & THE CLOUD

get started

• free Windows Azure pass – 30 days, no

credit card required

– windowsazurepass.com with promo code

PFOLEY

• free with MSDN – no time limit

• free Cloud Essentials for Microsoft

partners – no time limit

• see azure.com for more offers

Page 24: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability

MOBILE & THE CLOUD

Microsoft Platform Ready

• www.MicrosoftPlatformReady.com

• step-by-step resources for Windows Azure and Windows

Phone for partners (startup? check out bizspark.com)

• no-cost technical support

• testing benefits for partner competencies

• visibility: stand up and be counted

Page 25: MOBILE & THE CLOUD - Meetupfiles.meetup.com/1698110/Cloud and mobile - Foley.pdfMOBILE & THE CLOUD a perfect match Patrick Foley ISV Architect Evangelist ... •performance and scalability

MOBILE & THE CLOUD

questions?

Patrick Foley

ISV Architect Evangelist

Microsoft Corporation

Developer and Platform Evangelism (DPE)

[email protected]

http://patrickfoley.com

@patrickfoley