Created
July 19, 2013 02:59
-
-
Save harupong/6034789 to your computer and use it in GitHub Desktop.
Windows 上の Vagrant を使って AWS で Ubuntu 13.04 を立ち上げたときの 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "dummy" | |
# https://github.com/mitchellh/vagrant-aws/issues/28 | |
config.vm.synced_folder ".", "/vagrant", id: "vagrant-root", disabled: true | |
config.vm.provider :aws do |aws| | |
aws.access_key_id = "<REDACTED>" | |
aws.secret_access_key = "<REDACTED>" | |
aws.keypair_name = "<REDACTED>" | |
aws.ssh_username = "ubuntu" | |
aws.ssh_private_key_path = "<REDACTED>" | |
aws.instance_type = "t1.micro" | |
aws.region = "ap-northeast-1" | |
aws.ami = "ami-6b26ab6a" | |
aws.security_groups = [ '<REDACTED>' ] | |
end | |
# https://github.com/mitchellh/vagrant-aws/issues/43 | |
config.vm.provider :aws do |aws, override| | |
override.ssh.private_key_path = "<REDACTED>" | |
override.ssh.username = "ubuntu" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment