Giter Club home page Giter Club logo

amazon-eks-profile-for-gameserver's Introduction

EKS Quickstart Game-Server Sample

This repo contains an initial set of cluster components for deploying containerized game-server to be installed and configured by eksctl through GitOps. It was build based on the GitOps tutorial

Components

Pre-requisites

A running EKS cluster with IAM policies for:

  • The game-server deployment assumed an image is deployed to ECR. The game-server pipeline is defined in containerized-game-servers
  • The game-server instance uses host-network:true so no ingress controller or LB is needed.
  • The game-server pods need permisions to publish its status to an SQS queue
  • auto-scaler
  • CloudWatch

Here is a sample ClusterConfig manifest that shows how to enable these policies.

N.B.: policies are configured at node group level. Therefore, depending on your use-case, you may want to:

  • add these policies to all node groups,
  • add node selectors to the ALB ingress, auto-scaler and CloudWatch pods, so that they are deployed on the nodes configured with these policies.

How to deploy the template?

  • Populate the cluster name by replacing {{.ClusterName}}
  • Populate the region name by replacing {{.Region}} e.g. us-west-2
  • This example does not use Helm, hence --with-helm=false
  • The last argument is the profile/template repo, e.g., [email protected]:yahavb/game-server-gitops-profile.git
  • the --git-url is the destination git repo that the sys/devops will use to manage the cluster i.e. editing, adding, removing files to induce changes in the cluster.
export EKSCTL_EXPERIMENTAL=true
eksctl enable profile -r `{{.Region}}` --with-helm=false \
--git-url [email protected]:yahavb/weave-workshop.git \
--git-email [email protected] --cluster {{.ClusterName}} \
[email protected]:aws-samples/amazon-eks-profile-for-gameserver.git

How to access workloads

The game-server pod runs on the ephermal port range over UDP. It is required to configure a security group that allows the access to the game-servers port ranges.

amazon-eks-profile-for-gameserver's People

Contributors

amazon-auto 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.