Create a GPU VM

On the VM creation page ( AI InfrastructureGPU Virtual machinesCreate virtual machine), set the VM configuration:

Step 1: VM flavors and images

  1. VM Name: Enter a unique name for your GPU virtual machine.

  2. Flavor: Select a VM configuration that meets your needs, including vCPU, RAM, storage, and GPU count. Currentlly we only provide GPU NVIDIA H100 SXM5 in Vietnam, NVIDIA H200 SXM in Japan and Local Storage NVME

  3. OS Image: Only FPT public images (Ubuntu-based) is supported

Step 2: Access VMs

  • Auto assign static IP: A static public IP address is randomly allocated from the IPv4 public range of FPT AI Factory.If you stop a VM that has a static IP address, the address will not return to the range. However, if you delete this VM, the address will return.

  • Exposed ports: Define the network ports that will be accessible for communication with your virtual machine.

  • Security group: Assign a security group to manage inbound and outbound traffic for the virtual machine.If you use the default security group, all inbound and outbound traffic is allowed for this VM. We recommend updating rules to restrict access to trusted IPs and the above exposed ports only (e.g., SSH 22, RDP 3389, HTTP/HTTPS).

Step 3: Set Authentication Method

Choose one of the following authentication methods:

  • SSH Key:The system automatically uses your latest SSH key (you can change it if needed).

  • Password:Set a password and securely store it for console access.

Step 4: User Data (Cloud-init Script) (Optional)

The User Data field allows you to add cloud-init scripts.When the VM starts, cloud-init reads metadata and automatically configures the system — including users, SSH keys, and network settings.

Sample Cloud-init Script: With the provided script, the system will automatically create the user "testcloudinit" with the password "Abc123". Another user, "testcloudinit2", will be created with the password "P@ssw0rd!".

# cloud-config users: - name: testcloudinit sudo: ALL=(ALL) NOPASSWD:ALL lock_passwd: false shell: /bin/bash passwd: $6$rounds=4096$V6anciWl30$xKbcljqks1gUkMiM80pyKzhvyhn7U1n.jXcGCUfkUlX.rnllUWKUrmDEzekhhhP8aERSylRuC7gfDhJ32Xv0A1 - name: testcloudinit2 groups: sudo lock_passwd: false shell: /bin/bash plain_text_passwd: P@ssw0rd! - hostname: testcloudinit

Step 5: Create the VM

Click Create GPU Virtual machine to deploy and start your GPU VM.

Once the VM is created successfully, you can view its details in the VM list page.

"Not enough resources" error

Sometimes, demand for virtual machines and GPUs in certain FPT AI Factory regions might be higher than the available supply. When this happens, you might see a "Not enough resources" error when creating or restarting VMs in the affected region.

Last updated