Run a production-ready EJBCA docker container using Terraform and a Nginx reverse proxy. Optionally, setup the nginx reverse proxy with ansible.
Other deployement scenario are covered elsewhere:
Full instruction for the docker container can be found on Docker Hub.
For this example you will need:
- Nginx reverse proxy as a front-end. Use main.yaml ansible playbook to install and setup Nginx if it's not installed yet.
- Terraform
- Ansible (Optional)
git clone https://github.com/HarimbolaSantatra/ejbca-terraform.git
cd ejbca-terraform
cp example.tfvars.sample production.tfvars
cp inventory.ini.sample inventory.ini
ansible-playbook -i inventory.ini main.yaml -K
terraform init .
terraform apply -var-file production.tfvars
- Support nginx container and bare metal installation