Skip to content

Instantly share code, notes, and snippets.

@y13i
Created January 19, 2015 06:22
Show Gist options
  • Save y13i/2ad18899e97bd5b0aa0d to your computer and use it in GitHub Desktop.
Save y13i/2ad18899e97bd5b0aa0d to your computer and use it in GitHub Desktop.
oreno Vagrantfile
Vagrant.configure 2 do |config|
config.vm.box = "dummy"
config.vm.provider :aws do |aws, override|
aws.access_key_id = "NAZONOMOJIRETSU"
aws.secret_access_key = "mottonagainazonomojiretsu"
aws.region = "ap-northeast-1"
aws.keypair_name = "orenokey"
aws.ami = "ami-4985b048"
aws.instance_type = "t2.micro"
aws.subnet_id = "subnet-orenosubnet"
aws.associate_public_ip = true
aws.security_groups = [
"sg-orenosecuritygroup",
]
override.ssh.username = "ec2-user"
override.ssh.private_key_path = "~/path/to/orenokey.pem"
config.vm.synced_folder ".", "/vagrant", disabled: true
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment