Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 58

Exploring Microsoft Azure's Core Services

Recommended resources

Introduction

In our previous lesson, we explored the core services of the public cloud market leader, Amazon Web Services, focusing on EC2, S3, and RDS. We established how these services map to the fundamental layers of a typical application: compute, storage, and database.

This lesson continues our journey through major public cloud platforms by turning to the second-largest player: Microsoft Azure. The goal is to describe the key services offered by Microsoft Azure, specifically Virtual Machines, App Service, and Azure SQL. As with the last lesson, our focus will be squarely on providing clear definitions, key features, and comparative points that are crucial for your semester exams. We will draw direct parallels to the AWS services you've just learned to help build a comparative understanding of the cloud landscape.



1. Azure Compute Services: Running Your Code

Just like AWS, Azure provides different ways to run your application code, ranging from full-control infrastructure to fully managed platforms. We will focus on the two most important ones for your syllabus: Azure Virtual Machines (the IaaS option) and Azure App Service (the PaaS option).

To get a comprehensive overview of these services, we'll start with a video that clearly explains Azure's compute offerings.

AZ-900 Episode 9 | Compute Services | VMs, VM Scale Set, App Service, Functions, ACI, AKS | Azure

This video from 'Adam Marczak - Azure for Everyone' is from a series for the AZ-900 (Azure Fundamentals) certification. It provides exam-focused explanations of Azure's core compute services.

Please watch the following two segments: Azure Virtual Machines (00:45 - 04:25): Focus on what a VM is, its characteristics as an IaaS service, and its ideal use cases (custom software, lift-and-shift). Azure App Service (16:48 - 18:54): Pay attention to how it's described as a PaaS offering for web applications and the benefits of a managed platform.

Let's break down these two services with exam-style definitions and key features.

A. Azure Virtual Machines (VMs)

Azure Virtual Machines are the direct equivalent of Amazon EC2. They are the foundational Infrastructure as a Service (IaaS) offering on Azure.

Definition: Azure Virtual Machines (VMs) are on-demand, scalable computing resources that provide the flexibility of virtualization without having to buy and maintain the physical hardware. They allow users to deploy and manage virtual servers in the cloud with full control over the operating system (Windows or Linux) and installed software.

Key Exam Points:

  • Total Control (IaaS): You are responsible for managing and maintaining the operating system, patching, security configurations, and the software you install. Microsoft manages the underlying physical hardware and the virtualization layer (hypervisor).
  • Use Cases:
    • Lift-and-Shift Migrations: Migrating existing on-premises applications to the cloud with minimal or no code changes.
    • Custom Software: Applications that require a specific OS configuration or software that isn't compatible with a PaaS environment.
    • Development and Testing: Quickly provisioning and de-provisioning machines for development or testing environments.
  • AWS Equivalent: Amazon EC2.

B. Azure App Service

Azure App Service is a Platform as a Service (PaaS) offering designed specifically for hosting web applications and APIs.

Definition: Azure App Service is a fully managed platform for building, deploying, and scaling web apps and APIs. It abstracts away the underlying infrastructure (servers, OS, web server software), allowing developers to focus solely on their application code.

Key Exam Points:

  • Managed Platform (PaaS): Azure handles OS patching, security, infrastructure, and scaling. You simply deploy your code or container.
  • Language Support: It has built-in support for a wide range of languages and frameworks like .NET, Java, Node.js, Python, and PHP.
  • Key Features: It includes features like automated scaling, deployment slots (for blue-green deployments), and built-in CI/CD integration with services like GitHub.
  • AWS Equivalent: While AWS has several services in this space, AWS Elastic Beanstalk is the most direct conceptual equivalent.


2. Azure SQL: The Relational Database Family

Just as AWS has RDS, Azure offers a powerful suite of services for running relational databases. However, Azure's offering, called Azure SQL, is best understood as a family of products, each tailored to a different use case. This distinction is important for your exams.

This image provides an excellent visual summary of the Azure SQL options and the division of management responsibilities, which is a common exam topic.

Comparing SQL on Azure
This flowchart guides the choice between SQL Server on Azure VMs, Azure SQL Managed Instance, and Azure SQL Database. The bar charts below it clearly show that customer management responsibility decreases from IaaS (VMs) to PaaS (SQL Database), where Microsoft manages most of the stack.

As the diagram shows, you have three primary choices:

  1. SQL Server on Azure VMs (IaaS): Gives you full control. It's equivalent to installing SQL Server on your own machine (or on an AWS EC2 instance).
  2. Azure SQL Managed Instance (PaaS): Designed for migrating existing on-premises SQL Server applications to the cloud with maximum compatibility.
  3. Azure SQL Database (PaaS): A fully managed, modern relational database-as-a-service (DBaaS). This is the primary counterpart to Amazon RDS for new cloud-native applications.

For your syllabus, Azure SQL Database is the key service to understand in detail.

To get a clear, official explanation, let's turn to Microsoft's own documentation.

What Is Azure SQL?

This document from Microsoft Learn introduces the Azure SQL family. It's perfect for understanding the official definitions and comparing the different offerings.

Please read the following two sections: Service comparison: Start from this heading and read the descriptions for 'Azure SQL Database', 'Azure SQL Managed Instance', and 'SQL Server on Azure VMs'. This will clarify their distinct purposes. Comparison table: Carefully study the table that follows. It provides a point-by-point comparison that is ideal for exam revision.

C. Azure SQL Database

Definition: Azure SQL Database is a fully managed Platform as a Service (PaaS) database engine that handles most database management functions like upgrading, patching, backups, and monitoring without user involvement. It is built on the latest stable version of the Microsoft SQL Server database engine.

Key Exam Points:

  • Fully Managed (PaaS/DBaaS): Like Amazon RDS, you don't manage the underlying server or OS. You are responsible for the data, schema, and access control.
  • Deployment Options: Offers flexible options like Single Database (a standalone database) and Elastic Pools (a collection of databases sharing resources, ideal for SaaS applications).
  • Intelligent Features: Includes advanced capabilities like automatic performance tuning and threat detection.
  • Serverless Option: Provides a serverless compute tier that automatically scales compute based on workload demand and pauses the database during inactive periods to save costs.
  • AWS Equivalent: Amazon RDS.

Now, let's watch a short video segment to reinforce our understanding of Azure's database services.

AZ-900 Episode 12 | Database Services | Cosmos DB, SQL Database, Db for MySQL & PostgreSQL

Let's return to the 'Adam Marczak - Azure for Everyone' channel. This segment focuses on Azure SQL Database.

Watch the segment on Azure SQL Database (03:28 - 05:07). This will give you a concise explanation of its role as a relational, structured database service in the cloud and its PaaS nature.



3. Summary for Exams: AWS vs. Azure Core Services

For your exams, being able to quickly compare and contrast services is a key skill. The following table maps the Azure services we've covered to their AWS counterparts and summarizes their core characteristics.

Feature Azure Virtual Machines Azure App Service Azure SQL Database
AWS Equivalent Amazon EC2 AWS Elastic Beanstalk Amazon RDS
Service Model IaaS (Infrastructure as a Service) PaaS (Platform as a Service) PaaS / DBaaS (Database as a Service)
Primary Use Case Running any application with full OS control; Lift-and-shift migrations. Hosting web applications and APIs without managing servers. Hosting managed relational databases for applications.
Management You manage OS, patching, runtime, and application. You manage only your application code and data. You manage only your database schema and data.
Example Scenario "I need a Windows Server 2019 machine to run my legacy accounting software." "I have a Python web app that I want to deploy and scale automatically." "My web app needs a managed, highly available SQL database."


Conclusion

In this lesson, we demystified three of Microsoft Azure's most important services, providing you with the definitions, features, and comparisons needed for your exams. By relating them back to their AWS equivalents, you can build a more robust mental model of the public cloud ecosystem.

Key Takeaways:

  • Azure Virtual Machines (VMs) are the IaaS workhorse, offering full control over virtual servers, much like AWS EC2.
  • Azure App Service is the primary PaaS offering for web apps, abstracting away infrastructure management, conceptually similar to AWS Elastic Beanstalk.
  • Azure SQL is a family of relational database services. Azure SQL Database is the main fully managed PaaS offering, directly comparable to Amazon RDS.

Preview of the Next Lesson:

We will complete our tour of the "big three" cloud providers in the next lesson by examining Google Cloud Platform (GCP). We will describe its key services, including Compute Engine, App Engine, and BigQuery, and continue to build our comparative table of cloud service equivalents.