可以在Amazon EC2实例预留自动缩放在AWS弹性魔豆可以用吗? [英] Can Amazon EC2 reserved instances be used with auto-scaling in AWS Elastic Beanstalk?

查看:290
本文介绍了可以在Amazon EC2实例预留自动缩放在AWS弹性魔豆可以用吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我了解AWS弹性魔豆将允许您设置自动缩放,这意味着你可以使用一个微型的实例一夜之间,再说了,白天自动扩展。你仍然可以保留EC2实例定价的优势,如果你做到这一点?

解决方案

更新

AWS刚刚宣布修改EC2实例保留预订的支持,它去除了两个前限制(我已经相应地更新我最初的回答):

  

今天,我们正在将保留实例模型更加灵活,   让您修改预留实例的功率(RI的)时,   您的需求变化。现在,您可以将您的RI的可用性之间   区只要你留在同一个地区。如果您的AWS账户   启用了EC2-经典,你也可以将您的RI的间   EC2古典和EC2-VPC。现在,您可以调整您的保留   实例为您的需求和结构的变化。


最初的回答(更新)

  

您仍然可以保留EC2实例定价的优势,如果你做到这一点?

当然,亚马逊EC2 保留例如计费和使用的透明处理,即AWS简单适用的保留实例的定价,只要你可以保留按类型,地区和可用区域相匹配的运行的那些情况,请参见下面的常见问题解答的详细信息:

  • <一个href="http://aws.amazon.com/ec2/faqs/#How_do_I_control_which_instances_are_billed_at_the_Reserved_Instance_rate">How做我控制哪些情况下被宣传的保留实例率是多少?
    该RunInstances命令不会点播和保留实例的区别。当计算您的账单,我们的系统将自动优化哪些实例收取较低的保留实例率,以确保您始终支付最低的金额。

谨防关于如何从该虚拟池实例,虽然匹配的限制,例如:

后开始的实例没有明确指定一个可用性区域,这将产生一个随机依次时容易被忽略的。

As far as I understand AWS Elastic Beanstalk will allow you to set auto-scaling, which means that you can use a micro-instance overnight, say, and auto-scale up during the day. Can you still take advantage of reserved EC2 instance pricing if you do this?

解决方案

Update

AWS has just announced support to Modify EC2 Reserved Instance Reservations, which removes two of the former restrictions (I've updated my initial answer accordingly):

Today we are making the Reserved Instance model even more flexible by giving you the power to modify your Reserved Instances (RI's) when your needs change. You can now move your RI's between Availability Zones as long as you stay within the same Region. If your AWS account is enabled for EC2-Classic, you can also move your RI's between EC2-Classic and EC2-VPC. You can now make adjustments to your Reserved Instances as your needs and your architecture change.


Initial Answer (updated)

Can you still take advantage of reserved EC2 instance pricing if you do this?

Absolutely, Amazon EC2 reserved instance billing and usage is handled transparently, i.e. AWS simply applies your reserved instance pricing as long as you have reserved instances available matching your running ones by type, region and availability zone, see the following FAQs for details:

Beware of the restrictions regarding how instances from this virtual pool are matched though, e.g.:

The latter is easily overlooked when starting instances without explicitly specifying an availability zone, which will yield a random one in turn.

这篇关于可以在Amazon EC2实例预留自动缩放在AWS弹性魔豆可以用吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆