According to RunInstances api docs I can set "UniqueSuffix" in the request to get a suffix of 001 to 999. On the other hand I'm allowed to only run 100 instances at a time.
This makes me think that if I'm creating instances on multiple batches, then number will continue after the highest number present today.
The issue though is that this does not happen. If I perform 2 requests with same name, then I get like:
- instance-name-001
- instance-name-002
- instance-name-001
- instance-name-002
So it restarts numbering. Is there anything I'm missing so that I can tell it to continue from some particular number or make it figure out highest number by itself?
P.S. while renaming after creation is feasible, I'd prefer to get unique names automatically instead of doing hundreds individual rename calls.