SlideShare a Scribd company logo
1 of 31
AZ-104
Section 3: Deploy and
Manage Azure Compute
Resources
TABLE OF CONTENTS
1. Configure VMs for high availability and scalability
2. Automate deployment and configuration of VMs
3. Create and configure VMs
4. Create and configure containers
5. Create and configure Web Apps
Availability options for Azure Virtual Machines
 Availability Zones
 Virtual Machines Scale Sets
 Availability Sets
Availability Zones
Availability zones expands the level of control you have to maintain the availability of the
applications and data on your VMs. An Availability Zone is a physically separate zone, within an
Azure region. There are three Availability Zones per supported Azure region.
Virtual Machines Scale Sets
Azure virtual machine scale sets let you create and manage a group of load balanced VMs. The
number of VM instances can automatically increase or decrease in response to demand or a
defined schedule
Availability Sets
An availability set is a logical grouping of VMs that allows Azure to understand how your
application is built to provide for redundancy and availability.
Availability Option
Load Balancer
Combine the Azure Load Balancer with an availability zone or availability set to get the most
application resiliency. The Azure Load Balancer distributes traffic between multiple virtual
machines.
Azure Load Balancer operates at layer 4 of
the Open Systems Interconnection (OSI)
model. It's the single point of contact for
clients. Load balancer distributes inbound
flows that arrive at the load balancer's
front end to backend pool instances.
Load Balancer Pricing
Tutorial: Create and deploy highly available
virtual machines with Azure PowerShell
 Launch Azure Cloud Shell
Create an availability set
Create VMs inside an availability set
Automate deployment and configuration of VMs
With the move to the cloud, many teams have adopted agile development methods. To meet
these challenges, you can automate deployments and use the practice of infrastructure as code.
In code, you define the infrastructure that needs to be deployed.
To implement infrastructure as code for your Azure solutions, use Azure Resource Manager
templates (ARM templates).
ARM Template Overview
 Apply Infrastructure as code
 Download templates from azure portal
 Use QuickStart Template provide by Microsoft
Resource
ex:Storage Account
ARM Template Overview
 Apply Infrastructure as code
 Download templates from azure portal
 Use QuickStart Template provide by Microsoft
Resource
ex:Storage Account
QuickStart Template
 https://azure.microsoft.com/en-us/resources/templates/
 https://github.com/Azure/azure-quickstart-templates
ARM Template File Type
ARM Template Construct
ARM Template Construct
Demo Query Resource Provider
Bash Shell
 az provider list –out table
 az provider show --namespace Microsoft.Compute --query
"resourceTypes[*].resourceType" --out table
Power Shell
 Get-AzResourceProvider -ListAvailable | Select-Object
ProviderNamespace, RegistrationState
 Get-AzResourceProvider -ProviderNamespace Microsoft.Compute
Demo ARM Template
Create Resource Group
 $rg = New-AzResourceGroup -Name "ARM-Demo" -Location "North
Central US“
Create Storage Account from template
 New-AzResourceGroupDeployment -ResourceGroupName
$rg.ResourceGroupName -Name "Deployment1" -TemplateFile
.template.json
Check From portal
Deploy ARM Template Via Portal
 Create storage account and blob container
 Create VM
Linking Templates
When deploying a set of azure resources using Azure Resource Manager
(ARM) templates in a single file can leave with a large json file that can be
difficult to manage and maintain.
To employ modularity and reuse, you can break out azure resources into its
own ARM template and have an ARM template link or ‘call out’ to it like a
typical programming functional call.
Linking Templates
Use Case : Azure App Service, Azure SQL and Azure Key Vault and will deploy
from a public Github repo.
Azure Kubernetes Services
Azure Kubernetes Service (AKS) simplifies deploying a managed Kubernetes
cluster in Azure by offloading the operational overhead to Azure.
Azure App Service
Azure App Service is an HTTP-based service for hosting web applications,
REST APIs, and mobile back ends. You can develop in your favorite language,
be it .NET, .NET Core, Java, Ruby, Node.js, PHP, or Python. Applications run
and scale with ease on both Windows and Linux-based environments.
Why use App Service?
Azure App Service is a fully managed platform as a service (PaaS) offering for
developers. Here are some key features of App Service:
 Multiple languages and frameworks
 Managed production environment
 Containerization and Docker
 DevOps optimization
 Global scale with high availability
 Visual Studio and Visual Studio Code integration
Virtual network peering
Virtual network peering enables you to seamlessly connect two or more Virtual Networks in
Azure. The virtual networks appear as one for connectivity purposes. The traffic between virtual
machines in peered virtual networks uses the Microsoft backbone infrastructure
Virtual network peering
Virtual network peering: Connecting virtual networks within the same Azure region.
Global virtual network peering: Connecting virtual networks across Azure regions.
Benefit VNet
The benefits of using virtual network peering, whether local or global, include:
 A low-latency, high-bandwidth connection between resources in different virtual networks.
 The ability for resources in one virtual network to communicate with resources in a different virtual
network.
 The ability to transfer data between virtual networks across Azure subscriptions, Azure Active Directory
tenants, deployment models, and Azure regions.
 The ability to peer virtual networks created through the Azure Resource Manager.
 The ability to peer a virtual network created through Resource Manager to one created through the
classic deployment model. To learn more about Azure deployment models, see Understand Azure
deployment models.
 No downtime to resources in either virtual network when creating the peering, or after the peering is
created.
Demo : Create Network in azure portal
 Create Virtual Network
 Create subnet A
 Create Subnet B
 Create Peering
 Create 2 VM
 Connect VM to Network
CREDITS: This presentation template was created by Slidesgo,
including icons by Flaticon, and infographics & images by Freepik
THANKS

More Related Content

Similar to Azure Day 2.pptx

Hybrid computing Azure with Azure Stack by Atcetera // Azure Multi-Cloud
Hybrid computing Azure with Azure Stack by Atcetera // Azure Multi-CloudHybrid computing Azure with Azure Stack by Atcetera // Azure Multi-Cloud
Hybrid computing Azure with Azure Stack by Atcetera // Azure Multi-CloudKumton Suttiraksiri
 
GIDS 2019: Developing Apps with Containers, Functions and Cloud Services
GIDS 2019: Developing Apps with Containers, Functions and Cloud ServicesGIDS 2019: Developing Apps with Containers, Functions and Cloud Services
GIDS 2019: Developing Apps with Containers, Functions and Cloud ServicesPatrick Chanezon
 
Infrastructure Continuous Delivery Using AWS CloudFormation
Infrastructure Continuous Delivery Using AWS CloudFormationInfrastructure Continuous Delivery Using AWS CloudFormation
Infrastructure Continuous Delivery Using AWS CloudFormationAmazon Web Services
 
Infrastructure Continuous Delivery Using AWS CloudFormation
Infrastructure Continuous Delivery Using AWS CloudFormationInfrastructure Continuous Delivery Using AWS CloudFormation
Infrastructure Continuous Delivery Using AWS CloudFormationAmazon Web Services
 
AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)
AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)
AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)Amazon Web Services
 
Dockercon 2019 Developing Apps with Containers, Functions and Cloud Services
Dockercon 2019 Developing Apps with Containers, Functions and Cloud ServicesDockercon 2019 Developing Apps with Containers, Functions and Cloud Services
Dockercon 2019 Developing Apps with Containers, Functions and Cloud ServicesPatrick Chanezon
 
DCSF 19 Developing Apps with Containers, Functions and Cloud Services
DCSF 19 Developing Apps with Containers, Functions and Cloud ServicesDCSF 19 Developing Apps with Containers, Functions and Cloud Services
DCSF 19 Developing Apps with Containers, Functions and Cloud ServicesDocker, Inc.
 
AWS re:Invent 2016: Infrastructure Continuous Delivery Using AWS CloudFormati...
AWS re:Invent 2016: Infrastructure Continuous Delivery Using AWS CloudFormati...AWS re:Invent 2016: Infrastructure Continuous Delivery Using AWS CloudFormati...
AWS re:Invent 2016: Infrastructure Continuous Delivery Using AWS CloudFormati...Amazon Web Services
 
Dallas Breakfast Seminar
Dallas Breakfast SeminarDallas Breakfast Seminar
Dallas Breakfast SeminarNuoDB
 
Windows azure
Windows azureWindows azure
Windows azureyuvaraj72
 
AWS Enterprise Workloads on AWS IP Expo 2013
AWS Enterprise Workloads on AWS IP Expo 2013AWS Enterprise Workloads on AWS IP Expo 2013
AWS Enterprise Workloads on AWS IP Expo 2013Amazon Web Services
 
Top 20 Azure Interview Questions and Answers in 2023.pdf
Top 20 Azure Interview Questions and Answers in 2023.pdfTop 20 Azure Interview Questions and Answers in 2023.pdf
Top 20 Azure Interview Questions and Answers in 2023.pdfAnanthReddy38
 
Azure from scratch part 3 By Girish Kalamati
Azure from scratch part 3 By Girish KalamatiAzure from scratch part 3 By Girish Kalamati
Azure from scratch part 3 By Girish KalamatiGirish Kalamati
 
Mva best practices in planning hybrid cloud infrastructures
Mva   best practices in planning hybrid cloud infrastructuresMva   best practices in planning hybrid cloud infrastructures
Mva best practices in planning hybrid cloud infrastructuresswapnilrkambli
 
Azure Arc - Managing Hybrid and Multi-Cloud Platforms
Azure Arc - Managing Hybrid and Multi-Cloud PlatformsAzure Arc - Managing Hybrid and Multi-Cloud Platforms
Azure Arc - Managing Hybrid and Multi-Cloud PlatformsWinWire Technologies Inc
 

Similar to Azure Day 2.pptx (20)

Sky High With Azure
Sky High With AzureSky High With Azure
Sky High With Azure
 
Hybrid computing Azure with Azure Stack by Atcetera // Azure Multi-Cloud
Hybrid computing Azure with Azure Stack by Atcetera // Azure Multi-CloudHybrid computing Azure with Azure Stack by Atcetera // Azure Multi-Cloud
Hybrid computing Azure with Azure Stack by Atcetera // Azure Multi-Cloud
 
GIDS 2019: Developing Apps with Containers, Functions and Cloud Services
GIDS 2019: Developing Apps with Containers, Functions and Cloud ServicesGIDS 2019: Developing Apps with Containers, Functions and Cloud Services
GIDS 2019: Developing Apps with Containers, Functions and Cloud Services
 
Infrastructure Continuous Delivery Using AWS CloudFormation
Infrastructure Continuous Delivery Using AWS CloudFormationInfrastructure Continuous Delivery Using AWS CloudFormation
Infrastructure Continuous Delivery Using AWS CloudFormation
 
Azure rev002
Azure rev002Azure rev002
Azure rev002
 
Infrastructure Continuous Delivery Using AWS CloudFormation
Infrastructure Continuous Delivery Using AWS CloudFormationInfrastructure Continuous Delivery Using AWS CloudFormation
Infrastructure Continuous Delivery Using AWS CloudFormation
 
Windows Azure
Windows AzureWindows Azure
Windows Azure
 
AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)
AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)
AWS re:Invent 2016: Chalk Talk: Succeeding at Infrastructure-as-Code (GPSCT312)
 
Dockercon 2019 Developing Apps with Containers, Functions and Cloud Services
Dockercon 2019 Developing Apps with Containers, Functions and Cloud ServicesDockercon 2019 Developing Apps with Containers, Functions and Cloud Services
Dockercon 2019 Developing Apps with Containers, Functions and Cloud Services
 
DCSF 19 Developing Apps with Containers, Functions and Cloud Services
DCSF 19 Developing Apps with Containers, Functions and Cloud ServicesDCSF 19 Developing Apps with Containers, Functions and Cloud Services
DCSF 19 Developing Apps with Containers, Functions and Cloud Services
 
AWS re:Invent 2016: Infrastructure Continuous Delivery Using AWS CloudFormati...
AWS re:Invent 2016: Infrastructure Continuous Delivery Using AWS CloudFormati...AWS re:Invent 2016: Infrastructure Continuous Delivery Using AWS CloudFormati...
AWS re:Invent 2016: Infrastructure Continuous Delivery Using AWS CloudFormati...
 
Dallas Breakfast Seminar
Dallas Breakfast SeminarDallas Breakfast Seminar
Dallas Breakfast Seminar
 
Windows azure
Windows azureWindows azure
Windows azure
 
Azure Domains.pptx
Azure Domains.pptxAzure Domains.pptx
Azure Domains.pptx
 
AWS Enterprise Workloads on AWS IP Expo 2013
AWS Enterprise Workloads on AWS IP Expo 2013AWS Enterprise Workloads on AWS IP Expo 2013
AWS Enterprise Workloads on AWS IP Expo 2013
 
Azure bootcamp (1)
Azure bootcamp (1)Azure bootcamp (1)
Azure bootcamp (1)
 
Top 20 Azure Interview Questions and Answers in 2023.pdf
Top 20 Azure Interview Questions and Answers in 2023.pdfTop 20 Azure Interview Questions and Answers in 2023.pdf
Top 20 Azure Interview Questions and Answers in 2023.pdf
 
Azure from scratch part 3 By Girish Kalamati
Azure from scratch part 3 By Girish KalamatiAzure from scratch part 3 By Girish Kalamati
Azure from scratch part 3 By Girish Kalamati
 
Mva best practices in planning hybrid cloud infrastructures
Mva   best practices in planning hybrid cloud infrastructuresMva   best practices in planning hybrid cloud infrastructures
Mva best practices in planning hybrid cloud infrastructures
 
Azure Arc - Managing Hybrid and Multi-Cloud Platforms
Azure Arc - Managing Hybrid and Multi-Cloud PlatformsAzure Arc - Managing Hybrid and Multi-Cloud Platforms
Azure Arc - Managing Hybrid and Multi-Cloud Platforms
 

More from masbulosoke

Azure Day 1.pptx
Azure Day 1.pptxAzure Day 1.pptx
Azure Day 1.pptxmasbulosoke
 
Enterprise Vault 12 Training.pptx
Enterprise Vault 12 Training.pptxEnterprise Vault 12 Training.pptx
Enterprise Vault 12 Training.pptxmasbulosoke
 
Microsoft Active Directory.pptx
Microsoft Active Directory.pptxMicrosoft Active Directory.pptx
Microsoft Active Directory.pptxmasbulosoke
 
Windows Server 2019.pptx
Windows Server 2019.pptxWindows Server 2019.pptx
Windows Server 2019.pptxmasbulosoke
 
Active Directory Replication.pptx
Active Directory Replication.pptxActive Directory Replication.pptx
Active Directory Replication.pptxmasbulosoke
 
Microsoft-S2D.pptx
Microsoft-S2D.pptxMicrosoft-S2D.pptx
Microsoft-S2D.pptxmasbulosoke
 

More from masbulosoke (6)

Azure Day 1.pptx
Azure Day 1.pptxAzure Day 1.pptx
Azure Day 1.pptx
 
Enterprise Vault 12 Training.pptx
Enterprise Vault 12 Training.pptxEnterprise Vault 12 Training.pptx
Enterprise Vault 12 Training.pptx
 
Microsoft Active Directory.pptx
Microsoft Active Directory.pptxMicrosoft Active Directory.pptx
Microsoft Active Directory.pptx
 
Windows Server 2019.pptx
Windows Server 2019.pptxWindows Server 2019.pptx
Windows Server 2019.pptx
 
Active Directory Replication.pptx
Active Directory Replication.pptxActive Directory Replication.pptx
Active Directory Replication.pptx
 
Microsoft-S2D.pptx
Microsoft-S2D.pptxMicrosoft-S2D.pptx
Microsoft-S2D.pptx
 

Recently uploaded

Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 

Recently uploaded (20)

Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 

Azure Day 2.pptx

  • 1. AZ-104 Section 3: Deploy and Manage Azure Compute Resources
  • 2. TABLE OF CONTENTS 1. Configure VMs for high availability and scalability 2. Automate deployment and configuration of VMs 3. Create and configure VMs 4. Create and configure containers 5. Create and configure Web Apps
  • 3. Availability options for Azure Virtual Machines  Availability Zones  Virtual Machines Scale Sets  Availability Sets
  • 4. Availability Zones Availability zones expands the level of control you have to maintain the availability of the applications and data on your VMs. An Availability Zone is a physically separate zone, within an Azure region. There are three Availability Zones per supported Azure region.
  • 5. Virtual Machines Scale Sets Azure virtual machine scale sets let you create and manage a group of load balanced VMs. The number of VM instances can automatically increase or decrease in response to demand or a defined schedule
  • 6. Availability Sets An availability set is a logical grouping of VMs that allows Azure to understand how your application is built to provide for redundancy and availability.
  • 8. Load Balancer Combine the Azure Load Balancer with an availability zone or availability set to get the most application resiliency. The Azure Load Balancer distributes traffic between multiple virtual machines. Azure Load Balancer operates at layer 4 of the Open Systems Interconnection (OSI) model. It's the single point of contact for clients. Load balancer distributes inbound flows that arrive at the load balancer's front end to backend pool instances.
  • 10. Tutorial: Create and deploy highly available virtual machines with Azure PowerShell  Launch Azure Cloud Shell Create an availability set
  • 11. Create VMs inside an availability set
  • 12.
  • 13. Automate deployment and configuration of VMs With the move to the cloud, many teams have adopted agile development methods. To meet these challenges, you can automate deployments and use the practice of infrastructure as code. In code, you define the infrastructure that needs to be deployed. To implement infrastructure as code for your Azure solutions, use Azure Resource Manager templates (ARM templates).
  • 14. ARM Template Overview  Apply Infrastructure as code  Download templates from azure portal  Use QuickStart Template provide by Microsoft Resource ex:Storage Account
  • 15. ARM Template Overview  Apply Infrastructure as code  Download templates from azure portal  Use QuickStart Template provide by Microsoft Resource ex:Storage Account
  • 16. QuickStart Template  https://azure.microsoft.com/en-us/resources/templates/  https://github.com/Azure/azure-quickstart-templates
  • 20. Demo Query Resource Provider Bash Shell  az provider list –out table  az provider show --namespace Microsoft.Compute --query "resourceTypes[*].resourceType" --out table Power Shell  Get-AzResourceProvider -ListAvailable | Select-Object ProviderNamespace, RegistrationState  Get-AzResourceProvider -ProviderNamespace Microsoft.Compute
  • 21. Demo ARM Template Create Resource Group  $rg = New-AzResourceGroup -Name "ARM-Demo" -Location "North Central US“ Create Storage Account from template  New-AzResourceGroupDeployment -ResourceGroupName $rg.ResourceGroupName -Name "Deployment1" -TemplateFile .template.json Check From portal Deploy ARM Template Via Portal  Create storage account and blob container  Create VM
  • 22. Linking Templates When deploying a set of azure resources using Azure Resource Manager (ARM) templates in a single file can leave with a large json file that can be difficult to manage and maintain. To employ modularity and reuse, you can break out azure resources into its own ARM template and have an ARM template link or ‘call out’ to it like a typical programming functional call.
  • 23. Linking Templates Use Case : Azure App Service, Azure SQL and Azure Key Vault and will deploy from a public Github repo.
  • 24. Azure Kubernetes Services Azure Kubernetes Service (AKS) simplifies deploying a managed Kubernetes cluster in Azure by offloading the operational overhead to Azure.
  • 25. Azure App Service Azure App Service is an HTTP-based service for hosting web applications, REST APIs, and mobile back ends. You can develop in your favorite language, be it .NET, .NET Core, Java, Ruby, Node.js, PHP, or Python. Applications run and scale with ease on both Windows and Linux-based environments.
  • 26. Why use App Service? Azure App Service is a fully managed platform as a service (PaaS) offering for developers. Here are some key features of App Service:  Multiple languages and frameworks  Managed production environment  Containerization and Docker  DevOps optimization  Global scale with high availability  Visual Studio and Visual Studio Code integration
  • 27. Virtual network peering Virtual network peering enables you to seamlessly connect two or more Virtual Networks in Azure. The virtual networks appear as one for connectivity purposes. The traffic between virtual machines in peered virtual networks uses the Microsoft backbone infrastructure
  • 28. Virtual network peering Virtual network peering: Connecting virtual networks within the same Azure region. Global virtual network peering: Connecting virtual networks across Azure regions.
  • 29. Benefit VNet The benefits of using virtual network peering, whether local or global, include:  A low-latency, high-bandwidth connection between resources in different virtual networks.  The ability for resources in one virtual network to communicate with resources in a different virtual network.  The ability to transfer data between virtual networks across Azure subscriptions, Azure Active Directory tenants, deployment models, and Azure regions.  The ability to peer virtual networks created through the Azure Resource Manager.  The ability to peer a virtual network created through Resource Manager to one created through the classic deployment model. To learn more about Azure deployment models, see Understand Azure deployment models.  No downtime to resources in either virtual network when creating the peering, or after the peering is created.
  • 30. Demo : Create Network in azure portal  Create Virtual Network  Create subnet A  Create Subnet B  Create Peering  Create 2 VM  Connect VM to Network
  • 31. CREDITS: This presentation template was created by Slidesgo, including icons by Flaticon, and infographics & images by Freepik THANKS