Clone this repository in your local machine:
git clone https://github.com/vmleon/oci-multiplayer.git
Change directory to the oci-multiplayer
:
cd oci-multiplayer
Change to directory deploy/vm/terraform
:
cd deploy/vm/terraform
Copy the template for the terraform variables:
cp terraform.tfvars.template terraform.tfvars
Edit the variables values:
vim terraform.tfvars
You have to modify:
tenancy_ocid
from your OCI tenancycompartment_ocid
the compartment you want, or root compartment (that is thetenancy_ocid
)ssh_public_key
with your public SSH key, usually in~/.ssh/id_rsa.pub
Run the script:
./start.sh
The final output will show the Public IPs.
Copy and paste the lb_public_ip
IP address on your browser.
Destroy all the infrastructure:
./stop.sh