Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/willis7/ansible-up-n-running
https://github.com/willis7/ansible-up-n-running
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/willis7/ansible-up-n-running
- Owner: willis7
- License: mit
- Created: 2015-06-22T15:30:12.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-22T16:11:50.000Z (over 9 years ago)
- Last Synced: 2024-04-24T12:07:00.232Z (9 months ago)
- Language: Nginx
- Size: 121 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS DevOps Bootstrap
Bootstrapped project for working with AWS using Vagrant and Ansible.## Security
Do not save your AWS access key/secret key inside your provisioning scripts. Set them using enviornment variables as shown below.
```
export AWS_ACCESS_KEY="AKXXXXXXXXXXXXXXX"
export AWS_SECRET_KEY="XXXXXXXXXXXXXXXXXXXXXXXXXX"
```
This bootsrap expects a `WebServerSG` security group to be present in your AWS configuration. Follow [these](https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Scenario3.html#SecurityGroups-3) instructions to set up the same group.## Usage
### Pre-requisites
* [Vagrant](https://docs.vagrantup.com/v2/installation/)
* [Vagrant AWS plugin](https://github.com/mitchellh/vagrant-aws)
* [Ansible](http://docs.ansible.com/intro_installation.html)### The Commands
Then you can control the instance with the following:
* To privision an EC2 instance: `vagrant up`
* Stop the instance: `vagrant halt`
* Terminate the instance: `vagrant destroy`## License
MIT