4 ms·
I'm curious too, how would he set up so many machines that do the same thing?
by stibba 7y ago
I'm curious too, how would he set up so many machines that do the same thing?
- natrik 7y agohttps://stackoverflow.com/questions/38032666/how-to-create-and-run-multiple-ec2-instances-with-same-configurations-and-softwa https://stackoverflow.com/questions/38032666/how-to-create-a...
- laumars 7y agoHe's probably lambda rather than EC2 or even docker but I'd be interested to know the details too.
- ldoughty 7y agoDocker doesn't help distribute requests over IPs, lambda or ec2 most likely. You can easily set up a launch configuration for EC2 that runs a script or program... But with a bit more work lambda will save a lot of money
- laumars 7y ago> Docker doesn't help distribute requests over IPs That depends on your orchestration. AWS provide several tools for running Docker without having to maintain your own EC2 hosts. > You can easily set up a launch configuration for EC2 that runs a script or program... But with a bit more work lambda will save a lot of money You could do that via a launch configuration but that would be a pretty naff way of doing it. Baked AMI would be easier but personally I'd prefer ECS (Docker) or lambda. Cheaper, quicker to deploy, lower ramp up times. Ultimately though, there's no wrong way to do this - just personal preference.
- ttsda 7y agoThe author said in the post comments that he used 1000 EC2 instances.
- shawabawa3 7y agoIt's very easy to terraform 1000 nano machines on ec2, as he said it wouldn't be expensive at all. In fact, he estimates $150, but for 1000 nano machines for 10 minutes i believe it's under a dollar. Possibly nano machines aren't powerful enough to spam the verify endpoint enough
- flatiron 7y ago200 curls can be ran from any ec2 instance. there is literally no overhead. personally i would spin up a million lambda functions and just see what happens. each one def wouldn't get its own ip but maybe you would have good coverage?
- fredsted 7y agoWouldn't you be hitting EC2 limits pretty quickly though? I guess you could get them raised, but last time AWS wanted a valid reason.
- merb 7y ago"load testing my website INSERT_VALID_WEBSITE_LINK"
- shawabawa3 7y ago> but last time AWS wanted a valid reason. Yep - my reason is normally "I'm planning a project that needs more instances" I doubt they even look at that field to be honest