how to reserve a running amazon ec2 instance? [closed]

陌路散爱 提交于 2019-11-27 12:38:17

问题


we have a large ec2 instance running in asia pacific region.we want to reserve that particular instance.In aws management console we see an option to purchase a reserved instance but there seems to be no option to change this instance into a reserved one.Are we missing out on something


回答1:


Reserved instances are a billing feature, not a technical feature.

You can purchase a reserved instance and the discounted hourly rate will apply to already-running instances, without needing to do anything to them. Just make sure the reserved instances you purchase are: - in the same availability zone as your already-running instances - of the same instance type (m1.small, c1.medium, etc) as your already-running instances.

As soon as the reservation cost clears your credit card you will see the discounted hourly rate take effect for your already-running instances.

Amazon's docs could be a lot clearer on this. http://aws.amazon.com/ec2/reserved-instances/#4




回答2:


The AWS's official docs state that the availability zone must be the same. The region is, for example, us-east-1. The AZ is us-east-1a. So, according to AWS, it has to be specific to the last letter.

However, some clever folks found a potential work-around that uses EC2 Consolidated Billing and combines the (odd?) feature that one's us-east-1a might be another us-east-1c (I guess the idea there is to enforce some homogeneity around the AZs).



来源:https://stackoverflow.com/questions/3821324/how-to-reserve-a-running-amazon-ec2-instance

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!