0% found this document useful (0 votes)
11 views

Unit 2 Part 2

Uploaded by

Harsh Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Unit 2 Part 2

Uploaded by

Harsh Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

PARULINSTITUTEOF ENGINEERING &TECHNOLOGY

FACULTY OF ENGINEERING & TECHNOLOGY


PARULUNIVERSITY

Subject: Azure Fundamentals


Unit 2 : Familiarity with the various Azure services
Computer Science & Engineering
Mr. Mukesh Birla (Assistant Prof. PIET-CSE)
Outline
• Familiarity with the various Azure services and their common
use cases
• Azure Virtual Machines
• Azure App Services
• Azure Storage
• Azure Functions
• Azure SQL Database
Azure Virtual Machines

Azure Virtual Machines
Demo: Create a Windows/Linux VM in Azure and confirm access to the VM,
Deploy sample website:

Step by step instructions:


Create a Windows VM in Azure Portal : https://learn.microsoft.com/en-
us/azure/virtual-machines/windows/quick-create-portal

Create a Linux VM in Azure Portal : https://learn.microsoft.com/en-


us/azure/virtual-machines/linux/quick-create-portal?tabs=ubuntu

https://www.youtube.com/watch?v=OCiN37sjXuw
https://learn.microsoft.com/en-us/azure/virtual-machines/windows/tutorial-manage-
vm#create-a-vm
How to Create a Virtual Machine in Azure
Demo: Create a Windows/Linux VM in Azure and confirm access to the VM,
Deploy sample website:

Step by step instructions:


Create a Windows VM in Azure Portal : https://learn.microsoft.com/en-
us/azure/virtual-machines/windows/quick-create-portal

Create a Linux VM in Azure Portal : https://learn.microsoft.com/en-


us/azure/virtual-machines/linux/quick-create-portal?tabs=ubuntu

https://www.youtube.com/watch?v=OCiN37sjXuw
https://learn.microsoft.com/en-us/azure/virtual-machines/windows/tutorial-manage-
vm#create-a-vm
How to Create a Virtual Machine in Azure
Creating a virtual machine (VM) in groups" from the left-hand menu.
Microsoft Azure is a straightforward 2.Click "Create".
process. Here is a step-by-step guide to 3.Fill in the details:
help you set up a VM using the Azure 1. Subscription: Choose your
portal: subscription.
2. Resource group: Enter a name
Step 1: Sign in to Azure Portal for your resource group.
1.Go to the Azure Portal. 3. Region: Select the region where
2.Sign in with your Azure account you want to deploy your resources.
credentials. 4. Click "Review + create" and then
"Create".
Step 2: Create a Resource Group
1.In the Azure portal, select "Resource
How to Create a Virtual Machine in Azure
Step 3: Create a Virtual Machine 5. Availability options: Choose an
1.In the Azure portal, select "Virtual availability set or zone if needed.
machines" from the left-hand menu. 6. Image: Select the OS image (e.g.,
2.Click "Create" and then "Azure virtual Windows Server, Ubuntu).
machine". 7. Size: Choose the VM size based
3.Fill in the details in the "Basics" tab: on your requirements.
1. Subscription: Choose your 8. Administrator account: Enter a
subscription. username and password or use
2. Resource group: Select the SSH public key for Linux VMs.
resource group you created.
3. Virtual machine name: Enter a
name for your VM.
4. Region: Select the region.
How to Create a Virtual Machine in Azure
Step 3: Create a Virtual Machine 5. Availability options: Choose an
1.In the Azure portal, select "Virtual availability set or zone if needed.
machines" from the left-hand menu. 6. Image: Select the OS image (e.g.,
2.Click "Create" and then "Azure virtual Windows Server, Ubuntu).
machine". 7. Size: Choose the VM size based
3.Fill in the details in the "Basics" tab: on your requirements.
1. Subscription: Choose your 8. Administrator account: Enter a
subscription. username and password or use
2. Resource group: Select the SSH public key for Linux VMs.
resource group you created.
3. Virtual machine name: Enter a
name for your VM.
4. Region: Select the region.
How to Create a Virtual Machine in Azure
Step 3: Create a Virtual Machine 5. Availability options: Choose an
1.In the Azure portal, select "Virtual availability set or zone if needed.
machines" from the left-hand menu. 6. Image: Select the OS image (e.g.,
2.Click "Create" and then "Azure virtual Windows Server, Ubuntu).
machine". 7. Size: Choose the VM size based
3.Fill in the details in the "Basics" tab: on your requirements.
1. Subscription: Choose your 8. Administrator account: Enter a
subscription. username and password or use
2. Resource group: Select the SSH public key for Linux VMs.
resource group you created.
3. Virtual machine name: Enter a
name for your VM.
4. Region: Select the region.
How to Create a Virtual Machine in Azure
Creating a virtual machine (VM) in groups" from the left-hand menu.
Microsoft Azure is a straightforward 2.Click "Create".
process. Here is a step-by-step guide to 3.Fill in the details:
help you set up a VM using the Azure a. Subscription: Choose your
portal: subscription.
b. Resource group: Enter a name
Step 1: Sign in to Azure Portal for your resource group.
1.Go to the Azure Portal. c. Region: Select the region where
2.Sign in with your Azure account you want to deploy your
credentials. resources.
d. Click "Review + create" and then
Step 2: Create a Resource Group "Create".
1.In the Azure portal, select "Resource
How to Create a Virtual Machine in Azure
 Click "Next: Disks" to configure disk  Public IP: Select "Create new" to assign a
options: public IP address.
 OS disk type: Choose the type of disk  NIC network security group: Choose
(Standard SSD, Premium SSD, etc.). basic or advanced security options.
 Data disks: Add additional disks if  Click "Next: Management" to configure
needed. management options:
 Click "Next: Networking" to configure  Boot diagnostics: Enable or disable.
network settings:  OS guest diagnostics: Enable if required.
 Virtual network: Select an existing
virtual network or create a new one.  Auto-shutdown: Configure if needed.

 Subnet: Choose a subnet within the virtual


network.
How to Create a Virtual Machine in Azure
1.Click "Next: Monitoring" to configure Step 4: Connect to Your Virtual
monitoring options: Machine
1. Enable Azure Monitor: Choose to 1.Once the deployment is complete, go to
enable monitoring. the "Virtual machines" section in the Azure
2. Enable backup: Choose to enable portal.
backup if required. 2.Select your VM from the list.
2.Click "Next: Advanced" to configure 3.Click "Connect" at the top of the VM's
advanced options if needed. overview page.
3.Click "Next: Tags" to add tags for 4.Choose your preferred connection
resource management. method (RDP for Windows, SSH for
4.Click "Review + create" to review your Linux).
configuration. 5.Follow the instructions to connect to
5.Click "Create" to start the deployment of your VM using the credentials you
your VM. provided during setup.
Azure Virtual Machines
Scale VMs in Azure
You can run single VMs for testing, development, or minor tasks. Or you can group VMs
together to provide high availability, scalability, and redundancy. Azure can also manage the
grouping of VMs for you with features such as scale sets and availability sets.

Virtual machine scale sets

 Virtual machine scale sets let you create and manage a group of identical, load-balanced
VMs

 Scale sets allow you to centrally manage, configure, and update a large number of VMs in
minutes

 The number of VM instances can automatically increase or decrease in response to


demand, or you can set it to scale based on a defined schedule

 Virtual machine scale sets also automatically deploy a load balancer to make sure that your
resources are being used efficiently. With virtual machine scale sets, you can build large-
scale services for areas such as compute, big data, and container workloads.
Azure Virtual Machines
 Virtual machine availability sets Availability sets are designed to ensure that
VMs stagger updates and have varied power and network connectivity,
preventing you from losing all your VMs with a single network or power failure.
Availability sets groups VMs in two ways: update domain and fault domain.

 Update domain: The update domain groups VMs that can be rebooted at the
same time. This allows you to apply updates while knowing that only one update
domain grouping will be offline at a time. All of the machines in one update
domain will be updated.

 Fault domain: The fault domain can be considered as a rack which has common
power source and network switch. By default, an availability set will split your
VMs across up to three fault domains. This helps protect against a physical
power or networking failure by having VMs in different fault domains (thus being
connected to different power and networking resources).
Cloud Concepts

Thank You!!!
www.paruluniversi
ty.ac.in

You might also like