Build, Deploy and Manage Applications Through The Global Network of Azure Data Centers
Build, Deploy and Manage Applications Through The Global Network of Azure Data Centers
Build, Deploy and Manage Applications Through The Global Network of Azure Data Centers
In this course, we will explore the broad range of services offered by Azure and deep dive into
few of services that you can use for your applications.
Azure Essentials is the first of the series of courses on Azure. Have a great learning!
Please note that this course has been curated using the materials/resources received through our
partnership with Microsoft. Hence, you could see that the content for this course has been taken
from Mic
Microsoft Azure is a set of unified cloud services, which help IT professionals and developers to
build, deploy and manage applications through the global network of Azure data centers.
Azure provides cloud services that can be used to design and implement your customized cloud
solution and infrastructure. They allow you to:
Azure cloud services can be categorized as Compute, Network, Data and Storage, App Services,
etc. These are few to name and there are much more to help with Identity and Access
Management, Automation, Security, Availability, etc.
Allows the user to access, manage and monitor the data centers. Thus, giving complete control
of the OS and the application platform stack to the developers.
IaaS facilitates efficient design time portability. Hence an application can be migrated to
Microsoft Azure without rework.
IaaS allows a quick transition of services to cloud, which helps the vendors to offer
services to their clients easily.
The client is provided with the platform to develop and deploy software, without having to think
about hardware and infrastructure. It takes cares of most of the OS, servers and networking
issues.
PaaS is fast with less hassle for developers; applications can go from idea to availability more
quickly.
PaaS is cost-effective with lower upfront investment and less admin / management work
for organizations.
PaaS lowers risk as platform is upto date with latest technology stack and tools for
automation.
Software as a service (SaaS) allows users to connect to and use cloud-based apps over the
Internet, such as Office365.
SaaS customers use the software running on the provider’s infrastructure. SaaS is also referred as
software delivered over the web.
Advantages:
Azure Datacenters
Azure is backed by a global network of data centers that aims to meet global customer needs,
ensure high application performance and maintain availability.
Accessing Azure
o PowerShell
o Azure CLI
This was the first portal in Azure that was being used before the launch of Azure Resource
Manager (ARM). It was based on the Service Management model and provides limited Role-
Based Access Control (RBAC) support.
Azure Resources manager (ARM portal) is now the default portal for Azure cloud services
management. It supports new features like:
Client Tools
While Azure portals provide a GUI for managing your Azure subscriptions and services, in some
scenarios, these portals may not offer the most optimal management capabilities.
For teams that want to perform service management in an automated fashion by using REST
API and creating scripts for repetitive or cumbersome administrative tasks, Azure offers options
like:
Microsoft Azure Network Services offer the foundation for developing hybrid cloud solutions
with the help of following essential resources.
Azure Virtual Network: Isolated network within the Microsoft Azure cloud.
Azure Traffic Manager: Controls how user traffic is distributed between geographies in
cloud services.
Name Resolution Service: For internal hostname resolution within a cloud service.
Azure ExpressRoute: Extend on-premises networks into the virtual network over a
dedicated private connection facilitated by a connectivity provider.
Application Gateway: works at the application layer and acts as a reverse-proxy service,
terminating the client connection and forwarding requests to back-end endpoints.
Virtual Network, also known as a VNet constitutes a logical boundary defined by a private IP
address space that you designate. You can distribute IP address space into one or more subnets.
This makes it functionally equivalent to on-premises networks.
VNets are similar to AWS VPC (Virtual Private Cloud), offering various networking features
like the ability to customize inter-VM connectivity, Virtual Private Networks (VPN), access
control, DNS, routing, and DHCP blocks.
Azure Virtual Network allows to securely connect cloud infrastructure to your on-premises
datacenter.
Virtual Networks allow to set up a virtual lab in the cloud by enabling connectivity to on-
premises resources with the help of Point-To-Site and Site-to-Site VPN connections.
Virtual Network also acts as a DHCP server, which allows configuring a DNS server to
be leased out when a virtual machine is a spin up in the cloud.
VNet Capabilities
Isolation - VNets are isolated from one another. One can create separate VNets for
development, testing, and production that use the same CIDR address blocks.
Internet Connectivity - By default, all Azure Virtual Machines (VM) and Cloud
Services role instances are connected to a VNet and have access to the Internet.
VNet Capabilities...
Azure Resource Connectivity - Azure resources such as Cloud Services and VMs can
be connected to the same VNet. These ***resources can connect to each other using
private IP addresses***, even if they are on separate subnets.
Azure offers default routing between subnets, VNets, and on-premises networks, thus avoiding
the need to configure and manage routes.
Traffic Filtering - VM and Cloud Services role instance network traffic can be
filtered outbound and inbound by destination IP address and port, source IP address and
port, and protocol.
Routing - Azure allows User-defined routes and BGP routes.
Load balancing and traffic direction - Load balances traffic to servers.
A subnet is a range of IP addresses in the VNet. We can divide a VNet into multiple subnets
for organization and security.
Additionally, we can configure VNet routing tables and Network Security Groups (NSG) to a
subnet.
There are two types of IP addresses that can be assigned to an Azure resource:
Private IP Address is used for communication within a VNet, and when using VPN
gateway or ExpressRoute.
Both Public and Private IP Address can be assigned through DHCP (Dynamic Host
Configuration Protocol).
Dynamic IP is allocated by default to the VM from the subnet via DHCP. When VM is
started/stopped, the IP may be released/renewed based on the DHCP lease.
Static IP can be allocated to a VM, which is only released when the VM is deleted.
Network Security Groups (NSGs) allow or deny traffic (through a rule base), to either a network
interface or a subnet. By default the outbound and inbound rules include an implied deny
all .
NSGs are stateful, meaning that the TCP sequence numbers are checked in addition to checking
if the connection is already established.
Azure Traffic Manager: DNS is used to direct traffic to the necessary destination. There
are three destination selection methods - failover, performance or round robin.
Azure Load Balancer: Performs L4 load balancing within a Virtual Network. Currently
only supports round robin distribution.
DNS name resolution - Built-in (default) and support for custom (customer-owned)
DNS.
Routing Tables - Azure provides user defined routes and forced tunneling methods.
VNet to VNet Connectivity - VPN can be used to connect two or more Azure VNets.
Such connections are termed VNet-to-VNet VPNs.
A Point-to-Site VPN - connects a single computer to a VNet. To create this connection,
you must configure each on-premises computer that you want to use, with the resources
in the VNet.
A Site-to-Site VPN - connects an on-premises network and all its computers to a VNet.
To create this connection, you must configure a gateway and IP routing in the on-
premises network. But it is not necessary to configure individual on-premises
computers.
ExpressRoute Connectivity - An ExpressRoute connection is a dedicated server that
does not connect to the public Internet. By using ExpressRoute, you can increase
security, reliability, and bandwidth.
Microsoft Azure Compute Services offer the processing power for running cloud
applications.
The Microsoft Azure Compute Service can run many different kinds of applications. A principal
goal of this platform, however, is to support applications that have a substantial number of
simultaneous users.
Virtual Machines is an IaaS service that allows you to deploy and manage VMs inside a
VNet.
App Service is a managed service to host mobile app backends, web apps, RESTful
APIs, or automated business processes.
Azure Batch is called a managed service for operating large-scale parallel and high-
performance computing (HPC) applications.
Cloud Services is a managed service for operating cloud applications and utilizes a PaaS
hosting model.
Resource Groups
Resource groups are containers that are automatically created for VMs, DBs, and other assets
that are required for your solution or only the resources that you want to manage as a group.
They provide a way to monitor, control access, provision and manage billing for collections of
assets that are required to run an application.
All the resources in a group should share the same lifecycle i.e. deploy, update, and
delete them together.
A resource can only exist in one resource group. It can be added, moved and deleted
from a resource group at any time.
A resource can interact with resources in different resource groups. (Scenarios where
two resources are related but do not share the same lifecycle).
It is a general-purpose computing environment that lets you create, deploy, and manage VMs
running in the Microsoft Azure cloud.
Development and test - Azure VMs provide a fast and effortless way to create a
computer with particular configurations needed to code and test an application.
Applications in the cloud - since the demand for an application can fluctuate, it might
create economic sense to operate it on a VM in Azure. Thus one has to pay for additional
VMs only when required and shut them down when they don’t.
Azure Portal - provides a browser-based user interface for creating and configuring
virtual machines and all related resources.
Azure PowerShell - used to create and manage Azure resources from the PowerShell
command line or scripts.
Resource Manager template - a JSON file is used to define one or more resources to be
deployed to a resource group and define the dependencies between the deployed
resources. This template can be used to deploy the resources consistently and
repeatedly.
VM Size
The VM size is determined by the workload that you want to run. The size then determines
factors such as processing power, memory, and storage capacity.
D-series: offers faster CPUs and local Hyper-V host SSD (temporary disk).
Dv2 series: provides largest VMs with configuration up to 448 GB of RAM and 64 data
disks. CPU is 35% faster than D-series.
DS, DSv2, and GS series: Support for Premium Storage (SSD for operating system and
data disks).
VM Availability
To ensure high availability of an application, Azure places VMs into a logical grouping called
an Availability Set.
When deployed with a service, Azure ensures that the VMs in the Availability set are arranged
across Fault Domains on different Racks. In case of a maintenance event or failure of one fault
domain, at least one VM keeps running.
Along with Load balancers, availability sets can provide up to 99.95% SLA for VMs.
A fault domain is a set of hardware components (rack of resources like servers, power, etc.) that
share a single point of failure. Web, worker and Virtual Machines are arranged in this hardware.
In the Illustration UD#1 is getting updated but the user can access the content from UD#2.
It provides Web or Worker role (within rack) instances with high availability by ensuring that
only one of the Instances is down for an update at one time.
Vertical scaling, also known as scale up and scale down, involves increasing or
decreasing virtual machine (VM) sizes in response to the workload, without creating
additional VMs.
Horizontal scaling also known as scaling out and in, involves adding or removing
instances of a resource. The application continues operating without interruption as new
resources are provisioned.
o If demand drops, additional resources can be shut down cleanly and deallocated.
Below are the latest 50 odd questions on azure. These are multiple choice questons
(1)When using Azure Resource Manager, you can use a _______________ for
deployment, which can build identical environments for different work scenarios
(2)If you have to replace your current on-premise services in the form of virtual
machines, then you can use Microsoft Azure cloud categorized as ____________.
Answer:-IAAS
(6)You can view the latest data center map and Pay as You Go subscription
(9)Which of the following is the older service management model, where cloud
to exchange routes between your on-premises network, your instances in Azure, and
(13)Azure supports both .vhd and .vhdx file formats for Virtual Machines.
Answer:-False
(15)You need to deploy a virtual machine on Azure with a low memory entry level
requirement. Which virtual machine sizes should you consider choosing?
Answer:-Basic_A0- Basic_A4
operating system.
Answer:-False
(17)To delegate administrative tasks for specific resource groups in Azure which
(18)A VM can have multiple associated IP addresses. Which of the following are
_________.
Answer:-SQL Server
environments is ____.
Answer:-A1
(23)Which Azure networking component is the core unit from which administrators
can have full control over IP address assignments, name resolution, security settings,
(26)In which type of storage replication, data is not replicated across multiple datacenters?
Answer:-Locally Redundant Storage(LRS)
(28)Which connection configuration offers faster speeds, higher security, lower latencies and higher
reliability?
Answer:-ExpressRoute
(32)Is it possible to create a custom domain name, or use your organisation's domain name such as
eduforum.in, in Azure Active Directory?
Answer:-True
(36)Which of the following are methods Traffic Manager uses to pick endpoints?
Answer:-Below are the answer
Round-robin
Performance
Failover
(37)Geo-Redundancy is to provide high availability in ________.
Answer:-Geographically
(39) When using Azure Resource Manager, you can use a _______________ for deployment, which can build
identical environments for different work scenarios such as testing, staging, and production.
Answer:- Template
(41). If you have to replace your current on-premise services in the form of virtual machines, then you can use
Microsoft Azure cloud categorized as ____________.
Answer:- IAAS
(42) You can view the latest data center map and Pay as You Go subscription information in (the) ________?
Answer:- Azure Dash Board
(45)Which of the following is the older service management model, where cloud services contain your cloud
resources?
Answer:- Classic Portal
(46)Which Azure networking component is the core unit from which administrators can have full control over
IP address assignments, name resolution, security settings, and routing rules?
Answer:- Virtual Networks (VNETs)
(47)Which connection configuration offers faster speeds, higher security, lower latencies and higher
reliability?
Answer:- ExpressRoute
1) ___is used to route the traffic between virtual machines inside your pirvate virtual network.
Answer:- Azure Internal Load Balancers
(2) The smallest recommended virtual machine size in Azure for a production environment is
Answer:- A1
(3)You can estimate costs you will incur on Azure by using which tool
Answer:- Pricing Calculator
(4)Which of the following Windows Server roles is not supported on Azure Virtual Machines
Answer:- Hyper-v
(6)Which of the following helps Azure maintain high availability and fault tolerance when deploying and
upgrading applications.
Answer:- Availability set
(7)Azure supports both .vhd and .vhdx file formats for Virtual Machines.
Answer:- False
(8)Azure Virtual Machines only support VM's running Microsoft Windows operating system.
Answer:- False
(10) Which type of storage offering uses SSDs and is intended for use with Virtual machines
Answer:- Premium
(12)What type of storage account is backed by magnetic drives and provides the lowest cost per GB
Answer:- Standard
(14)If you choose this redundancy strategy, you cannot convert to another redundancy strategy without
creating a new storage account and copying the data to the account.
Answer:- ZRS
(17)Your Azure storage account is always replicated to ensure durability and high availability. By default,
which of the following replications schemes is used?
Answer:- RA-GRS
(18)You add a data disk to an Azure virtual machine. What drive type is created?
Answer:- SCSI
(19)Is it possible to create a custom Domain name, or use your organizations domain name, such as
fresco.com, in Azure Active Directory?
Answer:- True
(20) Microsoft Azure Active Directory can be integrated with on-premises Active Directory to allow single
sign-on.
Answer:- True
(23)Which of the following is a worldwide content caching and delivery system for Windows Azure blob
content
Answer:- CDN
(24)Microsoft and Hortonworks joined their forces to make Hadoop available on ___________ for on-premise
deployments
Answer:- Windows Server
(25)The connection between storage and Microsoft’s CDN (Content Delivery Network) is stated to be at least
_______ percent available
Answer:- 99.9
(26)Azure Storage plays the same role in Azure that ______ plays in Amazon Web Services.
Answer:- S3
(29)Azure data is replicated ________ times for data protection and writes are checked for consistency.
Answer:- Three
(42)A _________ role is a virtual machine instance running Microsoft IIS Web server that can accept and
respond to HTTP or HTTPS requests.
Answer:- Web
(43)Which of the following element allows you to create and manage virtual machines that serve either in a
Web role and a Worker role ?
Answer:- Compute
(44)Which of the following element is a non-relational storage system for large-scale storage ?
Answer:- Storage
(45)Azure Storage plays the same role in Azure that ______ plays in Amazon Web Services.
Answer:- S3
(50)A _________ role is a virtual machine instance running Microsoft IIS Web server that can accept and
respond to HTTP or HTTPS requests.
Answer:- Web
(51)Which of the following element allows you to create and manage virtual machines that serve either in a
Web role and a Worker role ?
Answer:- Compute
(52) Which of the following element is a non-relational storage system for large-scale storage ?
Answer:- Storage
(53)Azure Storage plays the same role in Azure that ______ plays in Amazon Web Services.
Answer:- S3