Skip to main content
Azure - Change custom lookback period for Azure Advisor VM/VMSS right-sizing recommendations

#cloud #azure

Hi All!

Azure Advisor advises/recommeds us to optimize our cloud resources in various places like scaling, security, sizing, performace, cost etc.,

Now azure releases a new feature that changing lookback period for azure VM/VMSS to get right sizing.

Let's consider a scenario that a company is running business and it has some workloads in either azure VM or VMSS. Some of the times VM's usage like CPU or memory is high. Due to this, application performace may be slower adnd user feels some bad experience. Company asks its azure admin to investigate it and when he/she viewd at azure advisor first, it recommends some solution based on last 7 days usage of VM.

Here, Company needs the VM usage details biweekly or in someother pattern, not with the default 7 days.

Here the new custom lookback period helps to achieve what the company wants. By this feature, we can change the custome lookback period to 14, 21,30, 60, or even for 90 days also. So that, If we set lookback period for 14 days, Organization/admin now can see and get recommendations based on 14 days VM/VMSS usage.

Note: This setup can be applied only at subscription level.

Let's see how/where to set or change the lookback period.

  1. Go to Cost management
  2. Click Manage Subscription
  3. Click Advisor settings
  4. Switch to VM/VMSS right sizing tab
  5. Select the subscription
  6. Click Edit
  7. Finally you can see the values at drop down in Look back period

Hope this tip will be helpful to you.

Comments

Popular posts from this blog

View powershell history and invoke Hi All! When you do administration activities, you may need to work around with multiple commands in powershell. It is bit difficul to remember all the commands we tried because some of them may be fetched from internet. Consider you tried more than 100 commands in current powershell session and may require to try the same large command. One of the way is you can press up arrow many times to see the previously tried command. we have another easy way is to see the history and invoke it by using its order number instead of whole command typing. Please look into the below example
Wow! Monitor web apps running in azure VM and VMSS via app insights Hi All! Application insights monitors the telemetry of web applications, function app, APIM and etc., Consider a scenario that your organization has some web applications hosted in IIS of an azure VM and they want to monitor performance of those applications. Azure VM was not the eligible candidate to map with Application insights then how can we monitor app(s) running inside azure VM? Now azure offers the feature of monitoring azure vm's web applications through application insights generally available. Please follow the below steps and have a look into the picture You need to have a connection string of an existing application insights. If have, copy it. Go to the VM which has web apps running in IIS Click "Extension+applications" and then click Add Find Application insights agent for .NET and click next Paste the copied connection string of app insights and click Review+Cre...
While loop with head and tail in linux Hi All! In today's post we're going to see/refresh about while loop with head and tail in bash. head - Read the first top 'n' lines. Example: head -n 5 reads first 5 lines from a file or input. tail - Read the last 'n' lines. Example: tail -n 5 reads last 5 lines from a file or input. Please look into the below image we have a txt file called file1.txt which has 3 lines of text and we read using head and tail as above.