AZ 104T00A ENU PowerPoint - 09
AZ 104T00A ENU PowerPoint - 09
AZ 104T00A ENU PowerPoint - 09
Module 09:
Serverless Computing
Module Overview
Lesson 01: Azure App Service Plans
Lesson 02: Azure App Services
Lesson 03: Container Services
Lesson 04: Azure Kubernetes Service
Lesson 05: Module 09 Lab and Review
Lesson 01: Azure App Service Plans
Azure App Service Overview
Azure App Service Plans
App Service Plan Pricing Tiers
App Service Plan Scaling
App Service Plan Scale Out
Demonstration - Create an App Service Plan
Azure App Service Plans
Define a set of compute resources for a web app to run
Determines performance, price, and features
One or more apps can be configured to run in the same App Service
plan
App Service plans define:
Region where compute resources will be created
Number of virtual machine instances
Size of virtual machine instances (Small, Medium, Large)
Pricing tier (next slide)
App Service Plan Pricing Tiers
Basic Standard Premium Isolated
Shared
Selected Features Free (dedicated (production (enhanced scale (high-performance,
(dev/test)
dev/test ) workloads) and performance) security and isolation)
Web, mobile, or API apps 10 100 Unlimited Unlimited Unlimited Unlimited
Deployment Slots 0 0 0 5 20 20
Shared compute (Free and Shared). Run apps on the same Azure VM as other App Service apps, and
the resources cannot scale out
Dedicated compute (Basic, Standard, Premium). Run apps in the same plan in dedicated Azure VMs
Isolated. Runs apps on dedicated Azure VMs in dedicated Azure virtual networks
App Service Plan Scaling
Includes Web Apps API Apps, Mobile Apps, and Function apps
Fully managed environment enabling high productivity development
Platform-as-a-service (PaaS) offering for building and deploying highly available cloud
apps for web and mobile
Platform handles infrastructure so developers focus on core web apps and services
Developer productivity using .NET, .NET Core, Java, Python and a host of others
Provides enterprise-grade security and compliance
Creating an App Service
Name must be unique
Access using azurewebsites.net – can
map to a custom domain
Publish Code (Runtime Stack)
Publish Docker Image (Image source)
Linux or Windows
Region closest to your users
App Service Plan
Continuous Deployment
Work in a single source control
Whenever code updates are pushed to
the source control, then the website or
web app will automatically pick up the
updates
A continuous deployment workflow
publishes the most recent updates from
a project
Use the portal for continuous
deployments from GitHub, Bitbucket,
or Visual Studio Team Services
Deployment Slots
Service Plan Slots
Free, Shared, Basic 0
Standard Up to 5
Premium Up to 20
Isolated Up to 20
Runs the user mode portion of an operating system Runs a complete operating system including the kernel, thus
Operating system and can be tailored to contain just the needed requiring more system resources (CPU, memory, and
services for your app, using fewer system resources. storage).
Deploy individual containers by using Docker via Deploy individual VMs by using Windows Admin Center
Deployment command line; deploy multiple containers by using an or Hyper-V Manager; deploy multiple VMs by
orchestrator such as Azure Kubernetes Service. using PowerShell or System Center Virtual Machine Manager.
Use Azure Disks for local storage for a single node, or Use a virtual hard disk (VHD) for local storage for a single
Persistent storage Azure Files (SMB shares) for storage shared by VM, or an SMB file share for storage shared by multiple
multiple nodes or servers. server.
80
Container Web
Container
Azure Files
Enables developers to host applications within a container
A container is a standardized "unit of software" that contains everything required for an
application to run
Available on both Linux and Windows and can be hosted on Azure
Lesson 04: Azure Kubernetes Service
Azure Kubernetes Services Overview
Azure Kubernetes Services
AKS Clusters and Nodes
AKS Networking
AKS Storage
AKS Security
AKS and Azure Active Directory
AKS Scaling
AKS Scaling to ACI
Virtual Kubelet
Demonstration – Deploy Azure Kubernetes Service
Azure Kubernetes Service
Pod
Pod
Incoming direct traffic AKS node NodePort Pod
Pod
Objectives
• Task 1: Create an Azure web app
• Task 2: Create a staging deployment slot
• Task 3: Configure web app deployment settings
• Task 4: Deploy code to the staging deployment slot
• Task 5: Swap the staging slots
• Task 6: Configure and test autoscaling of the Azure web app
Lab 09b - Implement Azure Container Instances
Lab scenario
Contoso wants to find a new platform for its virtualized workloads. You identified several
container images that can be leveraged to accomplish this objective. Since you want to
minimize container management, you plan to evaluate the use of Azure Container
Instances for deployment of Docker images.
Objectives
• Task 1: Deploy a Docker image by using the Azure Container Instance
• Task 2: Review the functionality of the Azure Container Instance
Lab 09c - Implement Azure Kubernetes Service
Lab scenario
Contoso has several multi-tier applications that are not suitable to run by using Azure
Container Instances. To determine whether they can be run as containerized workloads,
you want to evaluate using Kubernetes as the container orchestrator. To minimize
management overhead, you want to test Azure Kubernetes Service, including its
simplified deployment experience and scaling.
Objectives
• Task 1: Deploy an Azure Kubernetes Service cluster
• Task 2: Deploy pods into the Azure Kubernetes Service cluster
• Task 3: Scale containerized workloads in the Azure Kubernetes service cluster
Module Review
• Module Review Questions
• Microsoft Learn Modules (docs.microsoft.com/Learn)
• Host a web application with Azure App service
• Stage a web app deployment for testing and rollback by using App Service
deployment slots
• Scale an App Service web app to efficiently meet demand with App Service scale up
and scale out
• Dynamically meet changing web app performance requirements with autoscale
rules
• Capture and view page load times in your Azure web app with Application Insights
• Build a containerized web application with Docker
• Run Docker containers with Azure Container Instances
• Introduction to the Azure Kubernetes Service