[.Net Juniors Academy] Introdução ao Cloud Computing e Windows Azure Platform

792 views

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
792
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • 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 ObjectiveIntroduce users to the tooling available to work with Windows AzureSpeaker NotesDeveloper SDK is a Cloud in a box, allowing you to develop and debug locally without requiring a connection to the cloud. You can do this without Visual Studio as there are command line tools for executing the “cloud in a box” and publishing to the cloud.There is also a separate download for the Visual Studio 2008 tools, which provide the VS debugging and templates. This in turn includes the SDKDownload the VS tools if you use VS. Download the raw SDK if you use alternative platforms (PHP etc…)Requirements for Win 7 or Win 2008 are a dependency on IIS7 for the development fabricCan install the bits with the Microsoft Web Platform InstallerNotesWindows Azure Tools for Microsoft Visual Studio includes:C# and VB Project creation support for creating a Windows Azure Cloud Service solution with multiple roles.Tools to add and remove roles from the Cloud Service.Tools to configure each Role.Integrated local development via the Development Fabric and Development Storage services.Running and Debugging a Cloud Service in the Development Fabric.Browsing cloud storage through the Server ExplorerBuilding and packaging of Cloud Service Packages.Deploying to the Windows Azure.Monitoring the state of your services through the Server Explorer.Debugging in the cloud by retrieving IntelliTrace logs through the Server Explorer.
  • 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.)
  • 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.)
  • 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:Introduce Windows Azure Storage and some of the key features/capabilities of the storage serviceSpeaking Points:The design point is for the cloud is availability of storage, there are 3 replicas of data, and we implement guaranteed consistency. In the future there will be some transaction support and this is why we use guaranteed consistency.There are 4 types of storageTables = Key value storeQueues = a simple queuing mechanismBlobs = Binary file storage in the cloudDrives = A mechanism that allows a VHD in a blob to be mounted as an NTFS drive into a Compute roleBlobs, tables, and queues hosted in the cloud, close to your computation Authenticated access and triple replication to help keep your data safe Easy access to data with simple REST interfaces, available remotely and from the data centerAccess is via a storage account – you can have multiple storage accounts per live id.Although the native API is REST web service, there is a .NET storage client in the SDK that. This makes working with storage much easier from .NET
  • Slide ObjectivesUnderstand Flexible EntitiesSpeaker NotesTables store data as entities. A table can contain entities of any shapeThere is no fixed schemaThere is no schema checkingThere is no strong typing- not that Birthdate is stored as both a datetime value and as a stringNot that we can add additional columnsNoteshttp://msdn.microsoft.com/en-us/library/dd573356.aspx
  • Slide ObjectivesUnderstand The Partition KeySpeaker NotesTables are partitioned to support load balancing across storage nodes. A table's entities are organized by partition. A partition is a consecutive range of entities possessing the same partition key value. The partition key is a unique identifier for the partition within a given table, specified by the PartitionKey property. The partition key forms the first part of an entity's unique identifier within the table.The partition key may be a string value up to 1 KB in size.You must include the PartitionKey property in every insert, update, and delete operation.Noteshttp://msdn.microsoft.com/en-us/library/dd573356.aspxhttp://blogs.msdn.com/b/windowsazurestorage/archive/2010/05/07/understanding-the-scalability-availability-durability-and-billing-of-windows-azure-storage.aspx http://blogs.msdn.com/b/windowsazurestorage/archive/2010/05/10/windows-azure-storage-abstractions-and-their-scalability-targets.aspx
  • Slide ObjectivesUnderstand the Value of QueuesSpeaker NotesQueues allow the apparent perf of app to be improvedWork can be buffered in queue and performed laterAllows simple async comms between rolesMore on this Day 2Noteshttp://blogs.msdn.com/b/eugeniop/archive/2010/05/11/windows-azure-guidance-the-get-delete-pattern-for-reading-messages-from-queues.aspx
  • 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 basic concept of a CDNUnderstand at a high level how Windows Azure CDN worksSpeaking Points:The Windows Azure CDN provides edge nodes around the worldData stored in CDN enabled storage accounts is retrieved from the origin storage container and cached at each edge node in a lazy load fashionWindows Azure Customers have control over how long data is cached for.Windows Azure CDN has 20 locations globally (United States, Europe, Asia, Australia and South America) and continues to expandThe benefit of using a CDN is better performance and user experience for users who are farther from the source of the content stored in the Windows Azure Blob service. Windows Azure CDN provides worldwide high-bandwidth access to serve content for popular events.Noteshttp://blogs.msdn.com/b/windowsazure/archive/2009/11/05/introducing-the-windows-azure-content-delivery-network.aspx
  • 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:Introduction to SQL AzureExplain SQL Azure DatabaseIndicate that other services are coming in the futureSpeaking Points:SQL Azure provides Microsoft SQL Server in the cloudBroadly compatible with online SQL ServerIn the future other services are plannedDataSync- to sync data between On premise and the cloudNotesCloud-based relational database service built on SQL Server® technologies. It provides a highly available, scalable, multi-tenant database service hosted by Microsoft in the cloud. SQL Azure Database helps to ease provisioning and deployment of multiple databases. Developers do not have to install, setup, patch or manage any software. High availability and fault tolerance is built-in and no physical administration is required.http://www.microsoft.com/windowsazure/sqlazure/ http://go.microsoft.com/?linkid=9686976
  • Slide Objectives:Understand the key differentiators of SQL AzureUnderstand where a user has control and where the cloud runs thingsSpeaking Points:SQL Azure provides highly available SQL Server.Appears to be a SQL Server to the client.In reality is 3 transitionally consistent copies of the database that are fronted by a Gateway that appears to be a SQL serverSimple to provision- create a logical server in the Portal, execute a create DB Command to create a new databaseCan add and remove DBs easily from application to scale up and downCustomers look after logical optimizations like indexesSQL Azure manages the physical databaseNo need to install or patch software or other physical administrationAutomatic high availability and fault toleranceSimple provisioning and deployment of multiple databasesScale databases up or down based on business needsMulti-tenantIntegration with SQL Server and tooling including Visual StudioSupport for T-SQL based familiar relational database modelNoteshttp://www.microsoft.com/windowsazure/sqlazure/http://msdn.microsoft.com/en-us/windowsazure/sqlazure/default.aspx
  • Slide ObjectiveUse this slide to transition into an explanation of SQL Azure Database (Reporting and Data Sync will be covered later)Explain at a high level how SQL Azure worksSpeaker NotesDesign Principle of SQL Azure: Focus on combining the best features of SQL Server running at scale with low frictionSQL Azure is a high availability databaseAlways three transaction consistent replicas of the databaseOne primary replica; two slave replicasFailure of a replica will result in another replica being spun up immediately by the fabricFailure of the primary replica means a slave replica will become the primary and a new slave will spin upMinimal down timeTypically just a few dropped connectionsEasy to code for the failover scenario- if you are ding god connection management and error handling will be fineClustered index required on all tables to allow replicationNotesUseful article from SQL Azure teamhttp://msdn.microsoft.com/en-us/magazine/ee321567.aspx
  • Slide Objectives:Introduction to SQL AzureExplain SQL Azure DatabaseIndicate that other services are coming in the futureSpeaking Points:SQL Azure provides Microsoft SQL Server in the cloudBroadly compatible with online SQL ServerIn the future other services are plannedDataSync- to sync data between On premise and the cloudNotesCloud-based relational database service built on SQL Server® technologies. It provides a highly available, scalable, multi-tenant database service hosted by Microsoft in the cloud. SQL Azure Database helps to ease provisioning and deployment of multiple databases. Developers do not have to install, setup, patch or manage any software. High availability and fault tolerance is built-in and no physical administration is required.http://www.microsoft.com/windowsazure/sqlazure/ http://go.microsoft.com/?linkid=9686976
  • Slide Objectives:Introduction to SQL AzureExplain SQL Azure DatabaseIndicate that other services are coming in the futureSpeaking Points:SQL Azure provides Microsoft SQL Server in the cloudBroadly compatible with online SQL ServerIn the future other services are plannedDataSync- to sync data between On premise and the cloudNotesCloud-based relational database service built on SQL Server® technologies. It provides a highly available, scalable, multi-tenant database service hosted by Microsoft in the cloud. SQL Azure Database helps to ease provisioning and deployment of multiple databases. Developers do not have to install, setup, patch or manage any software. High availability and fault tolerance is built-in and no physical administration is required.http://www.microsoft.com/windowsazure/sqlazure/ http://go.microsoft.com/?linkid=9686976
  • Slide Objectives: Define and enumerate the Windows Azure Platform AppfabricSpeaking Points: Much in the same way that SQL Services is about extending SQL Server to the cloud, we are also extending key .NET capabilities to the cloud as services.We call this the Windows Azure AppFabric. These services are really key components you would need for building distributed, connected applications. When we talk about connecting to your existing on-premises applications and enabling the composition of hybrid (Cloud + on-premises) applications – that is where the AppFabric really comes in.There are currently two AppFabric Services: the Service Bus & the Access Control ServiceService Bus:The Service Bus is designed to provide a general purpose application bus, available on the internet at internet scale. You can really thin of the Service Bus as being similar to an Enterprise Service Bus that many enterprise organizations have today. However, we believe that when providing a Service Bus as a programmable service on the internet, there are a wider range of scenarios for many more types of organizations.Fundamentally, the .NET Service Bus is about connecting applications across network and application boundaries and making key message exchange patterns such as publish and subscribe messaging very simple.Access Control:The Access Control service is designed to provide rules-driven, claims-based access control for applications. Essentially, this allows you to define authorization rules for your applications using the claims-based approach that we are adopting within many Microsoft products and technologies and that is becoming adopted in the industry.Notes: Windows Azure has the .NET Framework built into it so thatyou can use those services within your application.But just like your application must be designed to scale out, the services that we have built into Windows over time in .NET also need to be designed and built in a way that can scale out naturally. We want to create services for you, and that's the purpose of the AppFabric, creating a pool of resources available to you to take advantage of and do things within your application very simply. So we're including a built-in, scale-out implementation of a service bus. The service bus lets you connect your on-premises systems securely into the cloud, into the Azure environment, while allowing your data and your information to traverse firewalls, solving a problem that is a bane of many application developments.
  • Slide ObjectiveIntroduce the three scenariosSpeaking NotesNetwork topology agnosticSpecifically designed to traverse NAT and Firewall devices EventingEfficient Pub/Sub style messagingHigh performance one way broadcast communicationsSupports disconnected modes through the use of temporary message buffersService remotingExtend web services to the cloudHandle WCF semantics seamlesslyBroad support for WS-* protocolsSome are merely passed throughSome influence the SB operationTunnellingAd hoc private networkTunnel raw names Pipes or TCP sockets over the internetCan tunnel complex protocols over simple protocolsE.g. Tunnel SQL Server named pipes when only outbound HTTP is availableNoteshttp://blogs.msdn.com/b/brunoterkaly/archive/2010/01/01/azure-service-bus-intro-to-eventing-in-the-app-fabric-project-weather-cloud.aspx
  • Slide objectives:Introduce the Eventing pattern.Speaking points:Once you have started leveraging the Service Bus to start exposing existing services through the Service Remoting pattern, you may find yourself needing to send notifications to multiple listeners.Enter the Eventing pattern – a pattern where you notify other devices when changes are made.In this scenario, a sender sends to a single endpoint on the Service Bus, which then relays the message to multiple listeners that are listening on the Service Bus.The listener can take this message and respond to it accordingly.BenefitsOut of the box scalable messaging solution (i.e. no polling necessary)No large up front technology investmentSave time on completion of projectsNo network infrastructure changesOccasionally connected listeners (i.e. mobile clients) can leverage message buffers to provide short lived message storage.
  • Slide objectives:Introduce the Service Remoting pattern.Speaking points:The first pattern I want to talk about is Service Remoting.Service Remoting is when you have a client that wants to consume a service (or solicit information from it), and they want to use the Service Bus because they normally wouldn’t be able to interconnect.So, here you have a listener that connects to the Service Bus and listens on an endpoint, and a sender can connect to the endpoint and send a message.The example given earlier where a LOB application has a web service that acts as a listener on the Service Bus and the client connects via the Service Bus, that’s the Service Remoting pattern.BenefitsExpose internal functionality easilyNo changes to the networking infrastructureNo large up front technology investmentSave time on the completion of projects by leveraging existing services rather than reengineering them.
  • Slide objectives:Introduce the Tunneling pattern.Speaking points:The last pattern we’ll talk about is tunneling.The way you should think about tunneling is that it’s a way for your to cloud-enable or interconnect an application that is not a service.So, if you have an application that is not SOA, it’s not eventing, but you still have that NAT/firewall traversal challenge, where you want to expose that application, you can use the Service Bus for that.You can use the Service Bus to mimick connectivity over whatever protocol your application is already using, without having to rewrite that application or change it.
  • Slide Objectives: Define and enumerate the Windows Azure Platform AppfabricSpeaking Points: Much in the same way that SQL Services is about extending SQL Server to the cloud, we are also extending key .NET capabilities to the cloud as services.We call this the Windows Azure AppFabric. These services are really key components you would need for building distributed, connected applications. When we talk about connecting to your existing on-premises applications and enabling the composition of hybrid (Cloud + on-premises) applications – that is where the AppFabric really comes in.There are currently two AppFabric Services: the Service Bus & the Access Control ServiceService Bus:The Service Bus is designed to provide a general purpose application bus, available on the internet at internet scale. You can really thin of the Service Bus as being similar to an Enterprise Service Bus that many enterprise organizations have today. However, we believe that when providing a Service Bus as a programmable service on the internet, there are a wider range of scenarios for many more types of organizations.Fundamentally, the .NET Service Bus is about connecting applications across network and application boundaries and making key message exchange patterns such as publish and subscribe messaging very simple.Access Control:The Access Control service is designed to provide rules-driven, claims-based access control for applications. Essentially, this allows you to define authorization rules for your applications using the claims-based approach that we are adopting within many Microsoft products and technologies and that is becoming adopted in the industry.Notes: Windows Azure has the .NET Framework built into it so thatyou can use those services within your application.But just like your application must be designed to scale out, the services that we have built into Windows over time in .NET also need to be designed and built in a way that can scale out naturally. We want to create services for you, and that's the purpose of the AppFabric, creating a pool of resources available to you to take advantage of and do things within your application very simply. So we're including a built-in, scale-out implementation of a service bus. The service bus lets you connect your on-premises systems securely into the cloud, into the Azure environment, while allowing your data and your information to traverse firewalls, solving a problem that is a bane of many application developments.
  • let's take a look at another usage scenario for ACS.Let's say that you want to make your application available to users from major social and web IPs <click>. All those providers use different authentication protocols. Technically you could extend WIF to support those protocols directly, but you'd be writing a lot of low level code which changes very often (at least as of today's maturity level in the web authentication standards status).Once again, using an FP can be of help here. You don't need to change your application, the FP can take care of engaging with every IP using the appropriate protocol and still communicate with your application using the same protocol and token format used so far; we call this pattern protocol transition. Note that this pattern can even allow you to mix and match business and web IPs regardless of their different capabilities. Let's see how one basic flow would unfold. The user approaches the application a usual <click> and as usual gets redirected to the FP <click>. The HDR page <click> will reflect the available options. Let's assume that the user picks Facebook <click>. The system will redirect the user accordingly, and the authentication will take place using whatever protocol Facebook decides. Once the user successfully authenticates the flow will get back to ACS, which will <click> transform the token in the usual format. The token will then be sent to the application, which will process it as usual none the wiser of the fact that it came from a different protocol (remember that the app can always discover the original source of the token if it so chooses, it just does not have implementation requirements imposed because of it).Note that web and social providers do not always provide the same claims richness you can expect from business IPs; also, the sheer ability of signing in Facebook does not prove much from the business standpoint. For that reason, tokens obtained from web and social providers are often sued as part of a sign-up process in which a given identifier is stored and then used for authenticating registered users. In the same way, applications can gather information about the user and then associate those back to the claims collection whenever the user starts a session. There are two natural places in the architecture to implement those checks and enrichments <click>. You would perform those in ACS< in form of rules, whenever those modifications should be available to a portfolio of multiple applications. You would instead leverage the WIF pipeline extensibility when the context enrichment is specific to one single application.In order to demonstrate that I will now show you part of a more realistic demo <click>, which demonstrates how a SaaS application can leverage ACS for signing up users coming from social providers and maintain local custom profiles. The entire process is implemented leveraging the ACS management APIs.
  • Slide Objectives: Define and enumerate the Windows Azure Platform AppfabricSpeaking Points: Much in the same way that SQL Services is about extending SQL Server to the cloud, we are also extending key .NET capabilities to the cloud as services.We call this the Windows Azure AppFabric. These services are really key components you would need for building distributed, connected applications. When we talk about connecting to your existing on-premises applications and enabling the composition of hybrid (Cloud + on-premises) applications – that is where the AppFabric really comes in.There are currently two AppFabric Services: the Service Bus & the Access Control ServiceService Bus:The Service Bus is designed to provide a general purpose application bus, available on the internet at internet scale. You can really thin of the Service Bus as being similar to an Enterprise Service Bus that many enterprise organizations have today. However, we believe that when providing a Service Bus as a programmable service on the internet, there are a wider range of scenarios for many more types of organizations.Fundamentally, the .NET Service Bus is about connecting applications across network and application boundaries and making key message exchange patterns such as publish and subscribe messaging very simple.Access Control:The Access Control service is designed to provide rules-driven, claims-based access control for applications. Essentially, this allows you to define authorization rules for your applications using the claims-based approach that we are adopting within many Microsoft products and technologies and that is becoming adopted in the industry.Notes: Windows Azure has the .NET Framework built into it so thatyou can use those services within your application.But just like your application must be designed to scale out, the services that we have built into Windows over time in .NET also need to be designed and built in a way that can scale out naturally. We want to create services for you, and that's the purpose of the AppFabric, creating a pool of resources available to you to take advantage of and do things within your application very simply. So we're including a built-in, scale-out implementation of a service bus. The service bus lets you connect your on-premises systems securely into the cloud, into the Azure environment, while allowing your data and your information to traverse firewalls, solving a problem that is a bane of many application developments.
  • Speaking Points:One of the new services that we’ll be announcing next month at PDC is the AppFabric Cache ServiceAppFabric Cache is a distributed, in-memory application cache for Windows Azure applicationsThere are two primary use cases for the AppFabric CacheFirst, as a session state provider for Windows Azure applicationsSecondly, as a data cache layer for Windows Azure Applications that use SQL Azure Databases or Windows Azure StorageIt’s important to understand that AppFabric Cache is provided as a serviceInstead of having to install or manage software on machines or instances, you simply provision, configure, and use the serviceThis service abstraction also provides more flexibility – so you can dynamically increase or decrease the cache size as neededFinally, with AppFabric Cache is uses the same programming model for both the cloud and on-premises with it’s on-premises equivalent being the Windows Server AppFabric Cache.
  • 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.)
  • [.Net Juniors Academy] Introdução ao Cloud Computing e Windows Azure Platform

    1. 1. Consultor IndependentePortugal@ProgramarRevista ProgramarNetPontoAzurePTHTML5PTGASP
    2. 2. Recusos Capacidade Poucos recursos disponíveis Prevista CAPACIDADE Demasiados recursos Capacidade Real TEMPO4
    3. 3. Capacidade Escalabilidade Capacidade on Prevista Demand CAPACIDADE Não há Elasticidade recursos disperdiçados BaixoInvestimento Capacidade Real TEMPO
    4. 4. Compute Compute Inactivity Period Average Usage Average Usage Time TimeCompute Compute Average Usage Average Usage Time Time
    5. 5. “IaaS”Infrastructure-as-a-Service “PaaS” Platform-as-a-Service “SaaS” Software-as-a-Service host build consume
    6. 6. Packaged Infrastructure Platform Software (as a Service) Software (as a Service) (as a Service) You manage Applications Applications Applications Applications You manage Data Data Data Data Runtime Runtime Runtime Runtime Managed by vendor Middleware Middleware Middleware MiddlewareYou manage Managed by vendor O/S O/S O/S O/S Managed by vendor Virtualization Virtualization Virtualization Virtualization Servers Servers Servers Servers Storage Storage Storage Storage Networking Networking Networking Networking
    7. 7. • Visual Studio 2010• Project Templates• Model & Config Tooling• Package & 1 Click Deploy • Windows Server 2008• Debugging Support or Windows 7• Storage Explorer • SQL Express 2005+• Server Explorer • .NET 3.5 SP1+• IntelliTrace Support • Development Fabric • Development Storage • .NET APIs
    8. 8. O sistema operativo na Cloud Traffic Manager
    9. 9. Load Front- Windows AzureBalancer End Front- Middle- Storage, End Tier SQL Azure
    10. 10. Traffic Manager
    11. 11. Tamanho da CPU Memória Local Largura de Custo/h Instância Storage BandaExtra Small 1.0 GHz 768 MB 20 GB 5 Mbps $0.04 Small 1.6 GHz 1.75 GB 225 GB 100 Mbps $0.12 Medium 2 x 1.6 GHz 3.5 GB 490 GB 200 Mbps $0.24 Large 4 x 1.6 GHz 7 GB 1,000 GB 400 Mbps $0.48Extra large 8 x 1.6 GHz 14 GB 2,040 GB 800 Mbps $0.96
    12. 12. Role Bwww.mycloudapp.net Worker Role Count: 2 Update Domains: 2 Size: Medium www.mycloudapp.net Load Balancer
    13. 13. Role Bwww.mycloudapp.net Worker Role Count: 2 Update Domains: 2 Size: Medium www.mycloudapp.net Load Balancer
    14. 14. Traffic Manager
    15. 15. Account Container Blob IMG001.JPG pictures IMG002.JPG sally movies MOV1.AVI
    16. 16. Account Table Entity Name =… Email = … users Name =… Email = … sally Photo ID =… Date =… photo index Photo ID =… Date =…
    17. 17. First Last Birthdate Fav SportKim Akers 2/2/1981Nancy Anderson 3/15/1965 CanoeingMark Hassall May 1, 1976
    18. 18. PartitionKeyPartitionKey RowKey RowKey Timestamp Timestamp ModelYear ModelYear(Category)(Category) (Title) (Title)Bikes Super Duper Cycle … 2009Bikes Quick Cycle 200 Deluxe … 2007…… … … … … … …Canoes Whitewater … 2009Canoes Whitewater … 2009Canoes Flatwater … 2006Canoes Flatwater … 2006PartitionKeyRafts RowKey 14ft Super Tourer …Timestamp ModelYear 1999(Category) (Title)…Rafts … 14ft Super Tourer … … … 1999Skis… Fabrikam Back Trackers … …… 2009 …Skis… Fabrikam Back Trackers … …… 2009 ……Tents … Super Palace …… … 2008Tents Super Palace … 2008
    19. 19. Account Queue Message 128x128, http: //… thumbnail jobs 256x256, http ://… sally http://… photo processing jobs http://…
    20. 20. Worker RoleInput Queue (Work Items) Worker Role Queue Worker Role Worker Role
    21. 21. Container Blobs http://<account>.blob.core.windows.net/<container>Account Table Entities http://<account>.table.core.windows.net/<table> Queue Messages http://<account>.queue.core.windows.net/<queue>
    22. 22. Traffic Manager
    23. 23. Traffic Manager
    24. 24. Windows Azure Empresa
    25. 25. Windows Azure Traffic Manager CTP 100ms 50ms
    26. 26. An illustration Traffic Manager North South North Western Southeast EastCentral US Central US Europe Europe Asia Asia Windows Azure Application
    27. 27. O SQL Server na Cloud
    28. 28. AccountServerDatabase
    29. 29. Três Base de Dados Físicas UmaBase de Dados Lógica Primary Secondary DB 1 Secondary 2
    30. 30. algum
    31. 31. Offline ApplicationsOn-Premises SyncApplications Sync SQL Azure Database Retail & Remote Offices
    32. 32. Datacenter PartnerLOB appLOB web service Mobile Device
    33. 33. Datacenter Partner ACS SBLOB appLOB web service Mobile Device
    34. 34. Datacenter Partner ACS SBLOB appLOB web service Mobile Device
    35. 35. Datacenter Partner ACS SBLOB appLOB web service Mobile Device
    36. 36. Datacenter Partner ACS SBLOB appLOB web service Mobile Device
    37. 37. Access Control Service BusComunicação apenas numa direcçãoUnicast ou MulticastComunicação imediata ou quando houver ligação
    38. 38. Access Control Service Bus
    39. 39. Protocol Access Control Protocol Bridge Bridge Service Bus
    40. 40. vitorbstomaz@gmail.comhttp://twitter.com/vitortomaz

    ×