To start, step by step
- Create a r8g.* persistant spot instance in AWS with Amazon Linux AMI.
- Allow access from TCP port 21 and 25566 on your computers IP
- Allow access from TCP port 25565 on computers which are going to connect to server.
- Save your ssh public key to a known secure location
- Note your instances public ip (you might want an elastic ip for consistency).
- Create an inventory file as:
[ec2:vars]
ansible_ssh_private_key_file=<PATH TO SSH KEY>
[ec2]
<INSTANCE PUBLIC IP> ansible_user=ec2-user
- Use
ansible-playbook --become --inventory inventory <modpack>.yamlto setup your server. - Connect your server with its public ip, you can also use rcon to administer your server.
| Modpack | Version | Forge |
|---|---|---|
| ATM 9 | 0.3.0 | |
| ATM 9 TTS | 1.1.1 | |
| Monifactory | 0.7.7 | 1.20.1-47.3.0 |