Skip to content

Commit

Permalink
resolves espenak#12, add documentations
Browse files Browse the repository at this point in the history
  • Loading branch information
chocobn69 committed Apr 10, 2014
1 parent 9933d64 commit ce7a539
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/awsfab_settings_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@
'tags': {
'awsfab-ssh-user': 'ubuntu'
},
'user_data': user_data_example
'user_data': user_data_example,
# If you want to use Amazon VPC, you can add subnet_id
'subnet_id': 'subnet-xxxxxx'
}
}

Expand Down
7 changes: 7 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,13 @@ where ``<nametag>`` is the name you want to tag your new instance with. You
will be asked to choose a config from ``EC2_LAUNCH_CONFIGS``, and to confirm
all your choices before the instance in created.

Note that you can add subnet_id in configuration to use Amazon VPC instead of classic ec2 instance.
Then you have to specify wich way you want to connect to your instance with a specific 'access_vpc' tag.
Options are :

- 'vpn' : connect via local ip, assuming you're connected to Amazon VPN (ipsec).
- 'public' : connect via elastic static ip, assuming you attached it on the instance before.


More task-examples
==================
Expand Down

0 comments on commit ce7a539

Please sign in to comment.