A apresentação está carregando. Por favor, espere

A apresentação está carregando. Por favor, espere

Projetando arquiteturas para o Windows Azure

Apresentações semelhantes


Apresentação em tema: "Projetando arquiteturas para o Windows Azure"— Transcrição da apresentação:

1 Projetando arquiteturas para o Windows Azure
Rafael Godinho Arquiteto de Soluções @rafaelgodinho Microsoft

2 Agenda Nuvem é diferente Prepare-se para falhas Escalabilidade
Integração Perguntas?

3 Nuvem é diferente “Totó. Sinto que não estamos mais no Kansas...”
Dorothy Gale – Mágico de Oz

4 “Este é um problema de hardware, não é problema da minha aplicação”

5 “Vamos colocar mais memória no servidor de banco de dados”

6 “Nossa aplicação tem 99,9% de disponibilidade pq usamos Windows Azure”

7 “Ficamos sem recursos? Que legal!”

8 “Vamos mover tudo para a nuvem!”

9 Padrões de Computação em Nuvem
Ligado/Desligado Cargas de trabalho em “batch” Excesso de capacidade é desperdiçado “Time to market” pode ser complicado Padrões de Computação em Nuvem Período de Inatividade Computação t Crescimento Rápido Serviços de sucesso precisam crescer/escalar Manter a taxa de crescimento é um desafio de TI É difícil provisionar hardware rapidamente Computação t Pico Não Previsível Demanda não planejada Impacto no desempenho Não é possível super provisionar para casos extremos Computação t Pico Previsível Serviços com tendência de micro sazonalidade Picos por crescimentos periódicos TI complexa e desperdício de capacidade Computação t

10 Prepare-se para falhas
“Ninguém baterá tão forte quanto a vida. Porém, não se trata de quão forte pode bater, se trata de quão forte pode ser atingido e continuar seguindo em frente. É assim que a vitória é conquistada” Rocky Balboa

11 Confiabilidade “Capacidade de uma pessoa ou sistema de realizar e manter seu funcionamento em circunstâncias de rotina, bem como em circunstâncias hostis e inesperadas” Fonte: Wikipedia

12 Confiabilidade MTTF Disponível MTTR Indisponível Foco MTTF Foco MTTR
TechEd 2013 9/28/ :51 PM Confiabilidade MTTF Disponível MTTR Indisponível Foco MTTF Foco MTTR © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

13 Confiabilidade no Windows Azure
TechEd 2013 9/28/ :51 PM Confiabilidade no Windows Azure Auto recovery de instâncias não responsivas Fault domain para distribuir instâncias através dos racks Availability set de VMs para alocar VMs entre Fault domains Upgrade domain evita desligar todas as instâncias de uma só vez VIP swap para promover a troca de staging para produção Emulador, Intellitrace e APIs de diagnóstico Transient Fault Handling Application block para tratamento de falhas © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

14 Disponibilidade “Proporção de tempo que o sistema está funcionando”
Fonte: Wikipedia 𝐷= 𝑈𝑝𝑡𝑖𝑚𝑒 𝑈𝑝𝑡𝑖𝑚𝑒+𝐷𝑜𝑤𝑛𝑡𝑖𝑚𝑒

15 Disponibilidade Redundância
𝐷=(1 − 1−0,7 ∗ 1−0,8 ∗ 1−0,9 ) ∗100 = 99,4%

16 Disponibilidade Composição 𝐷=(0,7 ∗0,8 ∗0,9) * 100 = 50,4% A (70%)

17 Disponibilidade no no Windows Azure
Windows Azure Storage utiliza réplicas SQL Database possui servidores de backup Windows Azure Caching pode ter alta disponibilidade Windows Azure Web Sites e Cloud Services com várias instâncias Virtual Machines com balanceamento de carga Windows Azure Virtual Network possui redundância Windows Azure Traffic Manager para failover

18 Como as falhas afetam minha aplicação?
TechEd 2013 9/28/ :51 PM Como as falhas afetam minha aplicação? Depente… mas generalizando Utilize as funcionalidades nativas do Windows Evite pontos únicos de falha Falhe, mas de maneira controlada Elimine fatores humanos © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

19 “Pra ficar fortinho e crescer!” Meu lanchinho
Escalabilidade “Pra ficar fortinho e crescer!” Meu lanchinho

20 Scaling up X Scaling out
TechEd 2013 9/28/ :51 PM Scaling up X Scaling out Carga Capacidade Instâncias © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

21 Capacity plan e unidade de escala
TechEd 2013 9/28/ :51 PM Capacity plan e unidade de escala Capacidade Carga Para atender x clientes, são necessários i instâncias de computação, j filas, k contas de storage … Tempo © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

22 Escalando com Windows Azure
TechEd 2013 9/28/ :51 PM Escalando com Windows Azure Scale up utilizando tamanhos diferentes de VMs Scale out adicionando mais intâncias Scale out com múltiplas cópias Auto-scale: nativo, Autoscaling Application Block, terceiros, API Database sharding com Windows Azure SQL Database Utilize Caching para diminuir a carga do ambiente © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

23 Como posso escalar a minha aplicação?
TechEd 2013 9/28/ :51 PM Como posso escalar a minha aplicação? Depende… mas generalizando Capacity plan Aplicação stateless Escalabilidade em todos os níveis © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

24 Integração com on-premises
“As pessoas são solitárias porque constroem muros ao invés de pontes.“ Pequeno Príncipe

25 Estratégias de integração
Dados Chamada Direta Middleware

26 Integração com Windows Azure
TechEd 2013 9/28/ :51 PM Integração com Windows Azure Troca de mensagens com Windows Azure Service Bus Relay com Windows Azure Service Bus Conectividade com Windows Azure Virtual Network Integração com AD on-premises com Windows Azure Active Directory Padrões abertos de Comunicação: HTTP, Oauth, oData, ws-* © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

27 No que integração afeta minha aplicação?
TechEd 2013 9/28/ :51 PM No que integração afeta minha aplicação? Depente… mas generalizando Baixo acoplamento Exposição minima Segurança por padrão Uso de padrões © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

28 Integração - Dados SQL Data Sync SQL Server SQL Server SQL Server
SQL Database SQL Database Sync SQL Data Sync SQL Server SQL Server SQL Server

29 Integração - Mensagens
TechEd 2013 9/28/ :51 PM Integração - Mensagens Sistema H Sistema D Topic Sistema E Queue Sistema A Sistema G Sistema B Sistema C Sistema F © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

30 Integração – Relay/Conexão
Windows Azure Service bus relay Aplicação Internet Speaking Points: In addition to queues, the Service Bus also provides a relay capability that can be used to connect through networks and enable hybrid applications. To see this in action, we’ll take a look at another simple scenario. In this case we have a SQL database in our on-premises environment (for our demo, my local laptop) and the data is exposed through a simple WCF service By using the Service Bus relay, we can enable connectivity to our WCF service through Windows Azure On the front end, we have a mobile web application created with ASP.NET MVC running as a Cloud Service in Windows Azure. This app will connect to the WCF service through the relay and serve up the data to users. Empresa Aplicação atrás do firewall

31 Integração – Rede Virtual
TechEd 2013 9/28/ :51 PM Integração – Rede Virtual Point-to- Site LAN VNet Site-to-Site © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

32 Integração – Identidade
TechEd 2013 9/28/ :51 PM Integração – Identidade Gerenciamento de identidade para as suas aplicações Single sign-on entre suas aplicações Integração com o AD da sua empresa WAAD Pág. Login 2 3 Aplicação WIF App Aplicação WIF App 4 1 AD © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

33 Faça um teste http://WindowsAzure.com Speaking Points:
All of the features I demoed today are available now either in released or preview form. The services that had the preview tag next to them in the management portal are currently in preview mode, meaning that they are not yet final. These services will be coming out of preview next calendar year. Working hard on getting them done as soon as possible. If you haven’t gotten started yet with Windows Azure, I encourage you to go to WindowsAzure.com and sign-up for an account. If you have an MSDN subscription you can activate up to $3700 worth of yearly Windows Azure benefits. Otherwise you can sign-up for a free trial and get started.

34 Dúvidas? Rafael Godinho Arquiteto de Soluções
@rafaelgodinho Microsoft

35


Carregar ppt "Projetando arquiteturas para o Windows Azure"

Apresentações semelhantes


Anúncios Google