Skip to content

Latest commit

 

History

History
70 lines (44 loc) · 1.42 KB

README.md

File metadata and controls

70 lines (44 loc) · 1.42 KB

OpenRMF at AWS

This project provisions an EC2 server with the OpenRMF software running on it.

See Caution section below.

2020-Jun-18 - The project is based on OpenRMF Core OSS 1.0.

Security

When provisioning the server, the RMF Admin password will be displayed in the output.

Please manually change the admin password for keycloak. It is hardcoded in the OpenRMF project.

Links

Create PKI Public Key

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

Initialization

  • 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

Caution

In order to make this automation work, I needed to provide my own versions of two files. These are setup-realm-linux.sh and docker-compose.yml from the OpenRMF zip file. This makes this project brittle.