Windows Azure VM的兩種shut down 方式

來源:互聯網
上載者:User

標籤:windows azure

今天在調查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,點擊下面的shutdown按鈕。VM就會變成Stopped Deallocated狀態

注意,在點擊ShutDown按鈕後,會提示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方式不太會影響已經上線的伺服器,因為上線後基本不會關機。只是會影響開發,測試階段,總體來是問題不大。但是還是希望微軟能夠改進,合并shutdown狀態。

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.