charsyam / the_red_infra

the red infra
Apache License 2.0
39 stars 25 forks source link

the_red_infra

the red infra

흔히 하는 질문

Q/A

setup

sudo apt update
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev \
libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev \
libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python-openssl
    git clone https://github.com/charsyam/the_red_infra
    ./install_pyenv.sh
    source ~/.bashrc
    ./install_python.sh
    install_ansible_password.sh    
    install_terraform.sh    

apply ansible: geoip

    ansible-playbook -i aws the_red_1_base.yml
    ansible-playbook -i aws the_red_2_geoip.yml
    ansible-playbook -i aws the_red_2_lb.yml

apply ansible: monitor(prometheus + grafana)

    ansible-playbook -i aws the_red_1_base.yml
    ansible-playbook -i aws the_red_2_monitor.yml

apply ansible: ngrinder

    ansible-playbook -i aws the_red_1_jvm.yml
    ansible-playbook -i aws the_red_2_ngrinder.yml

Ansile Reference