Skip to content

An AWS CDK construct library to run a Valheim dedicated server on AWS Fargate

Notifications You must be signed in to change notification settings

raykrueger/cdk-valheim-server

Repository files navigation

CDK Valheim Server

This repository serves as an example of deploying Valheim on AWS using cdk-game-server.

Deploying

You will need NodeJS 16.x or better installed.

To deploy your own Valheim server on AWS simply clone this repo, make any changes you'd like, and deploy it.

git clone https://github.com/raykrueger/cdk-valheim-server.git
cd cdk-valheim-server
npx cdk deploy

This will deploy Vaheim to ECS Fargate Spot. It will automatically shutdown if idle. It can be scaled up in the ECS UI, via the AWS CLI, or by enabling the Discord bot.

History

This repository used to host a cdk-valheim-server CDK Library. That library was very expensive when running, and was very hardcoded to Valheim. All of the functionality has been extracted to cdk-game-server and improved to be as cheap as possible.

About

An AWS CDK construct library to run a Valheim dedicated server on AWS Fargate

Resources

Stars

Watchers

Forks

Packages

No packages published