Introdução à computação na nuvem e Windows Azure

4.847 visualizações

Publicada em

Palestra de apresentação da computação na nuvem, problemas e oportunidades, e como o Azure aborda essas questões.

0 comentários
6 gostaram
Estatísticas
Notas
  • Seja o primeiro a comentar

Sem downloads
Visualizações
Visualizações totais
4.847
No SlideShare
0
A partir de incorporações
0
Número de incorporações
694
Ações
Compartilhamentos
0
Downloads
0
Comentários
0
Gostaram
6
Incorporações 0
Nenhuma incorporação

Nenhuma nota no slide
  • Slide Objectives:Explain how Microsoft thinks of the cloudSpeaking Points:There are numerous terms and definitions floating around in the industry for “the cloud”, “cloud computing”, “cloud services”, etc.Microsoft thinks of the cloud as simply an approach to computing that enables applications to be delivered at scale for a variety of workloads and client devices.The cloud can help deliver IT as a standardized service…freeing you up to focus on your business
  • Slide Objectives:Understand the challenges of irregular load in applicationsUnderstand the challenges of both too much capacity and not enough capacity and the sort of groups they impact within a customerUnderstand that traditionally IT capacity is purchased in a stepwise fashion involving capital expenditure at each pointSpeaking Points:To understand the value and opportunity for cloud computing, I believe it’s important to think about how IT capacity is typically used by applications today in most environments.Today most organizations significantly over estimate or underestimate the amount of resources they need to run their applications.This leads to a higher cost for the infrastructure and the delivery of the overall applications. Build Steps:Forecast load is to grow steadilyPlanned capacity grows in a stepwise fashion. Need to plan in advance due to hardware lead timesActual load is highly variable over timePeriods where we have excess capacity. Capital laying idle, opex wasted powering and cooling serversPeriods where we have insufficient capacity and our customers get a bad experience
  • Slide Objectives:Explain the three established terms in the industry for cloud servicesSpeaking Points:With this in mind, it’s important to understand how to talk about our Cloud Services offerings.There is a lot of confusion in the industry when it comes to the cloud. It’s important that you understand both what is happening in the industry and how we think about the cloud. This is the most commonly used taxonomy for differentiating between types of cloud services.The industry has defined three categories of services:IaaS – a set of infrastructure level capabilities such as an operating system, network connectivity, etc. that are delivered as pay for use services and can be used to host applications. PaaS – higher level sets of functionality that are delivered as consumable services for developers who are building applications. PaaS is about abstracting developers from the underlying infrastructure to enable applications to quickly be composed. SaaS – applications that are delivered using a service delivery model where organizations can simply consume and use the application. Typically an organization would pay for the use of the application or the application could be monetized through ad revenue. It is important to note that these 3 types of services may exist independently of one another or combined with one another. SaaS offerings needn’t be developed upon PaaS offerings although solutions built on PaaS offerings are often delivered as SaaS. PaaS offerings also needn’t expose IaaS and there’s more to PaaS than just running platforms on IaaS.
  • Slide Objectives:Explain the differences and relationship between IaaS, PaaS, and SaaS in more detail.Speaking Points:Here’s another way to look at the cloud services taxonomy and how this taxonomy maps to the components in an IT infrastructure. Packaged SoftwareWith packaged software a customer would be responsible for managing the entire stack – ranging from the network connectivity to the applications. IaaSWith Infrastructure as a Service, the lower levels of the stack are managed by a vendor. Some of these components can be provided by traditional hosters – in fact most of them have moved to having a virtualized offering. Very few actually provide an OSThe customer is still responsible for managing the OS through the Applications. For the developer, an obvious benefit with IaaS is that it frees the developer from many concerns when provisioning physical or virtual machines. This was one of the earliest and primary use cases for Amazon Web Services Elastic Cloud Compute (EC2). Developers were able to readily provision virtual machines (AMIs) on EC2, develop and test solutions and, often, run the results ‘in production’. The only requirement was a credit card to pay for the services.PaaSWith Platform as a Service, everything from the network connectivity through the runtime is provided and managed by the platform vendor. The Windows Azure Platform best fits in this category today. In fact because we don’t provide access to the underlying virtualization or operating system today, we’re often referred to as not providing IaaS.PaaS offerings further reduce the developer burden by additionally supporting the platform runtime and related application services. With PaaS, the developer can, almost immediately, begin creating the business logic for an application. Potentially, the increases in productivity are considerable and, because the hardware and operational aspects of the cloud platform are also managed by the cloud platform provider, applications can quickly be taken from an idea to reality very quickly.SaaSFinally, with SaaS, a vendor provides the application and abstracts you from all of the underlying components.
  • Slide ObjectiveUnderstand that Microsoft has a long history in running data centres and online applications. Bing, Live, Hotmail etc….Understand the huge amount of innovation going on at the data center levelSpeaking Points:Microsoft is one of the largest operators of datacenters in the worldYears of ExperienceLarge scale trustworthy environmentsDriving for cost and environmental efficientlyWindows Azure runs in 3 regions and 6 datacenters todayData center innovation is driving improved reliability and efficiencyPUE = Power Usage Effectiveness = Total Facility power/IT Systems Power = Indication of efficiency of DCUnder 1.8 is very good, modern cloud DCs approaching 1.2Multi-billion dollar datacenter investment700,000+ square foot Chicago and the 300,000+ square foot Dublin, Ireland data centersMicrosoft cloud services provide the reliability and security you expect for your business: 99.9% uptime SLA, 24/7 support. Microsoft understands the needs of businesses with respect to security, data privacy, compliance and risk management, and identity and access control. Microsoft datacenters are ISO 27001:2005 accredited, with SAS 70 Type I and Type II attestations.Notes:http://www.globalfoundationservices.com/http://blogs.msdn.com/the_power_of_software/archive/2008/06/20/microsoft-s-pue-experience-years-of-experience-reams-of-data.aspxhttp://blogs.msdn.com/the_power_of_software/archive/2008/06/27/part-2-why-is-energy-efficiency-important.aspx
  • Speaking Points:At PDC10 in just over a month, we will introduce several new services including: Caching and Reporting. We will also have a new CTP for the Data Sync Service and Project Dallas will be finally available. Let’s drill into these services in a bit more detail.--Speaking Points:I suspect most if not all of you in this room are familiar with the Windows Azure Platform today.Today the platform consists of a set of foundational services SQL Azure relational databaseAppFabric provides services that can be used by any apps – hosted in Windows Azure, on-premises, or hosted in another environment. Questions:How many of you are building applications for Windows Azure?How many are using SQL Azure?How many are using the Access Control service today? The Service Bus?Notes:Windows Azure StoryWe are building an open platform to run your applications in the cloud. Your apps are .NET, Java, PHP, etc. We love everyone.We are going to help you migrate your existing apps to the cloud. The cloud platform is the future. Enables scale, self-service, lowers friction, etc. We provide the best cloud platform for building new apps. (aka n-tier, web services, etc.)
  • Slide Objectives:Understand Roles in generalUnderstand Web and Worker Roles at a high levelSpeaking Points:Windows Azure currently supports the following two types of roles:Web role: A web role is a role that is customized for web application programming as supported by IIS 7 and ASP.NET.Worker role: A worker role is a role that is useful for generalized development, and may perform background processing for a web role. A service must include at least one role of either type, but may consist of any number of web roles or worker roles. A worker role is started by a call to a well know managed code interface RoleEntryPoint. A worker role must extend this class and override the Start() methodA web role is a worker role with the addition of IIS being installed. i.e. it has all the features of and can do everything a worker role can do as wellNotes:http://msdn.microsoft.com/en-us/library/dd179341.aspx#Subheading1
  • Speaking Points:
  • Slide Objectives:Provide overview and detail on pricingDiscuss localization of pricingSpeaking Points:Windows Azure is charged per compute hour.Pricing is localized for global marketsDifferent VM sizes have a different number of CPUs and therefore are a multiple the single CPU rateCompute time, measured in service hours: Windows Azure compute hours are charged only for when your application is deployed.remove the compute instances that are not being used to minimize compute hour billing. Partial compute hours are billed as full hours.Storage, measured in GB: Storage is metered in units of average daily amount of data stored (in GB) over a monthly period. Data transfers measured in GB (transmissions to and from the Windows Azure datacenter).Data transfers within a sub region are free. Transactions, measured as application requests to the REST serviceSQL Azure is priced on a per database per month basisAppFabric Service Bus is based on a per connection modelAppFabric Access control is based on a per transaction modelAppFabric Service Bus connections can be provisioned individually on a “pay-as-you-go” basis or in a pack of 5, 25, 100 or 500 connections. For individually provisioned connections, you will be charged based on the maximum number of connections you use for each day. For connection packs, you will be charged daily for a pro rata amount of the connections in that pack (i.e., the number of connections in the pack divided by the number of days in the month). You can only update the connections you provision as a pack once every seven days. You can modify the number of connections you provision individually at any time.For AppFabric Access Control transactions, customers will be charged the actual number of transactions utilized for the billing period (i.e., not in discrete blocks of 100,000 transactions), plus data transfers in or out.Notes:http://www.microsoft.com/windowsazure/pricing/http://blogs.msdn.com/b/netservices/archive/2010/01/04/announcing-windows-azure-platform-commercial-offer-availability-and-updated-appfabric-pricing.aspx http://www.microsoft.com/windowsazure/pricing/
  • Introdução à computação na nuvem e Windows Azure

    1. 1. Windows Azure<br />Giovanni Bassigiggio@giggio.net<br />www.lambda3.com.br<br />blog.lambda3.com.br<br />
    2. 2. dotnetarchitects.net<br />
    3. 3. blog.lambda3.com.br<br />
    4. 4. scrumdev.com.br<br />
    5. 5. 101010101010101001011010<br /> 01010101010100101101010<br />0101010101010010110101<br /> 010101010101001011010<br /> 101101010101001011010<br /> 01101010101001011010<br /> 0101010101001011010<br /> 101010101001011010<br /> 101010101001011010<br /> 01010101001011010<br />tecnoretorica.com.br<br />
    6. 6.
    7. 7.
    8. 8.
    9. 9.
    10. 10.
    11. 11. @GiovanniBassi<br />11<br />
    12. 12. .NET Architect Days 2011<br />http://bit.ly/dnad2011 <br />3 e 4 de Junho de 2011<br />Focoemarquitetura<br />Acessível: hotel no centro de São Paulo<br />Inscriçõesabertas!<br />
    13. 13.
    14. 14.
    15. 15. Agenda desta sessão<br />
    16. 16. Porque computação na nuvem<br />Cenário<br />
    17. 17. Quinta geração da computação<br />
    18. 18. Cenário inicial<br />Ambiente inicial focado em atender usuários internos<br />Profissionais capacitados<br />Infra-estrutura<br />Desenvolvimento<br />Virtualização<br />
    19. 19. Cenário começa a mudar<br />Passamos a atender clientes externos<br />Demanda bem maior<br />Maior interatividade<br />Altas expectativas por parte dos usuários<br />Demandas em fins de semana, feriados, não para nunca<br />
    20. 20. Adequando...<br />Maior quantidade profissionais<br />Maior escalabilidade<br />Maior resistência a falhas<br />NECESSIDADES NOVAS<br />
    21. 21. O que temos feito...<br />Implantamos outro(s) datacenter(s)<br />Aumento da complexidade<br />Quantos? Dois são o suficiente?<br />Um por localidade / continente?<br />E a latência?<br />E os dados?<br />E a segurança?<br />E a gestão deste ambiente?<br />Custo mais alto<br />
    22. 22. Impactos na gestão<br />Sistemas para atender esse cenários são diferentes?<br />Sim<br />Expertises diferentes<br />profissionais diferentes<br />Suporte diferente<br />Custos maiores<br />
    23. 23. O que é a nuvem?<br />Uma abordagemparacomputaçãoonde o foco é a escala da internet e conectarumavariedade de dispositivos e endpoints<br />
    24. 24. Capacidade alocada<br />Forecast de carga<br />Falta de potência<br />Sobra de potência<br />Capacidade de TI<br />Carga real<br />Tempo<br />
    25. 25. Forecast de carga<br />Sem clientes reclamando<br />Capacidade sob demanda<br />Capacidade de TI<br />Sem capital parado<br />Aumenta ou diminui o poder de computação<br />Capex menor<br />Carga atual<br />Tempo<br />
    26. 26. Padrões de computaçãonanuvem<br />“Crescimentorápido“ <br />“Liga-desliga“ <br />Inactivity<br />Period <br />Compute <br />Compute <br />Average Usage<br />Usage<br />Average<br />Time <br />Time <br />Trabalhos batch<br />Capacidadesobreprovisionada é perdida<br />Tempo atéchegaraomercadopodeficarcomplicado<br />Serviçosbemsucedidosprecisamescalar<br />Acompanhar o crescimento é um desafio<br />Difícilprovisionar hardware a tempo<br />“Picosimprevisíveis“ <br />“Picosprevisíveis“ <br />Compute <br />Compute <br />Average Usage <br />Average Usage <br />Time <br />Time <br />Picos em demandanãoesperadosouplanejados<br />Subidainesperadaimpactadesempenho<br />Difícilprovisionar em casosextremos<br />Serviços com microsazonalidades<br />Tem picosdevido a aumentoperiódico de demanda<br />Complexo e com sobra de capacidade<br />
    27. 27. Serviços da nuvem<br />Infrastructure-as-a-Service<br />“PaaS”<br />“IaaS”<br />“SaaS”<br />Platform-as-a-Service<br />Software-as-a-Service<br />consuma<br />construa<br />hospede<br />
    28. 28. Serviçosda nuvem<br />Infrastructure<br />(as a Service)<br />Platform<br />(as a Service)<br />Packaged Software<br />Software<br />(as a Service)<br />Applications<br />Applications<br />Applications<br />Applications<br />You manage<br />Data<br />Data<br />Data<br />Data<br />You manage<br />Runtime<br />Runtime<br />Runtime<br />Runtime<br />Managed by vendor<br />Middleware<br />Middleware<br />Middleware<br />Middleware<br />Managed by vendor<br />You manage<br />O/S<br />O/S<br />O/S<br />O/S<br />Virtualization<br />Virtualization<br />Virtualization<br />Virtualization<br />Managed by vendor<br />Servers<br />Servers<br />Servers<br />Servers<br />Storage<br />Storage<br />Storage<br />Storage<br />Networking<br />Networking<br />Networking<br />Networking<br />
    29. 29. Consistência ou disponibilidade?<br />Dan Pritchett: http://queue.acm.org/detail.cfm?id=1394128<br />Teorema CAP de Eric Brewer (escolha 2 de 3):<br />Consistency<br />Availability<br />Partition tolerance<br />
    30. 30. Consistência ou disponibilidade?<br />Base<br />Basically Available<br />Soft state<br />Eventualy consistent<br />Acid<br />Atomicity<br />Consistency<br />Isolation<br />Durability.<br />
    31. 31. Camadas<br />Surge uma nova camada na arquitetura computacional<br />
    32. 32. 1: Você<br />
    33. 33. 2: A corporação<br />
    34. 34. 3: A web<br />
    35. 35. A terceira camada<br />Formada de computação, armazenamento, rede e serviços<br />Desenvolvidos como capacidade infinita<br />Consumidos como serviço<br />
    36. 36. Windows azure<br />Microsoft nas nuvens<br />
    37. 37. Internamente na Microsoft...<br />Microsoft já estava muito experiente em software como serviço<br />Live Messenger<br />Office Help<br />Passport/Live Id<br />Xbox<br />Windows Update<br />Hotmail<br />Microsoft.com<br />Foruns<br />Etc, etc, etc...<br />
    38. 38. Resultado na Microsoft...<br />Ganhou:<br />Escalabilidade<br />Pessoal<br />Experiência<br />Infra-estrutura<br />Software de gestão<br />
    39. 39. Mas...<br />Não estava preparado para um cliente usar, era muito customizado<br />Caro demais para vender<br />
    40. 40. Plano de ação<br />Já fazemos isso bem, vamos empacotar e vender!<br />
    41. 41. Para isso foi criado...<br />
    42. 42. Windows Azure: Microsoft nas nuvens<br />Nova plataforma do Windows<br />Windows 7, Windows Phone 7, Windows Server<br />Fundação para computação na nuvem<br />Windows nas nuvens<br />
    43. 43. Funcionalidades básicas<br />Computação virtualizada<br />Armazenamento escalável<br />Sistema de gerenciamento automático (fabriccontroller)<br />Ambiente de desenvolvimento integrado e emulado<br />
    44. 44. Lembrando que...<br />Não é software que você roda no ambiente da sua empresa<br />Você não instala o Azure<br />Disponível em praticamente no mundo todo<br />Releases constantes<br />
    45. 45. Infra-estrutura<br />Haverão dezenas de datacenters ao redor do mundo, já temos 6<br />US$ 500 milhões cada um<br />
    46. 46. Windows Azure Platform Data Centers<br />North America Region <br />Europe Region <br />Asia Pacific Region <br />N. Europe <br />N. Central – U.S. <br />W. Europe <br />S. Central – U.S. <br />E. Asia<br />S.E. Asia<br />6 datacenters em 3 continentes<br />
    47. 47. Servidores<br />Totalmente virtualizados<br />Máquinas Dell customizadas<br />Máquinas “pequenas” e simples<br />Em cada máquina virtual:<br />OS: 64-bit Windows Server 2008 <br />CPU: 1.5-1.7 Ghz x64 equivalent <br />Memória: 1.7GB <br />Rede: 100Mbs <br />Disco local: 250GB<br />Windows Azure Storage: 50GB<br />
    48. 48. Datacenter Azure<br />
    49. 49. Microsoft runs Azure<br />A própria Microsoft vai começar a colocar suas aplicações SaaS e S+S no Azure<br />Windows Live<br />Office Live<br />Exchange Online<br />Sharepoint Online<br />Dynamics CRM Online<br />
    50. 50. Como surgiu o azure<br />História<br />
    51. 51. História<br />Em desenvolvimento a alguns anos<br />Projeto “RedDog”<br />Nem os VPs sabiam direito o que o time fazia<br />Liberdade total<br />
    52. 52. Time<br />Os melhores da casa(bestandbrightest)<br />AmitabhSrivastava (Corporate Vice President)<br />Dave Cutler (Technical Fellow - pai do NT e do VMS)<br />Brad Calder (Director – especialistaemarmazenamento)<br />YousefKhalidi (Distinguished Engineer, antigo Sun utility computing expert)<br />Hoi Vo (especialista de SO e ferramentas de desenvolvimento)<br />G.S. Rana (engenheiro);<br />Hunter Hudson (Expert de provisionamento de datacenters)<br />Manuvir Das (Developer evangelist)<br />A maioria com mais de 10 anos de casa<br />
    53. 53. Como foi feito<br />“Não vamos copiar o Google ou a Amazon”<br />A idéia era criar um sistema operacional, uma abstração<br />Foco em serviços<br />Foco em facilidade de gestão<br />
    54. 54. Do que é feito o azure<br />Arquitetura<br />
    55. 55. Plataforma Windows Azure<br />Scalable compute and storage<br />Automated service management<br />Familiar tools, technologies, languages <br />Relational storage for the cloud<br />Consistent development model<br />Automated database management<br />Connect existing apps to the cloud<br />Connect through network boundaries<br />Easily control authorization to apps<br />
    56. 56. Sistema operacional para a nuvem<br />Processador, memória, disco<br />Servidores, virtualização<br />Rede, tráfego<br />Múltiplos datacenters<br />Comunicação<br />Dados, backup<br />
    57. 57. Sistema de gerenciamento automatizado<br />Atualização da aplicação<br />Atualização do sistema operacional<br />Substituição de máquinas que falham<br />Abstração do servidor<br />
    58. 58. Modelagem dos serviços, não dos servidores<br />Grupos e papéis<br />Canais e endpoints<br />Interfaces<br />Configurações<br />
    59. 59. Alta disponibilidade<br />Falhas em servidores não derrubam um serviço<br />Dados são replicados pelo menos 3 vezes<br />Sem intervenção do usuário<br />Sem intervenção da própria Microsoft<br />
    60. 60. Ambiente de desenvolvimento emulado<br />Ambiente de desenvolvimento totalmente familiar<br />Ainda assim, novo<br />Diferente de um servidor comum<br />
    61. 61. Experiência rica de desenvolvimento<br />Desenvolva localmente<br />Teste localmente<br />Utilize:<br />Visual Studio 2010<br />ASP.NET<br />C#/VB<br />C++<br />Java<br />PHP<br />Ruby<br />Python<br />
    62. 62. Plataforma aberta<br />REST<br />XML<br />Código Nativo e gerenciado<br />Outros...<br />
    63. 63. Interoperável<br />Azure™ Services Platform<br />
    64. 64.
    65. 65. Windows Azure Platform<br />Caching<br />Service Bus<br />Access Control<br />Reporting<br />Data Sync<br />Database<br />Connect<br />Compute<br />Storage<br />Management<br />
    66. 66. Windows Azure Web & Worker Roles<br />Windows Server 2008 R2 x64<br />.NET Framework – 3.5 SP1 e 4.0<br />CódigoNativo, PHP, Ruby, Python, Java, etc. – tragaseu runtime<br />Full trust<br />Acesso remoto na console<br />Azure Fabric gerencia o ciclo de vida do role<br />Worker Role<br />Web Role<br />Role incluiIIS<br />HTTP/HTTPS<br />ASP.NET<br />Fast CGI + PHP, Ruby, Java, Python, etc<br />Também é um worker role<br />Role é um executável<br />Crieseu webserver, rode um banco de dados, etc.<br />Inbound on<br />Qualquerporta TCP<br />HTTP/HTTPS<br />
    67. 67. VM Role<br />VM Role<br />Web/Worker Role<br />Controle<br />Abstração<br />
    68. 68. Portal do Windows Azure<br />
    69. 69. Preços da plataforma Windows Azure<br />Pagueconformeusa, e creçaapenasondevocêprecisa<br />Elastic, scalable, secure, and highly available automated service platform<br />Highly available, scalable, and self managed distributed database service<br />Compute<br />Storage <br />Web Edition<br />Business Edition <br />$9.99/month(up to 1 GB DB/month) <br />Starting at $99.99/month(10-50 GB DB/month)<br />Per GB stored and transactions<br />Per service hour<br />Per database/month <br />Per database/month <br />$0.05-0.96/hour<br />+ Variable Instance Sizes <br />$0.15 GB/month<br />$0.01/10k transactions <br />Windows Azure AppFabric Service Bus and Access Control Service<br />Scalable, automated, highly available services for secure connectivity<br />Access Control<br />Service Bus<br />$3.99/month per connection<br />$1.99/10k transactions<br />Per Message Operation<br />Per Message Operation<br />Prices shown in USD only<br />International prices are available<br />
    70. 70. Links úteis<br />Site do Azure<br />http://www.microsoft.com/azure<br />Site do portal<br />http://windows.azure.com<br />
    71. 71. Q&A<br />
    72. 72. Obrigado!<br />Giovanni Bassigiggio@giggio.net<br />www.lambda3.com.br<br />blog.lambda3.com.br<br />

    ×