GithubHelp home page GithubHelp logo

rancher-terraform-aws's Introduction

Kubernetes Clusters on AWS with Rancher

With these Terraform configuration files you can create Kubernetes clusters on AWS using both EC2 and EKS options with Rancher.

Before using these configurations files, you need to have Rancher deployed in your preffered environment and you need to configure the network connection requirements between your Rancher Server and AWS.

File Structure

You can see there are seperate files for both EC2 and EKS cluster configurations. All of the configurations use variables whenever possible. You need to update variables file according to your needs.

Cluster Informations

  • EC2 Cluster
    • EC2 Cluster has 3 controlplane nodes and 3 worker nodes. You can change the node counts but it is recommended to use multiple controlplane nodes (odd numbers) for HA Configuration.
    • Both controlplane and worker nodes have different node template configurations. There is a file for these node templates that you can update the values from node-templates. You need to update the configurations for these node templates according to your needs.
    • You need to update variables file.
  • EKS Cluster
    • EKS Cluster's controlplane is managed by AWS. You don't have to deploy controlplane when using EKS.
    • There is one node group for worker nodes in EKS cluster. You can change min_size, desired_size and max_size values according to your needs.
    • You can change the Kubernetes version.
    • You need to update variables file.

Usage

After changing the values you can run terraform init command to initialize Terraform.

  • You can run terraform plan and terraform apply for creating the resources.
  • You can run terraform destroy for destroying the resources.

rancher-terraform-aws's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.