Showing posts with label AzureVM. Show all posts
Showing posts with label AzureVM. Show all posts

Friday, February 12, 2021

How to configure Static Private and Public IP Addresses on Azure.

In this post let us have a quick look at how to configure private and public IP addresses as static.


Setting Static Private IP Address:

As we know in Azure it is the network interface card associated with the VMs that get IP addresses, the default dynamic IPs can be changed to static.

As shown in the below image navigate to the networking section of the virtual machine to identify the network interface card(s) associated and move to network interface card settings by selecting the network interface card.



Select IP Configurations option to see the private IPs as highlighted below.


Select the IP configuration, in this case, ipconfig1 to see the below screen where you can change private IP to static as shown in the below images.



If required change the private IP address that is currently assigned and click the Save option to save the settings 

Once the settings are updated you see the private IP address shown as Static




















Setting Static Public IP Address:

Like private IPs, we can set the dynamic(default) public IPs addresses assigned to the network interface to static on the Public IP address (which is a seperate resouce associated to network interface card of the VM)

As shown in the below image to change the assignment state to static select the Public IP address assigned to the VM.












Change the assignment from dynamic to static




Save the settings and reboot the server that is associated with the public IP to reflect the changes.

Tuesday, April 28, 2020

AZ-104 Azure VM Disk Addition and Extensions

Below video talks about how to add a new disk to an Azure Windows virtual machine and extension of existing volume by adding additional space to the disk.


Monday, April 27, 2020

Azure Networking - Part 4 (Azure Virtual Network Peering)


In this article let us understand Virtual Network Peering (Vnet Peering).

We understood in our earlier articles that there is no communication between Virtual Networks in the same region or different regions/locations. What if there is a requirement to enable communication between Virtual Networks?









Azure provides us with two solutions.

  • Virtual Network Peering
  • VPN Gateway.

Monday, April 20, 2020

Azure Networking - Part 2 (Creation of Vnets and Subnets)

In our earlier article i.e., Part-1 of Azure Networking Series here we understood the basics of Azure Networking, VNETs , and Subnets to an extent. Let us look at how to create a VNets and Subnets.

Before we start deploying a Vnets and Subnets we need to make sure that we design our Vnets with a number of IPs required,  of course keeping future requirements in mind.

VNET creation requires the following information

1)Name of the VNET
2)Resource Group
3)Subscription
4)Location
5)IP Address Space in CIDR format.
6)Subnet(s) (During the creation of VNET you need to create at least one Subnet)

Friday, February 21, 2020

Windows Custom Image Creation in Azure


If you had already created a Virtual Machine in Azure, you might be aware that Azure Marketplace Images are used to deploy OS (Windows/Linux). What if you need custom Images (Templates in VMware World) with tools and applications that your Organization or Department use. 

Below are steps to create a Custom Image in Azure:
  1. Spin up Virtual Machine using Azure Market Place Image.
  2. Install all the latest patches and service packs (Most of the time it is up to date)
  3. Install all the required Applications and Application Patches.
  4. Harden the server.
  5. Run Sysprep with Generalized and Shutdown the machine.
  6. Convert prepared VM into an image by using the Capture option.
  7. Deploy VMS using the image created.

Saturday, November 9, 2019

Extend Azure VM's OS and Data Disks

Though we allocate an estimated/expected size of disk for both System Drive or Data drive, we do get into situations where we need to expand the disks. In this article let us look at how to expand disk on Windows Machine.

To expand/reduce a disk VM should be in Stopped(deallocated) state. 

When we provision a Windows machine on Azure the default size allocated to System Drive (C drive) is 127 GB. Azure not allow a reduction of system volume size below 127 GB. Below is the error you see when you try to reduce the System volume size below 127 GB.

Thursday, November 7, 2019

Adding New Disk to Azure VM


In the article let us look at Adding new Disk to a Windows Virtual Machine.

To add a new disk to Azure VM goto Home-->>Virtual Machines-->> VM1(Select the VM)-->> Disks. Select the option of Add data disk as shown in the below screenshot.

Add Disk Option with in the Virtual Machine.



Sunday, May 26, 2019

How to Create Virtual Machine in Azure


Here is the vedio that take us through Virtual Machine creation process in Azure using Azure portal.