Microsoft Azure


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

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

No notes for slide
  • Welcome everyone my name is <name> and I’m here today to introduce you to one of the most important new developer technologies starting off our new decade… Microsoft Windows Azure
  • Many of us have been working with software for years, and some of us even decades. As such, we have an implicit understanding of our environment… we know what kind of architectural patterns to apply and what kind of code to write for our environments that will work. We are delighted that we don’t have to involve ourselves in the nitty-gritty details of how a network load balancer is configured or what kind of firewall is required. We are happy that there are other non-application developers taking care of these details for us so that we can focus on the architectural design of our software and writing code to implement those designs.All this having been said… we certainly would all agree that our software environment has an influence on the style of code that we write… without understanding our environment (at least at the macroscopic level)… we would likely make many missteps in the design and coding of our software. It is for this reason that I am spending a brief amount of time telling you a little more about your environment… to help us design and write applications better for the cloud.Microsoft Data Centers are a big part of the Azure story. Microsoft is building large, sophisticated cloud data centers around the world to complement its existing data centers. Two cloud data centers are in operation in the U.S. in Chicago and San Antonio. In 2010 we’ll see European data centers in Dublin and Amsterdam and Asian data centers in Hong Kong and Singapore.
  • You may have heard the term “Software as a Service” or SaaS. There are several “as a service” terms associated with cloud computing: Infrastructure as a Service, or IaaS, is where you pay for infrastructure resources such as servers, storage devices, and network equipment. Platform as a Service, or PaaS, is where you pay for a platform that includes an operating system and application stack. PaaS is inclusive of IaaS. Software as a Service, or SaaS, is where you pay to use an application. SaaS is inclusive of both PaaS and IaaS.An example of PaaS is Windows Azure.An example of SaaS is Microsoft Exchange Online.
  • This reference chart may help us to recognize opportunities for using cloud computing within our own organizations or our vendors or customers.A new social networking sight may need a massive amount of scalability…A 911 call center may require that last “9” of reliability…A tax preparation package may require varying amounts of computational power, storage, and bandwidth…A hurricane relief site may need to launch on a moment’s notice and be available for a duration that is hard to predict at the onset of the disaster.A genome sequencing project or perhaps a search for extraterrestrial planets to live on in our future might require massive amounts of parallel processing power.A new online startup may need to begin business with little or no capital investment and fail fast with little or no financial lossSo with the terrific list of “great fits” … are there any “bad fits”? Well… yes… there are a few… at the present time…Frequently updated applications are not very good candidates. Primarily I say this because as a developer … the time that it takes to deploy is longer than if you had your own local on premise or hosted servers; however, you must take this with a grain of salt as you’ll have to compare it against the level of effort the you presently invest to make deployments in order to gauge the applicability of this advice.Applications needing external data storage are also not very good candidates at the present time.Of course, this is a moving target… and as cloud computing evolves further… even these bullets (and others like them) may move from the not-so-good list to the good-list. We are entering a new era of software development where we will once again be inspired and excited about our profession as software developers!
  • The Windows Azure Cloud Fabric is what provides all of this…We get multiple virtual server instances provisioning on-the-fly.We get failure detection when one or more of these virtual server instances fails. Failures are rare, but when they happen, the Windows Azure Cloud Fabric will automatically spin up new server instances to replace failing ones.It’s the Windows Azure Cloud Fabric that controls how many instances are created and what role each instance plays. Of course it takes its queues from the configuration data that we supply.The Windows Azure Cloud Fabric also automatically configures load balancing for multiple service instances… and it does so in a very dynamic and flexible manner… allowing quick increases and decreases in available service capacity.
  • There are two core roles that server instances play in Windows Azure.The first role is the Web Role. A web role is used for web application programming in ASP.NET or PHPThe second role is the Worker Role. A worker role is used for performing work on behalf of the web role.In addition to the .NET languages, Worker Roles may be written in Ruby or Java.Worker Roles are used to improve scalability by increasing parallelism and asynchronicity.They are often used for background work.
  • There are two core roles that server instances play in Windows Azure.The first role is the Web Role. A web role is used for web application programming in ASP.NET or PHPThe second role is the Worker Role. A worker role is used for performing work on behalf of the web role.In addition to the .NET languages, Worker Roles may be written in Ruby or Java.Worker Roles are used to improve scalability by increasing parallelism and asynchronicity.They are often used for background work.
  • As was hopefully evident, the Azure developer experience leverages what you’re already familiar with.If you’re a .NET developer and your favorite technologies are ASP.NET, Silverlight, Windows Communication Foundation, or SQL Server you’re going to be able to use those same technologies in the cloud.You also continue to use familiar tools including Visual Studio and SQL Server Management Studio.Azure isn’t just for .NET developers, however. Most of the services in the cloud are accessible as RESTful HTTP calls. That means Java developers, PHP developers, Python developers can also use Azure.For .NET developers, the Windows Azure SDK and tools for Visual Studio gives you a cloud simulator. The Development Fabric simulates the hosting environment and Developer Storage along with SQL Express simulate cloud data storage. This means you can develop cloud applications locally, even when offline.
  • To start building applications for the Microsoft Windows Azure cloud, you will need to download and install the Windows Azure SDK.You’ll find the link for downloading this in the Windows Azure Platform developers area located at the URL on this slide.You’ll also need to setup your Windows Azure Platform account, which you can do from the same page.The process is simple and not very interesting to developers, so I’m not going to walk through it. The only information that you will need is that when you create your Windows Azure account you will associate a Windows Live ID with it for authentication purposes. You must also provide credit card information for billing purposes.NOTE to presenters: you will need to setup your Windows Live and Windows Azure accounts ahead of time.
  • Windows Azure provides hosting and storage and management.The Windows Azure data center infrastructure is called the Fabric and manages instances of your applications. The Fabric detects if something goes wrong and allocates replacement resources if necessary.You can host HTTP-accessed software such as web applications and web services in Windows Azure. You can also host background worker software.Windows Azure also provides non-database storage. This comes in 3 forms: blobs, queues, and data tables. Blobs are similar to files, queues are similar to enterprise queues, and data tables are record-based storage.The Windows Azure management portal allows you to create projects, deploy software, change number of instances, upgrade software, and promote between Staging and Production environments.
  • The Windows Azure SDK will install several things that we need to create, test, and deploy new Windows Azure Cloud Services.First, we get a new project template for Visual Studio to create Web and Worker Role projects with. We will demonstrate these shortly…Second, we get the Local Developer Fabric to simulate our applications running in the cloud without ever having the bits leave our desktop. We can think of the Local DevFabric as “Cassini for the Cloud”…Third, we get the Local Development Storage Services to simulate the highly scalable data storage options in the cloud… Blobs, Tables, and Queues. Just to be clear… it does not install SQL Azure.. We’ll talk more on that in a bit.Fourth, support for debugging our cloud services. We can attach our Visual Studio debugger to our applications through the Local Developer Fabric, and then debug them just as we do any other kind of .NET application.Finally, we get a packaging tool, which is integrated into Visual Studio to pull all of our content and binaries together and prepare a Cloud Service package ready to be deployed to Windows Azure. In Visual Studio, this tool also prepares the Windows Azure configuration file.For now, we can think of SQL Azure as Microsoft SQL Server 2008 in the cloud. No SDK is required because SQL Express 2008 or SQL Server 2008 can be used for this purpose. Of course we may have existing database tools that we use for database design and development and all of those tools are still very usable here. We design and build our databases locally, and then we deploy those databases to the SQL Azure database server in the sky.
  • So that’s what the Windows Azure Cloud Fabric is all about… We’re developers… and we want to write software that targets the Windows Azure Platform… but we don’t have all of this incredible infrastructure on our development machines. It’s unclear for example, just exactly how we might go about building an application that required Blob Storage without actually having Blob Storage.Microsoft create a Windows Azure Cloud Fabric simulation environment just for that purpose… to give the .NET developer a familiar environment to work in that simulates all of the environmental characteristics of the actual Windows Azure Cloud Fabric.The “DevFabric” as it is called, runs locally on our boxes and interfaces with Visual Studio to give us an interactive debugger, simulated data storage, and other cloud services.
  • AppFabric is what makes theAzure platform enterprise-ready.Windows Server AppFabric and Windows Azure platform AppFabric enable users to build and manage applications more easily both on-premises and in the cloud.Windows Azure platform AppFabric, formerly called “.NET Services”, helps developers connect applications and services in the cloud or on-premises. This includes applications running on Windows Azure, Windows Server and a number of other platforms including Java, Ruby, PHP and others. It provides a Service Bus for connectivity across network and organizational boundaries, and Access Control for federated authorization as a service. Windows Azure platform AppFabric is in CTP now.Service Bus helps to provide secure connectivity between loosely-coupled services and applications, enabling them to navigate firewalls or network boundaries and to use a variety of communication patterns. Services that register on Service Bus can easily be discovered and accessed, across any network topology.The Microsoft® Access Control helps you build federated authorization into your applications and services, without the complicated programming that is normally required to secure applications that extend beyond organizational boundaries. With its support for a simple declarative model of rules and claims, Access Control rules can easily and flexibly be configured to cover a variety of security needs and different identity-management infrastructures.Management of the Service Bus and the Access Control Service is done through the web portal. The Windows Azure Platform AppFabric is still in CTP, and at the time of this video some of the specifics were in transition.
  • Microsoft Azure

    1. 1. Introduction to Microsoft Windows Azure<br />Source: Lynn Langit<br />Modified By @MohabTarek<br />
    2. 2. It’s an Operating System<br /> In the Could.<br />Simple Answer?<br />
    3. 3. Microsoft Data Centers<br />Vision<br />Go Inside<br />Energy Efficient<br />Containers<br />North American Data Centers<br />European Data Centers<br />Asian Data Centers<br />Dublin<br />Chicago<br />Amsterdam<br />San Antonio<br />Hong Kong<br />Singapore<br />
    4. 4. Demo<br />Live Windows Azure Applications In The Cloud<br /><ul><li>
    5. 5.
    6. 6.
    7. 7.</li></li></ul><li>IaaS, PaaS and SaaS<br />Infrastructure as a Service<br />Platform as a Service<br />Software as a Service<br />SaaS<br />ApplicationsPackaged Software<br />PaaS<br />PlatformOS & Application Stack<br />PlatformOS & Application Stack<br />IaaS<br />InfrastructureServers · Storage · Network<br />InfrastructureServers · Storage · Network<br />InfrastructureServers · Storage · Network<br />
    8. 8.
    9. 9. Network<br />Upgrades<br />Installing OS<br />Routers<br />Zero downtime<br />Patching<br />Hard drive failure<br />Memory<br />Storage<br />Server acquisition<br />Load balancers<br />Environments<br />
    10. 10. Where the Cloud is Compelling<br />
    11. 11. Main Components<br /><ul><li>Cloud Fabric
    12. 12. Web Roles
    13. 13. Worker Roles
    14. 14. Storage (Including SQL Azure)
    15. 15. Dev Fabric
    16. 16. App Fabric (Access Control, Service Bus)</li></li></ul><li>Windows Azure Cloud Fabric<br />Multiple virtual instances<br />Easy provision of applications<br />Detect failures<br />Spin up new instances to replace the failed ones<br />How many instances and what role they will play<br />Load balances and DNS<br />Elasticity of the service… scaling up/down number of instances<br />
    17. 17. Windows Azure Features<br /><ul><li>Compute
    18. 18. Database
    19. 19. Storage
    20. 20. CDN
    21. 21. Virtual Network
    22. 22. Marketplace</li></li></ul><li>Compute<br />Windows Azure provides developers an internet-scale hosting environment with a runtime execution environment for managed code.<br />Administration<br />Windows Azure automatically takes care of things such as load balancing and failover thereby reducing the effort and cost of administering the application environment<br />Availability<br />designed to let developers build applications that are continuously available, even in the face of software upgrades and hardware failures<br />
    23. 23. Compute (cont..)<br />Scalability<br />Windows Azure enables developers to build scalable applications that run in Microsoft’s global data centers. Just as important, it allows developers to scale down applications when necessary, letting them use just the resources they need.<br />
    24. 24. Windows Azure Roles<br />Web Role<br />for web application programming in ASP.NET or PHP<br />Worker Role<br />is used for generalized development, and may perform background processing for a web role.<br />may be written in .NET, Ruby, Java<br />to improve scalability by increasing parallelism and asynchronicity<br />
    25. 25. Windows Azure Roles<br />
    26. 26. Windows Azure Roles (cont..)<br />Virtual Machine (VM) role<br /><ul><li>Runs an image (a VHD) of a Windows Server 2008 R2 virtual machine.
    27. 27. Customers can configure and maintain the OS and use Windows Services</li></li></ul><li>Developer Experience<br />Leverage Existing Skills in .NET, SQL Server, WCF<br />Use Familiar tools – Visual Studio, SSMS<br />RESTful HTTP cloud services, supports PHP, Python<br />Cloud apps can be developed locally / offline<br />SDK Cloud Simulator – Dev Fabric, Dev Storage<br />
    28. 28. The Windows Azure SDK<br />
    29. 29.
    30. 30. Storage<br />Blobs – Large Data Store<br />Queues – Background work processing<br />Tables – Very Fast / Scalable Storage<br />Drives – NTFS Formatted Page Blobs <br />SQL Azure – Relational SQL in the Cloud<br />
    31. 31. Microsoft® SQL Azure<br />Is a highly available, and scalable cloud database service.<br />Built on SQL Server technologies<br />High availability and fault tolerance is built-in and no physical administration is required.<br />Create, access, and manipulate tables, views, indexes, roles, stored procedures, triggers, and functions.<br />Insert, .Update, and Delete.<br />Integration with SQL Server and tooling including Visual Studio®<br />No physical administration required – software installation and patching is included, as this is a platform as a service (PAAS)%<br />
    32. 32. Programmability and Tools<br />Managed ADO.NET data access<br />Native ODBC<br />Support for PHP<br />JDBC Support<br />Tools<br />SQL Server Management Studio: an integrated environment with graphics tools for accessing<br />SQL Azure Database account portal<br />Visual Studio 2010 cloud toolkit.<br />
    33. 33.
    34. 34. Windows Azure SDK Features<br />C# and VB Visual Studio project templates<br />Windows Azure Cloud Service solution with multiple roles.<br />Tools to manage and configure roles<br />Local Development Fabric<br />Local Development Storage services<br />Local Cloud Service debugging support<br />Cloud Service package and deployment builder<br />Note:<br />No SDK Required for SQL Azure<br />
    35. 35. Windows Azure Virtual Network<br />Windows Azure Connect provides a simple and easy-to-manage mechanism to setup IP-based network connectivity between on-premises and Windows Azure resources.<br />Migrate their existing applications to the cloud by enabling direct IP-based network.<br />Simple for developers to setup direct connectivity to their cloud-hosted virtual machines.<br />Enabling remote administration and troubleshooting<br />
    36. 36. Windows Azure Marketplace<br />An online marketplace for developers to share, find, buy and sell building block components.<br />An Applications section<br />- includes finished applications, service templates and building block components<br />DataMarketsection<br /> - include data, imagery, and real-time web services from leading commercial data providers and authoritative public data sources such as demographic, environmental, financial, retail, weather and sports.<br />
    37. 37. MSDN / BizSpark Offer<br />
    38. 38. Mobile Applications<br />Cloud services and phone applications are a powerful combination.<br />You can now use the Windows Azure platform as a backend for your next phone application.<br />Windows Azure provides you scalability so you can focus on your application as opposed to the infrastructure.<br />Windows Azure Toolkits for Devices. With support for Windows Phone 7, iOS and Android.<br />
    39. 39. Windows Azure DevFabricLocal Developer Simulation of AppFabric<br />Simulated “Cloud Experience” for Development<br />Routes cloud requests to local machine<br />Simulates data storage with local SQL server database<br />Azure SQL simulated with local SQL Server database<br />Compute<br />Storage<br />Management<br />Management<br />Relational data<br />Connectivity<br />Access control<br />
    40. 40. Windows Azure AppFabric<br />Service Bus<br />Access Control Service<br />Management<br />Compute<br />Storage<br />Management<br />Management<br />Relational data<br />Connectivity<br />Access control<br />
    41. 41. Time to try!!<br />Try WindowsAzureTMFree for 30 Days<br />Windows Azure3 Small Compute Instances; 3 GB of Storage; 250,000 Storage Transactions.<br />AppFabric100,000 Access Control Transactions; 2 Service Bus Connections.<br />SQL Azure2 One-GB Web Edition Databases<br />Data Transfers3 GB In; 3 GB Out.<br />
    42. 42. Steps to try<br />Must have live/Hotmail account, sign in<br />Got to<br />Enter “NEXTBIGAPPMO” for a promo code.<br />After completing sign up for account.<br />You have to wait 4 days at max to confirm your request.<br />Access every thing via one site<br />
    43. 43. Tools you will need<br />Microsoft Visual Studio2010 from your MSDNaa account<br />SQL Server 2008 R2 management tools to write statements free @<br />Tools and SDK for visual studio 2010 <br />Videos, training and Quick start codes<br />
    44. 44. Summary<br /><ul><li>What is Azure
    45. 45. Infrastructure
    46. 46. Web Roles
    47. 47. Worker Roles
    48. 48. Storage (Including SQL Azure)
    49. 49. Cloud Fabric, Dev Fabric, App Fabric
    50. 50. How to Start</li></li></ul><li>Q&A<br />
    51. 51. Demo<br />Building Our First Cloud Application<br />With Microsoft Windows Azure<br />