GithubHelp home page GithubHelp logo

docker-machine-driver-spotinst's Introduction

Docker Machine Driver of Spotinst

Create instances on Spotinst using Docker-Machine.

docker-machine create -d spotinst

Requirements

For Docker-Machine to connect to Spotinst Elastigroup You will need:

  • Spotinst Account
  • Spotinst Token
  • Elastigroup with:
    • Docker-Machine Supported OS AMI (Amazon-Linux isn't supported by Docker-Machine)
    • Security Group with inbound SSH (22) and Docker-Machine (2376) ports open
  • All required parameters from the Options section fulfilled

creates docker instances on Spotinst Elastigroup

Installation

Please see latest version of the driver with instructions how to install in: Releases

Options

docker-machine create -d spotinst --help
Option Name Description required
--spotinst-account Spotint Account ID yes
--spotinst-elastigroup-id ElastGroup ID in the relevant account to fill in servers yes
--spotinst-token Spotinst Token from you organization yes
--spotinst-sshkey-path Local path to the pem file of the Elastigroup yes
--use-public-ip Boolean flag (means do not get any value) that determines if to use public IP or private IP No
--ssh-user Username for server SSH connection using the pem No

Examples

The following example creates a server called dev on Spotinst Elastigroup

docker-machine create -d spotinst --spotinst-account "act-12345" --spotinst-elastigroup-id "sig-12345" --spotinst-token "<Token>" --spotinst-sshkey-path "/home/ubuntu/pems/myssh.pem" --use-public-ip dev

To get debug message use the following example

docker-machine --debug create -d spotinst --spotinst-account "act-12345" --spotinst-elastigroup-id "sig-12345" --spotinst-token "<Token>" --spotinst-sshkey-path "/home/ubuntu/pems/myssh.pem" --use-public-ip dev

docker-machine-driver-spotinst's People

Contributors

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