Last active
June 8, 2016 19:26
-
-
Save furu/823e9b4ab3bd4404981ed8ce1331540b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# https://github.com/mitchellh/vagrant-aws | |
# 1. Install Vagrant | |
# 2. vagrant plugin install vagrant-aws | |
# 3. vagrant box add dummy \ | |
# https://github.com/mitchellh/vagrant-aws/raw/master/dummy.box | |
# 4. vagrant up --provider=aws | |
Vagrant.configure(2) do |config| | |
config.vm.box = "dummy" | |
config.vm.provider :aws do |aws, override| | |
aws.access_key_id = ENV['AWS_ACCESS_KEY_ID'] | |
aws.secret_access_key = ENV['AWS_SECRET_ACCESS_KEY'] | |
# Amazon Linux AMI 2016.03.1 (HVM), SSD Volume Type | |
aws.ami = 'ami-29160d47' | |
aws.instance_type = 't2.nano' | |
aws.region = 'ap-northeast-1' | |
aws.security_groups = %w(playground-security-group) | |
aws.keypair_name = 'tfrkd-playground' | |
override.ssh.username = 'ec2-user' | |
override.ssh.private_key_path = '~/.ssh/tfrkd-playground.pem' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment