Az900 Azure Fundamental
Az900 Azure Fundamental
Az900 Azure Fundamental
Learning Objectives
After completing this module, you will be able to:
Understand key terms you will encounter when working with cloud
services.
https://training.azure-academy.com/courses/course-v1:FP+AZ-900+2019_T1/courseware/c2df5c21-
cfce-e32d-b792-25e628f1045f/cb86f40d-12fd-f373-7591-27c20d7962e7/?child=first
High availability. The ability to keep services up and running for long
periods of time, with very little downtime, depending on the service in
question.
Scalability. The ability to increase or decrease resources for any given
workload. You can add additional resources to service a workload
(known as scaling out), or add additional capabilities to manage an
increase in demand to the existing resource (known as scaling up).
Scalability doesn't have to be done automatically
Elasticity. The ability to automatically or dynamically increase or
decrease resources as needed. Elastic resources match the current
needs, and resources are added or removed automatically to meet
future needs when it’s needed, and from the most advantageous
geographic location. A distinction between scalability and elasticity is
that elasticity is done automatically
Agility. The ability to react quickly. Cloud services can allocate and
deallocate resources quickly. They are provided on-demand via self-
service, so vast amounts of computing resources can be provisioned in
minutes. There is no manual intervention in provisioning or
deprovisioning services.
Fault tolerance. The ability to remain up and running even in the event
of a component or service no longer functioning. Typically, redundancy
is built into cloud services architecture so if one component fails, a
backup component takes its place. The type of service is said to be
tolerant of faults.
Disaster recovery. The ability to recover from an event which has
taken down a cloud service. Cloud services disaster recovery can
happen very quickly with automation and services being readily
available to use.
Global reach. The ability reach audiences around the globe. Cloud
services can have presence in various regions across the globe which
you can access, giving you a presence in those regions even though
you may not have any infrastructure in that region.
Customer latency capabilities. If customers are experiencing slowness
with a particular cloud service, they are said to be experiencing some
latency. Even though modern fiber optics are fast, it can still take time
for services to react to customer actions if the service is not local to
the customer. Cloud services have the ability deploy resources in
datacenters around the globe, thus addressing customer latency
issues.
Predictive cost considerations. The ability for users to predict what
costs they will incur for a particular cloud service. Costs for individual
services are made available, and tools are provided to allow you
predict what costs a service will incur. You can also perform analysis
based on future growth.
Technical skill requirements and considerations. Cloud services can
provide and manage hardware and software for workloads. Therefore,
getting a workload up and running with cloud services demands less
technical resources than having IT teams build and maintain physical
infrastructure for handling the same workload. A user can be expert in
the application they want to run without having to need skills to build
and maintain the underlying hardware and software infrastructure.
Increased productivity. On-site datacenters typically require a lot of
hardware setup (otherwise known as racking and stacking), software
patching, and other time-consuming IT management chores. Cloud
computing eliminates the need for many of these tasks, so IT teams
can spend time on achieving more important business goals.
Security. Cloud providers offer a broad set of policies, technologies,
controls, and expert technology skills that can provide better security
than most organizations can otherwise achieve. The result is
strengthened security, which helps to protect data, apps, and
infrastructure from potential threats.
Note: You can read more conceptual detail about cloud computing on
the page What is cloud computing? and there is also a term reference guide
available on the page Cloud computing Terms, which may be of some use.
Economies of scale
The concept of economies of scale is the ability to do things more
cheaply and more efficiently when operating at a larger scale in
comparison to operating at a smaller scale.
Cloud providers such as Microsoft, Google, and AWS are very large
businesses, and are able to leverage the benefits of economies of
scale, and then pass those benefits on to their customers.
Storage costs, for example, have decreased significantly over the last
decade due in part to cloud providers' ability to purchase larger
amounts of storage at significant discounts. They are then able to use
that storage more efficiently, and pass on those benefits to end users
in the form of lower prices.
There are limits to the benefits large organizations can realize through
economies of scale. A product will inevitably have an underlying core
cost, as it becomes more of a commodity, based on what it costs to
produce . Competition is also another factor which has an effect on
costs of cloud services.
A business can still use the CapEx expenditure strategy if they wish,
but it is no longer a requirement that they do so.
Consumption-based model
Cloud service providers operate on a consumption-based model,
which means that end users only pay for the resources that they use.
Whatever they use is what they pay for.
No upfront costs
The ability to pay for additional resources if and when they are needed
The ability to stop paying for resources that are no longer needed
https://training.azure-academy.com/courses/course-v1:FP+AZ-900+2019_T1/courseware/
c2df5c21-cfce-e32d-b792-25e628f1045f/41433040-5fa8-82a1-52fd-a11a6a05950c/?child=first
Public cloud
A public cloud is owned by the cloud services provider (also known as
a hosting provider). It provides resources and services to multiple
organizations and users, who connect to the cloud service via a secure
network connection, typically over the internet.
Multiple End Users. Public cloud modes may make their resources
available to multiple organizations.
Private cloud
A private cloud is owned and operated by the organization that uses
the resources from that cloud. They create a cloud environment in
their own datacenter, and provide self-service access to compute
resources to users within their organization. The organization remains
the owner, entirely responsible for the operation of the services they
provide.
Ownership. The owner and user of the cloud services are the same.
Users. A private cloud operates only within one organization and cloud
computing resources are used exclusively by a single business or
organization.
Skills. Technical skills are still required to maintain the private cloud
and ensure both cloud models can operate together.
Note: You can read more about Microsoft Azure Hybrid cloud options
from the page The only consistent and comprehensive hybrid cloud
https://training.azure-academy.com/courses/course-v1:FP+AZ-900+2019_T1/courseware/
c2df5c21-cfce-e32d-b792-25e628f1045f/41433040-5fa8-82a1-52fd-a11a6a05950c/?child=first
Public cloud
Advantages:
o No CapEx. You don’t have to buy a new server in order to scale.
o Consumption-based model. Organizations pay only for what they use, and
operate under an OpEx model.
o Skills. No deep technical skills are required to deploy, use, and gain the
benefits of a public cloud. Organizations can leverage the skills and
expertise of the cloud provider to ensure workloads are secure, safe, and
highly available.
Disadvantages:
o Security. There may be specific security requirements that cannot be met by
using public cloud.
Private cloud
Advantages:
o Control. Organizations have complete control over the resources.
Disadvantages:
o Upfront CapEx. Hardware must be purchased for start-up and maintenance.
o Agility. Private clouds are not as agile as public clouds, because you need to
purchase and set up all the underlying infrastructure before they can be
leveraged.
o Skills. Private clouds requires in-house IT skills and expertise that may be
hard to get or be costly.
Hybrid cloud
Advantages:
o Flexibility. The most flexible scenario; with a hybrid cloud setup, an
organization can decide to run their applications either in a private cloud or
in a public cloud.
o Control. Organizations can still access resources over which they have total
control.
o Security. Organizations can still access resources for which they are
responsible for security.
Disadvantages:
o Upfront CapEx. Upfront CapEx is still required before organizations can
leverage a private cloud.
o Skills. Deep technical skills are still required to be able to set up a private
cloud.
https://training.azure-academy.com/courses/course-v1:FP+AZ-900+2019_T1/courseware/
c2df5c21-cfce-e32d-b792-25e628f1045f/c52f4a1e-ab4a-7199-f386-73b95ee29ad0/?child=first
Infrastructure as a service (IaaS)
IaaS is the most basic category of cloud computing services. With
IaaS, you rent IT infrastructure servers and virtual machines (VMs),
storage, networks, and operating systems from a cloud provider on a
pay-as-you-go basis. It's an instant computing infrastructure,
provisioned and managed over the internet.
Upfront costs. IaaS has no upfront costs. Users pay only for what they
consume.
Cloud provider ownership. The cloud provider is responsible for ensuring that
the underlying cloud infrastructure (such as virtual machines, storage and
networking) is available for the user.
Note: For more information on IaaS see the page What is IaaS?
Upfront costs. There are no upfront costs, and users pay only for what they
consume.
User ownership. The user is responsible for the development of their own
applications. However, they are not responsible for managing the server or
infrastructure. This allows the user to focus on the application or workload
they want to run.
Upfront costs. Users have no upfront costs; they pay a subscription, typically
on a monthly or annual basis.
User ownership. Users just use the application software; they are not
responsible for any maintenance or management of that software.
Cloud provider ownership. The cloud provider is responsible for the provision,
management, and maintenance of the application software.
Note: For more information on SaaS see the page What is SaaS?
Cloud service comparison
There are both advantages and disadvantages for IaaS, PaaS, and
SaaS cloud services.
IaaS
Infrastructure as a Service is the most flexible category of cloud
services. It aims to give you complete control over the hardware that
runs your application. Instead of buying hardware, with IaaS, you rent
it.
Advantages:
o No CapEx. Users have no upfront costs.
o Consumption-based model. Organizations pay only for what they use, and
operate under an OpEx model.
o Skills. No deep technical skills are required to deploy, use, and gain the
benefits of a public cloud. Organizations can leverage the skills and
expertise of the cloud provider to ensure workloads are secure, safe, and
highly available.
o Cloud benefits. Organizations can leverage the skills and expertise of the
cloud provider to ensure workloads are made secure and highly available.
o Flexibility: IaaS is the most flexible cloud service as you have control to
configure and manage the hardware running your application.
Disadvantages:
o Management. The shared responsibility model applies; the user manages and
maintains the services they have provisioned, and the cloud provider
manages and maintains the cloud infrastructure.
PaaS
PaaS provides the same benefits and considerations as IaaS, but there
some additional benefits.
Advantages:
o No CapEx. Users have no upfront costs.
o Agility. PaaS is more agile than IaaS, and users do not need to configure
servers for running applications.
o Consumption-based model. Users pay only for what they use, and operate on
an OpEx model.
o Skills. No deep technical skills are required to deploy, use, and gain the
benefits of PaaS.
o Cloud benefits. Users can leverage the skills and expertise of the cloud
provider to ensure their workloads are made secure and highly available. In
addition, users can gain access to more cutting-edge development tools and
toolsets. They then can apply these tools and toolsets across an
application's lifecycle.
Disadvantages:
o Platform limitations. There may be some limitations to a particular cloud
platform that could affect how an application runs. Any limitations should be
taken into consideration when considering which PaaS platform is best
suited for a particular workload.
SaaS
SaaS is software that is centrally hosted and managed for the end
customer. It is usually based on an architecture where one version of
the application is used for all customers, and licensed through a
monthly or annual subscription
SaaS provides the same benefits as IaaS, but again there some
additional benefits.
Advantages:
o No CapEx. Users don’t have any upfront costs.
o Agility. Users can provide staff with access to the latest software quickly
and easily.
o Pay-as-you-go pricing model: Users pay for the software they use on a
subscription model, typically monthly or yearly, regardless of how much they
use the software.
o Flexibililty. Users can access the same application data from anywhere.
Disadvantages
o Software limitations. There may be some limitations to a particular software
application that might affect how users work. Any limitations should be
taken into consideration when considering which PaaS platform is best
suited for a particular workload.
Summary
IaaS, PaaS, and SaaS each contain different levels of managed
services. You may easily use a combination of these types of
infrastructure. You could use Office 365 on your company’s computers
(SaaS), and in Azure you could host your VMs (IaaS) and use Azure SQL
Database (PaaS) to store your data. With the cloud’s flexibility, you can
use any combination that provides you with the maximum result.
Management responsibilities
The following list of cloud service types describes the management
responsibilities for the user and the cloud provider as compared to on-
premises systems:
IaaS requires the most user management of all the cloud services. The
user is responsible for managing the operating systems, data, and
applications.
PaaS requires less user management. The cloud provider manages the
operating systems, and the user is responsible for the applications and
data they run and store.
Review Question 1
What terms from the list below would be viewed as benefits of using
cloud services?
Elasticity
Un-predictable costs
Economies of scale
Review Question 2
When looking at using a cloud service, what expenditure type are cloud
services based on?
Friendly expenditure
Maximum expense
Review Question 3
0.0/1.0 point (ungraded)
Review Question 4
0.0/1.0 point (ungraded)
(choose two)
Which cloud models provide services that can be accessed by the public?
Public
Private
Hybrid
Global
Review Question 5
0.0/1.0 point (ungraded)
Which cloud model provides the greatest degree of ownership and control?
Public
Private
Hybrid
Review Question 6
0.0/1.0 point (ungraded)
Public
Private
Hybrid
Explanation
Hybrid cloud model provides the greatest degree of flexibility, as you
have the option to choose either public or private depending on your
requirements.
Public cloud means you will not have full ownership over all aspects of
the service.
Private cloud means there is upfront costs associated with creating,
managing and maintaining your private cloud.
Review Question 7
0.0/1.0 point (ungraded)
You are running a virtual machine in a public cloud using IaaS. Which model
correctly reflects how that resource is managed?
Review Question 8
0.0/1.0 point (ungraded)
You have two types of applications which you need to run: legacy
applications that require specialized mainframe hardware and newer
applications that can run on commodity hardware. Which cloud deployment
model would be best for you?"
Public cloud
Private cloud
Hybrid cloud
On-Premises
Explanation
Hybrid cloud is the correct answer.
A hybrid cloud is a public and private cloud combined. You can run
your new applications on commodity hardware you rent from the
public cloud and maintain your specialized mainframe hardware on-
premises
Module 1 summary
In this module you've learned about cloud computing, what it is and
what its key characteristics are. You learned about the different types
of cloud models that are available and the considerations of using
those different models. You also learned about the different cloud
services available, the benefits of using the different types, and the
management responsibilities under each service type.
Learning objectives
After completing this module, you will be able to:
https://training.azure-academy.com/courses/course-v1:FP+AZ-900+2019_T1/courseware/
881ee5c0-b525-fe76-210c-7c479b6db568/21b33c86-c7aa-54aa-ea37-7fcf946e8af0/?child=first
Regions
Microsoft Azure is made up of datacenters located around the globe.
These datacenters are organized and made available to end users by
region.
For most Azure services, when you deploy a resource in Azure, you
choose the region where you want your resource to be deployed. A few
examples of regions are West US, Canada Central, West
Europe, Australia East, and Japan West.
Azure has more global regions than any other cloud provider. This
provides customers the flexibility and scale needed to bring
applications closer to users around the world, preserving data
residency and offering comprehensive compliance and resiliency
options for customer. At the time of writing this, Azure is generally
available in 42 regions around the world, with plans announced for 12
additional regions.
Note: A list of regions and their locations is available on the page Azure
Regions
US DoD Central, US Gov Virginia, US Gov Iowa and more: These are
physical and logical network-isolated instances of Azure for US
government agencies and partners. They are operated by screened US
persons. Includes additional compliance certifications.
China East, China North and more: These regions are available
through a unique partnership between Microsoft and 21Vianet,
whereby Microsoft does not directly maintain the datacenters.
Germany Central and Germany Northeast: These regions are available
through a data trustee model whereby customer data remains in
Germany under control of T-Systems, a Deutsche Telekom company,
acting as the German data trustee. Any user or enterprise who needs
their data to reside in Germany can use this service.
Region pairs
Each Azure region is paired with another region within the same
geography (such as US, Europe, or Asia). This approach allows for the
replication of resources (such as virtual machine storage) across a
geography that helps reduce the likelihood of interruptions due to
events such as natural disasters, civil unrest, power outages, or
physical network outages affecting both regions at once. Additional
advantages of region pairs include:
In the event of a wider Azure outage, one region out of every pair is
prioritized to help reduce the time it takes to restore them for
applications.
Planned Azure updates are rolled out to paired regions one region at a
time to minimize downtime and risk of application outage.
Data continues to reside within the same geography as its pair (except
for Brazil South) for tax and law enforcement jurisdiction purposes.
Examples of region pairs would be West US paired with East US, and
SouthEast Asia paired with East Asia.
Feature availability
Finally, some services or virtual machine features are only available in
certain regions, such as specific virtual machine sizes or storage
types. There are also some global Azure services that do not require
you to select a particular region, such as Microsoft Azure Active
Directory, Microsoft Azure Traffic Manager, or Azure DNS.
https://training.azure-academy.com/courses/course-v1:FP+AZ-900+2019_T1/courseware/
881ee5c0-b525-fe76-210c-7c479b6db568/21b33c86-c7aa-54aa-ea37-7fcf946e8af0/?child=first
Geographies
A geography is a discrete market typically containing two or more
regions that preserves data residency and compliance boundaries.
https://training.azure-academy.com/courses/course-v1:FP+AZ-900+2019_T1/courseware/
881ee5c0-b525-fe76-210c-7c479b6db568/21b33c86-c7aa-54aa-ea37-7fcf946e8af0/?child=first
Availability Zones
Availability zones are physically separate locations within an Azure
region. Each availability zone is made up of one or more datacenters
equipped with independent power, cooling, and networking. It is set up
to be an isolation boundary. If one availability zone goes down, the
other continues working. The availability zones are typically
connected to each other through very fast, private fiber-optic
networks.
https://training.azure-academy.com/courses/course-v1:FP+AZ-900+2019_T1/courseware/
881ee5c0-b525-fe76-210c-7c479b6db568/21b33c86-c7aa-54aa-ea37-7fcf946e8af0/?child=first
Availability sets
Availability sets are a way for you to ensure your application remains
online if a high-impact maintenance event is required, or a hardware a
failure occurs. Availability sets are made up of update domains and
fault domains.
Resource groups
A resource group is a unit of management for your resources in
Azure. You can think of your resource group as a container that allows
you to aggregate and manage all the resources required for your
application in a single manageable unit. This allows you to manage the
application collectively over its life cycle, rather than manage
components individually.
You can manage and apply the following resources at resource group
level:
Policies
Quotas
Access control
Remember that when you delete a resource group you delete all
resources contained within it.
Considerations
When creating and placing resources within resource groups there are
a few considerations to take into account:
Each resource must exist in one, and only one, resource group.
A resource group can contain resources that reside in different
regions.
You decide how you want to allocate resources to resource groups
based on what makes the most sense for your organization.
You can add or remove a resource to a resource group at any time.
You can move a resource from one resource group to another.
Resources for an application do not need to exist in the same resource
group. However, it is recommended that you keep them in the same
resource group for ease of management.
https://training.azure-academy.com/courses/course-v1:FP+AZ-900+2019_T1/courseware/
881ee5c0-b525-fe76-210c-7c479b6db568/21b33c86-c7aa-54aa-ea37-7fcf946e8af0/?child=first
Azure Resource Manager
Azure Resource Manager is a management layer in which resource
groups and all the resources within it are created, configured,
managed, and deleted. It provides a consistent management layer
which allows you automate the deployment and configuration of
resources using different automation and scripting tools, such as
Microsoft Azure PowerShell, Azure Command-Line Interface (Azure
CLI), Azure portal, REST API, and client SDKs.
Deploy Application resources. Update, manage, and delete all the resources
for your solution in a single, coordinated operation.
Note: See the page Azure Resource Manager for more details.
https://training.azure-academy.com/courses/course-v1:FP+AZ-900+2019_T1/courseware/
881ee5c0-b525-fe76-210c-7c479b6db568/067035b1-214a-8172-2c4d-7135e6a5ba75/?
child=first
There are two common service types for performing compute in Azure:
virtual machines, and containers.
Azure also has many services that can run virtual machines, each
providing different options depending on your requirements. Some of
the most prominent services are VM Scale Sets, App Services, and
Azure Functions.
Azure VMs
Azure VMs lets you create and use virtual machines in the cloud. It
provides infrastructure as a service (IaaS) and can be used in a variety
of different ways. When you need total control over an operating
system and environment, Azure VMs are an ideal choice. Just like a
physical computer, you're able to customize all of the software running
on the VM. This is particularly helpful when you are running custom
software or custom hosting configurations. See Virtual Machines for more
details.
VM scale sets
Virtual machine scale sets are an Azure compute resource that you
can use to deploy and manage a set of identical VMs. With all VMs
configured the same, VM scale sets are designed to support true auto-
scale—no pre-provisioning of VMs is required—and as such makes it
easier to build large-scale services targeting big compute, big data,
and containerized workloads. So, as demand goes up more virtual
machine instances can be added, and as demand goes down virtual
machines instances can be removed. The process can be manual,
automated, or a combination of both. See Virtual Machine Scale Sets for
more details.
App services
With App services, you can quickly build, deploy, and scale enterprise-
grade web, mobile, and API apps running on any platform. You can
meet rigorous performance, scalability, security and compliance
requirements while using a fully managed platform to perform
infrastructure maintenance. App Services is a platform as a service
(PaaS) offering. See App Service for more details.
Functions
When you're concerned only about the code running your service and
not the underlying platform or infrastructure, Azure Functions are
ideal. They're commonly used when you need to perform work in
response to an event (often via a REST request), timer, or message
from another Azure service, and when that work can be completed
quickly, within seconds or less. See Functions for more details.
Azure Container Instances offers the fastest and simplest way to run a
container in Azure without having to manage any virtual machines or
adopt any additional services. It is a PaaS offering that allows you to
upload your containers, which it will run for you. See Container
Instances for more details.
Note: For a full list of compute services available with Azure and the
context on when to use them, see Compute.
https://training.azure-academy.com/courses/course-v1:FP+AZ-900+2019_T1/courseware/
881ee5c0-b525-fe76-210c-7c479b6db568/067035b1-214a-8172-2c4d-7135e6a5ba75/?
child=first
To Create VM using Azure Portal
Prerequisites
You require need an Azure subscription to perform these steps. If you don't
have one you can create one by following the steps outlined on the Create your
Azure free account today webpage.
Steps
1. Sign in to the Azure portal at https://portal.azure.com
2. Choose Create a resource in the upper left-hand corner of the Azure
portal.
3. In the search box above the list of Azure Marketplace resources,
search for and select Windows Server 2016 Datacenter, then
choose Create.
4. In the Basics tab, under Project details, make sure the correct
subscription is selected and then choose to Create new resource
group. Type myResourceGroup for the name.
5. Under Instance details, type myVM for the Virtual machine name and
choose East US for your Location. Leave the other defaults.
10. Once Validation is passed click the Create button. It can take
approx three to five minutes to deploy the virtual machine.
11. Once the virtual machine is created, go to the resource group
you placed the virtual machine in, and open up the virtual machine,
then click the Connect button on the virtual machine properties page.
Note: The following directions tell you how to connect to your VM from
a Windows computer. On a Mac, you need an RDP client such as this
Remote Desktop Client from the Mac App Store and on Linux virtual
machine you could connect directly from a bash shell using ssh.
12. In the Connect to virtual machine page, keep the default options
to connect by DNS name over port 3389 and click Download RDP File.
13. Open the downloaded RDP file and click Connect when
prompted.
14. In the Windows Security window, select More choices and
then Use a different account. Type the username as localhost\
username, (you could also type .\azureuser) enter password you
created for the virtual machine, and then click OK.
15. You may receive a certificate warning during the sign-in process.
Click Yes or to create the connection and connect to your deployed
VM. You should connect successfully.
Congratulations! You have deployed and connected to a Windows
Server virtual machine in Azure
If you wish and have time you could also make the deployed server a
functioning web server and make a web page available publicly, by
continuing with the following steps
18. When completed you should see a prompt stating Success with a
value True, among other items in the output. You do not need to restart the
virtual machine to complete the installation. Close the RDP connection to the
VM.
19. Back in the portal, select the VM and in the overview pane of the VM,
use the Click to copy button to the right of the IP address to copy it and
paste it into a browser tab.
20. The default IIS Web Server welcome page will open, and is available to
connect to publicly via this IP address, or via the fully qualified domain name.
Congratulations! You have created a web server that can be
connected to publicly via this IP address, or via the fully qualified
domain name. If you had a web page to host you could deploy those
source files to the virtual machine and host them for public access on
the deployed virtual machine.
Note: Remember to delete the resources you have just deployed if you
are no longer using them to ensure you do not incur costs for running
resources. You can delete all deployed resources by deleting the
resource group in which they all reside.