azure - 使用数据库自​​动缩放 VM

azure - Autoscaling a VM with DB

最近,我被介绍到 Azure,我必须用 VM 复制我的网络。我对缩放有一些疑问。文档说:

When you create a scale set, you define the number of VM instances that you wish to run. As your application demand changes, you can automatically increase or decrease the number of VM instances.

假设我有一个带有数据库的虚拟机,当自动缩放触发器和新实例上的开关具有完全相同的数据库时?还是它会创建不同步或不持久的数据?

它只是创建了一个新的 VM,您有责任让 scripts\external 进程来配置它。它不会提供数据库(除非您使用 SQL 图像或类似的东西)。

您将使用 VM Script 扩展或 DSC 扩展或其他东西来配置 VM 以加入数据库集群并同步数据或类似的东西。