/oci-lab

Primary LanguageHCLApache License 2.0Apache-2.0

oci-lab

Project will provide easy way to setup "home lab" using free resources from Oracle Cloud.

Result of experiment

This cloud solution is completely unstable and very hard to use. I would advise to buy a bunch of raspberry PIs rather than use this solution. Support is non-existent and documentation needs some improvements.

At the end I decided to use free resources to provision gitlab runner to build arm based images.

Setup

  1. Create env file in root contining private identificators using env.sample
  2. Go to terraform directory
  3. Source env: . ../env
  4. terraform init -backend-config="bucket=${TF_BACKEND_BUCKET}"

Run

  1. Go to terminal
  2. Source env: . ../env
  3. tf plan
  4. tf apply

Connect to ssh

  1. Configure on local machine:
    Host *
      HostkeyAlgorithms +ssh-rsa
      PubkeyAcceptedAlgorithms +ssh-rsa