For collecting in daily basis the Azure usage data, we have implemented the Azure Usage Update service. For getting Microsoft's rates we have implemented the Azure RateCard service. Both services are deployed during installation in the following locations:
Azure Usage Update Service | |
Default Location | C:\Program Files (x86)\Interworks\Cloud360.Setup.AzureUsagesUpdateController |
Configuration File | Cloud360.Services.AzureUsagesUpdate.exe.config |
Azure RateCard Service It is responsible for getting Microsoft rates for the Azure resouces | |
Default Location | C:\Program Files (x86)\Interworks\Cloud360.Setup.AzureRateCard\ |
Configuration File | Cloud360.Services.AzureRateCard.exe.config |
Both configuration files have the appSettings section for setting how often the corrspondent service will run.
<appSettings>
<add key="StartHour" value="10" />
<add key="StartTime" value="00" />
<add key="Interval" value="12" />
<!--the Interval is in hours–>
......
</appSettings>
For example, how often the "Azure Usage Update" service will run for collecting the usage data, depends on Interval parameter and the start time as defined from the parameters StartHour and StartTime.
In the above paradigm the service will run twice the day at 10:00 and 22:00 o'clock. If we want the service to run more often, you need to decrease the interval. If for example the Interval was every 6 hours, the service would run 10:00, 16:00, 22:00 and 04:00 o'clock.