Friday, 1 May 2015

Setting VM Time Zone in Azure

People might have deployed most of the VM’s in Microsoft Azure but did anybody have ever noticed what Time Zone their VM’s belongs to ?

By default every VM’s deployed in Microsoft Azure holds the Time Zone as (UTC) Coordinated Universal Time as depicted below:



Time Zone plays an important role with respect to kind of application and/or services deployed within an infrastructure so to provide consistent synchronous between application and/or services. For example Active Directory, MS SQL etc.

Though we can change the Time Zone after deploying the VM’s but many of time people forget to do so and in future it leads to an additional time investment in troubleshooting which is caused due to Time Zone mismatch.

So here in Microsoft Azure, we can mention the Time Zone while creating VM’s through PowerShell using the following syntax:

Add-AzureProvisioningConfig –TimeZone "Time Zone Name" [Other parameters]

Example: Add-AzureProvisioningConfig –TimeZone "India Standard Time" [Other parameters]


To know more about creating VM's through PowerShell, you can refer to below mentioned link:

http://squons.blogspot.in/2015/03/creating-vm-through-powershell-part-i.html

http://squons.blogspot.in/2015/03/creating-vm-through-powershell-part-ii.html



After creating the VM, you can verify the VM that on which Time Zone it belongs to as depicted below screenshot:




No comments:

Post a Comment