https://github.com/smudger/server-provisioning
https://github.com/smudger/server-provisioning
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/smudger/server-provisioning
- Owner: smudger
- Created: 2017-07-24T13:46:24.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-25T23:31:56.000Z (almost 8 years ago)
- Last Synced: 2025-01-18T10:44:46.470Z (5 months ago)
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Server Provisioning (ansible/aws)
Basic server provisioning tool for AWS instances running RedHat.## Getting Started
1. Create your AWS instance running RedHat.
* Ensure that your security group allows TCP connections to port 22 and a custom port you like.
2. Configure `hosts.example` and copy to `/etc/ansible/` as `hosts`.
* Replace `< ip address >` with the public ip of your AWS instance.
3. Configure `group_vars/aws.yml.example` and copy to `group_vars/aws.yml`.
* Replace `< user >` with the user you would like ansible to use.
* For AWS RedHat instances, this is normally `ec2-user`.
* Replace `< path to key >` with the path to your `.pem` file.
* Replace `< port >` with the custom port you set up for your security group.
4. Run using `ansible-playbook main.yml`.