manual update PRs

This commit is contained in:
Mik-TF
2024-05-14 18:05:21 -04:00
parent 6af3393b83
commit b723cf3c70
7 changed files with 57 additions and 4 deletions

View File

@@ -8,6 +8,7 @@ In this section, we delve into sophisticated topics and powerful functionalities
- [Cancel Contracts](cancel_contracts.md)
- [Contract Bills Reports](contract_bill_report.md)
- [Listing Free Public IPs](list_public_ips.md)
- [Cloud Console](cloud_console.md)
- [Redis](grid3_redis.md)
- [IPFS](ipfs_toc.md)
- [IPFS on a Full VM](ipfs_fullvm.md)

View File

@@ -0,0 +1,33 @@
<h1> Cloud Console </h1>
<h2>Table of Contents</h2>
- [Introduction](#introduction)
- [Overview](#overview)
- [Connect to Cloud Console](#connect-to-cloud-console)
---
## Introduction
Cloud console is a tool to view machine logging and interact with the machine you have deployed. We show the basics of cloud-console and how to access it via a browser during deployment.
## Overview
Cloud console always runs on the machine's private network ip and port number equla to `20000 +last octect` of machine private IP. For example if the machine ip is `10.20.2.2/24`, this means that `cloud-console` is running on `10.20.2.1:20002`.
For the cloud-console to run we need to start the cloud-hypervisor with option "--serial pty" instead of tty, this allows us to interact with the vm from another process, `cloud-console` in our case.
## Connect to Cloud Console
You can easily connect to cloud console on the TFGrid.
- Deploy a VM on the TFGrid with the WireGuard network
- Set the WireGuard configuration file
- Start the WireGuard connection:
```
wg-quick up wireguard.conf
```
- Go to your browser with the network router IP `10.20.2.1:20002` to access cloud console.
> Note: You might need to create a user/password in the VM first before connecting to cloud-console if the image used does not have a default user.