Giter Site home page Giter Site logo

aws-eks-bastion's Introduction

aws-eks-bastion

Create a simple eks cluster with bastion host support on AWS

Steps:

  1. Edit the variables.tf and terraform.tfvars under bastion_host directory and update the names and values of the variables.
  2. Set the kubernetes verion in main_eks.tf (The current version is 1.20)
  3. Run terraform commands to deploy eks cluster.

The deployment will create an eks cluster and update the config map (aws_auth) in kube-system namespace with instance role name with admin permission.

  1. If the cluster is ready, run the bastion host deployment,too. Navigate to bastion_host directory and:
  • update the names and values of the variables in variables.tf and terraform.tfvars
  • update the instance number (if you want) in ec2.tf (The current min_size is 1)
  1. Run terraform commands to deploy bastion host(s).
  2. Download the private key from secrets manager, and set the right permission on the file (chmod 0400) and connect to bastion host and use kubectl command to reach the cluster.

aws-eks-bastion's People

Contributors

zsoterr 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.