This is an assessment of fully automated deployment of Wordpress app and Netdata to AWS using Terraform, Ansible and shell script or using Vagrant, Ansible for local environment.
- Install Terraform
- Install Ansible
- Install awscli
- Configure awscli with key and secret (
aws configure
) - Install Vagrant
- git clone https://github.com/thienngho/terraform-wordpress.git
- cd terraform-wordpress
./deploy.sh --app=<app_name> --environment=<environment>
./deploy.sh --app=wp --environment=dev
rm ansible-key* && terraform destroy ./terraform
vagrant up --provision
Wordpress site: http://192.168.50.2
Netdata site: http://192.168.50.2/netdata