Azure Fundamentals
Cloud Fundamentals
- What is Cloud computing
- Private Cloud
- Public Cloud
- Hybrid Cloud
- CapEx vs OpEx
Azure architecture and Azure compute services
- Azure resources are components like storage, virtual machines, and networks that are available to build cloud solutions.
-
Resource Groups: A container to manage and aggregate resources in a single unit. Permission applied to RG applied to all resources contained in it.
- Azure Subscriptions provides authorization and authentication access to Azure accounts.
- Azure AD account is required to manage a subscription.
- Only one account admin is allowed.
- Merging of two subscriptions into a single is unallowed.
- resources can be moved to another subscription.
- Management Groups can include multiple azure subscriptions.
- Subscriptions inherit conditions applied to MG.
- Regions:
- Regions are made up of one or more datacenters in close proximity with independent power, cooling, and networking.
- Provide flexibility and scale to reduce customer latency.
- Preserve data residency with a comprehensive compliance offering.
- Availability Zones:
- Physically separte locations within an Azure region.
- Each AZ consists of one or more datacenters equipped with inddependent power, cooling and networking.
- if one AZ down, the other continue to work
- Not all Azure regions support availabilty zones.
- AZ are different physical locations and will continue to work if the original data center fails.
- AZ can be used to replicate data within the same region.
-
Availabity Set protects Azure resources from failures within data center.
- Azure Virtual Desktop
- Enables you to use a cloud-hosted version of Windows.
- Separates OS, data and apps from local hardware
- Supports both desktop and app virtualization runs on any devices or apps.
- Azure Containers
- Azure Containers are a light-weight, virtualized environment that does not require operating system management, and can respond to changes on demand.
- Azure Container Instances: a PaaS offering that runs a container or pod of containers in Azure.
- Azure Container Apps: a PaaS offering like container instances that can load balance and scale.
- Azure Kubernetes Service: an orchestration service for containers with distributed architectures and large volumes of containers. Is a managed service for running Kubernetes in the cloud.
- Virtural Machine
- Virtural Machine are s/w emulation of physical computers.
- VM Scale Sets provide LB opportunity to automatically scale resoruces.
- Scale out when resource needs high.
- Scale in when resource needs low.
- VM Availabilty Sets
- Azure Container Services
-
Comparing Azure Compute Options
- Azure App Service:
- Azure App Services is a fully managed platform to build, deploy, and scale web apps and APIs quickly.
- PaaS offering with enterprise-grade performance, security, and compliance requirements.
- Azure Functions:
- A PaaS offers that support serverless compute options. Event-based code runs when called without requiring server infrastructure when incactive.
Azure networking
Azure storage
Data is replicated three times within the primary region.
- Storage Redundancy
- Three copies of data is maintained using locally redundant storage LRS
- In Geo-redundent Storage, data is replicated synch three time on primary region, then replicated asynch to the secondary regions.
- LRS is the lowest-cost redundancy option and offers the least durability compared to other options. LRS protects your data against server rack and drive failures.
- Azure Storage Services
- Azure Blob: optimized for storing massive amounts of unstructured data, such as text or binary data.
- Hot Tier: Optimized for storing data that is accessed frequently.
- Cool Tier: Optimized for storing data that is infrequently accessed and stored for at least 30 days.
- Cold: Optimized for storing data that is infrequently accessed and stored for at least 90 days.
- Archive: Optimized for storing data that is infrequently accessed and stored for at least 180 days with flexible latency requirements.
- Azure Disk: provides disks for virtual machines, applications, and other services to access and use.
- Azure Queue: message storage service that provides storage and retrieval for large amounts of messages, each up to 64KB.
- Azure Files: sets up a highly available network file share that can be accessed by using the Server Message Block protocol.
- Azure Tables: provides a key/attribute option for structured non-relational data storage with a schema-less design.
- Azure File Management
- Azure File Sync:
- Synchronizes Azure and on-premises Windows File Server in a bidirectional manner.
- Cloud tiering keeps frequently accessed files local, while freeing up space
- Rapid reprovisioning of failed local server (install and resync)
- Azure Storage Explorer
- Graphical user interface. Compatible with Windows,MacOS, and Linux. Uses AzCopy to handle file operations
- AzCopy
- command line utility, Copy blobs or files to or from your storage account. One-direction synchronization
- Azure Migrate
- Unified migration platform for migration of servers and databases.
- Range of integrated and standalone tools
- Azure Data Box
- Microsoft sends that we can store the data sends to MS to load all the data into the cloud.
- Stores upto 80TB of data.
- Migrate data out of Azure for compliance or regulatory needs.
- Migrate data to Azure from remote locations with limited or no connectivity.
- Move your disaster recovery backups to Azure.
- Protect your data in a rugged case during transit.
Azure identity, access, and security and Azure cost management
- Microsoft Entra ID:
- Microsoft Azure’s cloud-based identity and accessmanagement service.
- Athentication, SSO, Application management, Business to Business (B2B), Device management
- An Entra ID tenant can have multiple subscriptions.
- An Azure subscription can only be associated with Microsoft Entra Tenant.
- Azure subscription expires, the assocaited Entra ID won’t be deleted.
-
Microsoft Entra External ID B2B and B2C
- Conditional Access
- Used to bring signals together, to make decisions, and enforce organizational policies. Signal > Decision > Enforcement
- User or Group membership.
- To ensure that only users located in a specific country can access Microsfot Entra integrated application, Conditional Access policy is applicable.
-
Role-based access control: Segregate duties within the teamand grant only the amount of access to users that they need to perform their jobs.Enables access to the Azure portal and controlling access to resources.
-
Zero Trust: Protect assets anywhere with central policy
- Defense in Depth: A layered approach to securing computer systems. Provides multiple levels of protection. Attacks against one layer are isolated from subsequent layers
- Pysical Security, Identify and Aceess, Perimeter, Network, Compute, Applicaiton, DAta.
- Microsoft Defender for Cloud: is a free monitoring service that provides threat protection across both Azure and on-premises datacenters.
- Provides security recommendations. Detect and block malware,
- Analyze and identify potential attacks, Just-in-time access control for ports
- Enable just-in-tim(JIT) VM access with Microsfot defender for cloud.
Azure governance and compliance, Azure resource management, and Azure monitoring services
Managing and Deploying Resources
- Azure Portal
-
Azure Cloud Shell: Interactive shell can be accessed from any modern web browser. Bash or Powersheel options.
- Azure CLI: It’s cross-platform can be used in Mac, Linux and Windows.
- Azure Powershell modules on any OS for managing Azure resources.
-
Azure Arc: Is a centralized management platform for multi-cloud, on-premises, and edge scenarios.
- Azure Resource Manager (ARM): templates are JavaScript Object Notation (JSON) files that can be used to create and deploy Azure infrastructure without having to write programing commands.
- ARM templates can be used to automate the creation of Azure resources.
- Infrastructure as Code: Automate the setup process and ensure consistency in creating and maintaining cloud infra. Provides option in declarative way to manage changes.
- Ensure consistency in deployment across your cloud ecosystem.
- Rapidly provision additional environments based on a standard configuration and build.
- Manage configuration at scale.
- To implement infrastructure as code for your Azure solutions, use Azure Resource Manager templates (ARM templates)
- Azure Advisor: analyzes deployed Azure resources and makes recommendations based on best practices to optimize Azure deployments.
- Use to Identify unused Azure VM or resources.
- Verify Azure subscription follows securtiy best practices
- It is not required to implement the security recommendation provided by Azure Advisor.
- Azure Service Health: is a collection of services that keep you informed of general Azure status, service status that may impact you, and specific resource status that is impacting you.
- Azure Status: global view of the health of all Azure services across all Azure regions
- Service Health: focused view on only the services and regions that you’re using. If a service is experiencing a problem in a region you’re not using, it won’t show up here
- Resource Health: tailored view of your actual Azure resources. It provides information about the health of your individual cloud resources
- You can enable notification when MS plans to perform maintainence that affect your Azure resources using Azure Service Health.
- Create Alerts to get notified if a service fails in Azure Service Health.
- Azure Monitor: maximizes the availability and performance of applications and services by collecting, analyzing, and acting on telemetry from cloud and on-premises environments.
- Application, VM, Container Insights, Log Analytics, Smart Alerts, Automation Actions, Customized Dashboards.
- To monitor performance of on-premises machines.
Learn Guides
- Collection: https://learn.microsoft.com/en-ca/collections/o5met117w6pp01?ocid=cmms86x7u25
Refreshers:
- A public endpoint is effectively a URL that you can use to access data and applications from outside a virtual network. This includes the public Internet. Applications inside Azure can also access this using the public endpoint. Of course, there is often additional security on the application or data to prevent malicious use of this endpoint.
- Availability Zones: For regions that support availability zones, you can deploy your resources to zone 1, 2 or 3. There are 3 zones in each region.
- Avaialbilty Zones: Unique physical locations within an Azure region, made up of one or more data centers; there is a minimum of three zones in each region; you can manually place your resources in an availability zone for highest availabilit
- Total Cost of Ownership: The total cost of running a server includes not only the cost of the machine (hardware), and the software, but also the costs of hosting that machine including electricity, real estate, Internet, and salaries of the employees needed to manage the machine.
- Required Azure Resources for VM: A virtual machine needs a network card, storage and a virtual network. It does not need a public IP address. In fact, most Azure VMs are private and are not accessible from the Internet.
- Azure Scalesets: Scalesets are groups of VMs, managed as a single unit. You can set rules for scaling up or scaling down.
- Agility means that you can deploy and configure cloud-based resources quickly as app requirements change.
- Scalability means that you can add RAM, CPU, or entire virtual machines to a configuration.
- Elasticity means that you can configure cloud-based apps to take advantage of autoscaling, so apps always have the resources they need.
- High availability means that cloud-based apps can provide a continuous user experience with no apparent downtime, even when things go wrong.
- Azure Firewall is a managed, cloud-based n/w securtiy service that protects Azure Virtual Network resources.
- IoT Hub(Centralized message hub for bi-directional communicaiton) & IoT Central(Web UI enables users to monitor devices, create rules, and manage devices throughout the life cycle) are two IoT offerered on the Azure.
- The first thing created after an Azure account is Tenant. Allows to manage your Azure subscriptions and resources.