terraform-openam
Terraform scripts to provision openam, opendj and haproxy docker images to AWS
Docker images:
https://hub.docker.com/u/rustemsuniev/
Base image is CoreOS t2.micro
- Install Terraform - https://www.terraform.io/
- Update variables.tf with the information about your private AWS key
- Update variables.tf with your public IP
- Copy the private key to this folder and change the permissions on the file. Example
chmod 400 mykey.pem
- Run:
terraform apply
- After provision is complete you should be able to see the public IP address of the haproxy
- Add this IP to your hosts file. Example 51.48.56.132 openam.example.com
- Type http://openam.example.com/openam to go to openam admin console
To ssh into a box use: ssh -i "mykey.pem" core@PUBLIC_IP_OF_THE_BOX
To get access to a docker image use: docker exec -it CONTAINER_NAME bash
To clear everythig run: terraform destroy --force