Windows Azure VM两shut down 道路
2015-07-17 19:55
302 查看
今天调查Azure当价格,找到下面的语句,来自http://azure.microsoft.com/en-us/pricing/details/virtual-machines/
* If my deployed instance is in the "stopped" state, do I still get billed?
If your instance is in the Stopped Deallocated state, it is not billed. If your instance is in the Stopped Allocated state, it is still occupying compute resources and will be billed for virtual cores allocated, not the software license itself.
意思是假设你的VM在Stopped状态下,你依然会被征收CPU使用的费用。而在Stopped Deallocated状态下,全然免费。
可是却没有提及如何才干达到这两种状态,经过測试发现
1. stopped状态: 远程登录到VM中,进行shut down操作,VM状态会变成Stop状态
2. Stopped Deallocated状态: 登录到Azure Portal中,选择VM,点击以下的shutdownbutton。VM就会变成Stopped Deallocated状态
![](http://img.blog.csdn.net/20140725075418084)
注意,在点击ShutDownbutton后,会提示If you continue, the IP addresses that were assigned to this virtual machine will be released. Are you sure you want to shut down virtual machine **** ?
意思是这台VM使用的IP地址会被释放,当年再次启动的时候,一个新的地址会被分配给它。
DNS NAME不会改变,因此尽量不要使用IP地址。
这一点上Amazon的AWS EC2略微好一点,无论如何shut down VM,都是一个状态,并且shut down后不会被收费。
微软的两种shut down方式不太会影响已经上线的server,由于上线后基本不会关机。仅仅是会影响开发。測试阶段,整体来是问题不大。
可是还是希望微软可以改进,合并shutdown状态。
注: 网友@盛亚评论
“CPU time一直也是收费的。除非彻底删除,假设delete这一个VM。但保留了他的磁盘映像,和仍处于打开状态VM当相同的电荷。这点和MS中国方面证实后,。”
* If my deployed instance is in the "stopped" state, do I still get billed?
If your instance is in the Stopped Deallocated state, it is not billed. If your instance is in the Stopped Allocated state, it is still occupying compute resources and will be billed for virtual cores allocated, not the software license itself.
意思是假设你的VM在Stopped状态下,你依然会被征收CPU使用的费用。而在Stopped Deallocated状态下,全然免费。
可是却没有提及如何才干达到这两种状态,经过測试发现
1. stopped状态: 远程登录到VM中,进行shut down操作,VM状态会变成Stop状态
2. Stopped Deallocated状态: 登录到Azure Portal中,选择VM,点击以下的shutdownbutton。VM就会变成Stopped Deallocated状态
注意,在点击ShutDownbutton后,会提示If you continue, the IP addresses that were assigned to this virtual machine will be released. Are you sure you want to shut down virtual machine **** ?
意思是这台VM使用的IP地址会被释放,当年再次启动的时候,一个新的地址会被分配给它。
DNS NAME不会改变,因此尽量不要使用IP地址。
这一点上Amazon的AWS EC2略微好一点,无论如何shut down VM,都是一个状态,并且shut down后不会被收费。
微软的两种shut down方式不太会影响已经上线的server,由于上线后基本不会关机。仅仅是会影响开发。測试阶段,整体来是问题不大。
可是还是希望微软可以改进,合并shutdown状态。
注: 网友@盛亚评论
“CPU time一直也是收费的。除非彻底删除,假设delete这一个VM。但保留了他的磁盘映像,和仍处于打开状态VM当相同的电荷。这点和MS中国方面证实后,。”
相关文章推荐
- 我的 Unity2D 屏幕适配
- 南阳理工36 最长公共子序列
- 虚析构函数
- 自学QT,第一部分,信号与槽
- 1073. Scientific Notation (20)
- java基础之为什么java的父类一般(不是必须)要写无参构造方法
- [转载] 分享D瓜哥最近攒的资料(架构方面)
- CactiEZ中文版说明
- php中在函数前加static的作用
- applicationContext-mvc.xml
- 加入第三方库错误
- NetBeans下部署Tomcat连接到Mysql数据库
- 黑马程序员----java中强大的功能-反射
- Android 内核 - 00 Android模块及Linux 启动过程
- Java中HelloWorld程序的组成分析和注意事项
- uname
- 数据验证【web前端,表单】
- HDU 2845 Beans(dp)
- 类目,内存,使用
- USACO Milking Cows(greedy)