Azure 900
Azure 900
The consumption-based model is a pricing model used in the cloud so that customers are only
charged based on their resource usage.
No wasted resources as such no charges are incurred for unused resources*. Unused in this case is
different per service. For instance, blob storage that stores any data is considered to be used, as it
consumes the storage space. Virtual Machines that are running consume CPU, memory and other
resources even if there isn’t any traffic. Hence they are considered to be used and will incur charges.
Consumption is the virtual metric used to calculate how much each resource (service) in Azure was
used. Each service has many smaller metrics that track its consumption to offer best possible pricing
model. Those metrics are tracked on very granular level.
As a service means which party will manage the particular layer and all the layers below.
Software layer consists the application (application code and set) & the application data
Platform layer means all the supporting software and the operating system required to host the
application
Infrastructure layer consists hardware the infrastructure and virtualization required to host the
platform
Layer Layer
Application Software
Data Software
Runtime Platform
Middleware Platform
Operating System Platform
Virtualization Infrastructure
Servers Infrastructure
Networking Infrastructure
Storage Infrastructure
Responsibility Matrix
As such following table represents responsibilities
Public Cloud
Cloud Provider Own Datacenter
✅ ✖
Key Characteristics
Advantages
Disadvantages
Private Cloud
Cloud Provider Own Datacenter
✖ ✅
Key Characteristics
Advantages
Disadvantages
Hybrid Cloud
Cloud Provider Own Datacenter
✅ ✅
Key Characteristics
Advantages
Great flexibility
You can run any legacy apps in private cloud
Can utilize existing infrastructure
Meet any security& compliance requirements
Can take advantage of all public cloud benefits
Disadvantages
Data Center
Physical facility
Hosting for group of networked servers
Own power, cooling & networking infrastructure
Region
Geographical area on the planet
One but usually more datacenters connected with low-latency network (<2
milliseconds)
Location for your services
Some services are available only in certain regions
Some services are global services, as such are not assigned/deployed in specific
region
Globally available with 50+ regions
Special government regions (US DoD Central, US Gov Virginia, etc.)
Special partnered regions (China East, China North)
Availability Zone
Regional feature
Grouping of physically separate facilities
Designed to protect from data center failures
If zone goes down others continue working
Two service categories
o Zonal services (Virtual Machines, Disks, etc.)
o Zone-redundant services (SQL, Storage, etc.)
Not all regions are supported
Supported region has three or more zones
A zone is one or more data centers
Region Pair
Each region is paired with another region making it a region pair
Region pairs are static and cannot be chosen
Each pair resides within the same geography*
o Exception is Brazil South
Physical isolation with at least 300 miles distance (when possible)
Some services have platform-provided replication
Planned updates across the pairs
Data residency maintained for disaster recovery
Geographies
Discrete market
Typically contains two or more regions
Ensures data residency, sovereignty, resiliency, and compliance requirements are
met
Fault tolerant to protect from region wide failures
Broken up into areas
o Americas,
o Europe,
o Asia Pacific,
o Middle East and Africa
Each region belongs only to one Geography
Azure Resource
Object used to manage services in Azure
Represents service lifecycle
Saved as JSON definition
Resource Groups
Grouping of resources
Holds logically related resources
Typically organizing by
o Type
o Lifecycle (app, environment)
o Department
o Billing,
o Location or
o combination of those
Resource Manager
Management Layer for all resources and resource groups
Unified language
Controls access and resources
Additional Info
Virtualization
Virtual Machines
Infrastructure as a Service (IaaS)
Total control over the operating system and the software
Supports marketplace and custom images
Best suited for
o Custom software requiring custom system configuration
o Lift-and-shift scenarios
Can run any application/scenario
o web apps & web services,
o databases,
o desktop applications,
o jumpboxes,
o gateways, etc.
Containers
App Service
Designed as enterprise grade web application service
Platform as a Service
Supports multiple programming languages and containers
Summary
Virtual Machines (IaaS) - Custom software, custom requirements, very specialized, high
degree of control
VM Scale Sets (IaaS) - Auto-scaled workloads for VMs
Container Instances (PaaS) - Simple container hosting, easy to start
Kubernetes Service (PaaS) - Highly scalable and customizable * container hosting platform
App Services (PaaS) - Web applications, a lot of enterprise web * hosting features, easy to
start
Functions (PaaS) (Function as a Service) (Serverless) - micro/nano-services, excellent
consumption-based pricing, easy to start
Skills Learned
Skills Learned
o Describe products available for Networking such as
Virtual Network,
Load Balancer,
VPN Gateway,
Application Gateway and
Content Delivery Network
Azure Networking
Connect cloud and on-premises
On-premise networking functionality
VPN Gateway
Specific type of virtual network gateway for on-premises to azure traffic over the public
internet
Application Gateway
Define content
Minimize latency
POP (points of presence) with many locations
Data Types
Structured - Data that can be represented using tables with very strict schema. Each
row must follow defined schema. Some tables have defined relationships between
them. Typically used in relational databases.
Semi-structured - Data that can be represented using tables but without strict defined
schema. Rows must only have unique key identifier.
Unstructured - Any files in any format. Like binary files, application files, images,
movies, etc.
Storage Account
Group of services which include
o blob storage,
o queue storage,
o table storage, and
o file storage
Used to store
o files,
o messages, and
o semi-structured data
Highly scalable (up to petabytes of data)
Highly durable (99.999999999% - 11 nines, up to 16 nines)
Cheapest per GB storage
Blob Storage
BLOB – binary large object – file
Designed for storage of files of any kind
Three storage tiers
o Hot – frequently accessed data
o Cool – infrequently accessed data (lower availability, high durability)
o Archive – rarely (if-ever) accessed data
Queue Storage
Storage for small pieces of data (messages)
Designed for scalable asynchronous processing
Table Storage
Storage for semi-structured data (NoSQL)
o No need for foreign joins, foreign keys, relationships or strict schema
o Designed for fast access
Many programming interfaces and SDKs
File Storage
Storage for files accessed via shared drive protocols
Designed to extend on-premise file shares or implement lift-and-shift scenarios
Disk Storage
Disk emulation in the cloud
Persistent storage for Virtual Machines
Different
o sizes,
o types (SSD, HDD)
o performance tiers
Disk can be unmanaged or managed
Data Types
Structured - Data that can be represented using tables with very strict schema. Each
row must follow defined schema. Some tables have defined relationships between
them. Typically used in relational databases.
Semi-structured - Data that can be represented using tables but without strict defined
schema. Rows must only have unique key identifier.
Unstructured - Any files in any format. Like binary files, application files, images,
movies, etc.
Cosmos DB
Globally distributed NoSQL (semi-structured data) Database service
Schema-less
Multiple APIs (SQL, MongoDB, Cassandra, Gremlin, Table Storage)
Designed for
o Highly responsive (real time) applications with super low latency responses
<10ms
o Multi-regional applications
SQL Database
Relational database service in the cloud (PaaS) (DBaaS - Database as a Service)
Structured data service defined using schema and relationships
Rich Query Capabilities (SQL)
High-performance, reliable, fully managed and secure database for building -
applications
Azure Marketplace
Think of it like an “Azure Shop” where you purchase services and solutions for the
Azure platform
Each product is a template which contains one or multiple services
Products are delivered by first and third-party vendors
Solutions can leverage all service categories like IaaS, PaaS and SaaS
Azure Sphere
Secure end-2-end IoT Solutions
o Azure Sphere certified chips (microcontroller units - MCUs)
o Azure Sphere OS based on Linux
o Azure Security Service trusted device-to-cloud communication
Velocity - how fast the data is coming in or how fast we are processing it
o Batch
o Periodic
o Near Real Time
o Real Time
Volume - how much data we are processing
o Megabytes
o Gigabyte
o Terabytes
o Petabytes
Variety - how structured/complex the data is
o Tables
o Databases
o Photo, Audio
o Video, Social Media
Azure HDInsight
Flexible multi-purpose big data platform (PaaS)
Multiple technologies supported (Hadoop, Spark, Kafka, HBase, Hive, Storm, Machine
Learning)
Azure Databricks
Big data collaboration platform (PaaS)
Unified workspace for notebook, cluster, data, access management and collaboration
Based on Apache Spark
Integrates very well with common Azure data services
What is Serverless?
Azure Functions
Serverless coding platform (Functions as a Service, FaaS)
Designed for nano-service architectures and event-based applications
Scales up and down very quickly
Highly scalable
Supports popular languages and frameworks (.NET & .NET Core, Java, Node.js, Python,
PowerShell, etc.)
What is DevOps?
DevOps is a set of practices that combine both development (Dev) and operations (Ops).
DevOps aims to shorten the development life cycle by providing continuous integration
and delivery (CI/CD) capabilities while ensuring high quality of deliverables.
Azure DevOps
Collection of services for building solutions using DevOps practices
Services included
o Boards – tracking work
o Pipelines – building CI/CD workflows (build, test and deploy apps)
o Repos – code collaboration and versioning with Git
o Test Plans – manual and exploratory testing
o Artifacts – manage project deliverables
Extensible with Marketplace – over 1000 of available apps
Evolved from TFS (Team Foundation Server), through VSTS (Visual Studio Team
Services)
Azure Portal
Public web-based interface for management of Azure platform
Designed for self-service
Customizable
Simple tasks
Azure PowerShell
PowerShell and module
Designed for automation
Multi-platform with PowerShell Core
Simple to use
o Connect-AzAccount – log into Azure
o Get-AzResourceGroup – list resource groups
o New-AzResourceGroup – create new resource group
o New-AzVm – create virtual machine
Azure CLI
Command Line Interface for Azure
Designed for automation
Multi-platform (Python)
Simple to use
o az login – log into Azure
o az group list – list resource groups
o az group create – create new resource group
o az vm create – create virtual machine
Native OS terminal scripting
Azure Cloud Shell
Cloud-based scripting environment
Completely free
Supports both Azure PowerShell and Azure CLI
Dozen of additional tools
Multiple client interfaces
o Azure Portal integration (portal.azure.com)
o Shell Portal (shell.azure.com)
o Visual Studio Code Extension
o Windows Terminal
o Azure Mobile App
o Microsoft Docs integration
Azure Advisor
Personalized consultant service
Designed to provide recommendations and best practices for
o Cost (SKU sizes, idle services, reserved instances, etc.)
o Security (MFA settings, vulnerability settings, agent installations, etc.)
o Reliability (redundancy settings, soft delete on blobs, etc.)
o Performance (SKU sizes, SDK versions, IO throttling, etc.)
o Operational Excellence (service health, subscription limits, etc.)
Actionable recommendations
Free!
Routing
Process of finding/selecting a path for traffic in one or across multiple networks.
User-defined Routes
Custom (user-defined, static) routes (UDRs)
Designed to override Azure’s default routing or add new routes
Managed via Azure Route Table resource
Associated with a zero or more Virtual Network subnets
Firewall
Firewall is a network security service that monitors and controls incoming and outgoing
traffic.
Azure Firewall
Managed, cloud-based firewall service (PaaS, Firewall as a Service)
Built-in high availability
Highly Scalable
Inbound & outbound traffic filtering rules
Support for FQDN (Fully Qualified Domain Name), ex. microsoft.com
Fully integrated with Azure monitor for logging and analytics
Identity
A user with a username and password.
Also applications or other servers with secret keys or certificates.
The fact of being something or someone.
Authentication
Authorization
The process of ensuring that only authenticated identities get access to the resources for
which they have been granted access.
Access Management
The process of controlling, verifying, tracking and managing access to authorized users
and applications.
Process of authentication using more than one factor (evidence) to prove identity
Factor types
o Knowledge Factor – “Something you know”, ex. password, pin
o Possession Factor – “Something you have”, ex. phone, token, card, key
o Physical Characteristic Factor – “Something you are”, ex. fingerprint, voice, face, eye
iris
o Location Factor – “Somewhere you are”, ex. GPS location
Supported by Azure AD by default (simple on-off switch)
Identity
Centralized/unified infrastructure and platform security management service
Natively embedded in Azure services
Integrated with Azure Advisor
Two tiers
o Free (Azure Defender OFF) – included in all Azure services, provides
continuous assessments, security score, and actionable security
recommendations
o Paid (Azure Defender ON) – hybrid security, threat protection alerts,
vulnerability scanning, just in time (JIT) VM access, etc.
What is a Role?
Role (role definition) is a collection of actions that the assigned identity will be able to
perform.
What is a Scope?
Scope is one or more Azure resources that the access applies to.
Role assignment is a combination of the role definition, security principal and scope.
Cloud adoption
Cloud adoption is a strategic move by an organization to leverage cloud in their business
tools,
best practices,
guidelines and
documentation
Strategy
1. Understand your motivation
2. Business Outcome
3. Business Justification
4. First Project
Choose first project to validate your strategy (Proof of concept - POC) based on
o Business Criteria
Currently operating
Dedicated owner
Strong motivation to move
o Technical Criteria
Minimum dependencies and assets
Plan
1. Digital Estate (INVENTORY OF ASSETS)
o Review current landscape and list all projects/solutions (digital assets)
o Choose one of the five (5) R’s of rationalization
Rehost - move as is; typically into containers or IaaS (virtual machines)
Refactor - make small code changes and move to PaaS (ex. Azure SQL, Azure
App Service, etc.)
Rearchitect - make complex code changes to introduce new features or fix
incompatible apps
Rebuild - create a new application using cloud first design
Replace - review available SaaS solutions and replace legacy or unneeded
applications
2. Initial Organization Alignment
o Align people so they will support your adoption plan
o Map people to capabilities
3. Skills Readiness Plan
o Review current skills and address the gaps
4. Cloud Adoption Plan - combine everything from steps 1 to 3 into a single cloud adoption plan
Ready
1. Azure Setup Guide - Review the Azure setup guide to become familiar with the tools and
approaches you need to use to create a landing zone.
2. Azure Landing Zone - Choose an appropriate Azure Subscription type that best suits your
needs and establish an initial Azure environment.
3. Extend Landing Zone - Expand the initial landing zone to fit your business needs.
4. Best Practices - Review everything and ensure best practices are followed.
Adopt
Migrate
1. First Migration - migrate your first application to familiarize yourself with the cloud,
guidelines and tools
2. Migration Scenarios - review and prepare migration scenarios/guidelines for your company
o Virtual Machines - Linux, Windows, etc.
o Apps - Java, .NET, NodeJS web apps, etc.
o Data - SQL Server, PostreSQL, File Servers, etc.
o Other - VMware, Azure Stack, etc.
3. Best Practices - address common migration needs through the application of consistent best
practices.
4. Process Improvements - important part of this porcess heavy activity is to identify
bottlenecks and improve with every migration
Innovate
Organize
Ensure that everyone knows what to do and when to do it for every stage in this process. One
of the ways to achieve this is via RACI (Responsible, Accountable, Consulted, and Informed)
matrix.
Document/Website Info Offers Audience
All Microsoft offers
including services, Everyone - end
Microsoft Privacy Collection, Purpose and
applications, customers or
Statement Usage of Personal Data
websites, software, companies
servers, devices
Licensing Terms (legal Microsoft Online
agreement) - usage rights Services like Azure,
Online Services Organizations - legal
about Azure services. Microsoft 365
Terms (OST) teams
What can be done and services, Bing Maps,
what is forbidden. etc.
Appending to OST
describing obligations by Microsoft Online
both parties (Microsoft Services like Azure,
Data Protection Organizations - legal
and you) with regards to Microsoft 365
Addendum teams, security teams
the processing of services, Bing Maps,
customer and personal etc.
data
One stop shop web portal Microsoft Online
Organizations - legal
for everything related to Services like Azure,
teams, security teams,
Trust Center security, compliance, Microsoft 365
business managers,
privacy, policies, best services, Bing Maps,
administrators
practices, etc. etc.
Web portal focusing on
Organizations - legal
compliance offerings in
Azure Compliance teams, security teams,
Azure, simmilar to the Azure
Documentation business managers,
trust center but narrowed
Azure administrators
down
Azure Reservations
Purchase Azure services for 1 or 3 years in advance with a significant discounts
How it works
o Significant dicount for Azure VMs
o Capacity can be taken away at any time
o Customer can set maximum price after discount to keep or evict the machine
Best for interruptable workloads (batch processing, dev/test environments, large
compute workloads, non-critical tasks, etc.)
SLA
Service Level Agreement (SLA) is a formal agreement between a service provider and a
customer.
99.5% 3h 39m 8s
99.99% 4m 22s
99.999% 26s
Formulas
Logical AND - adding dependency
Key Items
Formal agreement between Microsoft & the customer
Calculated as a percentage of service availability (uptime & connetivity) (a promise)
Breaking the SLA provides a discount from the final monthly bill (Service Credit)
Higher tier services offer better SLAs
Free services typically have no SLA (0% SLA)
Preview services have no SLA
Composite SLA is a combined SLA of all application components
Service Lifecycle