Simple dashboard for managing my son's minecraft servers and allowing me to experiment with some different technologies.
Consists of spinning up an ec2 instance with a snapshot AMI, associating the correct security groups and an elastic IP.
TODO:
- Move away from snapshots and use persistent storage
- Convert to spot instances
Simple minecraft
- Supports configuration of 3 worlds on one server
- Displays Server Status, and names of players within the world.
- Allow stop / start / status refresh of each world, or shutdown of entire instance
- Create lambda functions that allow you to start / stop instances and retrieve the status of the instance (TODO: commit code)
- Enable your worlds to start / stop as a service (TODO: commit code)
- Edit config.py, specifying the region that maps to the name of your service
pip install -r requirements.txt
- set environment variables for USER and PASSWORD used in basic auth
- Start the app
- For gunicorn,
gunicorn --bind 0.0.0.0:5000 wsgi:app
- For flask
export FLASK_APP=app.py flask run --host=0.0.0.0
- For gunicorn,
- Enable as a service (TODO: commit code)