Guide – How To Start – VM with OpenClaw AI Agent Gateway on Ubuntu 24.04 LTS on Amazon

Connecting and configuring OpenClaw AI Agent Gateway on Ubuntu 24.04 LTS

After purchasing and starting the VM, you should know its IP address. You can find it in Amazon’s personal account.

To connect to the Server, you should generate a “Private Key” in advance. This can be done using the following instructions (by choosing the “file format:” option “.ppk” in point 3) Guide – How To – Create and use Key Pair to connect to a VM

  1. Connecting to the VM using the PuTTY application. You can download it at the following link – Download
    1. Go to the section SSH on the left panel, and then to Auth
  1. In the “Auth” section, click “Browse” and specify the path to the .ppk file you received earlier.
  1. Go to the home page of “Session”, enter the IP address of the VM, and click “Open”.
  1. In the opened console, you will need to enter the login ubuntu.
  1. Create a new session running the command

$tmux new -s my_openclaw

  1. To run the server without configuring, use the following command 

$openclaw gateway –port 18789 –allow-unconfigured

  1. Or you can adjust the server using 

$openclaw configure

  1. And then start the server with a custom configuration

$openclaw gateway –port 18789

  1. Leave the session running in the background and detach the session by typing “ctrl+b”, then “d”.
  1. Type command $openclaw dashboard

Copy and save the URL http://localhost:18789/#token…...

  1. Type the command $exit to disconnect the VM
  1. Now you should set up the SSH tunnel. Run the PuTTY application
    1. Enter the IP address of the VM in the Host Name (or IP address) field
  1. Go to Connection -> Data and enter ubuntu in the Auto-login username field
  1. Go to Connection -> SSH -> Auth -> Credentials (or just Auth in older versions). Click Browse… and select your .ppk file
  1. Go to Connection > SSH > Tunnels and enter 18789 (1) in the Source Port field and 127.0.0.1:18789 (2) in the Destination field. Ensure Local (3) and Auto (4) are selected.
  1. Click Add (1). You should see L18789 127.0.0.1:18789 appear in the Forwarded ports (2) list. 
  1. Click Open to start the tunnel. Keep the PuTTY terminal window open while you use the tunnel.
  1. Paste the URL from step 5 into your browser. The start page will open

Now you can use our well-prepared OpenClaw AI Agent Gateway on Ubuntu 24.04 LTS.

Example of using the OpenAI key

  1. Connect to the VM via SSH (point 1 from the previous section)
  1. Enter command $openclaw onboard –auth-choice openai-api-key and follow the instructions
  1. Add the OpenAI API key when prompted

Useful information

Check the current OpenCLAW version

$openclaw -V

Update OpenClaw and inspect the update channel status

$openclaw update

You can get full help by entering

$openclaw –help

Get more with Web – OpenClaw

Website Built with WordPress.com.

Up ↑