/
services.tf
57 lines (54 loc) · 1.73 KB
/
services.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
##
# Services
#
module "cloud" {
source = "./modules/cloud"
name = "cloud"
zone = "dejonckhee.re"
passwd = var.passwd
ssh_public_key = "~/.ssh/cloud.pub"
ssh_private_key = "~/.ssh/cloud"
sshd_public_key = "~/.ssh/cloud-sshd.pub"
sshd_private_key = "~/.ssh/cloud-sshd"
# Type vCPU RAM Price/h Price/mo
# cx11 1 2G 0.007/h 4.22/mo
# cpx11 2 2G 0.008/h 4.83/mo
# cx21 2 4G 0.010/h 5.93/mo
# cpx21 3 4G 0.013/h 8.35/mo
# cx31 2 8G 0.017/h 10.77/mo
# cpx31 4 8G 0.024/h 15.00/mo
# cx41 4 16G 0.031/h 19.24/mo
# cpx41 8 16G 0.046/h 27.71/mo
# cx51 8 32G 0.061/h 36.18/mo
# cpx51 16 32G 0.097/h 60.38/mo
server_type = "cx11"
}
# module "minecraft" {
# source = "./modules/minecraft"
#
# enabled = var.minecraft
#
# name = "minecraft"
# zone = "dejonckhee.re"
# passwd = var.passwd
# ssh_public_key = "~/.ssh/minecraft.pub"
# ssh_private_key = "~/.ssh/minecraft"
# sshd_public_key = "~/.ssh/minecraft-sshd.pub"
# sshd_private_key = "~/.ssh/minecraft-sshd"
# network_id = module.cloud.network_id
#
# # Type vCPU RAM Price/h Price/mo
# # cx11 1 2G 0.007/h 4.22/mo
# # cpx11 2 2G 0.008/h 4.83/mo
# # cx21 2 4G 0.010/h 5.93/mo
# # cpx21 3 4G 0.013/h 8.35/mo
# # cx31 2 8G 0.017/h 10.77/mo
# # cpx31 4 8G 0.024/h 15.00/mo
# # cx41 4 16G 0.031/h 19.24/mo
# # cpx41 8 16G 0.046/h 27.71/mo
# # cx51 8 32G 0.061/h 36.18/mo
# # cpx51 16 32G 0.097/h 60.38/mo
# #
# # Don't forget to adjust the MEMORY variable in `../swarm/minecraft/docker-compose.yml`
# server_type = "cpx41"
# }