https://github.com/rainbowcreation/autoscale
workernodeTemplateForAutoscale
https://github.com/rainbowcreation/autoscale
autoscaling minecraft-server server
Last synced: 6 months ago
JSON representation
workernodeTemplateForAutoscale
- Host: GitHub
- URL: https://github.com/rainbowcreation/autoscale
- Owner: RainBowCreation
- License: mit
- Created: 2023-08-07T10:15:33.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-31T12:10:08.000Z (over 2 years ago)
- Last Synced: 2024-12-29T15:27:20.987Z (over 1 year ago)
- Topics: autoscaling, minecraft-server, server
- Language: Shell
- Homepage:
- Size: 189 MB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# autoscale
TemplateForAutoscaling
# using AWS EC2 auto scaling group
- base 1 vCpu 2 Gb
- minnimum spec 1 vCpu 2 Gb without plugin/mod
- recommended server type 1 vCpu 10 Gb with plugin/mod(single thread)
- **witch mean you need 2 vCpu 4 Gb at lease for minimum or your server will lag as hell**
# Example setup guide for Autoscaling
## example requirements
- using 2 vCpu and 4 Gb ram for 10 players each node. 1 instance each node
- no master node (using RainBowCreation Mainnet as master)
- direct connect or external load balancer (without proxy bungeecord, velocity... etc.)
## Create security Groups
- for autoscale group set inbound port 25565 TCP
- create new node if cpu utilization > 50%
## create new Lunch Templates
- use t2.medium as Instance type
- put Lunch_templates-User-Data scipt inside User data for auto setup
## create Auto Scaling groups
- using t2.medium as Instance type
- setup Dynamic scaling policies to Target Tracking Policy As required to maintain Average CPU utilization at 50
- make sure your first desire node = minimum node there may cause was some wird bug when first setup is not equal.
- enjoy :)