Skip to content

Commit

Permalink
Use aws subdomain for servers
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwcole committed Mar 27, 2021
1 parent 4ec59a3 commit 955c25f
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 12 deletions.
5 changes: 3 additions & 2 deletions config/lono/minecraft-2019.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,13 @@
source 'ebs_instance_with_data_volume.json.erb'
variables(
init_script: 'ubuntu_init.sh',
stack_description: 'Minecraft Server @1.14.3 (minecraft.matt-cole.co.uk)',
stack_description: 'Minecraft Server @1.14.3 (minecraft-2019.aws.matt-cole.co.uk)',
data_volume_name: 'DataVolume',
data_volume_size: 20,
security_groups: ['minecraft'],
default_key_name: 'minecraft',
dns_record: 'minecraft.matt-cole.co.uk.',
hosted_zone_name: 'aws.matt-cole.co.uk.',
dns_record: 'minecraft-2019.aws.matt-cole.co.uk.',
instance_start_timeout: 'PT10M',
ami_map: AwsConstants::UBUNTU_16_04_EBS_SSD_MAP,
chef_json: chef_json,
Expand Down
7 changes: 4 additions & 3 deletions config/lono/minecraft-2020.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'server_name' => 'minecloud',
'jar_url' => 'https://launcher.mojang.com/v1/objects/a412fd69db1f81db3f511c1463fd304675244077/server.jar',
'jar_checksum' => '2782d547724bc3ffc0ef6e97b2790e75c1df89241f9d4645b58c706f5e6c935b',
'version' => '1.16.2',
'version' => '1.16.1',
'properties' => {
'difficulty' => '3',
'white-list' => 'true'
Expand Down Expand Up @@ -64,12 +64,13 @@
source 'ebs_instance_with_data_volume.json.erb'
variables(
init_script: 'ubuntu_init.sh',
stack_description: 'Minecraft Server 2020 @1.16.2 (minecraft.matt-cole.co.uk)',
stack_description: 'Minecraft Server 2020 @1.16.1 (minecraft-2020.aws.matt-cole.co.uk)',
data_volume_name: 'DataVolume',
data_volume_size: 20,
security_groups: ['minecraft'],
default_key_name: 'minecraft',
dns_record: 'minecraft.matt-cole.co.uk.',
hosted_zone_name: 'aws.matt-cole.co.uk.',
dns_record: 'minecraft-2020.aws.matt-cole.co.uk.',
instance_start_timeout: 'PT10M',
ami_map: AwsConstants::UBUNTU_16_04_EBS_SSD_MAP,
chef_json: chef_json,
Expand Down
5 changes: 3 additions & 2 deletions config/lono/minecraft.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,13 @@
source 'ebs_instance_with_data_volume.json.erb'
variables(
init_script: 'ubuntu_init.sh',
stack_description: 'Old Minecloud Server @1.9 (minecraft-old.matt-cole.co.uk)',
stack_description: 'Old Minecloud Server @1.9 (minecraft.aws.matt-cole.co.uk)',
data_volume_name: 'DataVolume',
data_volume_size: 20,
security_groups: ['minecraft'],
default_key_name: 'minecraft',
dns_record: 'minecraft-old.matt-cole.co.uk.',
hosted_zone_name: 'aws.matt-cole.co.uk.',
dns_record: 'minecraft.aws.matt-cole.co.uk.',
instance_start_timeout: 'PT10M',
ami_map: AwsConstants::UBUNTU_14_04_EBS_SSD_MAP,
chef_json: chef_json,
Expand Down
6 changes: 3 additions & 3 deletions config/lono/minecraft2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@
source 'ebs_instance_with_data_volume.json.erb'
variables(
init_script: 'ubuntu_init.sh',
stack_description: 'Minecraft Server @1.12 (minecraft.matt-cole.co.uk)',
stack_description: 'Minecraft Server @1.12 (minecraft2.aws.matt-cole.co.uk)',
data_volume_name: 'DataVolume',
data_volume_size: 20,
security_groups: ['minecraft'],
default_key_name: 'minecraft',
dns_record: 'minecraft.matt-cole.co.uk.',
hosted_zone_name: 'aws.matt-cole.co.uk.',
dns_record: 'minecraft2.aws.matt-cole.co.uk.',
instance_start_timeout: 'PT10M',
ami_map: AwsConstants::UBUNTU_14_04_EBS_SSD_MAP,
chef_json: chef_json,
Expand Down
5 changes: 3 additions & 2 deletions config/lono/rumpus.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,13 @@
source 'ebs_instance_with_data_volume.json.erb'
variables(
init_script: 'ubuntu_init.sh',
stack_description: 'Minecraft Server @1.16.4 (rumpus.matt-cole.co.uk)',
stack_description: 'Minecraft Server @1.16.4 (rumpus.aws.matt-cole.co.uk)',
data_volume_name: 'DataVolume',
data_volume_size: 20,
security_groups: ['minecraft'],
default_key_name: 'minecraft',
dns_record: 'rumpus.matt-cole.co.uk.',
hosted_zone_name: 'aws.matt-cole.co.uk.',
dns_record: 'rumpus.aws.matt-cole.co.uk.',
instance_start_timeout: 'PT10M',
ami_map: AwsConstants::UBUNTU_16_04_EBS_SSD_MAP,
chef_json: chef_json,
Expand Down

0 comments on commit 955c25f

Please sign in to comment.