<feed xmlns='http://www.w3.org/2005/Atom'>
<title>factorio-spot-aws/cf.yml, branch master</title>
<subtitle>Factorio Spot Pricing Deployment to AWS
</subtitle>
<id>https://git.moekyun.me/factorio-spot-aws/atom?h=master</id>
<link rel='self' href='https://git.moekyun.me/factorio-spot-aws/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.moekyun.me/factorio-spot-aws/'/>
<updated>2026-05-10T21:47:51Z</updated>
<entry>
<title>fix fetch ipv4 addr</title>
<updated>2026-05-10T21:47:51Z</updated>
<author>
<name>Pinapelz</name>
<email>donaldshan1@outlook.com</email>
</author>
<published>2026-05-10T21:47:51Z</published>
<link rel='alternate' type='text/html' href='https://git.moekyun.me/factorio-spot-aws/commit/?id=6cb1ebb60019e04bc21e8315caa71e22677b3857'/>
<id>urn:sha1:6cb1ebb60019e04bc21e8315caa71e22677b3857</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add 'Preset' parameter for Factorio configuration</title>
<updated>2026-05-10T20:38:20Z</updated>
<author>
<name>Pinapelz</name>
<email>donaldshan1@outlook.com</email>
</author>
<published>2026-05-10T20:38:20Z</published>
<link rel='alternate' type='text/html' href='https://git.moekyun.me/factorio-spot-aws/commit/?id=6c6eec1bf55b879a8db218cf3252fa44d9b5d6b1'/>
<id>urn:sha1:6c6eec1bf55b879a8db218cf3252fa44d9b5d6b1</id>
<content type='text'>
Added a new parameter 'Preset' to specify Factorio preset mode.</content>
</entry>
<entry>
<title>Change ECS AMI ID to Amazon Linux 2023</title>
<updated>2026-05-10T20:34:44Z</updated>
<author>
<name>Pinapelz</name>
<email>donaldshan1@outlook.com</email>
</author>
<published>2026-05-10T20:34:44Z</published>
<link rel='alternate' type='text/html' href='https://git.moekyun.me/factorio-spot-aws/commit/?id=22c5f4858d1411e501bef22742ed4097bada43ee'/>
<id>urn:sha1:22c5f4858d1411e501bef22742ed4097bada43ee</id>
<content type='text'>
Updated ECS AMI ID to the latest Amazon Linux 2023 version.</content>
</entry>
<entry>
<title>[dnsupdater] Set the record as part of the instance start</title>
<updated>2025-01-31T02:36:22Z</updated>
<author>
<name>standardtoaster</name>
<email>andrew.preece@gmail.com</email>
</author>
<published>2025-01-31T01:35:40Z</published>
<link rel='alternate' type='text/html' href='https://git.moekyun.me/factorio-spot-aws/commit/?id=9299b732fcd087376938969439ec70d318b4fff2'/>
<id>urn:sha1:9299b732fcd087376938969439ec70d318b4fff2</id>
<content type='text'>
Move the DNS configuration to the instance start config, versus a lambda / cloudbridge. This is a bunch simpler, and seems to work to resolve the issue where DNS updates were initermittenly failing.

🙏 to @ZoesDev for the idea to move this to a LaunchTemplate

fixes m-chandler/factorio-spot-pricing#49

Test Plan:
* Started up instance w/o DNS enabled, ensured record was not created,
  checked logs to ensure no updates were attempted
```
[ec2-user@ip-10-100-0-25 log]$ sudo cat cloud-init-output.log
Cloud-init v. 19.3-46.amzn2.0.4 running 'init-local' at Fri, 31 Jan 2025 02:18:41 +0000. Up 7.50 seconds.
Cloud-init v. 19.3-46.amzn2.0.4 running 'init' at Fri, 31 Jan 2025 02:18:42 +0000. Up 8.69 seconds.
ci-info: +++++++++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++++++++++
ci-info: +--------+------+-----------------------------+-----------------+--------+-------------------+
ci-info: | Device |  Up  |           Address           |       Mask      | Scope  |     Hw-Address    |
ci-info: +--------+------+-----------------------------+-----------------+--------+-------------------+
ci-info: |  eth0  | True |         10.100.0.25         | 255.255.255.240 | global | 06:96:e0:e4:cc:a9 |
ci-info: |  eth0  | True | fe80::496:e0ff:fee4:cca9/64 |        .        |  link  | 06:96:e0:e4:cc:a9 |
ci-info: |   lo   | True |          127.0.0.1          |    255.0.0.0    |  host  |         .         |
ci-info: |   lo   | True |           ::1/128           |        .        |  host  |         .         |
ci-info: +--------+------+-----------------------------+-----------------+--------+-------------------+
ci-info: ++++++++++++++++++++++++++++++++Route IPv4 info++++++++++++++++++++++++++++++++
ci-info: +-------+-----------------+-------------+-----------------+-----------+-------+
ci-info: | Route |   Destination   |   Gateway   |     Genmask     | Interface | Flags |
ci-info: +-------+-----------------+-------------+-----------------+-----------+-------+
ci-info: |   0   |     0.0.0.0     | 10.100.0.17 |     0.0.0.0     |    eth0   |   UG  |
ci-info: |   1   |   10.100.0.16   |   0.0.0.0   | 255.255.255.240 |    eth0   |   U   |
ci-info: |   2   | 169.254.169.254 |   0.0.0.0   | 255.255.255.255 |    eth0   |   UH  |
ci-info: +-------+-----------------+-------------+-----------------+-----------+-------+
ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++
ci-info: +-------+-------------+---------+-----------+-------+
ci-info: | Route | Destination | Gateway | Interface | Flags |
ci-info: +-------+-------------+---------+-----------+-------+
ci-info: |   9   |  fe80::/64  |    ::   |    eth0   |   U   |
ci-info: |   11  |    local    |    ::   |    eth0   |   U   |
ci-info: |   12  |   ff00::/8  |    ::   |    eth0   |   U   |
ci-info: +-------+-------------+---------+-----------+-------+
Cloud-init v. 19.3-46.amzn2.0.4 running 'modules:config' at Fri, 31 Jan 2025 02:18:44 +0000. Up 10.39 seconds.
Cloud-init v. 19.3-46.amzn2.0.4 running 'modules:final' at Fri, 31 Jan 2025 02:18:44 +0000. Up 11.11 seconds.
+ echo ECS_CLUSTER=factorio-server-test-no-dns-cluster
+ '[' '!=' '' ']'
+ '[' '' '!=' '' ']'
Cloud-init v. 19.3-46.amzn2.0.4 finished at Fri, 31 Jan 2025 02:18:45 +0000. Datasource DataSourceEc2.  Up 11.44 seconds
```

* Started up instance w/dns enabled, validated that record was created
```
[ec2-user@ip-10-100-0-20 ~]$ sudo cat /var/log/cloud-init-output.log
Cloud-init v. 19.3-46.amzn2.0.4 running 'init-local' at Fri, 31 Jan 2025 02:29:58 +0000. Up 6.86 seconds.
Cloud-init v. 19.3-46.amzn2.0.4 running 'init' at Fri, 31 Jan 2025 02:29:59 +0000. Up 8.02 seconds.
ci-info: +++++++++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++++++++++
ci-info: +--------+------+-----------------------------+-----------------+--------+-------------------+
ci-info: | Device |  Up  |           Address           |       Mask      | Scope  |     Hw-Address    |
ci-info: +--------+------+-----------------------------+-----------------+--------+-------------------+
ci-info: |  eth0  | True |         10.100.0.20         | 255.255.255.240 | global | 06:bc:bc:79:75:a3 |
ci-info: |  eth0  | True | fe80::4bc:bcff:fe79:75a3/64 |        .        |  link  | 06:bc:bc:79:75:a3 |
ci-info: |   lo   | True |          127.0.0.1          |    255.0.0.0    |  host  |         .         |
ci-info: |   lo   | True |           ::1/128           |        .        |  host  |         .         |
ci-info: +--------+------+-----------------------------+-----------------+--------+-------------------+
ci-info: ++++++++++++++++++++++++++++++++Route IPv4 info++++++++++++++++++++++++++++++++
ci-info: +-------+-----------------+-------------+-----------------+-----------+-------+
ci-info: | Route |   Destination   |   Gateway   |     Genmask     | Interface | Flags |
ci-info: +-------+-----------------+-------------+-----------------+-----------+-------+
ci-info: |   0   |     0.0.0.0     | 10.100.0.17 |     0.0.0.0     |    eth0   |   UG  |
ci-info: |   1   |   10.100.0.16   |   0.0.0.0   | 255.255.255.240 |    eth0   |   U   |
ci-info: |   2   | 169.254.169.254 |   0.0.0.0   | 255.255.255.255 |    eth0   |   UH  |
ci-info: +-------+-----------------+-------------+-----------------+-----------+-------+
ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++
ci-info: +-------+-------------+---------+-----------+-------+
ci-info: | Route | Destination | Gateway | Interface | Flags |
ci-info: +-------+-------------+---------+-----------+-------+
ci-info: |   9   |  fe80::/64  |    ::   |    eth0   |   U   |
ci-info: |   11  |    local    |    ::   |    eth0   |   U   |
ci-info: |   12  |   ff00::/8  |    ::   |    eth0   |   U   |
ci-info: +-------+-------------+---------+-----------+-------+
Cloud-init v. 19.3-46.amzn2.0.4 running 'modules:config' at Fri, 31 Jan 2025 02:30:01 +0000. Up 9.78 seconds.
Cloud-init v. 19.3-46.amzn2.0.4 running 'modules:final' at Fri, 31 Jan 2025 02:30:02 +0000. Up 10.52 seconds.
+ echo ECS_CLUSTER=factorio-server-test-dns-cluster
+ '[' *********'!=' '' ']'
+ '[' *********'!=' '' ']'
+ yum install -y aws-cli
Loaded plugins: priorities, update-motd, upgrade-helper
Resolving Dependencies
--&gt; Running transaction check
---&gt; Package awscli.noarch 0:1.18.147-1.amzn2.0.2 will be installed
--&gt; Processing Dependency: python2-botocore = 1.18.6 for package: awscli-1.18.147-1.amzn2.0.2.noarch
--&gt; Processing Dependency: python-colorama for package: awscli-1.18.147-1.amzn2.0.2.noarch
--&gt; Processing Dependency: python-docutils for package: awscli-1.18.147-1.amzn2.0.2.noarch
--&gt; Processing Dependency: python-rsa for package: awscli-1.18.147-1.amzn2.0.2.noarch
--&gt; Processing Dependency: python2-s3transfer for package: awscli-1.18.147-1.amzn2.0.2.noarch
--&gt; Running transaction check
---&gt; Package python-docutils.noarch 0:0.12-0.2.20140510svn7747.amzn2 will be installed
--&gt; Processing Dependency: python-imaging for package: python-docutils-0.12-0.2.20140510svn7747.amzn2.noarch
---&gt; Package python2-botocore.noarch 0:1.18.6-1.amzn2.0.3 will be installed
--&gt; Processing Dependency: python-dateutil &gt;= 1.4 for package: python2-botocore-1.18.6-1.amzn2.0.3.noarch
--&gt; Processing Dependency: python-jmespath &gt;= 0.9.3 for package: python2-botocore-1.18.6-1.amzn2.0.3.noarch
---&gt; Package python2-colorama.noarch 0:0.3.9-3.amzn2.0.1 will be installed
---&gt; Package python2-rsa.noarch 0:3.4.1-1.amzn2.0.4 will be installed
---&gt; Package python2-s3transfer.noarch 0:0.3.3-1.amzn2.0.1 will be installed
--&gt; Processing Dependency: python-futures for package: python2-s3transfer-0.3.3-1.amzn2.0.1.noarch
--&gt; Running transaction check
---&gt; Package python-pillow.x86_64 0:2.0.0-23.gitd1c6db8.amzn2.0.13 will be installed
--&gt; Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: python-pillow-2.0.0-23.gitd1c6db8.amzn2.0.13.x86_64
--&gt; Processing Dependency: libtiff.so.5(LIBTIFF_4.0)(64bit) for package: python-pillow-2.0.0-23.gitd1c6db8.amzn2.0.13.x86_64
--&gt; Processing Dependency: libjpeg.so.62()(64bit) for package: python-pillow-2.0.0-23.gitd1c6db8.amzn2.0.13.x86_64
--&gt; Processing Dependency: libtiff.so.5()(64bit) for package: python-pillow-2.0.0-23.gitd1c6db8.amzn2.0.13.x86_64
--&gt; Processing Dependency: libwebp.so.4()(64bit) for package: python-pillow-2.0.0-23.gitd1c6db8.amzn2.0.13.x86_64
---&gt; Package python2-dateutil.noarch 1:2.6.1-3.amzn2 will be installed
---&gt; Package python2-futures.noarch 0:3.0.5-1.amzn2 will be installed
---&gt; Package python2-jmespath.noarch 0:0.9.3-1.amzn2.0.2 will be installed
--&gt; Running transaction check
---&gt; Package libjpeg-turbo.x86_64 0:2.0.90-2.amzn2.0.6 will be installed
---&gt; Package libtiff.x86_64 0:4.0.3-35.amzn2.0.22 will be installed
--&gt; Processing Dependency: libjbig.so.2.0()(64bit) for package: libtiff-4.0.3-35.amzn2.0.22.x86_64
---&gt; Package libwebp.x86_64 0:0.3.0-10.amzn2.0.2 will be installed
--&gt; Running transaction check
---&gt; Package jbigkit-libs.x86_64 0:2.0-11.amzn2.0.3 will be installed
--&gt; Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package             Arch    Version                          Repository   Size
================================================================================
Installing:
 awscli              noarch  1.18.147-1.amzn2.0.2             amzn2-core  2.1 M
Installing for dependencies:
 jbigkit-libs        x86_64  2.0-11.amzn2.0.3                 amzn2-core   47 k
 libjpeg-turbo       x86_64  2.0.90-2.amzn2.0.6               amzn2-core  171 k
 libtiff             x86_64  4.0.3-35.amzn2.0.22              amzn2-core  176 k
 libwebp             x86_64  0.3.0-10.amzn2.0.2               amzn2-core  170 k
 python-docutils     noarch  0.12-0.2.20140510svn7747.amzn2   amzn2-core  1.5 M
 python-pillow       x86_64  2.0.0-23.gitd1c6db8.amzn2.0.13   amzn2-core  447 k
 python2-botocore    noarch  1.18.6-1.amzn2.0.3               amzn2-core  4.4 M
 python2-colorama    noarch  0.3.9-3.amzn2.0.1                amzn2-core   30 k
 python2-dateutil    noarch  1:2.6.1-3.amzn2                  amzn2-core  251 k
 python2-futures     noarch  3.0.5-1.amzn2                    amzn2-core   27 k
 python2-jmespath    noarch  0.9.3-1.amzn2.0.2                amzn2-core   42 k
 python2-rsa         noarch  3.4.1-1.amzn2.0.4                amzn2-core   67 k
 python2-s3transfer  noarch  0.3.3-1.amzn2.0.1                amzn2-core  104 k

Transaction Summary
================================================================================
Install  1 Package (+13 Dependent packages)

Total download size: 9.5 M
Installed size: 65 M
Downloading packages:
--------------------------------------------------------------------------------
Total                                               26 MB/s | 9.5 MB  00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : libjpeg-turbo-2.0.90-2.amzn2.0.6.x86_64                     1/14
  Installing : python2-rsa-3.4.1-1.amzn2.0.4.noarch                        2/14
  Installing : python2-jmespath-0.9.3-1.amzn2.0.2.noarch                   3/14
  Installing : libwebp-0.3.0-10.amzn2.0.2.x86_64                           4/14
  Installing : jbigkit-libs-2.0-11.amzn2.0.3.x86_64                        5/14
  Installing : libtiff-4.0.3-35.amzn2.0.22.x86_64                          6/14
  Installing : python-pillow-2.0.0-23.gitd1c6db8.amzn2.0.13.x86_64         7/14
  Installing : python-docutils-0.12-0.2.20140510svn7747.amzn2.noarch       8/14
  Installing : python2-colorama-0.3.9-3.amzn2.0.1.noarch                   9/14
  Installing : 1:python2-dateutil-2.6.1-3.amzn2.noarch                    10/14
  Installing : python2-botocore-1.18.6-1.amzn2.0.3.noarch                 11/14
  Installing : python2-futures-3.0.5-1.amzn2.noarch                       12/14
  Installing : python2-s3transfer-0.3.3-1.amzn2.0.1.noarch                13/14
  Installing : awscli-1.18.147-1.amzn2.0.2.noarch                         14/14
  Verifying  : libjpeg-turbo-2.0.90-2.amzn2.0.6.x86_64                     1/14
  Verifying  : python2-s3transfer-0.3.3-1.amzn2.0.1.noarch                 2/14
  Verifying  : python2-futures-3.0.5-1.amzn2.noarch                        3/14
  Verifying  : 1:python2-dateutil-2.6.1-3.amzn2.noarch                     4/14
  Verifying  : python2-colorama-0.3.9-3.amzn2.0.1.noarch                   5/14
  Verifying  : jbigkit-libs-2.0-11.amzn2.0.3.x86_64                        6/14
  Verifying  : python2-botocore-1.18.6-1.amzn2.0.3.noarch                  7/14
  Verifying  : awscli-1.18.147-1.amzn2.0.2.noarch                          8/14
  Verifying  : libwebp-0.3.0-10.amzn2.0.2.x86_64                           9/14
  Verifying  : python-pillow-2.0.0-23.gitd1c6db8.amzn2.0.13.x86_64        10/14
  Verifying  : libtiff-4.0.3-35.amzn2.0.22.x86_64                         11/14
  Verifying  : python2-jmespath-0.9.3-1.amzn2.0.2.noarch                  12/14
  Verifying  : python2-rsa-3.4.1-1.amzn2.0.4.noarch                       13/14
  Verifying  : python-docutils-0.12-0.2.20140510svn7747.amzn2.noarch      14/14

Installed:
  awscli.noarch 0:1.18.147-1.amzn2.0.2

Dependency Installed:
  jbigkit-libs.x86_64 0:2.0-11.amzn2.0.3
  libjpeg-turbo.x86_64 0:2.0.90-2.amzn2.0.6
  libtiff.x86_64 0:4.0.3-35.amzn2.0.22
  libwebp.x86_64 0:0.3.0-10.amzn2.0.2
  python-docutils.noarch 0:0.12-0.2.20140510svn7747.amzn2
  python-pillow.x86_64 0:2.0.0-23.gitd1c6db8.amzn2.0.13
  python2-botocore.noarch 0:1.18.6-1.amzn2.0.3
  python2-colorama.noarch 0:0.3.9-3.amzn2.0.1
  python2-dateutil.noarch 1:2.6.1-3.amzn2
  python2-futures.noarch 0:3.0.5-1.amzn2
  python2-jmespath.noarch 0:0.9.3-1.amzn2.0.2
  python2-rsa.noarch 0:3.4.1-1.amzn2.0.4
  python2-s3transfer.noarch 0:0.3.3-1.amzn2.0.1

Complete!
++ curl -s http://169.254.169.254/latest/meta-data/public-ipv4
+ PUBLIC_IP=52.3.245.247
+ aws route53 change-resource-record-sets --hosted-zone-id ************* --change-batch '{
      "Changes": [{
        "Action": "UPSERT",
        "ResourceRecordSet": {
          "Name": "********",
          "Type": "A",
          "TTL": 60,
          "ResourceRecords": [{"Value":"52.3.245.247"}]
        }
      }]
    }' --region us-east-1
{
    "ChangeInfo": {
        "Status": "PENDING",
        "SubmittedAt": "2025-01-31T02:30:14.384Z",
        "Id": "/change/C01602392ZGS41I7W320O"
    }
}
Cloud-init v. 19.3-46.amzn2.0.4 finished at Fri, 31 Jan 2025 02:30:14 +0000. Datasource DataSourceEc2.  Up 22.77 seconds
```
</content>
</entry>
<entry>
<title>Merge pull request #41 from robertmassaioli/space-age-option</title>
<updated>2024-10-26T13:07:20Z</updated>
<author>
<name>m-chandler</name>
<email>mchandler89@gmail.com</email>
</author>
<published>2024-10-26T13:07:20Z</published>
<link rel='alternate' type='text/html' href='https://git.moekyun.me/factorio-spot-aws/commit/?id=11bdeb09d654abe2e4daa66c4315b6dc982564e6'/>
<id>urn:sha1:11bdeb09d654abe2e4daa66c4315b6dc982564e6</id>
<content type='text'>
Making space age be an option for the template. (#40)</content>
</entry>
<entry>
<title>Update cf.yml</title>
<updated>2024-10-25T23:55:29Z</updated>
<author>
<name>Robert Massaioli</name>
<email>robertmassaioli@gmail.com</email>
</author>
<published>2024-10-25T23:55:29Z</published>
<link rel='alternate' type='text/html' href='https://git.moekyun.me/factorio-spot-aws/commit/?id=238a707910920943978520b526a25bb6f60d8ffc'/>
<id>urn:sha1:238a707910920943978520b526a25bb6f60d8ffc</id>
<content type='text'>
Oops, slash</content>
</entry>
<entry>
<title>fix: Change default version to stable (makes more sense than latest).</title>
<updated>2024-10-25T22:09:21Z</updated>
<author>
<name>Michael Chandler</name>
<email>mchandler89@gmail.com</email>
</author>
<published>2024-10-25T22:09:21Z</published>
<link rel='alternate' type='text/html' href='https://git.moekyun.me/factorio-spot-aws/commit/?id=6796581e82c32ba5da23a8b2890e4adfe2b1194b'/>
<id>urn:sha1:6796581e82c32ba5da23a8b2890e4adfe2b1194b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Making space age be an option for the template.</title>
<updated>2024-10-23T03:39:53Z</updated>
<author>
<name>Robert Massaioli</name>
<email>rmassaioli@atlassian.com</email>
</author>
<published>2024-10-23T03:39:53Z</published>
<link rel='alternate' type='text/html' href='https://git.moekyun.me/factorio-spot-aws/commit/?id=480e59096f43c8098d86eea918b09e6b953b8e61'/>
<id>urn:sha1:480e59096f43c8098d86eea918b09e6b953b8e61</id>
<content type='text'>
I've set it to false by default because everybody that has Factorio can
work with the false setting but only Space Age players can use the true
setting.
</content>
</entry>
<entry>
<title>Revert "Merge pull request #39 from robertmassaioli/use-hosted-zone-id-type"</title>
<updated>2024-10-21T21:31:40Z</updated>
<author>
<name>Michael Chandler</name>
<email>mchandler89@gmail.com</email>
</author>
<published>2024-10-21T21:31:40Z</published>
<link rel='alternate' type='text/html' href='https://git.moekyun.me/factorio-spot-aws/commit/?id=adabf620b2ce843c9ac7eda759427d577fdb8dd6'/>
<id>urn:sha1:adabf620b2ce843c9ac7eda759427d577fdb8dd6</id>
<content type='text'>
This reverts commit 6655b797b67676d9d561095a462154d3ce5b2016, reversing
changes made to c7d5dcb1b3adae14cecf3dbf2bcdd11e1480aecf.
</content>
</entry>
<entry>
<title>Change the HostedZoneId type, now it autoselects in the UI.</title>
<updated>2024-10-21T02:53:15Z</updated>
<author>
<name>Robert Massaioli</name>
<email>rmassaioli@atlassian.com</email>
</author>
<published>2024-10-21T02:53:15Z</published>
<link rel='alternate' type='text/html' href='https://git.moekyun.me/factorio-spot-aws/commit/?id=beef330f01e7213d769675d711e0d9ad6dc61a21'/>
<id>urn:sha1:beef330f01e7213d769675d711e0d9ad6dc61a21</id>
<content type='text'>
</content>
</entry>
</feed>
