Created
July 23, 2013 20:59
-
-
Save joeartsea/6066112 to your computer and use it in GitHub Desktop.
Vagrant1.2 for EC2, Setting of Vagrantfile with omnibus plugin
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.omnibus.chef_version = :latest | |
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-25c25424" | |
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