Last active
September 22, 2015 15:12
-
-
Save namabile/336ac09fc61b1d42c4eb to your computer and use it in GitHub Desktop.
ec2 Vagrantfile
This file contains hidden or 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
# vi: set ft=ruby : | |
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_KEY_ID"] | |
aws.secret_access_key = ENV["AWS_SECRET_ACCESS_KEY"] | |
aws.keypair_name = "devenv-key" | |
aws.security_groups = ["devenv-sg"] | |
aws.region = "us-east-1" | |
aws.instance_type = 'm3.medium' | |
aws.ami = "ami-d05e75b8" | |
override.ssh.username = "ubuntu" | |
override.ssh.private_key_path = "~/.ssh/devenv-key.pem" | |
end | |
config.vm.provision "chef_zero" do |chef| | |
chef.roles_path = "../azure_development_vm/roles" | |
chef.add_role("base") | |
chef.add_role("hadoop_nn") | |
chef.add_role("hadoop_dn") | |
chef.add_role("spark_master") | |
chef.add_role("spark_worker") | |
chef.add_role("kafka") | |
chef.add_role("tachyon_master") | |
chef.add_role("tachyon_worker") | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment