Hacker News new | ask | show | jobs
by ylyn 1742 days ago
This is so complicated.

I did this with a Minecraft plugin that would schedule a systemd shutdown in 30 minutes when the last player disconnects, and cancel the shutdown if a player connects.

Then a simple webpage that sent an EC2 API request to power on the instance, and a simple plugin that sends a Telegram message when the server is ready for connections.

1 comments

> Then a simple webpage that sent an EC2 API request to power on the instance

You send the EC2 API request directly from a public facing website?