This project provisions an EC2 server with the OpenRMF software running on it.
You'll need an EC2 key pair in order to SSH into the server and to let Ansible run its playbooks. After creating a key pair, generate a public key using the following command:
ssh-keygen -y -f $HOME/Downloads/pem/openrmf.pem > $HOME/Downloads/pem/openrmf.pub
- Copy the variable example file.
cp variables.tf.example variables.tf
-
Setup
variables.tf
. Make sure to update these variables:- aws_profile
- pki_private_key
- rmf_admin_password
- subnet_id
- vpc_id
-
Terraform
terraform init
terraform apply
- SSH to the EC2 server.
./ssh-to-server.sh
- Visit the Keycloak web page.
./open-keycloak-page.sh
- Visit the OpenRMF web page.
./open-openrmf-page.sh