Hey guys,
I just thought I would share with you some fun I recently had with spot instances, with some code that you can use if you want.
So our fav cloud srvc provider typically offers micro spot instances for $0.006/hr. The cheap rate is because it's unused capacity and therefore unguaranteed. So it's fine for a service that doesn't need to be 9's reliable, such as this story:
A friend wanted to win a "Voting" contest, and the only thing that protected it was uniquing IP addresses on the votes. So I summoned up a cluster of spot instances, ssh'd into them and curl'd the contest link (yes, you literally _just_ had to click the link... this type of systems architecture is common, as great programming ability is rare.). I used different User-Agents with my curl, combining Mac, Linux, and Windows OS's with Chrome, Firefox & Safari
/E3LAT6C8 on pastebin daught calm.
Enjoy
BTW, I I welcome lots of code critiques... A lot of this logic can be improved. This particular code also leveraged non-spot instances, so beware. YMMV and all that.
And, any nubs that want, ask me questions! I need to make my postcount 15 so I can PM about some of my purchases in the forums ;p stupid rule, but i mean, benefits the community... i hope.
Anyway, if you guys think this kind of thing is cool, post your other ideas in the thread!
I just thought I would share with you some fun I recently had with spot instances, with some code that you can use if you want.
So our fav cloud srvc provider typically offers micro spot instances for $0.006/hr. The cheap rate is because it's unused capacity and therefore unguaranteed. So it's fine for a service that doesn't need to be 9's reliable, such as this story:
A friend wanted to win a "Voting" contest, and the only thing that protected it was uniquing IP addresses on the votes. So I summoned up a cluster of spot instances, ssh'd into them and curl'd the contest link (yes, you literally _just_ had to click the link... this type of systems architecture is common, as great programming ability is rare.). I used different User-Agents with my curl, combining Mac, Linux, and Windows OS's with Chrome, Firefox & Safari
/E3LAT6C8 on pastebin daught calm.
Enjoy
BTW, I I welcome lots of code critiques... A lot of this logic can be improved. This particular code also leveraged non-spot instances, so beware. YMMV and all that.
And, any nubs that want, ask me questions! I need to make my postcount 15 so I can PM about some of my purchases in the forums ;p stupid rule, but i mean, benefits the community... i hope.
Anyway, if you guys think this kind of thing is cool, post your other ideas in the thread!
Last edited: