First step:
install 'install-with-keepalived.sh'
Second step:
edit and add on the end:
vim /etc/sysctl.conf
net.ipv4.ip_nonlocal_bind = 1
Third step:
permission:
sudo chmod +x /opt/check_nginx.sh
Fourth step
create a new file or copy from this repo, it's for keepalived service:
/etc/keepalived/keepalived.conf
restart keepalived service and nginx
...
First step:
you need to install and understand AWS CLI...