The Developer's Guide to Azure
Total Page:16
File Type:pdf, Size:1020Kb
E-book Series The Developer’s Guide to Azure Published May 2019 May The Developer’s 2 2019 Guide to Azure 03 / 40 / 82 / Introduction Chapter 3: Securing Chapter 6: Where your application and how to deploy We’re here to help your Azure services How can Azure help secure 05 / your app? How can Azure deploy your Encryption services? Chapter 1: Getting Azure Security Center Infrastructure as Code started with Azure Logging and monitoring Azure Blueprints Containers in Azure What can Azure do for you? Azure Stack Where to host your 51 / Where to deploy, application and when? Chapter 4: Adding Azure App Service Features Azure Functions intelligence to Azure Logic Apps your application 89 / Azure Batch Containers How can Azure integrate AI Chapter 7: Share your What to use, and when? into your app? code, track work, and ship Making your application Azure Search software more performant Cognitive Services Azure Front Door Azure Bot Service How can Azure help you plan Azure Content Delivery Azure Machine Learning smarter, collaborate better, and ship Network Studio your apps faster? Azure Redis Cache Developer tooling for AI Azure Boards AI and mixed reality Azure Repos Using events and messages in Azure Pipelines 22 / your application Azure Test Plans Azure Artifacts Chapter 2: Connecting your app with data 72 / 98 / What can Azure do for Chapter 5: Connect your your data? business with IoT Chapter 8: Azure in Action Where to store your data Azure Cosmos DB How can Azure connect, secure, Walk-through: Azure portal Azure SQL Database manage, monitor, and control your Walk-through: Developing a web Azure databases for MySQL, devices in the cloud? app and database PostgreSQL, and MariaDB Azure IoT Hub Walk-through: Extending apps Azure Storage Azure IoT Central Walk-through: Ready for production Azure data analytics Azure IoT solution accelerators solutions Azure IoT Edge Walkthrough: Publish an on- Azure Digital Twins 119 / premises website to Azure with a Azure Sphere SQL database Learn more about Azure IoT Chapter 9: Summary What to use, and when? and resources Keep Learning with Azure About the authors February LoremMay ipsum dolor sitThe amet, Developer’s consectetur 3 2018 adipiscing2019 elit Guide to Azure This guide is designed for developers and architects who are starting their journey into The Microsoft Azure. In this guide, we’ll take you through the ins and outs of Microsoft Azure. You’ll learn how to get started and which services you can use for the scenarios you Developer’s might have. From creating websites, databases, and desktop and mobile applications to integrating Guide to the latest technologies into your app, Azure does the heavy lifting for you. Azure services are designed to work together so you can build Azure complete solutions that last the lifetime of your app. May The Developer’s 4 2019 Guide to Azure You can also get help through We’re here to help other channels, such as: Documentation and guides that give you an We can assist you in a variety of ways overview of everything in Azure and provide deep to suit your needs. insights through the documentation of each feature. With our support plans, you’ll get access to Azure Service License Agreements (SLAs), which can technical support teams, guidance for cloud design, inform you about our uptime guarantees and and assistance with migration planning. You can downtime credit policies. even acquire a support plan that guarantees a @AzureSupport on Twitter, which is operated by response from the technical support teams within skillful Azure engineers who respond quickly to 15 minutes. issues that you tweet to them. Stack Overflow, which provides answers to Azure questions and includes many active posts by members of the Azure engineering teams. Azure Community Support, which provides a place for discussion with the Azure community and contains answers to community questions. Azure Advisor, which automatically makes personalized recommendations for your Azure resources, including what you need to do to be more secure, have higher availability, increase performance, and reduce costs. Azure Service Health, which gives you a personalized view of the health of your Azure services. February LoremMay ipsum dolor sitThe amet, Developer’s consectetur 5 2018 adipiscing2019 elit Guide to Azure Duntiaspel is vel estotatem qui qui sitatio Mus ma dolor nsedit, ea sere volor molupta dolut officto blaut omnimenem fugitas et omnihil 01duciuscit, / odit lestibea veliquia conem estiae quidi aut facearchilit quidelia peri conserrum, qui volupis as volo utaquiasit utaquiae reperum re et fugitibus re porepedit faciminciae lant et dolorpos et eos et libusci volum se doloreh endigenis pratibus quis duntem commo in natem. Sedicil labores citatem natem sedit autet es nit etur sit volorit, quos ut lameniatur? Um enimagnis You’ve made the decision to build applications minctur simillab is arum quatinverro on Azure, and now you want to get started. dolum earum te destibus, tem adis eum rehenia si Getting You don’t need to do much—just sign up for an Azure freeomnimusam account. Thisveni includes nossita. credits to explore paid Azure services and over 25 services you can started use for free forever. Simply choose which tools, applications, and frameworks you want to use, and then start running with your apps on Azure. Azure May The Developer’s 6 2019 Guide to Azure What can Azure do for you? Whether you’re a professional developer or write code for fun, developing with Azure puts the latest cloud technology and best-in-class developer tools at your fingertips and makes it easy to build for the cloud in your preferred language. With Azure, you can get your work done faster, take your skills to the next level, and imagine and build tomorrow’s applications. Multiply your impact with: • A cloud platform • Developer tools • Management services Integrated tightly together, these form a true ecosystem that enables you to create amazing applications and seamless digital experiences that run on any device. Take advantage of the incredible and always growing capabilities of Azure. Let’s dive in and see what you can do. May The Developer’s 7 2019 Guide to Azure Azure App Service comprises Where to host the following: your application Web Apps: As one of the most widely used Azure services, Web Apps can host your web applications or APIs. A web app is basically an abstraction of a web server, like Internet Information Services (IIS) Azure offers services designed to provide what or Tomcat, used to host HTTP-driven applications. you need to deliver and scale every application. Web Apps can host applications written in .NET, When you use Azure services to run your Node.js, Python, Java, or GO, and you can use application, you get scalability, high availability, available extensions to run even more languages. a fully managed platform, and database services. Azure also offers the following options // Try it out: Create an ASP.NET for running your application. Core web app in Azure Azure App Service Mobile Apps: Provide a back end for your mobile You can host your applications in a fully managed applications with Mobile Apps. When you host application platform loved by enterprise an API in Mobile Apps, your mobile applications developers: Azure App Service. Azure App Service connect with it through the cross-platform is a collection of hosting and orchestrating services client SDK. This is available for iOS, Android, and that share features and capabilities. All services in Windows. Mobile Apps provides features like offline App Service have the capability, for example, to sync and push notifications to help you create a secure an application using Azure Active Directory modern, performant, and secure mobile experience. and can use custom domains. May The Developer’s 8 2019 Guide to Azure You can even use Azure’s Testing in Production Azure App feature to route a percentage of traffic from your production app to a deployment slot. For example, Service features if you shunt 10 percent of your users to the new version of your app in the deployment slot, you can see whether the new features are functioning as expected and whether users are using them. Azure App Service is one of the key services in Azure that you can use to host your applications. When you’re satisfied with how the new version of Each of these services brings unique capabilities to your app is performing in the deployment slot, you the table, but they all share some common features: can carry out a “swap,” which exchanges the app in the deployment slot with that in your production Scaling slot. You can also swap from a development slot to a staging slot, and then to the production slot. Before Azure App Service runs on App Service plans, doing this, the swap operation verifies that the new which are abstractions from virtual machines (VMs). version of your website is warmed up and ready One or more VMs run your Azure App Service, but to go. When this has been confirmed, the swap since Azure takes care of them, it’s not necessary for operation switches the slots, and your users now see you to know which ones. You can, however, scale the new version of the app—with no downtime. You the resources that run your Azure App Service. can also swap back and revert the deployment of the new version. You can either choose a higher pricing tier (ranging from free to premium) or increase the number of You use deployment slots within environments, application instances that are running. It’s even such as development, test, or production. You don’t possible to have even have Azure App Service use deployment slots as environments, because automatically scale the number of instances for you, they all reside in the same App Service plan.