I’ve spent the last week hunting for a way to shutdown and start vms in azure. My first idea was to create a site that could be used by people on my team to start and stop the vms as needed. Following that line of logic I eventually found this site. It describes the government cloud endpoints by listing the public endpoints alongside them. Fortunately, I found this while writing this post; after I found the solution I ultimately went with. By not finding that mapping of endpoints I was forced to scour further for the answer to my problem. That solution lies here. With this I was able to quickly set up an automation that did most of what I wanted (the shutting down of the vms off hours) and it helped me realize that I didn’t need to worry about doing everything I had originally intended. There was never a need to go to a website to start up the vms as the entire team already has access. Turns out the better solution to my problem meant that I didn’t have to write any code, contrary to my development focused mind.