Code Monkey home page Code Monkey logo

terraform-spotinst-ocean-aws-k8s-vng-arm-'s Introduction

Create ARM VNGs on Ocean Spark By Spot

Motivation

  • create Vngs with ARM instance type on an existing Ocean Spark Cluster using terraform
  • 2 Vngs (1 for OD, 1 for Spot)

Requirements

  • terraform tool
  • AWS profile credentials (var env AWS_PROFILE)

The terraform description will create 2 simple VNGs (OD + Spot) with

Setup

  • create a local variable file. e.g: touch terraform.tfvars
    • spotinst_account: Spot account act-xxxx
    • spotinst_token: Spot token
    • aws_region: region of the AWS cluster e.g us-west-2
    • ocean_id: ocean cluster o-xxxxxx
    • cluster_name : name of the cluster
    • image_id: AMI id of the EKS node image (ARM), let it to null to let the module aws_ami find it itself.

Steps

  • use AWS profile : export AWS_PROFILE={your_profile}

  • init terraform : terraform init

  • apply the creation : terraform apply

  • to remove the VNGs (revert): terraform destroy

terraform-spotinst-ocean-aws-k8s-vng-arm-'s People

Contributors

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