Skip to content

Commit 2623cee

Browse files
committed
Support AWS in addition to VirtualBox
1 parent 6c72021 commit 2623cee

2 files changed

Lines changed: 29 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
data/provisioning.txt
88
data/packages/*
99
!data/packages/README.md
10+
/.idea

Vagrantfile

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,34 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
2020
vb.gui = true
2121
end
2222

23+
config.vm.provider :aws do |aws, override|
24+
aws.access_key_id = ""
25+
aws.secret_access_key = ""
26+
aws.keypair_name = "vagrant"
27+
28+
29+
# http://cloud-images.ubuntu.com/locator/ec2/
30+
aws.ami = "ami-ecda6c84" # ubuntu 12.04 64
31+
32+
# This one is a 2 years old experiment so it might not be so good
33+
# http://cloud.ubuntu.com/2012/05/ready-to-try-arm-on-the-cloud-try-it-on-amazon-ec2/
34+
# aws.ami = "ami-aef328c7" # ubuntu 12.04 arm image
35+
36+
37+
38+
aws.region = "us-east-1"
39+
aws.instance_type = "m3.medium"
40+
41+
aws.security_groups = ["Widely open"]
42+
aws.tags = {
43+
'Name' => 'x2go',
44+
}
45+
override.ssh.username = "ubuntu"
46+
override.ssh.private_key_path = "/home/ali/Downloads/vagrant.pem"
47+
override.vm.box = "dummy"
48+
override.vm.box_url = "https://github.com/mitchellh/vagrant-aws/raw/master/dummy.box"
49+
end
50+
2351
# Disable automatic box update checking. If you disable this, then
2452
# boxes will only be checked for updates when the user runs
2553
# `vagrant box outdated`. This is not recommended.

0 commit comments

Comments
 (0)