Creating a Custom Template from LayerStack VM
Templates allow you to manually create a point-in-time image based on the current state of a cloud server and can later be used to create new cloud servers with the same contents of the template.
Templates are retained as long as you have cloud servers in your account, or until manually deleted. You can restore a cloud server back to the point in time when a template was made.
Creating an manual template can take several minutes, depending on the size of your cloud server and data you have stored on it.
Importing a Custom VM Template
Make use of the VM Import feature to import virtual machine (VM) image from your own virtualization environment via LayerPanel portal which can then be used to install your new Cloud servers. Importing an image of your already existing VM to install your new server enables you to save time and your investment that is required for setting up the server with your own custom configuration and security settings for the server.
The VM images that we currently support include VMDK, RAW, VDI, VHDX and QCOW2.
Templates are available for all cloud servers.
Role | Permissions |
---|---|
Owner | Create Templates, View Templates, Restore from Template, Deploy Cloud Server from Template, Delete Templates |
Member | Not Available |
Billing Member | Not Available |
Billing Admin | Not Available |
Create Custom Template
You can create Custom Template in 2 ways: One is by creating from LayerStack Cloud Servers and the other one by importing VM using your own VM image file.
Log in to LayerPanel, go to the Services section and click Cloud Servers button, and then click on the Cloud Servers you want to use VM image file.
Click the Template button.
Click the Upload option and you will see 3 options here.
Choose URL:
File Location: Input the HTTP download URL
File Name: Input your name of VM image file (E.g CentOS8)
Example: http://xxx.com/pub/Linux/centos/8/xxx.iso
NOTE: If your template file is in FTP server, you need to use FTP method and change URL from http:// to ftp://.
Example:
http://ftp.xxx.hk/pub/Linux/centos/8/xxx.iso
change to
ftp://ftp.xxx.hk/pub/Linux/centos/8/xxx.iso
Choose FTP:
File Location: Input the FTP directory path
File Name: Input your name of VM image file (E.g CentOS8)
FTP Login: Input your FTP login username
FTP Password: Input your FTP password
Example: ftp://ftp.xxx.hk/pub/Linux/centos/8/xxx.iso
Choose Google Drive Link:
File Location: Input the HTTP download URL
File Name: Input your name of VM image file (E.g CentOS8)
Example: https://drive.google.com/file/xxx/view?usp=sharing
NOTE: Make sure to select the option of Public on the web because the connection is public between your computer and our server.
Select File Format of your VM image file (E.g. vmdk, raw, vdi, vhdx and qcow2), and then click Upload for the file upload process.