The example provisions resources for both the server and client on AWS
For this demo you will need to have a pre-existing hosted zone on AWS route 53
cd terraform
terraform apply -var route53_zone_name=< The name of your route53 hosted zone >
The process will produce two outputs you will need in the next step
- Inlets server FQDN
terraform output -raw server_url
inventory.yml
file for the Ansible deployment
As part of the provisioning process, terraform creates a key pair to allow you to connect to your server.
Terraform will then store the private key inlets.pem
in the terraform directory.
The same key is used by Ansible
Once all cloud resources are provisioned use Ansible to deploy inlets.
The Ansible playbook requires the inlets_license
variable. Create a values.yml
file:
inlets_license: < Inlets License string>
cd ansible
ansible-playbook -i ../terraform/inventory.yml -e @values.yml playbook.yml
https://< server_url >