diff options
| author | Michael Chandler <mchandler89@gmail.com> | 2019-04-25 17:53:58 +1000 |
|---|---|---|
| committer | Michael Chandler <mchandler89@gmail.com> | 2019-04-25 17:53:58 +1000 |
| commit | 24fdc54e64692482022f0d62e9d63023a49c1976 (patch) | |
| tree | 4d8b1dbaede024dd9313bc1602f8a6f582de4f8e | |
| parent | 785c84779fb124bfef216254820e9cd549bcfa9a (diff) | |
Updates
| -rw-r--r-- | cf.yml | 12 | ||||
| -rw-r--r-- | readme.md | 13 |
2 files changed, 20 insertions, 5 deletions
@@ -261,6 +261,10 @@ Resources: ToPort: 34197
IpProtocol: udp
CidrIp: 0.0.0.0/0
+ # - FromPort: 27015
+ # ToPort: 27015
+ # IpProtocol: tcp
+ # CidrIp: 0.0.0.0/0
VpcId: !Ref Vpc
LaunchConfiguration:
@@ -342,6 +346,9 @@ Resources: DesiredCount: 1
ServiceName: factorio
TaskDefinition: !Ref EcsTask
+ DeploymentConfiguration:
+ MaximumPercent: 100
+ MinimumHealthyPercent: 0
EcsTask:
Type: AWS::ECS::TaskDefinition
@@ -350,11 +357,10 @@ Resources: - Host:
SourcePath: /opt/factorio
Name: factorio
- ContainerDefinitions:
-
+ ContainerDefinitions:
- Name: factorio
MemoryReservation: 1024
- Image: dtandersen/factorio:0.17
+ Image: !Sub "dtandersen/factorio:${FactorioImageTag}"
PortMappings:
- ContainerPort: 34197
HostPort: 34197
@@ -73,9 +73,18 @@ Update your CloudFormation stack. Change the server state parameter from "Runnin Delete the CloudFormation stack. Done.
-## What's Missing?
+**How can I upgrade the Factorio version?**
-Probably a lot.
+Update your CloudFormation stack. Set the required tag value for `FactorioImageTag`. Use the tags specified here: https://hub.docker.com/r/dtandersen/factorio/.
+
+**How can I change map settings, server settings etc.**
+
+You'll need to have remote access to the server (refer to Optional Features). You can make whatever changes you want to the configuration in `/opt/factorio/config`. Once done, restart the container using the following command: `sudo docker restart $(docker ps -q --filter name=ecs-factorio)`.
+
+## What's Missing / Not Supported?
+
+* Scenarios.
+* The security group on the EC2 instance prevents the RCON port from being exposed. I don't know what RCON does, if it's secure by default etc. I don't use it. You can open the port... just search the template for `27015` and uncomment the lines in the `Ec2Sg` resource.
## Expected Costs
|
