Skip to content

ahmedeldamity/My-Azure-Notes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 

Repository files navigation

☁️ What is the difference between Region, Zone and Data Center

Region: A large area (like a state) that contains multiple zones.

Zone: A smaller part of a region (like a neighborhood) with one or more data centers.

Data Center: The actual physical building where data is stored and processed.

Regions

  • A region in Azure is a geographical area where Azure Zones are located.
  • A region contains multiple Zones.
  • "East US" or "West Europe" are examples of Azure regions.

Zone

  • A zone within a region refers to a physically separate data center. Each zone has its own independent power, cooling, and networking.
  • a zone is like a neighborhood within the city. Each neighborhood is self-sufficient, with its own resources.

Data Center

  • A physical building filled with servers and other hardware that store and process data. It's like a large warehouse full of computers.

☁️ About Fault Domain

What Is The Fault Domain Defination:

is essentially a group of hardware that shares a single point of failure. In Azure, fault domains are used to ensure that your virtual machines (VMs) are spread across different hardware to prevent a single hardware failure from impacting all of your VMs.

What Is The Fault Domain Purpose:

is to increase the reliability of your application by distributing VMs across multiple fault domains. If one fault domain experiences a failure, only the VMs in that domain are affected, not the entire application.

Example:

If you deploy VMs across three fault domains, and one fault domain experiences a hardware issue, the VMs in the other two fault domains will continue to run without disruption.

In Summary:

Fault Domains Protect against hardware failures by distributing VMs across different physical servers or racks.


☁️ About Update Domain

What Is The Update Domain Defination:

is a group of resources that can be updated or patched at the same time. Azure uses update domains to roll out updates or patches to your VMs in a way that ensures high availability.

What Is The Update Domain Purpose:

The idea is to update or patch VMs one update domain at a time to ensure that not all instances are updated simultaneously, which helps in maintaining availability during updates.

Example:

If you have a deployment spread across five update domains and an update is applied to one domain at a time, the VMs in the other domains remain operational during the update process. This way, even during updates, some of your VMs are always running and serving traffic.

In Summary:

Update Domains Protect against downtime during updates or patches by rolling out updates to VMs one group at a time.


☁️ Difference between Fault Domain & Update Domain

image


☁️ What is the Availability Set

  • An Availability Set is a logical grouping of VMs that Azure uses to ensure that the VMs you deploy are distributed across multiple fault domains and update domains within a single data center. This setup helps ensure that your application remains available even during hardware failures or updates but if data center faild you project will fail too.

  • When you create an Availability Set, Azure automatically distributes your VMs across multiple fault and update domains. This distribution ensures that in the event of a hardware failure or planned update, only a subset of your VMs will be affected.


☁️ What is the Availability Zone

  • An Availability Zone is a physically separate location within an Azure region, each with its own independent power source, cooling, and network. They provide high availability by allowing you to deploy your VMs and other resources across different zones within a region.

  • By deploying your resources across multiple Availability Zones, you can achieve greater redundancy and fault tolerance. Azure ensures that the zones are isolated from each other but connected via high-speed private network links.


☁️ Difference between Availability Set & Availability Zone

image


☁️ ARM (Azure Resource Manager) Templete

  • A JSON file describing the resource to be created
  • Used by Azure in all deployments
  • We can be exported, modified, uploaded and deployed
  • Is A declarative way of deploying resources

☁️ Difference between Declarative And Imperative

Declarative

  • Describes the end result
  • Can deploy multible resources at once
  • Can be integrated in CI/CD processes
  • Can be source controlled

Imperative

  • Send Instructions to run
  • Can't Verified
  • Can't be source controlled

☁️ What is scale set

Imagine you have a web application that experiences heavy traffic during specific times of the day, like an e-commerce site during a sale. A VMSS can automatically scale out additional VMs as traffic increases and then scale them back in during off-peak hours. This ensures that your application remains responsive and available without over-provisioning resources, which saves on costs.

About

I write in this repo my notes in azure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published