Deploy Terraform + Ansible Playbook with UpCloud infrastructure
01 May 2021 #script
Example deployment with Terraform + Ansible: load balancer and 2 web servers connected through SDN using a Debian template.
Example deployment with Terraform + Ansible: load balancer and 2 web servers connected through SDN using a Debian template.
This is a first draft but has been tested. The script will create a user, update your system, install LAMP, set up the firewall, create a MySQL database, download and configure the latest WordPress, and create an Apache virtual host automatically. All you need to do is the following:
Read more...adduser user
usermod -aG sudo usermysql -u root -p
SELECT host, user, authentication_string FROM mysql.user;Basic steps to secure your server from DDoS and brute-force attacks.
Creating strong passwords: I would recommend using a browser extension as a password generator.