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?
相关问题
- JQ: Select when attribute value exists in a bash a
- How to upgrade/install Upstart deamon version 1.5
- Connecting to Windows Server Service Bus on AWS
- how to get the available capacity of a zone in AWS
- Amazon S3: Grant anonymous access from IP (via buc
相关文章
- I cannot locate production log files on Elastic Be
- AWS - Configuring access to EC2 instance from Bean
- Error: “The security token included in the request
- Ansible Timeout (12s) waiting for privilege escala
- resource:memory error when trying to run an ECS ta
- Spark EC2 SSH connection error SSH return code 255
- GPU based algorithm on AWS Lambda
- AWS S3 access denied when getting image by url
Update (Sept 2013)
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):
Initial Answer (updated)
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:
The RunInstances command does not distinguish between On-Demand and Reserved Instances. When computing your bill, our system will automatically optimize which instances are charged at the lower Reserved Instance rate to ensure you always pay the lowest amount.
Beware of the restrictions regarding how instances from this virtual pool are matched though, e.g.:
Can a Reserved Instance that I’ve bought for a particular instance type (i.e. High-CPU Extra Large Instance) be applied to a different instance type that I am running (i.e. Standard Large Instance)?
No. Each Reserved Instance is associated with a specific instance type, and can only be applied to that instance type for the duration of the Reserved Instance term.
Can I move a Reserved Instance from one Region to another?
No. Each Reserved Instance is associated with a specific Region that is fixed for the lifetime of the Reserved Instance and cannot be changed.
Do I need to specify an Availability Zone when I launch my instances in order to take advantage of my Reserved Instances?
Yes. When you purchase a Reserved Instance you specify the Availability Zone in which you want to reserve that instance. In order to use that Reserved Instance, you need to ensure that you launch your instance in that same Availability Zone. [...]
The latter is easily overlooked when starting instances without explicitly specifying an availability zone, which will yield a random one in turn.