Created
July 18, 2013 10:37
-
-
Save joeartsea/6028364 to your computer and use it in GitHub Desktop.
Vagrant1.2 for EC2, Setting of Vagrantfile
This file contains 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
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'] | |
aws.keypair_name = "artsnet" | |
aws.instance_type = "t1.micro" | |
aws.region = "ap-northeast-1" | |
aws.ami = "ami-45a93e44" | |
aws.security_groups = ['artsnet'] | |
aws.tags = { | |
'Name' => 'vagrant-test', | |
'Description' => 'vagrant test' | |
} | |
override.ssh.username = "ec2-user" | |
override.ssh.private_key_path = "~/.ssh/artsnet.pem" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment