简体   繁体   English

是否热衷于在公共IP访问上自动启动Azure虚拟机?

[英]Hot to auto-start an Azure Virtual Machine on public IP access?

On Azure, it seems possible to Auto-stop your VM based on CPU utilization 在Azure上,似乎有可能根据CPU利用率自动停止VM

For this to be effectively used for cost-saving, I need the VM to be auto-started on the next access to its public IP address. 为了有效地节省成本,我需要在下次访问其公共IP地址时自动启动VM。

This is a server which gets only a few hours of usage every week, and they are concentrated, so this could mean ~10X cost reduction... 这是一台每周仅使用几个小时的服务器,而且服务器集中在服务器上,因此这可能意味着将成本降低了约10倍...

You could actually do something like that with something like Traffic Manager\\Azure Function combination, but its probably better to move your workload to Azure Container Instances\\Azure Functions, that would be a more native way of doing so. 实际上,您可以使用诸如Traffic Manager \\ Azure Function组合之类的方法来执行类似的操作,但是将工作负载移至Azure容器实例\\ Azure Functions可能更好,这是一种更本地化的方法。

If you wish to proceed with your design, you'd have to have some sort of load balancing between something that is always listening (like Azure Function) and a real VM. 如果希望继续进行设计,则必须在始终监听的内容(例如Azure Function)和真实的VM之间进行某种负载平衡。 when you send a request to the endpoint Function will pick it up and start the vm, after that VM will pick up all the requests (it has to have a bigger weigth than the fucntion). 当您向端点发送请求时,Function将对其进行拾取并启动vm,之后该VM将拾取所有请求(它的权重必须大于fucntion的权重)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure虚拟机公用IP地址是static吗? - Is the Azure virtual machine public IP address static? 通过IP地址访问Azure虚拟机 - Access Azure Virtual Machine by IP Address Azure模板为每个虚拟机创建公共静态IP地址 - Azure template to create public static IP address for each virtual machine 如何针对特定范围的公共IP限制Azure虚拟机 - How to Restrict Azure Virtual Machine for Specific Range of Public IP Azure 虚拟机规模集代理公共 IP - Azure virtual machine scale set agents public IP 如何访问 Azure 中的故障转移虚拟机。 我没有看到公共 IP 地址。 这也是我的试用帐户 - how to access the failover virtual machine in Azure . I am not seeing the Public IP address. Also this is my trial account 如何在没有 PUBLIC VIRTUAL IP (VIP) 地址的情况下在 Microsoft Azure 中创建虚拟机? - How to create a Virtual Machine in Microsoft Azure without PUBLIC VIRTUAL IP (VIP) address? 启动和停止Azure虚拟机 - Start and Stop Azure Virtual Machine 我可以使用 Azure REST ZDB974238714CA8DE3CE38A 获取虚拟机规模集的公共 IP 吗? - Can I get the public IP of a Virtual Machine Scale Set using Azure REST API? 如何使用 Azure CLI 命令获取虚拟机的公共 IP 地址 - How to get public ip address for virtual-machine using Azure CLI command
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM