-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create getting started docs for Scaleway (#19)
Signed-off-by: Engin Diri <[email protected]>
- Loading branch information
Engin Diri
authored
Jul 7, 2021
1 parent
e847534
commit f8d79b3
Showing
16 changed files
with
177 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,160 @@ | ||
![Civo](img/scaleway.png) | ||
|
||
# Getting Started - Scaleway edition | ||
|
||
## Access and Secret Key | ||
|
||
Generate a new access and secret key (https://console.scaleway.com/project/credentials) | ||
|
||
![img.png](img/scaleway_key.png) | ||
|
||
Get the generated API keys. | ||
|
||
![img.png](img/scaleway_key_2.png) | ||
|
||
Export the keys as ENV variables: | ||
|
||
``` | ||
export ACCESS_KEY=xxx | ||
export SECRET_KEY=yyy | ||
export ORGANISATION_ID=zzz | ||
``` | ||
|
||
See https://www.scaleway.com/en/docs/generate-api-keys/ for even more details on Scaleway Credentials | ||
|
||
## Create SSH Keys | ||
|
||
``` | ||
ssh-keygen -t rsa -f ./minecraft | ||
``` | ||
|
||
## Create MinecraftServer config | ||
|
||
```bash | ||
apiVersion: ediri.io/minectl/v1alpha1 | ||
kind: MinecraftServer | ||
metadata: | ||
name: minecraft-server | ||
spec: | ||
server: | ||
cloud: scaleway | ||
region: fr-par-1 | ||
size: GP1-XS | ||
volumeSize: 100 | ||
ssh: "xxx/ssh/minecraft.pub" | ||
minecraft: | ||
java: | ||
xmx: 2G | ||
xms: 2G | ||
edition: java | ||
properties: | | ||
level-seed=stackitminecraftrocks | ||
broadcast-rcon-to-ops=true | ||
view-distance=10 | ||
enable-jmx-monitoring=false | ||
server-ip= | ||
resource-pack-prompt= | ||
rcon.port=25575 | ||
gamemode=survival | ||
server-port=25565 | ||
allow-nether=true | ||
enable-command-block=false | ||
enable-rcon=false | ||
sync-chunk-writes=true | ||
enable-query=false | ||
op-permission-level=4 | ||
prevent-proxy-connections=false | ||
resource-pack= | ||
entity-broadcast-range-percentage=100 | ||
level-name=world | ||
rcon.password= | ||
player-idle-timeout=0 | ||
motd=Scaleway Minecraft | ||
query.port=25565 | ||
force-gamemode=false | ||
rate-limit=0 | ||
hardcore=false | ||
white-list=false | ||
broadcast-console-to-ops=true | ||
pvp=true | ||
spawn-npcs=true | ||
spawn-animals=true | ||
snooper-enabled=true | ||
difficulty=easy | ||
function-permission-level=2 | ||
network-compression-threshold=256 | ||
text-filtering-config= | ||
require-resource-pack=false | ||
spawn-monsters=true | ||
max-tick-time=60000 | ||
enforce-whitelist=false | ||
use-native-transport=true | ||
max-players=100 | ||
resource-pack-sha1= | ||
spawn-protection=16 | ||
online-mode=true | ||
enable-status=true | ||
allow-flight=false | ||
max-world-size=29999984 | ||
``` | ||
|
||
## minectl 🗺 | ||
|
||
```bash | ||
minectl create --filename config/server-scaleway.yaml | ||
|
||
🛎 Using cloud provider Scaleway | ||
🗺 Minecraft java edition | ||
🏗 Creating instance (minecraft-server)... ⢿ | ||
✅ Instance (minecraft-server) created | ||
Minecraft Server IP: 51.15.132.219 | ||
Minecraft Server ID: 30a219f1-dff2-487f-a3cd-0b03d712de81 | ||
|
||
To delete the server type: | ||
|
||
minectl delete -f config/java/server-scaleway.yaml --id 30a219f1-dff2-487f-a3cd-0b03d712de81 | ||
``` | ||
|
||
![img.png](img/scaleway_instance.png) | ||
|
||
## Minecraft Client | ||
|
||
### Download | ||
|
||
Download a Minecraft Client (Java Edition) under https://www.minecraft.net/en-us/get-minecraft | ||
|
||
Start your Minecraft Client | ||
|
||
![img.png](img/multi.png) | ||
|
||
Add your server | ||
|
||
![img.png](img/scaleway_add_server.png) | ||
|
||
Join the server | ||
|
||
![img.png](img/scaleway_join.png) | ||
|
||
Play the game | ||
|
||
![img.png](img/scaleway_game.png) | ||
|
||
## minectl 🗺 | ||
|
||
Feed up with your server? Deleting is as easy as creating the server | ||
|
||
```bash | ||
minectl delete -f config/java/server-scaleway.yaml --id 30a219f1-dff2-487f-a3cd-0b03d712de81 | ||
|
||
🛎 Using cloud provider Scaleway | ||
🗺 Minecraft java edition | ||
🗑 Delete instance (30a219f1-dff2-487f-a3cd-0b03d712de81)... | ||
``` | ||
|
||
### Legal Disclaimer 👮 | ||
|
||
This project is not affiliated with Mojang Studios, XBox Game Studios, Double Eleven or the Minecraft brand. | ||
|
||
"Minecraft" is a trademark of Mojang Synergies AB. | ||
|
||
Other trademarks referenced herein are property of their respective owners. |
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.