- Init Terraform state in terraform directory:
cd terraform && terraform init
- Set the right region on
terraform/main.tf
- Set vpc & subnet ids and ssh key pair name on
terraform/terraform.tfvars
- Apply infrastructure changes:
terraform apply
- Note the ip address for the new servers
- Add ips to Ansible inventory on
ansible/inventory/hosts.ini
- Configure Janus server using ansible:
cd ../ansible && ansible-playbook -i inventory/hosts.ini janus.yml
- Configure Coturn server using janus:
ansible-playbook -i inventory/hosts.ini coturn.yml
(9). (Deploy the app in the s3)