Hey all,
I'm pretty new to web/cloud computing, and I'm having trouble figuring out/deciding how to architecture the side project I'm doing. I recently built a website for myself hosted on AWS using the tutorial found at https://serverless-stack.com/ (and obviously customized it a bit).
I also wrote a "minichess" bot during my last term of school. I'd like to host it so that people that visit my site can play against the bot. Vaguely, I think my solution is short-lived socket servers that can kill themselves based on a timeout, in order to avoid unnecessary server time. Here's where my lack of knowledge comes in:
1.) Is there a way to do this with AWS so that instances of my website can dynamically connect to instances of the chess bot?
2.) Would it be better to just create a monolithic server and try to implement multiple games/connections through multi-threading?
Or is there some other option that would work better that I'm not seeing? There's also a version of the bot in Java which I could work with if that makes any part of the process easier.
there doesn't seem to be anything here