What is the purpose of 'Reservations' in Amazon EC2

后端 未结 3 1530
[愿得一人]
[愿得一人] 2020-12-13 23:34

I\'m just starting to explore amazon ec2. And I want to hear some explanations or may be some brief examples of how and why do you need \'reservations\' in amazon ec2. I\'m

3条回答
  •  失恋的感觉
    2020-12-14 00:06

    From my understanding, a reservation is an act of launching instances. Basically, a reservation is what you do, while an instance is what you get. If you launch multiple instances from one image via run_instances() you make one reservation, but get multiple instances.

    run_instances together with Reservation.stop_all() allows you to run a bunch of instances, wait for them to complete the task and then stop them all at once.

提交回复
热议问题