1 Answer
- Newest
- Most votes
- Most comments
0
Hello.
It is possible to create an EC2 AMI that is currently running as an On-Demand Instance and then create a Spot Instance from that AMI.
Once you have created your custom AMI, request a Spot Instance using the steps in the documentation below.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html#using-spot-instances-request
If there is no free space in the specified Spot Instance capacity pool, you may not be able to start the Spot Instance, so in that case, you may want to start an On-Demand Instance and delete it after the test is completed.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-best-practices.html
Relevant content
- asked a month ago
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
The current EC2 instance is a RI.
You can create a custom AMI regardless of whether you are using Reserved Instances or not. You can also request Spot Instances regardless of whether you are using Reserved Instances.