ec2-docker-experiment
Tool to start up ec2 spot instances and run a Docker experiment on them
Last updated 6 years ago by leichtgewicht .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ec2-docker-experiment 
SYNC missed versions from official npm registry.

ec2-docker-experiment

Runs a docker image on a ec2 spot instance and uploads the results to s3.

How to use?

  1. You need the command line tool:
$ npm i ec2-docker-experiment -g
  1. Add a Dockerfile to your folder. It will be run with $ docker run if it works on your system it will most likely also run on the server.

  2. Add a experiment.yaml to your folder that contains the spec for the instance that has to be run.

Then you can start the experiment with in your folder:

$ ec2-docker-experiment .

Requirements

This script requires access to AWS using secret access keys. The keys can be limited to EC2 access but they need to be able to change/access everything.

If you wish to load data from a bucket and upload the results to a bucket then you need to give access the user with formentioned access-keys access to this bucket.

Why encapsulated in a docker script?

For tests you want a clean environment. Docker offers a clean system to start from and so tests can be executed multiple times.

Current Tags

  • 0.2.1                                ...           latest (6 years ago)

17 Versions

  • 0.2.1                                ...           6 years ago
  • 0.2.0                                ...           6 years ago
  • 0.1.4                                ...           6 years ago
  • 0.1.3                                ...           6 years ago
  • 0.1.2                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
  • 0.0.10                                ...           6 years ago
  • 0.0.9                                ...           6 years ago
  • 0.0.8                                ...           6 years ago
  • 0.0.7                                ...           6 years ago
  • 0.0.6                                ...           6 years ago
  • 0.0.5                                ...           6 years ago
  • 0.0.4                                ...           6 years ago
  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (11)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |