# Machine Usage

## **What is Dev Cloud?**

1. **VM-based server**: Dev Cloud operates as a virtual machine (VM), allowing users to freely configure their desired environment.
2. **Environment setup**: Users can install and configure software and tools to build a personalized development environment according to their needs.
3. **Mount command setup**: You can set up mount commands to easily connect the necessary file systems or disks, making data access convenient.
4. **Network port setup**: Set up the network ports you need to enable smooth communication with external networks. This helps run development and testing environments more efficiently.

<figure><img src="/files/mYY9tPKjIHZVAUhd7T5x" alt=""><figcaption></figcaption></figure>

* You can check and connect to the **pem key** and **connection information** in <mark style="color:blue;">**`[My Page] Dashboard > Rented Machines`**</mark>.

## **PEM KEY File**

1. To use the machine, you must first download the pem key for remote access.

<figure><img src="/files/YI7O2vm4oPrDvZCGU9xB" alt=""><figcaption></figcaption></figure>

2. Click the '**Download PEM Key**' button, and the file will be automatically downloaded.
   * The pem key file can **only be downloaded once.** Please ensure it is downloaded in a secure environment.

<figure><img src="/files/Z6RolPcbZD9b4copcXO1" alt=""><figcaption></figcaption></figure>

3. After downloading, the pem key button will disappear from the dashboard.
   * If you need to download it again, please request assistance from an administrator through the support [channel.](/eng-runyourai/contact.md)

{% hint style="warning" %}
**Wait! Is the pem key not working?**

Check [the solution for pem key errors](/eng-runyourai/tutorial/fixing-pem-key-file-permission-issues.md) and try again.
{% endhint %}

## **Remote Connection Instructions**

<figure><img src="/files/5XZ6b5l0xUoMOKKPrHcQ" alt=""><figcaption></figcaption></figure>

1. Click the '**Connection Information**' button to obtain the basic IP address and SSH information.
   * The IP address will be used for remote access.
2. Click the '**+**' button to create up to 10 additional ports.
3. The available ports include **SSH, HTTP, HTTPS,** and **CUSTOM**.
   * When selecting port types other than CUSTOM, fixed options are provided as follows:

| Type  | Protocol | Port Number |
| ----- | -------- | ----------- |
| SSH   | TCP      | 22          |
| HTTP  | TCP      | 80          |
| HTTPS | TCP      | 443         |

4. When adding CUSTOM ports, the following rules apply:
   * The protocol can be set to either **TCP** or **UDP**.
   * Port numbers can only include numbers and '-' (dash). Only numbers between 0 and 65535 can be used, and duplicates are not allowed.&#x20;
   * You can set a range using '-', and duplicates within the range are allowed (e.g., 35, 25-40).

## **Usage Records**

<figure><img src="/files/RRRDX69wSyTK38vci7G4" alt=""><figcaption></figcaption></figure>

* You can check your usage records by selecting the Dev Cloud toggle in \[<mark style="color:blue;">**`My Page] > Usage Records > Monthly Subscription`**</mark>.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://runyourai.gitbook.io/eng-runyourai/dev-cloud/how-to-use/machine-usage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
