GithubHelp home page GithubHelp logo

aws-eks-anywhere-lab's Introduction

Goal

The aim of this repository is to empower individuals in honing their DevOps skills by deploying an AWS EKS Anywhere cluster either locally or on a virtual machine. This setup enables connectivity to the AWS EKS console via the AWS EKS Connector.

About

EKS Anywhere simplifies the deployment of a custom Kubernetes distribution known as EKS Distro.

It can be deployed on:

  • vSphere
  • Bare Metal
  • Snow
  • CloudStack
  • Nutanix
  • Docker at any type virtual machine (dev only) - provided within this repository

Technologies

  • AWS EKS Anywhere
  • Kind
  • Helm

Prerequisities

  • aws cli installed and configured
  • scp and ssh cli
  • environment to create and virtual machine i.e. Vagrant, Virtual Box, VMWare, GCP or Azure Cloud

Virtual Machine minimal requirements

  • 2 vCPU
  • 4 GB RAM
  • 30 GB HDD to main system
  • OS Ubuntu 22.04 LTS

AWS Environment configuration

Please follow AWS Configuration

Deploy EKS Anywhere

Copy from this repository into EKS-A machine via scp command following files:

Please ssh into VM and execute EKS-a bootstrap script script.

bash bootstrap-eks-a-cluster.sh

At the first time please consider copy and past part of the script to see potential problems and fix it.

Test Sample application

Still at the same session at the virtual machine run:

kubectl get all

Expected output should looks similar

NAME                               READY   STATUS    RESTARTS   AGE
pod/hello-eks-a-686848645b-hsvvj   1/1     Running   0          8s

NAME                  TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)        AGE
service/hello-eks-a   NodePort    10.104.194.237   <none>        80:30721/TCP   8s
service/kubernetes    ClusterIP   10.96.0.1        <none>        443/TCP        46m

NAME                          READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/hello-eks-a   1/1     1            1           9s

NAME                                     DESIRED   CURRENT   READY   AGE
replicaset.apps/hello-eks-a-686848645b   1         1         1       8s

Install and configure eks-connector

EKS Connector is a solution to provide cluster visibility in the AWS EKS Console.

Install and configure EKS Connector

Please follow EKS Connector installation guide.

Delete

Just delete virtual machine where EKS-A is installed.

Credits

Softserve company

Plurasight Cloud Guru platform

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.