33
APPs modernas e Back-End na Nuvem com Microsoft Azure Vitor César [Meriat] Cloud Specialist - Software Development Engineer @vitormeriat vitormeriat.com.br

APPs modernas e Back-End na Nuvem com Microsoft Azure

Embed Size (px)

DESCRIPTION

Palestra realizada no dia 10-05-2014 para o MSP TechDay 2014 trilha DEV

Citation preview

Page 1: APPs modernas e Back-End na Nuvem com Microsoft Azure

APPs modernas e Back-End na Nuvem com Microsoft Azure

Vitor César [Meriat]Cloud Specialist - Software Development [email protected]

Page 2: APPs modernas e Back-End na Nuvem com Microsoft Azure

Agenda

1. Conhecendo as necessidades atuais2. Analisando um modelo tradicional3. O que são aplicações modernas?4. O que o Microsoft Azure pode fazer

por você?

Page 3: APPs modernas e Back-End na Nuvem com Microsoft Azure

Um mundo Competitivo

Page 4: APPs modernas e Back-End na Nuvem com Microsoft Azure

Big Users

Page 5: APPs modernas e Back-End na Nuvem com Microsoft Azure
Page 6: APPs modernas e Back-End na Nuvem com Microsoft Azure

Internet e a Internet das coisasInternet of

things Invisible devicesTrillions of networked

nodes

Low bandwidth last-mile

connection

100kBit/sec

Mostly addressed by local schemes

Machine-centric Sensing-focus

Trillions of computer-enabled

devices which are part of the

IoT

Global addressing

User-centricCommunication-

focus

Internet

Laptops / tablets / smartphones

Billions of networked devices

High-bandwidth access

Cable: 10Mbs+Fiber: 50-100Mbs

6+billion people

1.5 billion use net

US: 4.3 devices per adult

Page 7: APPs modernas e Back-End na Nuvem com Microsoft Azure
Page 8: APPs modernas e Back-End na Nuvem com Microsoft Azure
Page 9: APPs modernas e Back-End na Nuvem com Microsoft Azure

E a exigência dos usuários é cada vez MAIOR!!!

Page 10: APPs modernas e Back-End na Nuvem com Microsoft Azure

Diversos dispositivos, diversas plataformas

Experiência contínua

WindowsPhone 8

iOS AndroidWindows 8Windows 8 Android

Page 11: APPs modernas e Back-End na Nuvem com Microsoft Azure

Percebe a importância de um Back-End para aplicações distribuídas e escaláveis?

Page 12: APPs modernas e Back-End na Nuvem com Microsoft Azure

E como funciona

Hoje?

Page 13: APPs modernas e Back-End na Nuvem com Microsoft Azure
Page 14: APPs modernas e Back-End na Nuvem com Microsoft Azure

Padrões de Uso

Uso

Compu

tação

Tempo

UsoInatividade

“Liga/Desliga“

• Cargas On/Off (ex.:. Job batch)• Desperdício da capacidade provisionada• Time to market pode ser retardado

Compu

tação

Tempo

“Pico Imprevisível“

Uso

• Pico de demanda inesperada• Desempenho comprometido pelo pico• Difícil provisionar nos casos extremos

Uso

Compu

tação

Tempo

“Crescimento Rápido“

• Serviços que precisam crescer e escalar• Crescer é um desafio grande na TI• Deployment complexo

Compu

tação

Tempo

Uso

“Pico Previsível“

• Serviços c/ micro sazonalidades• Picos devido a demandas periódicas• Complexidade da TI + desperdício

Page 15: APPs modernas e Back-End na Nuvem com Microsoft Azure

Aplicações Modernas

Page 16: APPs modernas e Back-End na Nuvem com Microsoft Azure

?

Page 17: APPs modernas e Back-End na Nuvem com Microsoft Azure

ScalableMobile readyAvaliable at all timesReal-time enabledTruly secure

Page 18: APPs modernas e Back-End na Nuvem com Microsoft Azure

Mudança de Paradigma

The digital revolution The cloud revolution

vs vs

Page 19: APPs modernas e Back-End na Nuvem com Microsoft Azure

Mobilidade Cloud fazem um par PERFEITO

Page 20: APPs modernas e Back-End na Nuvem com Microsoft Azure

MOBILE

Connect from AnywhereRapidly Growing MarketLimited StorageLimited Compute

Limitless ComputeLimitless StorageServices via the internet (APIs)Scale and Elasticity

CLOUD

Page 21: APPs modernas e Back-End na Nuvem com Microsoft Azure

Microsfot Azure

Salvando o dia

Page 22: APPs modernas e Back-End na Nuvem com Microsoft Azure

Your Datacenter

Virtualization

O/S

Hardware

Network

Data

Applications

Firewall

Web Sites

Applications

Data

Cloud Services

Applications

Firewall Rules

Data

Virtual Network

Virtual Machines

Virtual Network

Data

Applications

Firewall Rules

O/S

Focus on the Application

Windows Azure

Page 23: APPs modernas e Back-End na Nuvem com Microsoft Azure

Execution Models

One of the most basic things a cloud platform does is execute applications. Windows Azure provides three options for doing this:

Page 24: APPs modernas e Back-End na Nuvem com Microsoft Azure

Affinity GroupsClosely locate your compute,

network and storage resources in the same

datacenter

AffinityGroup

Get better performance

Get lower latency

Reduce egress costs

Page 25: APPs modernas e Back-End na Nuvem com Microsoft Azure

data

servicestableHDInsight

blob storage

SQL database

app

services

media

hpcintegration analytics

caching identity service bus

web sitesmobile services

cloud services

infrastructure

servicescdn

virtual machines

virtual network vpn

traffic manager

Page 26: APPs modernas e Back-End na Nuvem com Microsoft Azure

pic1.jpg

Windows Azure CDN

To Enable CDN:Register for CDN via Dev PortalSet container images to public

pic1.jpg

GEThttp://guid01.vo.msecnd.net/images/pic.1jpg

http://sally.blob.core.windows.net/images/pic1.jpg

http://sally.blob.core.windows.net/ http://guid01.vo.msecnd.net/

pic1.jpg

404

TTL Content Delivery Network

Windows Azure Blob Service

EdgeLocation

EdgeLocation

EdgeLocation

Page 27: APPs modernas e Back-End na Nuvem com Microsoft Azure

Authentication

Authentication & Authorization

Authentication TokenPassed to Azure Mobile Services

Page 28: APPs modernas e Back-End na Nuvem com Microsoft Azure

Push Notifications

Insert, Update, Delete, Read on a Table

Automatic or Manual Server ScriptAn Event

Script Runs in the Azure Mobile Service

WindowsPhone 8

MPNS

iOS

APNS

Android

GCM

Windows 8

WNS

Page 29: APPs modernas e Back-End na Nuvem com Microsoft Azure

Client SDK Simplifies This

Mobile Services Data WORKFLOW

Insert script

Update script

Delete script

Read script

Node.JS Scripts

Some JSON Object{ FirstName=“…”, LastName=“…” }

REST

ove

r HTT

P

Page 30: APPs modernas e Back-End na Nuvem com Microsoft Azure

Virtual Network• Logical isolation with control over the network

• Create subnets; use your private IP addresses

• Stable and persistent private IP addresses

• DNS options – BYO or Windows Azure-provided

• Extend your trust boundary – Virtual Machines and Cloud Services on the same Network

Windows Azure

Virtual Network

subnetX

subnetY

subnetZ

DNS Server

Page 31: APPs modernas e Back-End na Nuvem com Microsoft Azure

Virtual Network with Hybrid Connectivity• Extend your infrastructure

• Networking on-ramp for migrating apps and services

• Your “virtual” branch office / datacenter in the cloud

• Run “hybrid” apps that span the cloud and on-premises

• Secure private networks fully contained

• in Windows AzureYour datacenter

Point-to-Site

Windows Azure

Virtual Network

WFE App SQL DC/DNS

Site-to-Site

Page 33: APPs modernas e Back-End na Nuvem com Microsoft Azure

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.