RMU build Gen-1.5: II. Teleport - C. Share RMU Services Via Teleport

From Internet Computer Wiki
Revision as of 20:25, 23 February 2024 by Katie.peters (talk | contribs) (Created page with "Ref: https://www.youtube.com/watch?v=cvW4b96aPL0 You can use proxmox to open separate shell windows to make copying/pasting between them easier. ===On the <code>teleport</co...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Ref: https://www.youtube.com/watch?v=cvW4b96aPL0

You can use proxmox to open separate shell windows to make copying/pasting between them easier.

On the teleport server:

  1. Create a short lived token to “invite” the Proxmox application. Be sure to edit the <dc> portion in the following command
    • sudo tctl tokens add --type=app,node --app-name=<dc>-proxmox-webui --app-uri=https://localhost:8006
    • Take note of the token and ca_pin values

On the rmu server:

  1. Install pre-req packages:
    • apt update -y && apt upgrade -y && apt install sudo -y
  2. Install the teleport agent:
  3. create the teleport application config:
    • Ensure that the proxy is pointed to your teleport domain name in the following command
    • Ensure that —-app-name has the correct data center code (dc) code in the following command (IE tp1, bu1, dl1, etc)
    • sudo teleport configure --output=file --proxy=teleport.<domain name>:443 --token=/var/lib/teleport/token --roles=app,node --app-name=<dc>-proxmox-webui --app-uri=https://localhost:8006
      • Screenshot 2023-12-20 at 11.17.14 AM.png
  4. Save the token generated on the Teleport server:
    • sudo vi /var/lib/teleport/token
      • Screenshot 2023-10-30 at 3.36.42 PM.png