GithubHelp home page GithubHelp logo

valheim-server's Introduction

Valheim Terraform Module

Features

  • Run a private Valheim server on AWS ECS
  • Automatically backup worlds to s3

Instructions:

  • Create a directory for your local terraform state, such as valheim-terraform
  • Create main.tf like so:
provider "aws" {
  region = "us-east-1"
}

module "valheim-server" {
  source         = "github.com/kpenfound/valheim-server?ref=v0.2.0"
  key_name       = "my_aws_keypair_name"
  world_name     = "Valheim-friends"
  world_password = "hunter2"
}
  • terraform apply
  • In Steam, go to View > Servers > Favorites > Add Server
  • Add your server at {NLB DNS}:2457
  • Open valheim, select the server, and click connect!

Important notes

The default ecs_ami is the current ecs optimized ami in us-east-1. You will have to change this for other regions. Refer to this list: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html

This is possible thanks to the docker image maintained by mbround18 at https://github.com/mbround18/valheim-docker

valheim-server's People

Contributors

kpenfound avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.