{"id":18991524,"url":"https://github.com/paullizer/azurecompute","last_synced_at":"2026-05-16T17:01:27.911Z","repository":{"id":161225732,"uuid":"390889452","full_name":"paullizer/azureCompute","owner":"paullizer","description":"Techniques, scripts, and workflows to manage Azure compute services.","archived":false,"fork":false,"pushed_at":"2022-10-05T18:59:54.000Z","size":2318,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T13:08:08.758Z","etag":null,"topics":["azure","compute"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paullizer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-30T01:05:16.000Z","updated_at":"2021-12-07T21:40:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"f4880a3f-f23b-449f-a057-724991efb8f9","html_url":"https://github.com/paullizer/azureCompute","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paullizer%2FazureCompute","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paullizer%2FazureCompute/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paullizer%2FazureCompute/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paullizer%2FazureCompute/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paullizer","download_url":"https://codeload.github.com/paullizer/azureCompute/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240002670,"owners_count":19732241,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","compute"],"created_at":"2024-11-08T17:14:09.689Z","updated_at":"2025-11-10T17:03:40.055Z","avatar_url":"https://github.com/paullizer.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Azure Compute\nProcesses to manage Azure Compute services.\n\n\n\n## Automated VM Vertical Scaling\n\nAzure Alerts combined with two Azure Automation Runbooks using Webhooks provides a capability to vertically scale Virtual Machines based on CPU thresholds over a given window using a custom VM size table.\n\nThere are methods to do each of these tasks on their own. You could use the built-in Alert runbook to Scale Up or Scale Down a VM; however, the system sizes use marketplace sizing which may exceed cost parameters defined by your project (or your wallet).\n\n#### Goal\n\nScale one or more monitored Virtual Machines up or down using a custom list of VM sizes.\n\n#### Requirements\n\n1. Azure Automation Account with Run As\n2. Azure Runbook\n3. Azure Virtual Machine(s)\n4. Azure Alert\n\n#### Resources\n\nThe following resources were consulted during the development of this capability.\n\n- https://www.petri.com/automatically-resize-azure-vm \n- https://www.apress.com/gp/blog/all-blog-posts/scale-up-azure-vms/15823864\n- https://blog.ctglobalservices.com/azure/jgs/azure-automation-using-webhooks-part-1-input-data/\n- https://docs.microsoft.com/en-us/azure/automation/automation-solution-vm-management-enable \n- https://docs.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-common-schema\n- https://docs.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-common-schema-definitions \n- https://docs.microsoft.com/en-us/azure/azure-monitor/alerts/action-groups-logic-app \n- https://docs.microsoft.com/en-us/azure/virtual-machines/windows/resize-vm#use-powershell-to-resize-a-vm-not-in-an-availability-set\n- https://devblogs.microsoft.com/scripting/find-the-index-number-of-a-value-in-a-powershell-array/\n  https://docs.microsoft.com/en-in/azure/automation/automation-webhooks\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaullizer%2Fazurecompute","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaullizer%2Fazurecompute","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaullizer%2Fazurecompute/lists"}