49 lines
2.1 KiB
Markdown
49 lines
2.1 KiB
Markdown
|
# Micro Virtual Machine
|
||
|
|
||
|
<div class="youtubeVideoWrapper">
|
||
|
<iframe title="How to Deploy a Full VM on the ThreeFold Playground" width="560" height="315" src="https://www.youtube-nocookie.com/embed/MDSIBkcYdqg" frameborder="0" allowfullscreen="" sandbox="allow-same-origin allow-scripts allow-popups"></iframe>
|
||
|
</div>
|
||
|
|
||
|
Deploy a new virtual machine on the Threefold Grid
|
||
|
|
||
|
- Make sure you have a [wallet](./wallet_connector.md)
|
||
|
- Click on the **Micro Virtual Machine** tab
|
||
|
|
||
|
__Process__ :
|
||
|
|
||
|
![ ](../playground/img/vm.png)
|
||
|
|
||
|
- Fill in the instance name: it's used to reference the VM in the future.
|
||
|
- Choose the image from the drop down (e.g Alpine, Ubuntu) or you can click on `Other` and manually specify the flist URL and the entrypoint.
|
||
|
- Select a capacity package:
|
||
|
- **Small**: {cpu: 1, memory: 2, diskSize: 25 }
|
||
|
- **Medium**: {cpu: 2, memory: 4, diskSize: 50 }
|
||
|
- **Large**: {cpu: 4, memory: 16, diskSize: 100}
|
||
|
- Or choose a **Custom** plan
|
||
|
- Choose the network
|
||
|
- `Public IPv4` flag gives the virtual machine a Public IPv4
|
||
|
- `Public IPv6` flag gives the virtual machine a Public IPv6
|
||
|
- `Planetary Network` to connect the Virtual Machine to Planetary network
|
||
|
- `Wireguard Access` to add a wireguard acces to the Virtual Machine
|
||
|
- `GPU` flag to add GPU to the Virtual machine
|
||
|
- `Dedicated` flag to retrieve only dedicated nodes
|
||
|
- `Certified` flag to retrieve only certified nodes
|
||
|
- Choose the location of the node
|
||
|
- `Country`
|
||
|
- `Farm Name`
|
||
|
- Choose the node to deploy the Virtual Machine on
|
||
|
|
||
|
![](./img/nixos-micro2.png)
|
||
|
* In the section `Environment Variables`, you can add any environment variables that the machine might need
|
||
|
|
||
|
![](./img/nixos-micro3.png)
|
||
|
|
||
|
* In the section `Disks`, You can attach one or more disks to the Virtual Machine by clicking on the Disks tab and the plus `+` sign and specify the following parameters
|
||
|
- Disk name
|
||
|
- Disk size
|
||
|
|
||
|
in the bottom of the page you can see a list of all of the virual machines you deployed. you can click on `Show details` for more details
|
||
|
|
||
|
![](./img/vm_list.png)
|
||
|
You can also go to JSON tab for full details
|
||
|
![ ](../playground/img/vm_json.png)
|