https://github.com/diptochakrabarty/ansible-aws-apache-storm
Ansible Playbook and Role to Setup a Apache Storm Cluster in AWS. Fully automated only configuration requirements needed.
https://github.com/diptochakrabarty/ansible-aws-apache-storm
ansible ansible-galaxy ansible-playbook ansible-role ansible-roles apache apache-sto aws aws-ec2 ec2 python-3 virtualenv
Last synced: about 1 month ago
JSON representation
Ansible Playbook and Role to Setup a Apache Storm Cluster in AWS. Fully automated only configuration requirements needed.
- Host: GitHub
- URL: https://github.com/diptochakrabarty/ansible-aws-apache-storm
- Owner: DiptoChakrabarty
- License: mit
- Created: 2020-04-21T18:13:07.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-01-26T07:28:37.000Z (over 4 years ago)
- Last Synced: 2025-02-08T23:11:46.963Z (over 1 year ago)
- Topics: ansible, ansible-galaxy, ansible-playbook, ansible-role, ansible-roles, apache, apache-sto, aws, aws-ec2, ec2, python-3, virtualenv
- Language: Jinja
- Homepage:
- Size: 14.5 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS-Apache-Storm
## About the Project
Setup a full Apache Storm Cluster in AWS to perform realtime computation using Ansible. Edit configuration required by user and run playbook.
Ansible will take care of all setup , define number of worker and nimbus nodes required and additional configuration in roles developed.
## How to Run
- Add you aws pem key to ssh
```sh
ssh-add
change private_key_file path in ansible.cfg with your private key path
```
- Activate virtualenvironment first
```sh
source /venv/bin/activate
```
- Add python interpreter path in hosts file
```sh
which python3
add output in python_interpreter in hosts file
Also install boto3 and boto
```
- First add your keys in vault file
```sh
ansible-vault edit key.yml
password: storm
Add AWS keys
Also add security group name you want
Key is to be present from before
```
- Run playbook using
```sh
ansible-playbook --vault-password-file=".password" -i ./hosts ec2.yml
```
## Description of Roles
```sh
- There are two roles present
* storm
* zookeeper
- Nimbus node both the roles are utilised
- Worker nodes only zookeeper role is used
```
