//TODO add info about license files
-
Setup certs in resources/dockerCert
- ca.pem: A ca cert that signed the other certs
- cert.pem & key.pem: Public and private keys to be used by docker client
- server-cert.pem & server-key.pem: Public and private keys to be used by docker server. Should be setup for domain name: docker.domain.se
-
Set up an AWS account with high (admin) privileges in an ISOLATED test account WITH NO VITAL SETUPS
- Get Access Key and Secret Key for the account
- Update aws_credentials in Environments/Terraform/variables.tf
-
Make sure you have a valid public SSH key in ~/.ssh/id_rsa.pub
- Or update ssh-public-key-local-path in Environments/Terraform/variables.tf
-
Update trusted-external-ips in Environments/Terraform/variables.tf
- This should normally be set to your external ip, check for example: https://whatismyipaddress.com
-
Go to Environments/Terraform and run terraform apply
- Note the "Hosts-record" output, this needs to be added to your /etc/hosts