Skip to content

yut148/chainer-vagrant-ec2

 
 

Repository files navigation

Chainer Vagrant EC2 Config

This is a configuration file for Vagrant to make Chainer development environment on Amazon EC2.

Requirement

  • Vagrant
    • vagrant-aws
    • vagrant-fabric
  • fabric

Setup

First, install Vagrant (https://www.vagrantup.com/) and set path.

Install the two Vagrant plugins.

$ vagrant plugin install vagrant-aws
$ vagrant plugin install vagrant-fabric

Add dummy box.

$ vagrant box add dummy https://github.com/mitchellh/vagrant-aws/raw/master/dummy.box

Install fabric.

$ pip install fabric

Make EC2 account, get an access key, make a secruty group and make a private key. Rename config.yml.sample to config.yml and edit it with your information.

Usage

vagrant up makes a GPU instance on your EC2 account.

$ vagrant up

Setups the instance with vagrant provision. It installs tools and libraries which are required to build Chainer, and downloads sources of Chainer.

$ vagrant provision

Now, run ssh and login the instance.

$ vagrant ssh

You can find chainer directory containing source files of Chainer.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published