[Programar2013] Introdução ao Cloud Computing e ao Windows Azure


Published on

Published in: Technology
1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Slide Objectives:Explain the differences between traditional self-hosting and the three options of Windows Azure hosting.Notes:In a traditional environment you must manage the full stack. With Windows Azure you can choose a variety of options depending on your needs.
  • Speaking Points:In addition to the compute services for running your deploying and running your code, Windows Azure also provides a number of application building blocks. These are managed services that we run that provide a lot of value so you can avoid standing up the infrastructure for common capabilitiesYou always can stand up VMs and put anything you want in itBut in a lot of cases you will find that we have built in services that we deliver or that are delivered by our partnersWhat’s cool is that you can use any of these services with a VM, with a Web Site, or with a Cloud Service – so you have flexibility in how you will consume them.
  • Speaking Points:All of these services can also be used from multiple languagesWe now have as part of our developer center on WindowsAzure.com support for multiple different languages including .NET, Node, Java, and PHP.One of the new languages that we’re now enabling is Python with a complete SDK and dev center. For each of these we provide libraries that you can consume that call into the REST APIs that we expose for the building block services. You can also call the REST APIs directly
  • Speaking Points:All of the libraries are hosted on GitHub under an Apache 2 licenseSo you can both see the source and contribute back to the source
  • Speaking Points:TransitionVirtual machines provide a very flexible compute model. Another compute service available in Windows Azure is called Windows Azure Web Sites. Definition:Windows Azure Web Sites there is a managed service that you can use to run web sites and web APIs. Enable you to quickly stand up web applications and web sites on the internetAuto-managed environmentJust say that you want a web, here’s the DNS, copy the content, and we do the rest You don’t have to worry or think about VMs, servers, or infrastructure. You can simply focus on building and deploying HTTP based applications.Enables you to build web sites using ASP.NET, Node.js, PHP, and now with an update a few weeks ago – PythonAllows you to use any tool and any operating system to build these sites including Windows, OS X, and Linux. Enables a very fast deployment model. You can literally deploy in seconds. You can easily deploy these sites using the tools and infrastructure you know. We support several flexible deployment options including FTP, GIT, and Team Foundation ServicesWhat is nice about this offering is that not only does it enable to very quickly get going, but it also allows you to start with a free offer in a shared environment. Pricing starts at free.. Perpetually free and then you can scale up as you need more capabilityYou can then scale up these sites using reserved instances for higher performance and isolation and scale out these sites as your web site becomes successful and you have increased load.
  • Speaking Points:I’m going to show you three different web sites to show you the broad spectrum of scenarios that we’re enabling.First demo – a web site from a gallery.Second demo – new asp.net web site.Third demo – a PHP / Node.js web site.
  • Slide Objectives:Explain the three scale choices on Windows Azure Web Sites.Notes:Both free and shared are the same architecture. The only difference is that free has quotas where as with shared you can use and pay for as much resources as you choose. With reserved you isolate your application to your own virtual machines that you can use and pay for whatever resources you choose.
  • Slide Objectives:Explain that Windows Azure Web Sites supports Classic ASP, ASP.NET, PHP, and Node.js out of the box and that you can also host any custom FastCGI handler.Notes:
  • Git Deployment is Native, or through a Service hook from CodePlex, GitHub or BitBucket
  • Slide Objectives:Highlight the ability to get started quickly with the Windows Azure Web App GallerySpeaking Points:Along-side the publishing capabilities, Windows Azure Web Sites also offers the Web App Gallery which provides many turn key solutions based off of well known open source web applications.Notes:
  • Speaking Points:We’ve talked about Virtual Machines and we’ve talked about Web Sites, now let’s talk about Cloud ServicesCloud Services is another model we support for building applications. Cloud Services enable a broader set of workloads then Windows Azure Web Sites, while providing more automated management then Windows Azure Virtual Machines. Enables you to build what we sometimes refer to as infinitely scalable applications. They can support 1 to hundreds or thousands of courseSupport not only web based deployments, but also multi-tier architectures where you might have a combination of front ends, middle tiers, as well as virtual machines running as part of your solution.Supports automated application management, so it is really easy to deploy, scale out, isolate, and recover from any type of hardware failure. As well as support for automated updates.
  • Speaking Points:Possible demos:Continue with previously built ASP.NET web site and convert it to a Cloud Service.Create a new Cloud Service with a Web Role and a Worker Role with Service Bus Queue. Use Server Explorer to generate test messages to be handled by the Worker Role (set break point in Worker Role to observe the message).
  • Transition:Let’s spend a few minutes talking about what happens when we deploy a cloud service in Windows Azure.
  • Transition:For the rest of this talk I’m going to give you a tour of Windows Azure, walk you through many of the features, and ground you in the capabilities it providesThe first set of features I want to walk through is Virtual Machines. Speaking Points:If you’re familiar with traditional hosting, this is probably the feature that feels most familiar and consistent with what other hosting providers provide. The ability to stand up a virtual machine with either Windows or Linux that you can basically remote desktop in or SSH in and run any workload. These virtual machines enable you to be admin on the boxThey are durable, meaning if you reboot the VM, it is still there with all of your changes and data you stored to diskThis means you can run any type of workloadIf you want to run SQL you can, if you want to install a no-SQL solution, you can do that to. If you want to run SharePoint you can do that. Provides ultimate flexibility to do what you want to doAlso enables you to do what we call virtual private networkingWith virtual private networking, you can deploy Virtual Machines in the cloud and group them together so they are part of their own private networkYou can also then connect it back to your corporate network (if you have one) and establish a VPN secure tunnel to link your machines running in your own corporate environment up to your virtual machines in the cloud – making them look like they’re all part of one connected network. So lots of flexibility in the compute side as well as in the networking side.
  • Speaking Points:Provision a new Linux machine. Provision a Windows machine.
  • Slide Objectives:Explain Virtual Machine Portability with the VHD file formatSpeaking Points:There are a few aspects of the Windows Azure Virtual machines feature that are important to understand.The first, is the support for Virtual Machine PortabilityWhen you create a virtual machine in the cloud, as I just did, you are creating a VHD fileIt is encapsulating your OS instance as well as your dataThe VHD file format is that it is compatible across Windows Azure, Windows Server, and even Windows client.VHD is an open specification that we’ve released.
  • Speaking Points:This support for the VHD file virtual machine file format provides a lot of flexibility. If you created a VHD file on your own local laptop or on Windows Server, you can take the VHD and just upload it to Windows Azure and boot it upYou don’t have to run an import / export process and there are no conversion tools or agents you have to install in the VM. You simply upload the VHD and it just works.[Click – move down to datacenter]You can also take, for example, either the Windows or Linux VMs that we created in Windows Azure and we make it really easy for you to download the VHD locally and you can then boot it up on a local server in whatever environment that you want. Again you don’t have to export it or convert it, just click and download it. [Transition to next slide – move across datacenters]
  • Speaking Points:In addition to portability between your datacenter or your Windows 8 machine, the support for the VHD format in Windows Azure also allows you to run your virtual machines in other hosting providers as well.[CLICK – move the VHD from Windows Azure to Hosting provider]You can also then take the VHD files and host them with another Windows hosting provider that supports Hyper-V.The end result is that you have a lot of flexibility, a lot of portability, and you can avoid being locked in to one specific model – should your application or business needs change
  • Speaking Points:The second thing that I want to help you understand…neat thing that we’re doing with Windows Azure now is making it possible for you to mount durable drives to your virtual machine. We’re trying to do it in way that it is very reliable, consistent, and delivers a high performance.One of the things that’s different about how we enabled it is that when you mount a drive either in the portal or in the command line we are backing the disk with the Windows Azure Storage system that we’re running in the cloud todayThere are a couple nice characteristics about the storage system.Replication One is that we triple replicate the content within the data center. If a disk ever goes bad that you data is on then we have two other copies of the data that we can work with and we do not have any interruption of serviceWe can then spin up a new replica once we detect a disk is badFrom your VMs perspective you never know that an issue actually occurred[Transit to next slide]So you get much more reliability and an always on experience even when hardware failsOne of the things that we provide which is a little different with Windows Azure is a really powerful storage architectureWhen we booted up our Virtual Machine and you saw all of the disks attached to it, the disks were not actually disks. They were virtual disks on top of our Windows Azure Storage system. We have redundancy built in for you. We can also load balance our reads and writes to the drives, so we can provide more predictable performance. On top of these physical drives that we use for blob storage we also have a set of SSD cache of drives. The benefit is that you are reading and writing through an SSD drive and then back to the physical disk.
  • Speaking Points:This is designed to give you very reliable performance and hopefully it ensures that it is always on
  • Speaking Points:The third aspect of Windows Azure Virtual Machines that is important to understand is ….Another thing that is nice about the Windows Azure Storage solution is that we have support for Continuous storage geo-replicationWhat this means is that whenever you save something in the storage system, in the background we can automatically replicate the data to another datacenterWe guarantee that these data centers are several hundred miles (500) apart so that in the case of a natural disaster or a complete data center failure you can be ensured that a copy of your data exists somewhere else. You don’t have to set anything up to enable it. It’s automatically enabled by default.You can turn it off if there are policy reasons why you wouldn’t want it enabled. The end result is that you can deliver more robust solutions with even greater integrity
  • Speaking Points:Transition:So we’ve seen three ways to run your code in Windows Azure - Virtual machines, Web Sites, and Cloud ServicesNow let’s look at the fourth compute service called Windows Azure Mobile Services.DefinitionMobile Services is an exciting new service that we introduced about three months ago and we’ve rapidly been updating with new features and services. I’m sure that many of you today are building device applications that need connectivity to services and data. Mobile Services are designed specifically to make it really simply for you to build cloud back-ends that power mobile device applications by providing common functionality you need as configurable services. Features:Mobile Services provides the ability to easily store and retrieve data, manage users with several different identify providers including Microsoft Account, Twitter, Facebook, and Google accounts, and the ability to send push notifications to devices. Today Mobile Services has native SDKs for Windows 8 Store applications, Windows Phone apps, and iOS applications. We’re also adding Android and HTML5 support in the near future.
  • Demo: Create a new Mobile Service in the portal and use the quick-start todo application available in the portal
  • Speaking Points:This is a small sampling ..We’ve talked about a few of these building block services. In addition to Database, Storage, Caching, Messaging, and Identity…Big data - We also have services for managing big data…Traffic Manager - …Media Services - …Provides a managed service that allows you to create, manage, and distribute media. You can target any type of deviceWe’ll provide full analtyics on top of it. CDN – A content delivery network for putting your content closer to end users. We’ll drill into more details on several of these services later today and You will see this list grow in the months and weeks ahead
  • Speaking Points:Windows Azure is commercially available in over 89 countries and territories.Anyone within these countries can sign up for a free trial or a paid subscription to use Windows Azure servicesOf course you can build and deliver solutions to any of your customers worldwide.
  • 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.
  • [Programar2013] Introdução ao Cloud Computing e ao Windows Azure

    2. 2. Vítor Tomaz ISEL – LEIC SAFIRA NetPonto AzurePT Revista Programar Portugal@Programar SQLPort MSDN
    3. 3. TEMPO CAPACIDADE Capacidade Real Recusos disponíveis Demasiados recursos Poucos recursos Capacidade Prevista
    4. 4. Capacidade Real Capacidade on Demand Baixo Investimento Não há recursos desperdiçados Escalabilidade Elasticidade TEMPO CAPACIDADE Capacidade Prevista
    5. 5. Escalabilidade Custos
    6. 6. Cloud Computing Patterns
    7. 7. Required Resources Agent Switches Load-balancers Fabric Controller Agent Agent Make it happen
    8. 8. South Central US West US East US
    9. 9. Multi-tenant. Daily quotas Multi-tenant. No quotas Dedicated VMs. No quotas
    10. 10. Server Rack 1 Server Rack 2
    11. 11. VM with persistent drive
    12. 12. VM with persistent drive
    13. 13. VM with persistent drive
    14. 14. > 500 miles
    15. 15. Scenarios
    16. 16. Patrocinador Gold Patrocinadores Silver
    17. 17. Media Partners