0.2.1 • Published 10 years ago

ec2-docker-experiment v0.2.1

Weekly downloads
2
License
ISC
Repository
github
Last release
10 years ago

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.

0.2.1

10 years ago

0.2.0

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago