Coder Social home page Coder Social logo

liatrio's Introduction

Yusuf's Liatrio Exercise

Repository for my exercise with Liatrio

Environmental Assumptions

  • The setup.sh script will be run on a Mac. This uses brew to install required applications.
  • The AWS environment will be launched in the us-east-1 region.
  • Already installed is awscli and an AWS configuration is already created.
  • The AWS credentials that are used has the permissions to create and destroy the following:
    • IAM Roles and policies
    • VPCs, Subnets, VPC endpoints, Internet Gateways, NAT Gateways, Security Groups, Route Tables, and EIPs
    • EKS Clusters and Node Groups
    • ECR Repositories
  • Docker is already installed.

How to Run the Script

Simply run ./setup.sh from the root directory of this repository.

What is being run

Brew is used to install the requisite applications. These applications are:

  • jq
  • terraform
  • helm

Terraform is then used to deploy the AWS infrastructure. This includes the VPC and neccessary components, IAM roles and policies, an EKS cluster, and an ECR repository.

Docker is then used to log into the ECR repo, build the image, and push the image to the repo.

Next, Helm is used in order to deploy the image to the EKS cluster. After a one minute wait, the publicly accessible endpoint will be displayed.

How to Cleanup the environment

To cleanup the environment, run ./cleanup.sh from the root directory of this repository. This script will delete the AWS environment, and clear any ENV variables.

liatrio's People

Contributors

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