Azure rev002


Published on


Published in: Software, 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

Azure rev002

  1. 1. Windows Azure Introduction Rich Helton May 7, 2014
  2. 2. Introduction Azure is Microsoft's cloud service software that provides a Software Development Kit to Web sites, Virtual machines, and Cloud Services for either the cloud, on-premise, or a hybrid between both. It is an Open Source SDK that supports several languages other than ASP.NET, such as Python, PHP and Node.js.
  3. 3. SDKs lThe SDKs source code Source can be downloaded from GitHub at l lThe SDK and other Azure downloads can be found at l
  4. 4. Competing Products lFor Google Apps,there is the Google App Engine, ne/, lFor Amazon, there is Amazon Elastic Compute Cloud EC2,
  5. 5. Platform as a Service Platform as a Service (PaaS) is a category of cloud computing services that provides a computing platform and a solution stack as a service. The provider provides the web services, database services and other services that are required to host the consumer's application.
  6. 6. Infrastructure as a Service Infrastructure as a Service (IaaS) is a category of cloud computing services that provides a virtual machine and cloud storage. The provider provides the networks, servers, storage, and other infrastructure pieces that are required to host the consumer's application.
  7. 7. Software as a Service Software as a service (SaaS) is a software distribution model in which applications are hosted by a vendor or service provider and made available to customers over a network, typically the Internet. For example, a CRM framework to design customer service software applications hosted in the cloud.
  8. 8. Azure Cost Calcluator us/pricing/calculator/
  9. 9. Execution Models There are three ways to create applications through Azure. 1) By creating Websites 2) By creating Virtual Machines 3) By creating cloud services
  10. 10. Azure WebSites
  11. 11. Creating We can create websites in the portal console through wizards. There will also be a Web role used for most web functions.
  12. 12. WebMatrix WebMatrix can be used to create the Azure Web Site.
  13. 13. WebMatrix We can edit live or locally.
  14. 14. WebMatrix We can edit live or locally.
  15. 15. Editing pages remotely
  16. 16. ASP MVC deploying C# Applications in ASP MVC can be created and deployed to the Azure cloud. This is done by creating the application in Visual Studio with the Azure SDK and publishing to the cloud.
  17. 17. ASP MVC publishing Publish to deploy to the cloud, Package to save it in the cloud packages for deployment later.
  18. 18. Visual Studio Visual Studio, with the Azure SDK, has many built-in tools for Azure, such as the use of Server Explorer to explore your Azure resources that are configured.
  19. 19. Azure Virtual Machines
  20. 20. Creating..... We can create Virtual machines in the portal console through wizards.
  21. 21. Images.... Many VM images are supported, including Ubuntu
  22. 22. Sizes.... Many VM sizes are supported, including Ubuntu, including 56GB memory
  23. 23. Cloud Services
  24. 24. Cloud Services When creating your cloud services, a unique URL must be selected that will be appended with “” to access your services at a later time. lCloud services are background applications living in your cloud partition, such as web services or scheduled tasks. lThe Azure fabric will manage these applications.
  25. 25. Creating You can also create a cloud service, which will require a cloud package, or cspkg file, and deployment file, or cscfg file.
  26. 26. Packages The Cloud Service Package file is basically a zip file. lIt is created, as well cloud service configuration, or cscfg file, from Visual Studio using the Azure SDK when we “Package” an Windows Azure application. lWe can “Publish” the application to the Azure cloud from Visual Studio.
  27. 27. SQL Databases
  28. 28. SQL Database lWe can create a SQL database as we normally would on a SQL Server. The wizards and interfaces may be different, but the result is to be the same for the cloud. l
  29. 29. SQL Database Design lWe can create a SQL database tables and Stored Procedures normally, just through an Azure interface.
  30. 30. SQL Database Monitoring lSince the SQL database is working the same in the cloud as on-premise, working through a cloud connection string, Visual Studio SQL tools, programs and SQL Server Reporting Services (SSRS) can be used to interact with the cloud SQL database to perform normal monitoring, logging, and other actions to check the SQL database.
  31. 31. SQL thru Visual Studio lSince the SQL database is working the same in Visual Studio, we can access the SQL database via Visual Studio to Azure, and create tables, data, etc.
  32. 32. Storage Management
  33. 33. Storage lBesides the SQL database, there are three other types of storage: l1) Table Storage l2) BLOB Storage l3) Queues l
  34. 34. Creation lStorage creation begins with creating a Storage account To create a Storage account, simply do “New-> Data Services-> Storage”. l
  35. 35. Table Storage lIn this configuration piece, we are configuring No-SQL tables that require a key-value pair to access the entity in the row. lThe Account Name and Account Key are used as part of the connection string to access the table. lThe models are entities with getters and setters that match the fields in the table. lThe entities can be inserted, deleted, and have lookup in the table. lIt allows smaller space for quicker lookups.
  36. 36. Table Storage Properties lPartition Key – A unique key associated with partition as a collection of all associated rows. This is defined to define which partition to access. An example is the name of the table. lRow Key – A unique key to identify the row in the parturition, usually a unique id. lTimestamp – The time the row was updated and is updated by Azure.
  37. 37. BLOB Storage lBLOB storage is for Binary Large Objects (BLOB). lAn example of a BLOB object is a media file for video. lBLOBs are unstructured data that are larger binary files.
  38. 38. Azure Queues The main uses of Queues includes: 1) Processing messages asynchronously 2) Passing messages from an Azure Web role to an Azure Worker role
  39. 39. Managing Storage Accounts
  40. 40. Azure Storage Explorer
  41. 41. Visual Studio Server Explorer us/library/ee405484.aspx
  42. 42. Azure Dashboard We can set which types of storage to monitor
  43. 43. Business Analytics
  44. 44. Business Analytics lWe can report on Business Analytics from: 1) SQL Reporting such as SQL Server Reporting Services (SSRS). 2) Hadoop
  45. 45. Hadoop
  46. 46. Hadoop Introduction Hadoop is Open Source Apache framework found at lIt is a framework that allows for the distributed processing of large data sets across clusters of computers using simple programming models.
  47. 47. Hadoop Distributed File System The Hadoop Distributed File System (HDFS) is a distributed file system that provides high- throughput access to application
  48. 48. MapReduce Hadoop MapReduce is a software framework for easily writing applications which process vast amounts of data (multi-terabyte data-sets) in-parallel on large clusters (thousands of nodes) of commodity hardware in a reliable, fault-tolerant manner. _tutorial.html
  49. 49. Hive Hive is a SQL-like query language for working with big data like Hadoop from Apache, . lThe Hive query language is called HiveQL.
  50. 50. Pig Another Apache framework for working with Hadoop is Pig, see , which uses a high-level procedural language refereed to as “pig Latin” that is not as SQL-like as Hive. Note, Hive was created by Facebook, Pig was created by Yahoo.
  51. 51. HDInsight HDInsight is Microsoft's 100% Apache compatible Hadoop distribution, supported by Microsoft. HDInsight, available both on Windows Server or as an Windows Azure service.
  52. 52. HDInsight Creation
  53. 53. Azure AppFabric
  54. 54. AppFabric AppFabric is any n-tier .NET application that spans the web, middle, and data tiers, composes with external services, and is inherently written to the cloud architecture for scale and availability.
  55. 55. AppFabric •Adding a caching provider and a monitoring service to WCF and WF creates the Microsoft AppFabric Framework and Architecture. •There is a special version that supports Azure. •The Micrsoft.ServiceBus.dll and namespace will be used to extend Service Bus helper extensions to WCF and WF.
  56. 56. AppFabric •Adding a caching provider and a monitoring service to WCF and WF creates the Microsoft AppFabric Framework and Architecture. •There is a special version that supports Azure. •The Micrsoft.ServiceBus.dll and namespace will be used to extend Service Bus helper extensions to WCF and WF.
  57. 57. Azure AppFabric pieces •Azure AppFabric components: •Enterprise Service Bus •Caching •Application Monitoring •Workflow Persistence •Service Management
  58. 58. Azure Service Bus
  59. 59. What is the Azure Service Bus? Windows Azure Service Bus provides a hosted, secure, and widely available infrastructure for widespread communication between different messaging endpoints to include web services.
  60. 60. Service Bus Communications The Service bus communicates via three methods: 1) Queues – one-to-one messaging through queues. 2) Topics – one-to-many publish-subscribe messagings. 3) Relays – one-to-one requests-replies not queuing
  61. 61. Creation
  62. 62. Access Connection
  63. 63. Azure Caching
  64. 64. What is a Cache? A cache is a storage location or BLOB to hold data.
  65. 65. Creation Normally created through Azure SDK tools, see tools/wiki/Managed-Cache PS C:> help azuremanagedcache Name Category Module Synopsis ---- -------- ------ -------- Get-AzureManagedCache Cmdlet Azure Gets the Azure Caches in your Azure account.
  66. 66. Cache Powershell Cmdlets PS C:> help azuremanagedcache Name Category Module Synopsis ---- -------- ------ -------- Get-AzureManagedCache Cmdlet Azure Gets the Azure Caches in your Azure account. Get-AzureManagedCacheAccessKey Cmdlet Azure Gets the access keys for an Azure Cache New-AzureManagedCache Cmdlet Azure Creates an Azure cache New-AzureManagedCacheAccessKey Cmdlet Azure Creates new access keys for an Azure Cache. Remove-AzureManagedCache Cmdlet Azure Deletes an Azure Cache Set-AzureManagedCache Cmdlet Azure Changes the properties of an Azure Cache.
  67. 67. Workflow Persistence
  68. 68. Workflow Persistence Workflow Persistence is the ability to create persistence in Windows Workflow. Persistence can be created through various means of Azure and on-premise storage, including Table storage and the SQL database to save state through the workflow.
  69. 69. Service Management and Monitoring
  70. 70. Service Management We control the services through portal.
  71. 71. Alerts We can create Alerts on a service to give us notifications.
  72. 72. Alert Conditions The notifications are based on defined conditions.
  73. 73. Microsoft Azure Management Libraries The Microsoft Azure Management Libraries can be used to automate, deploy, and test cloud infrastructure: lMicrosoft Azure Virtual Machines lHosted and Infrastructure Services lScheduler lStorage Accounts lSubscription information lNetworks lWeb Sites
  74. 74. Azure Diagnostics lWindows Azure Diagnostics enables you to collect diagnostic data from an application running in Windows Azure. You can use diagnostic data for debugging and troubleshooting, measuring performance, monitoring resource usage, traffic analysis and capacity planning, and auditing.
  75. 75. Application Trace lTracing is a way for you to monitor the execution of your application while it is running. You can use the System.Diagnostics.Trace, System.Diagnostics.Debug, and System.Diagnostics.TraceSource classes to record information about errors and application execution in logs, text files, or other devices.
  76. 76. Azure Scheduler
  77. 77. What is a Scheduler? Azure Scheduler allows you to invoke actions based on a schedule. These actions include: lCalling HTTP/S enpoints lPosting a message to a storage queue lCreate a scheduled job to call services both inside and outside Azure l us/services/scheduler/
  78. 78. Azure Scheduler Wizard
  79. 79. Mobile Services
  80. 80. Creating You can also create a mobile services for mobile application deployments.
  81. 81. Media Services
  82. 82. Creating You can also create a media services for media deployments.
  83. 83. Media Components There are several features in Windows Azure to assist the user with working with media files: 1) Media ingest – uploading media files into the Azure cloud, storing into BLOBS. 2) Encoding – translating into different media formats. 3) Content protection – provides digital rights protection for media 4) Ad Insertion – insert ads in video streams 5) Streaming 6) Additional Add-ons.
  84. 84. Identity Management
  85. 85. Access Control lWindows Azure uses access control in 2 separate means: l1) Using Active Directory inside the Virtual Machine l2) Using Active Directory inside the cloud lHowever, we can sync Azure Active Directory with the on-premise Active Directory. l
  86. 86. Azure Active Directory Features lWe can sync Azure Active Directory with on- premise Active Directory. lCan provide Single Sign On (SSO) for cloud applications. lIntegrate with other cloud providers and services to provide SSO. lManage users and data repositories across the cloud.
  87. 87. Access Control lWindows Azure uses access control in 2 separate means: l1) Using Active Directory inside the Virtual Machine l2) Using Active Directory inside the cloud l
  88. 88. Azure Active Directory lWindows Azure Active Directory is already installed by default. l
  89. 89. Networking
  90. 90. Networks lThere are three ways to use the networking services from Azure: l1) Virtual Network l2) Connect l3) Traffic Management
  91. 91. Virtual Networks lVirtual Networks allow a on-premise network to connect to a cloud network to the Virtual Machines.
  92. 92. Azure Connect lAzure Connect is to connect certain computers on-premise to certain applications in the cloud. For instance, connecting a DBA's computer to the SQL database in the cloud.
  93. 93. Traffic Management lAzure Traffic Management is about connecting users or other applications to a cloud region. For instance, focusing Asian customers to the Asian clouds for better local bandwidth.
  94. 94. Questions?