Please find the link of my article here –
Please find the link of my article here –
Please find the link of my new article –
Please checkout the blog at below link –
In this blog we will discuss about how to check the details about Azure VM tiers and sizes.
Microsoft Azure has basically three tiers: Basic, Standard and Premium.
Difference between these two tiers are the features present in them for virtual machine like high availability, auto scale etc.
When we create the VM we need to select the size of VM from Basic or Standard tier as per the requirement of cores, memory, disk space etc… But when we create the VM using PowerShell we need to first check the options of sizes of virtual machine available.
To get the available sizes for Azure VM we need to write command –
It lists out all the sizes available to azure VM with detailed information like Cores, Memory etc. as shown in below image.
If we need to just check the name of instance sizes without need of detailed information we can write the command –
To check the detailed information about a specific VM size we just need to specify the name of instance size with command like –
Get-AzureRoleSize –InstanceSize Standard_G1
So, using these few cmdlets we can check the available VM sizes available before creating any virtual machine.
Hello friends, when we create any virtual machine using management portal we need to select the location for cloud service and azure portal shows us list of available locations.
We just select the location we want and move further to next steps.
We can also do this same using PowerShell and we need to check the locations available to us using azure cmdlet.
It will return a lot of information about Azure location like –
What Virtual Machine different sizes are available for a particular location?
What type of storage account types are available?
So we will have detailed information for every location because not all locations/regions have all the features available and its helps to find out which location is best for our purpose based on the available features.
To display the names of available location we need to write cmdlet –
(Get – AzureLocation).DisplayName
It will display all the available location to your subscription and you can select the location of your choice based on the features available.
So friends, this is how we get detail information about the locations available in Azure.
Hello friends, in this blog we will learn how to check whether a cloud service is available to use with virtual machine or not. Cloud service is basically how to access virtual machine using virtual IP address (VIP).
Cloud services can contain multiple virtual machine by creating cloud service first and then associate that public VIP to multiple virtual machine.
When we create cloud service using management portal it tells us that whether this cloud service is available or not. But when we do this using PowerShell we will not get such facility and we need to test it manually using some cmdlets to check whether this cloud service is available or not.
So, lets login to our azure account from PowerShell and check the current VM that we already have in our azure subscription.
Now, write the command to test whether cloud service “kkvm015093” is available or not.
Test-AzureName –Service “kkvm015093”
In the result it returns True which means this service is already taken or present.
But you can still create the virtual machine using this cloud service as we know that multiple VM can use the same cloud service.
If we write any service name that is not present it will return False.
To get the more information about an existing cloud service we will write command –
Get-AzureService –ServiceName “kkvm015093”
If you try to get the information of cloud service which had returned False it will throw an error, saying ‘The hosted service does not exist’.
So, we today we have learnt that how to check the cloud service availability using PowerShell.
Virtual IP (VIP) is a public IP address and created when a cloud service is created.
A VIP is a public IP address that can be used to access Virtual machine in Azure. All VM in same domain name share a single VIP. By using a reserved IP address, you can ensure that the virtual IP address for you Virtual Machine never changes.
Default behavior of VIP address works as:
~ VIP is lost or changed when virtual machine is stopped or deallocated.
~ VIP is lost or changed when cloud service is deleted.
In this blog, we will discuss that VIP gets changed or lost whenever we stop/deallocate the Virtual Machine (VM).
I have already created a VM with the default settings like cloud service, virtual network etc.
We can see the information about our VM below:
When we created a VM, a virtual IP address 220.127.116.11 gets assigned by azure itself, automatically.
We can also check the value of the virtual IP address through PowerShell commands:
The values are same as we saw in the portal.
Now, let’s stop the virtual machine and we will see that the virtual IP address gets changed whenever we restart the virtual machine.
So we can see the new value has been assigned as the Virtual IP.
We can also see the values of virtual ip address from the IP addressess section of the virtual machine.
So, we have learned about the behaviour of virtual ip address that its value is lost or change when we stop or de-allocate the virtual machine.
We can overcome from this behaviour by using reserved virtual ip address. We will learn more about it in upcoming blogs.
Have a nice learning!!