A Developer’s Guide to Cloud Apps Using Microsoft Azure: Migrate and modernize your cloud-native applications with containers on Azure using real-world case studies
Build and deploy modern and secure applications on Microsoft Azure by implementing best practices, patterns, and new technologies with this easy-to-follow guide
Purchase of the print or Kindle book includes a free PDF eBook
- Learn various methods to migrate legacy applications to cloud using different Azure services
- Implement continuous integration and deployment as a best practice for DevOps and agile development
- Get started with building cloud-based applications using containers and orchestrators in different scenarios
Companies face several challenges during cloud adoption, with developers and architects needing to migrate legacy applications and build cloud-oriented applications using Azure-based technologies in different environments. A Developer’s Guide to Cloud Apps Using Microsoft Azure helps you learn how to migrate old apps to Azure using the Cloud Adoption Framework and presents use cases, as well as build market-ready secure and reliable applications.
The book begins by introducing you to the benefits of moving legacy apps to the cloud and modernizing existing ones using a set of new technologies and approaches. You’ll then learn how to use technologies and patterns to build cloud-oriented applications. This app development book takes you on a journey through three major services in Azure, namely Azure Container Registry, Azure Container Instances, and Azure Kubernetes Service, which will help you build and deploy an application based on microservices. Finally, you’ll be able to implement continuous integration and deployment in Azure to fully automate the software delivery process, including the build and release processes.
By the end of this book, you’ll be able to perform application migration assessment and planning, select the right Azure services, and create and implement a new cloud-oriented application using Azure containers and orchestrators.
What you will learn
- Get to grips with new patterns and technologies used for cloud-native applications
- Migrate old applications and databases to Azure with ease
- Work with containers and orchestrators to automate app deployment
- Select the right Azure service for deployment as per the use cases
- Set up CI/CD pipelines to deploy apps and services on Azure DevOps
- Leverage Azure App Service to deploy your first application
- Build a containerized app using Docker and Azure Container Registry
Who this book is for
This book is for cloud developers, software architects, system administrators, developers, and computer science students looking to understand the new role of the software architect or developer in the cloud world. Professionals looking to enhance their cloud and cloud-native programming concepts will also find this book useful. A sound background in C#, ASP.NET Core, and Visual Studio (any recent version) and basic knowledge of cloud computing will be helpful.
Cover Title Page Copyright and Credits Foreword Contributors Table of Contents Preface Part 1 – Migrating Applications to Azure Chapter 1: An Introduction to the Cloud-Native App Lifecycle An introduction to cloud-native applications Application design Monoliths versus microservices Monolithic and microservices architectures Application lifecycles Stage 1 – application governance Stage 2 – development Stage 3 – quality assurance – software testing Stage 4 – deployment Stage 5 – operations and maintenance The Twelve-Factor Application design methodology Serverless applications The challenges of cloud-native applications The challenges of service discovery and CI/CD pipelines for microservices applications Security and observability challenges Summary Further reading Chapter 2: Beginning Your Application Migration Understanding the Cloud Adoption Framework Cloud migration versus cloud adoption The basic steps to consider before starting a migration Rationalization Rehost Re-platform Refactor or re-architect Rebuild Replace or repurchase Understanding Azure hosting options Evaluating migration considerations Summary Further reading Questions Chapter 3: Migrating Your Existing Applications to a Modern Environment Exploring a migration approach, modernization, scenarios, and paths for an existing .NET application Migrating an ASP.NET Web solution to an Azure VM Migrating using Microsoft migration tools and services Migrating an application manually Migrating an ASP.NET Web solution to Azure App Service Deploying an ASP.NET application to Azure App Service Publishing Windows Communication Foundation (WCF) to Azure App Service (Windows) Migrating an ASP.NET web solution to a Windows container Lifting and shifting Windows applications Migrating a database to Azure Azure SQL Database Migrating a database from SQL Server to Azure SQL Database using Azure DMS Summary Further reading Chapter 4: Exploring the Use Cases and Application Architecture Healthcare sample solution use cases Monolithic versus microservices Monolithic architecture Microservices architecture Challenges and solutions for distributed data management Solution architecture Summary Part 2 – Building Cloud-Oriented Applications Using Patterns and Technologies in Azure Chapter 5: Learning Cloud Patterns and Technologies An introduction to patterns and technologies Using cloud design patterns Interoperability and portability Scalability Performance issues Reliability and availability Loosely coupled service design Application security Cloud design pattern Using different cloud technologies Containers Container orchestration Service Fabric Summary Further reading Chapter 6: Setting Up an Environment to Build and Deploy Cloud-Based Applications Prerequisites to build a cloud-native application Visual Studio Visual Studio Code Microsoft Azure Azure Cloud Shell Docker Hub account Docker Desktop Podman Podman Desktop Git Azure DevOps GitHub Setting up a development environment on Windows Installing and configuring Docker Desktop on Windows Configuring Git on Windows Setting up a development environment on Linux Installing and configuring Docker Desktop on Linux Configuring Git on Linux Summary Questions Chapter 7: Using Azure App Service to Deploy Your First Application Azure App Service basics Azure App Service plans App Service environments Creating and configuring an App Service plan Creating a new App Service resource in the portal Creating a new Azure App Service using the Azure CLI Creating a new App Service using PowerShell Creating and configuring web app settings in Azure App Service Managing settings in Azure Deploying an application on Azure App Service Scaling apps in Azure App Service Scaling App Service manually Scaling based on a schedule Monitoring autoscaling activity Exploring Azure App Service deployment slots Summary Further reading Part 3 – PaaS versus CaaS to Deploy Containers in Azure Chapter 8: Building a Containerized App Using Docker and Azure Container Registry Describing the development process for Docker-based applications The development environment for Docker-based applications Docker containers versus Docker images The containerized application life cycle in Docker Exploring Azure Container Registry Exploring Azure Container Instances Exploring the elements of a Dockerfile Exercise 1 – deploying Docker containers on an Azure VM Exercise 2 – deploying Docker containers on Azure Container Registry Creating an Azure Container Registry with the Azure portal Creating an ACR with the Azure CLI Pushing your image to ACR using the Docker CLI Deploying the application to a container registry using Visual Studio Deploying the application to a container registry using Visual Studio Code Summary Further reading Chapter 9: Understanding Container Orchestration Container orchestration versus Docker Docker Swarm – a definition Kubernetes – a definition Kubernetes cluster architecture Exploring Azure Kubernetes Service and Azure Container Apps Azure Kubernetes Service Azure Container Apps Orchestrating microservices and multi-container applications Summary Further reading Chapter 10: Setting Up a Kubernetes Cluster on AKS Exercise 1 – creating an AKS cluster using the Azure CLI Exercise 2 – creating an AKS cluster using the Azure portal Exercise 3 – deploying an AKS cluster and running an application using the Azure CLI Exercise 4 – deploying an AKS cluster using an ARM template Exercise 5 – deploying an AKS cluster using Azure DevOps Starter Exercise 6 – debugging your application using Bridge to Kubernetes Bridge to Kubernetes in Visual Studio Bridge to Kubernetes in Visual Studio Code Summary Further reading Part 4 – Ensuring Continuous Integration and Continuous Deployment on Azure Chapter 11: Introduction to Azure DevOps and GitHub What is DevOps? Exploring Azure DevOps Azure Boards Azure Repos Exploring GitHub Create and configure a new organization Configure GitHub projects Exercise – creating an Azure DevOps organization Summary Further reading Chapter 12: Creating a Development Pipeline in Azure DevOps Setting up your Azure DevOps environment Creating a build pipeline with Azure Pipelines Azure Pipelines’ core concepts Creating a build pipeline with Azure Pipelines Creating a release pipeline in Azure Pipelines Creating a CI/CD pipeline for the GitHub repository using Azure DevOps Starter Summary Assessments Index Other Books You May Enjoy
How to download source code?
1. Go to:
2. In the Find a repository… box, search the book title:
A Developer’s Guide to Cloud Apps Using Microsoft Azure: Migrate and modernize your cloud-native applications with containers on Azure using real-world case studies, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.