Skip to content

martyca/minecraft-boshrelease

Repository files navigation

BOSH-deployed minecraft Server

This BOSH release deploys a minecraft server, this release is mostly for entertainment and eductational purposes.

0. Quick Start

0.0 Quick Start: Pre-requisites

You must have a BOSH Director and have uploaded stemcells to it. Our examples assume the BOSH CLI v2.

Follow the instructions to install BOSH Lite: https://bosh.io/docs/bosh-lite; upload the Cloud Config.

Upload Ubuntu stemcell

bosh -e vbox us https://s3.amazonaws.com/bosh-core-stemcells/warden/bosh-stemcell-3468-warden-boshlite-ubuntu-trusty-go_agent.tgz

Clone the minecraft repository:

cd ~/workspace
git clone https://github.com/martyca/minecraft-boshrelease.git
cd minecraft-boshrelease

0.1 Quick Start: Upload release to BOSH Director

bosh -e vbox upload-release https://github.com/martyca/minecraft-boshrelease/releases/download/V1.0.0/minecraft-release-1.0.0.tgz

0.2 Quick Start: deploy

(This assumes you're in the ~/workspace/minecraft-boshrelease directory cloned in a previous step):

wget https://raw.githubusercontent.com/martyca/minecraft-boshrelease/master/manifests/minecraft-lite.yml
bosh -e vbox -d minecraft deploy minecraft-lite.yml

0.3 Quick Start: test

list running vm's

bosh -e vbox -d minecraft vms

Start your minecraft client select multiplayer, direct connection. copy ip of vm.

1. Quicker Start - TLDR version

This assumes you have bosh set up and have a bosh-env environment variable exported.

wget https://raw.githubusercontent.com/martyca/minecraft-boshrelease/master/manifests/minecraft-lite.yml
bosh -d minecraft deploy minecraft-lite.yml