Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add arm64 builds for minecraft-ecsfargate-watchdog #27

Open
Stealthii opened this issue Dec 11, 2021 · 2 comments
Open

Add arm64 builds for minecraft-ecsfargate-watchdog #27

Stealthii opened this issue Dec 11, 2021 · 2 comments

Comments

@Stealthii
Copy link
Contributor

Stealthii commented Dec 11, 2021

Now that AWS supports arm64 on ECS Fargate, it would be nice to push builds of the watchdog container to support that.

As of #6 the image needs no additional changes, and I have a test image up at stealthii/minecraft-ecsfargate-watchdog.

Here's the line I used to build (you'll likely want to multi-arch the build):

docker buildx build --platform=linux/arm64 --tag stealthii/minecraft-ecsfargate-watchdog --push minecraft-ecsfargate-watchdog 

I've been using arm64 successfully on the Lambda tasks, the watchdog container, and the 1.18.x Fabric server running under this project's configuration!

@doctorray117
Copy link
Owner

Good idea! I'll check out your stuff probably over the weekend. hard to grab time otherwise. Are you using the itzg/minecraft-server image for arm for this?

@Stealthii
Copy link
Contributor Author

I am! Fargate Spot unfortunately isn't supported, the price sits in the middle between amd64 spot/non-spot. On a low-pop server I've noticed comparable tick performance, and a noticable memory usage drop. Worth doing your own testing before you recommend it over amd64.

Annoyingly you can only configure arm64 on the new ECS interface, and currently you cannot set empty variables in the new interface, making configuration a nightmare (I've found using ECS memory reservations more reliable when coupled with itzg's options for this: -e MEMORY="" -e JVM_XX_OPTS="-XX:MaxRAMPercentage=75" + container memory limits)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants