morishin / minecraft-lambda-function

AWS Lambda function for managing Minecraft server

Home Page:http://morishin.hatenablog.com/entry/minecraft-lambda-function

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

minecraft-lambda-function

AWS Lambda function for managing Minecraft server.

You can play Minecraft Multiplayer $0.03 / hour. (See DigitalOcean Pricing)

Features

create⚒

upload🚀

destroy💥

Deploy

  1. Run make package to create zip package file.

  2. Upload to AWS Lambda manually.

  3. Set environment variables. MINECRAFT_LAMBDA_FUNCTION_TOKEN, DIGITALOCEAN_API_TOKEN, SLACK_INCOMING_WEBHOOK_URL, S3_BUCKET_NAME

  1. Configure test event and execute.

lambda settings 2

  1. Receive Slack notification.

Advanced Usage

Execute minecraft-lambda-function with Slack Slash Command.

API Gateway settings example is here: https://gist.github.com/morishin/88042177ffdbbdb3349b0530a9de5d1f

License

MIT

About

AWS Lambda function for managing Minecraft server

http://morishin.hatenablog.com/entry/minecraft-lambda-function


Languages

Language:Python 89.7%Language:Dockerfile 6.5%Language:Makefile 3.8%