Beruflich Dokumente
Kultur Dokumente
Traditional Datacenter
Cloud Computing Overview
© 2019 Skylines Academy, LLC. All rights reserved.
Regions Overview
© 2019 Skylines Academy, LLC. All rights reserved.
Region Pairs
Resource Group Overview
© 2019 Skylines Academy, LLC. All rights reserved.
DESTROYED
Web App Virtual Machines Database
© 2019 Skylines Academy, LLC. All rights reserved.
Networking
VNET
Subnet A
Subnet B
Accessing Azure
© 2019 Skylines Academy, LLC. All rights reserved.
Module:
Manage Azure Subscriptions
Azure Account Hierarchy
Azure Enterprise http://ea.azure.com
© 2019 Skylines Academy, LLC. All rights reserved.
Departments
Accounts http://account.azure.com
Subscriptions http://portal.azure.com
Resources Groups
Resources
© 2019 Skylines Academy, LLC. All rights reserved.
Common Scenarios
EA Breakdown
Enterprise Department Service
© 2019 Skylines Academy, LLC. All rights reserved.
View usage and Across all Accounts Across Department Across Account No
charges data and Subscriptions
Module:
Consumption
Analyze Resource Usage and
Azure Monitoring Overview
© 2019 Skylines Academy, LLC. All rights reserved.
Metrics are numerical Logs are activity logs, Alerts notify you of critical
values available from Azure diagnostic logs, and conditions and potentially
Resources helping you telemetry from monitoring take corrective automated
understand the health, solutions; Analytics queries actions based on triggers
operation, and help with troubleshooting from metrics or logs.
performance of your and visualizations.
systems.
Log Analytics Key Features
© 2019 Skylines Academy, LLC. All rights reserved.
Other Log
Central Role in Analytics Sources
Data Sources
Monitoring (Security Center
and App Insights)
Data Sources
© 2019 Skylines Academy, LLC. All rights reserved.
Data Organization
Summary Data Sources
© 2019 Skylines Academy, LLC. All rights reserved.
https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-tutorial-viewdata
© 2019 Skylines Academy, LLC. All rights reserved.
Module:
Manage Resource Groups
Azure Resource Locks
© 2019 Skylines Academy, LLC. All rights reserved.
Assigned to
Enforce Built-in or
Subscriptions or Create > Assign
Governance Custom Code
Resource Groups
© 2019 Skylines Academy, LLC. All rights reserved.
Module:
Create and Configure Storage
Azure Blob Storage Overview
© 2019 Skylines Academy, LLC. All rights reserved.
Storage Account
Container Container
Private
(No Anonymous Access)
Blob
(Anonymous read access for
blobs only)
Container
(Anonymous read access for
containers and blobs)
Managing Access: SAS Overview
© 2019 Skylines Academy, LLC. All rights reserved.
• It is a query string that • Granted at the account • Grants access to a • Utilizes hash-based
we add on to the URL level to grant specific service within a message authentication
of a storage resource. permissions to services Storage Account.
within the account.
• The string informs
Azure what access
should be granted.
SAS Breakdown
© 2019 Skylines Academy, LLC. All rights reserved.
https://slsasdemo.blob.core.windows.net/images/image.jpg
SAS Token
?sv=2017-07-29&ss=bfqt&srt=sco&sp=rwdlacup&se=2018-02-24T01:21:26Z&st=2018-02-
23T17:21:26Z&spr=https&sig=dctAWsi39LncBNC1ZRn%2FQMjMMA5CPByLzagfsF7MVYc
%3D
SAS Breakdown (continued)
© 2019 Skylines Academy, LLC. All rights reserved.
• sig=dctAWsi39LncBNC1ZRn%2FQMjMMA5CPByLzagfsF7MVYc%3D Signature
Stored Access Policies
© 2019 Skylines Academy, LLC. All rights reserved.
points from…
1. Your domain 2. The ”asverify” subdomain
• Such as www.skylinesacademy.com to • Such as as verify.skylinesacademy.com to
sldscdemo.blob.core.windows.net. asverify.sldscdemo.blob.core.windows.net.
• This method is simpler, but results in a brief • After this step completes, you can create a
downtime while Azure verifies the domain CNAME record that points to
registration. sldscdemo.blob.core.windows.net.
• This method does not incur any downtime.
• To use this method, select the "Use Indirect
CNAME Validation" checkbox.
© 2019 Skylines Academy, LLC. All rights reserved.
Module:
Import and Export Data to Azure
Azure Import/Export Use Cases
© 2019 Skylines Academy, LLC. All rights reserved.
Move large amounts of Sending data to customer Backing up your on- Recover data from storage
data to Azure quickly. sites. premises data to store it in and send back to your on-
Azure. premises datacenter.
e.g. Large migration from
your datacenter.
Import/Export Components
© 2019 Skylines Academy, LLC. All rights reserved.
Import/Export Service
• Accessed via the Azure Portal
• Used to track data import (upload) jobs
• Used to track data export (download) jobs
Import/Export Components
© 2019 Skylines Academy, LLC. All rights reserved.
• Command
WAI line tool Tool
Import/Export for:
• Preparing disk drives that are shipped
• Copying data to your drive
• Encrypts data with BitLocker
• Generates drive journal files
• Determines number of drives
• Use V1 for blob and V2 for files
Import/Export Components
© 2019 Skylines Academy, LLC. All rights reserved.
Disk
DiskDrives
Drives
•• HDDs
HDDs
•• SSDs
SSDs
•• Import
ImportJobs:
Jobs:You
Youship
shipdrives
drivescontaining
containingyour
yourdata.
data.
•• Export
ExportJobs:
Jobs:You
Youship
shipempty
emptydrives.
drives.
Supported Disks:
https://docs.microsoft.com/en-us/azure/storage/common/storage-import-export-
requirements#supported-hardware
Import Job Workflow
Import Job Workflow
© 2019 Skylines Academy, LLC. All rights reserved.
https://docs.microsoft.com/en-
us/azure/storage/common/storage-
import-export-service
© 2019 Skylines Academy, LLC. All rights reserved.
CDN
Theodore
Source
© 2019 Skylines Academy, LLC. All rights reserved.
CDN
Theodore
Other Users
Edge
Source
Azure CDN Offerings
© 2019 Skylines Academy, LLC. All rights reserved.
https://docs.microsoft.com/en-us/azure/cdn/cdn-overview
© 2019 Skylines Academy, LLC. All rights reserved.
Backup
Missing Module: Implement Azure
Business Continuity Strategies
Primary
© 2019 Skylines Academy, LLC. All rights reserved.
High Availability
Run another instance of apps in case of catastrophic failure
Primary Secondary
Disaster Recovery
Run apps in secondary datacenter if a failure occurs
Original Backup
Backup
Restore your data
Azure Backup Overview
Cloud
• Unlimited Scaling
• Unlimited Data Transfer
• Multiple Storage Options
(LRS/GRS)
• Long Term Retention
• Application-Consistent Backups
• Data Encryption
Other Recovery Options
© 2019 Skylines Academy, LLC. All rights reserved.
Module:
Create and Configure a VM for
Windows or Linux
Introduction to Virtual Machines
© 2019 Skylines Academy, LLC. All rights reserved.
Application OS OS OS
Hardware Hardware
Type Purpose
Type Purpose
H – High High performance compute instances aimed at very high-
performance end computational needs such as molecular modelling and
compute other scientific applications.
L – Storage Storage optimized instances which offer a higher disk
optimized throughput and IO.
M – Large memory Another large-scale memory option that allows for up to
3.5 TB of RAM.
N – GPU enabled GPU-enabled instances.
SAP HANA on Specialized instances purposely built and certified for
Azure Certified running SAP HANA.
Instances
VM Specializations
© 2019 Skylines Academy, LLC. All rights reserved.
S M R
Premium Storage Larger memory Supports remote
options available configuration of direct memory
instance type access (RDMA)
Example: DSv2 Example: Standard A2m_v2 Example: H16mr
Azure Compute Units (ACUs)
© 2019 Skylines Academy, LLC. All rights reserved.
Pre-Windows 2008 R2 (e.g. • Windows 2003 and later are supported for deployment.
Windows Server 2003) • Must bring own image.
• No marketplace support.
• Need to have your own custom support agreement (CSA).
https://support.microsoft.com/en-us/help/2721672/microsoft-server-software-
support-for-microsoft-azure-virtual-machines
Linux-Supported Distributions
© 2019 Skylines Academy, LLC. All rights reserved.
https://docs.microsoft.com/en-
us/azure/virtual-
machines/linux/endorsed-distros
© 2019 Skylines Academy, LLC. All rights reserved.
Regional Limitations
Restricted Usernames
© 2019 Skylines Academy, LLC. All rights reserved.
Module:
Automate Deployment of VMs
VM Images
© 2019 Skylines Academy, LLC. All rights reserved.
App
© 2019 Skylines Academy, LLC. All rights reserved.
Configuration
Settings
Application Application
Installation Monitoring
Infrastructure
OS Settings
Monitoring
Antivirus &
Backup Agents
© 2019 Skylines Academy, LLC. All rights reserved.
Deployment
VM Extensions
DSC
VM Extensions
Scripts
Configuration Management
© 2019 Skylines Academy, LLC. All rights reserved.
Enterprise-level configuration
management for multiple nodes
PowerShell DSC Key Components
© 2019 Skylines Academy, LLC. All rights reserved.
Logical
Configurations Resources Configuration
Manager
PowerShell DSC Example
Configuration SkylinesWebSite The name of the configuration.
© 2019 Skylines Academy, LLC. All rights reserved.
{
Node 'localhost' Specifies which targets the
{
#Install IIS - Enabled via Windows configuration applies to.
feature
WindowsFeature IIS Declarative statement about what
{ we are configuring. In this case,
Ensure = “Present” we want IIS installed.
Name = “Web-Server”
} A second declarative statement.
#Install ASP.NET 4.5
WindowsFeature ASP This time to ensure .NET 4.5 is
{ installed.
Ensure = “Present”
Name = “Web-Asp-Net45”
}
}
}
Custom Script Extension
© 2019 Skylines Academy, LLC. All rights reserved.
Benefits
• No local or domain credentials needed to login to
Azure VM
• VM does not need an accessible IP Address to
remotely connect
• Simple to implement
Drawbacks
• Must be enabled for each VM you want to run
your script on
• VMs will need internet access if using GitHub or
Blob storage for scripts
• Relatively slow
© 2019 Skylines Academy, LLC. All rights reserved.
Module:
Networking
Manage Azure VM Storage and
VM Storage Types
© 2019 Skylines Academy, LLC. All rights reserved.
• Read-Only Caching
– Improve latency and potentially gain higher IOPS per disk
• Read-Write Caching
– Ensure you have a proper way to write data from cache to persistent
disks
© 2019 Skylines Academy, LLC. All rights reserved.
Module:
VM Availability
Availability Sets
© 2019 Skylines Academy, LLC. All rights reserved.
FD 0
FD 1
Fault Domains and Update Domains
FD 2
Fault Domains and Update Domains
© 2019 Skylines Academy, LLC. All rights reserved.
FD 0 FD 1 FD 2
UD 0 UD 1
UD 2
Planning for Availability
© 2019 Skylines Academy, LLC. All rights reserved.
Module:
VM Scale Sets
© 2019 Skylines Academy, LLC. All rights reserved.
Scale Sets
vs.
Define Virtual Machine Scale Set (VMSS)
© 2019 Skylines Academy, LLC. All rights reserved.
by Azure Automation
From To
Standard_A0 Standard_A11
Standard_D1 Standard_D14
Standard_DS1 Standard_DS14
Standard_D1v2 Standard_D15v2
Standard_G1 Standard_G5
Standard_GS1 Standard_GS5
© 2019 Skylines Academy, LLC. All rights reserved.
Module:
Azure Networking
Networking Overview
© 2019 Skylines Academy, LLC. All rights reserved.
Source: https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-overview
Networking Overview (continued)
© 2019 Skylines Academy, LLC. All rights reserved.
Core VNet
VNet
Subnet A Subnet B Capabilities:
• Isolation
• Internet Access
• Azure Resources (VMs
and Cloud Services)
• VNet Connectivity
• On-Premises
Connectivity
• Traffic Filter
• Routing
VNets: Key Points
© 2019 Skylines Academy, LLC. All rights reserved.
• Azure reserves the first three and the last IP from the pool
Module:
Create Connectivity Between Virtual
Networks
Hybrid Connectivity Options
© 2019 Skylines Academy, LLC. All rights reserved.
Point-to-Site
Site-to-Site (S2S) ExpressRoute
(P2S)
System Routes
© 2019 Skylines Academy, LLC. All rights reserved.
Route Description
On-Premises Route for defined on-premises address space (VNet gateway is next-
hop address)
Internet Route for all traffic destined to the Internet (Internet Gateway is the
next-hop address)
Default Routing in a Subnet
© 2019 Skylines Academy, LLC. All rights reserved.
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview
© 2019 Skylines Academy, LLC. All rights reserved.
User-Defined Routes
(continued)
VNet Peering
© 2019 Skylines Academy, LLC. All rights reserved.
Customer
Apps
VNet
HUB –
Data Shared Inf
Services Services
VNet
Other VNet
S2S
© 2019 Skylines Academy, LLC. All rights reserved.
S2S
Multi-Site
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpngateways
ExpressRoute
© 2019 Skylines Academy, LLC. All rights reserved.
https://docs.microsoft.com/en-us/azure/expressroute/expressroute-introduction
Hybrid Connection
© 2019 Skylines Academy, LLC. All rights reserved.
.NET
.NET Framework Java Access to
PHP Access to Java Access to
Framework Access to SQL Server,
SQL Server, HTTP/HTTPS
Access to SQL HTTP/HTTPS MySQL and
MySQL Services
Server Services with Oracle
Web Client
Hybrid Connection Manager Requirements
© 2019 Skylines Academy, LLC. All rights reserved.
Module:
Configure Name Resolution
Internet Access
© 2019 Skylines Academy, LLC. All rights reserved.
Scenario Recommendation
Name resolution between role instances or virtual Azure provided DNS
machines in the same virtual network
Module:
Create and Configure a Network
Security Group (NSG)
Network Security Groups (NSGs)
© 2019 Skylines Academy, LLC. All rights reserved.
• Is a network filter
• Used to allow or restrict traffic
to resources in your Azure
network
• Inbound rules
• Outbound rules
• Associated to subnet or NIC
(and individual VMs in classic)
NSGs (continued)
© 2019 Skylines Academy, LLC. All rights reserved.
VNet
• Can be applied
Subnet A Subnet B to network
interface or
subnet
• Subnet rules
apply to ALL
resources in
subnet
NSG Properties
© 2019 Skylines Academy, LLC. All rights reserved.
Direction
Access
(inbound or Priority
(allow/deny)
outbound)
NSG Rule Priority
© 2019 Skylines Academy, LLC. All rights reserved.
System-provided
Azure Load
to identify groups Virtual network Internet
Balancer
of IP addresses
NSG Default Rules
Destination Destination
© 2019 Skylines Academy, LLC. All rights reserved.
AllowVNet
65000 VirtualNetwork * VirtualNetwork * *
InBound
AllowAzure
AzureLoad
LoadBalancer 65001 * * * *
Balancer
InBound
DenyAll
65500 * * * * *
InBound
Destination Destination
Name Priority Source IP Source Port Protocol
OUTBOUND
IP Port
AllowVnet
65000 VirtualNetwork * VirtualNetwork * *
OutBound
AllowInternetO
65001 * * Internet * *
utBound
DenyAll
65500 * * * * *
OutBound
Networking Limits
The following limits apply only for networking resources managed through ARM per region per subscription:
© 2019 Skylines Academy, LLC. All rights reserved.
Module:
Manage Azure Active Directory (AAD)
Azure AD Overview
© 2019 Skylines Academy, LLC. All rights reserved.
https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-whatis
Azure AD Features
© 2019 Skylines Academy, LLC. All rights reserved.
Multifactor
Enterprise
Single Sign-On Authentication Self Service
Identity Solution
(MFA)
Create a single identity for Provide single sign-on Enhance security with Empower your users to
users and keep them in access to applications and additional factors of complete password resets
sync across the enterprise. infrastructure services. authentication. themselves, as well as
request access to specific
apps and services.
© 2019 Skylines Academy, LLC. All rights reserved.
Missing Module:
Implement and Manage Hybrid Identities
© 2019 Skylines Academy, LLC. All rights reserved.
AD Connect Overview
AD Connect Components
© 2019 Skylines Academy, LLC. All rights reserved.
Active Directory
Synchronization Federation Health
Services Services Monitoring
(optional)
AD Connect Sync Features
© 2019 Skylines Academy, LLC. All rights reserved.
Module:
Azure Resource Manager (ARM)
Resource Manager Overview
© 2019 Skylines Academy, LLC. All rights reserved.
Resource
Resource Resource Group ARM Templates
Provider
Individual manageable item Container where you can Provider of services you Files used to define
available to you in Azure house your resources for can deploy in Azure resources you wish to
management e.g. Microsoft.Compute deploy to a resource
group
ARM Templates Overview
© 2019 Skylines Academy, LLC. All rights reserved.
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
• Apply Infrastructure as
"parameters": {
},
"variables": {
},
"resources": [
{
"name": "[concat('storage', uniqueString(resourceGroup().id))]",
Code
"type": "Microsoft.Storage/storageAccounts",
• Download templates
"apiVersion": "2016-01-01",
"sku": {
"name": "Standard_LRS"
},
"kind": "Storage",
"location": "North Central US",
"tags": {},
from Azure Portal
"properties": {}
• Use Quickstart
templates, provided by
Resource
(E.g. Storage Account)
Microsoft
Quickstart Templates
© 2019 Skylines Academy, LLC. All rights reserved.
https://azure.microsoft.com/en-us/resources/templates/
https://github.com/Azure/azure-quickstart-templates
ARM File Types
© 2019 Skylines Academy, LLC. All rights reserved.
Define the inputs you want Values that you can use Define the resources you Specify values that are
to pass into the ARM throughout your template. wish to deploy or update. returned after the ARM
template during Used to simplify your deployment is completed.
deployment. template by creating reuse
of values.
Linking Templates
© 2019 Skylines Academy, LLC. All rights reserved.
Main Template
Reusable Scripts
Custom Scripts
Linking Templates (continued)
© 2019 Skylines Academy, LLC. All rights reserved.
• Inline
– Create entire ARM
template in body of
existing template
• External
– Link to an external
template with an
INLINE or
EXTERNAL parameter
set
Inline Example
© 2019 Skylines Academy, LLC. All rights reserved.
"resources": [
{
"apiVersion": "2017-05-10",
"name": "nestedTemplate",
"type": "Microsoft.Resources/deployments",
"properties": {
"mode": "Incremental",
"template": {
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
New Template
"variables": {},
"resources": [
{
created in the
"type": "Microsoft.Storage/storageAccounts",
"name": "[variables('storageName')]",
"apiVersion": "2015-06-15",
body of the
"location": "EAST US",
"properties": {
"accountType": "Standard_LRS"
current ARM
template
}
}
]
},
"parameters": {}
}
}
]
External Example
© 2019 Skylines Academy, LLC. All rights reserved.
"resources": [
{
"apiVersion": "2017-05-10",
"name": "linkedTemplate",
"type": "Microsoft.Resources/ deployments",
"properties": {
"mode": "incremental",
"templateLink": {
"uri":"https://mystorageaccount.blob.core.windows.net/azuretemplates/newSt orageAccount.json",
"contentVersion":"1.0.0.0"
},
"parametersLink": {
"uri":"https://skylinesacademy.blob.core.windows.net/azuretemplates/newSto rageAccount.parameters.json",
"contentVersion":"1.0.0.0"
}
}
}
]
Copy
Key ARM Functions
copyIndex()
dependsOn
© 2019 Skylines Academy, LLC. All rights reserved.