amazon spot instance termination issue -
i new spot instance use in amazon web services. have basic question. if user acquires number of spot instances @ bid price , spot price increases in subsequent hours, loose spot instances or of them? there other cloud providers providing kind of service? can dynamically increase or decrease our bid while our spot instance running?
in case of spot instance, meaning of "shut down instance" when spot price goes above bid price. node still accessible shutdown or logical command perform can create spot instance elsewhere in future? benefit of "shutdown spot instance" user? there way tell automatic shutdown of spot instance when bid less spot price , amazon terminated spot instance?
question 1
if user acquires number of spot instances @ bid price , spot price increases in subsequent hours, loose spot instances or of them?
you lose of them. why lose of them? rules apply instances in scenario have same bid price.
http://aws.amazon.com/ec2/spot-instances/
if spot price exceeds max bid or there no longer spare ec2 capacity in given spot pool, instances terminated.
it's important note:
you should prepared possibility spot instance may interrupted.
question 2
also there other cloud providers providing kind of service?
not know of. haven't seen other big players (like rackspace) offer spot instances.
question 3
in case of spot instance, meaning of "shut down instance" when spot price goes above bid price.
your instances gets terminated without notice. means have build fault tolerant applications , prepared ec2 fail @ moment.
question 4
what benefit of "shutdown spot instance" user?
i assume talking following "when bid exceed spot price, spot instance launched , instance run until spot price exceed bid (a spot interruption) or choose terminate them."
terminating ec2 when you're finished spot instance, otherwise charged each hour it's running.
question 5
is there way tell automatic shutdown of spot instance when bid less spot price , amazon terminated spot instance?
you have few options here:
aws have api can information on of instances. can monitor status through own code takes advantage of api.
you use cloudwatch alert on ec2 state change.
for reporting have access spot instance data feed.
Comments
Post a Comment