Skip to content

CommanderK5/vagrant-aws-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vagrant aws example

Example Vagrantfile with vagrant-aws plugin

Require:

vagrant vagrant-aws plugin

Tested on Vagrant 1.7.4, vagrant-aws (0.6.0)

Usage:

Rename configuration.yaml.template

cp configuration.yaml.template configuration.yaml

AWS access/secret keys

aws.access.key_id: 'AABBCCDDEEFFGG'
aws.secret_access_key: 'aabbccddeerrffddssaaxxccvvbbgghhjj'

Add nodes:

nodes:
  node01:
    hostname: 'node01.aws.local'
    tags:
      Name: 'node01.aws.local'
      Role: 'master'
    secGroup: 'default'
    instance_type: 't1.micro'
  node02:
    hostname: 'node02.aws.local'
    tags:
      Business Unit: 'Corporate'
      Name: 'node02.aws.local'
      Role: 'slave'
    secGroup: 'default'
    instance_type: 't1.micro'

Run: vagrant up --provider=aws or vagrant up --provider=aws node01.aws.local

About

Vagrant aws example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published