Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/willis7/aws-devops-bootstrap
Bootstrapped project for working with AWS using Vagrant and Ansible
https://github.com/willis7/aws-devops-bootstrap
ansible aws provision vagrant
Last synced: about 20 hours ago
JSON representation
Bootstrapped project for working with AWS using Vagrant and Ansible
- Host: GitHub
- URL: https://github.com/willis7/aws-devops-bootstrap
- Owner: willis7
- License: mit
- Created: 2015-05-10T11:17:09.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-01T17:38:56.000Z (over 9 years ago)
- Last Synced: 2024-04-24T12:07:00.368Z (8 months ago)
- Topics: ansible, aws, provision, vagrant
- Size: 127 KB
- Stars: 10
- Watchers: 0
- Forks: 1
- 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 provision an EC2 instance: `vagrant up`
* Stop the instance: `vagrant halt`
* Terminate the instance: `vagrant destroy`## License
MIT