r/cloudcomputing • u/robbdiggs • Nov 27 '22
Spot instances for web servers
I currently have a virtual machine as my web server, listening for requests, running NodeJS.
I'm not sure if I understand spot instances, or any AWS instance types, correctly. Let's say I want a web server running. Of course I would always want it active, 24/7. Does this mean that on-demand instances and spot instances are not meant for my use case? It sounds like those instance types magically ?boot up? when needed. How does it know when it's needed?
7
Upvotes
View all comments
Show parent comment
1
u/robbdiggs Nov 27 '22
That makes sense, but I'm having trouble envisioning a scenario where I would use an "on the fly" instance. What would trigger that instance to start, and how would it know to run the node app?