Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stack-ruby-base

rvm+rubyインストール済みのEC2インスタンスを構築します。

Usage

Install vagrant plugin

$ vagrant plugin install vagrant-aws
$ vagrant plugin install vagrant-omnibus
$ vagrant plugin install vagrant-berkshelf

$ vagrant plugin list
vagrant-aws (0.2.2)
vagrant-berkshelf (1.3.2)
vagrant-omnibus (1.1.0)

Install vagrant box

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

https://github.com/mitchellh/vagrant-aws/blob/master/README.md#quick-start

git clone & bundle install

$ git clone https://github.com/arukoh/stack-ruby-base.git
$ cd stack-ruby-base
$ bundle install

Edit Vagrantfile

Vagrant up

$ export SSH_PRIVATE_KEY_PATH=~/.ssh/id_rsa
$ export AWS_ACCESS_KEY_ID=my_key
$ export AWS_SECRET_ACCESS_KEY=my_secreat
$ export AWS_KEYPAIR_NAME=my_keypair

$ vagrant up --provider=aws

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors