Reputation: 21
Can AWS Auto Scaling group, with 2 EC2 instances, include one reserved instance and one on-demand instance? Intention, obviously, is to have the reserved one running always and the on-demand one go up/down for load balancing.
Upvotes: 2
Views: 948
Reputation: 10783
Yes you can do that,
By this way, now you have a reserved instance watched by an ASG which cannot terminate your reserved instance, add and remove additional instances when needed (with the newestinstance policy). You will only maintain your single reserved instance.
If you want to get detailed information about how to use the alarms on "Scaling Policy", then you can investigate this aws article about policy creating.
Upvotes: 0
Reputation: 36053
Yes.
Reserved instances are an accounting thing. They have nothing to do with your actual infrastructure.
In your case:
Upvotes: 4