Doc for Testing

Updated on 02 April 2026

Images

You can pass the cloud-init script:

Be careful: the parameters will be reset immediately, without additional confirmation.

  • When you create a new server. The cloud-config parameters will be applied during installation.

Image5

Image1

  • At the reboot. In this case, you can pass the script in the Plan section and then reboot the server. For the parameters to apply, you must restart the system with the command: cloud-init clean --reboot.

Image2

Banner A

Code blocks

The file must begin with the #cloud-config in the first line.

SQL

CREATE TABLE `students` (
    id INT INT PRIMARY KEY COMMENT "Student ID",
    name VARCHAR(200) NOT NULL COMMENT "Student's full name",
    access_rights ENUM ('full', 'extended', 'basic', 'denied') DEFAULT 'basic' COMMENT "Access Rights",
    userpic BLOB COMMENT 'Student Photo',
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT "Enrollment Date"
) ENGINE = InnoDB;

PHP

<?php

// Connecting the configuration file 
require_once dirname(__FILE__) . '/config.php';
// Filling the array with data
$students = [
     [
        'name' => 'John Smith,
        'access_rights' => 'basic',
        'userpic' => file_get_contents(dirname(__FILE) . '/userpic/1.png')
    ],
    [
        'name' => 'Juan Hernandez',
        'access_rights' => 'full',
        'userpic' => file_get_contents(dirname(__FILE) . '/userpic/2.png')
    ],
    [
        'name' => 'Richard Miles',
        'access_rights' => 'extended',
        'userpic' => file_get_contents(dirname(__FILE) . '/userpic/3.png')
    ],
];

$sql_statement = 'INSERT INTO students (`name`, `access_rights`, `userpic`) '; $sql_statement .= 'VALUES (:name, :access_rights, :userpic);'

foreach($students as $student)
{
    $query = $pdo->prepare($sql_statement);
    $query->execute($student);
}

echo "done";
  • Ubuntu:
sudo apt install something
  • Debian:
sudo apt install something
  • Arch:
sudo pacman -S something
  • Fedora:
sudo dnf install something
Banner B

Table

auto_increment_offset

1–65535

1

innodb_io_capacity

100–4294967295

1500

innodb_purge_threads

1–32

4

innodb_read_io_threads

1–64

4

innodb_thread_concurrency

0–1000

0

innodb_write_io_threads

1–64

4

innodb_log_file_size

4194304–274877906944

214748365

join_buffer_size

128–18446744073709551488

67108864

max_allowed_packet

1024–1073741824

16777216

max_heap_table_size

16384–18446744073709550592

16777216

max_connections

1–100000

49

sql_mode

See documentation

sort_buffer_size

32768–18446744073709551615

14680064

Banner C

List

The basic database plan (1 CPU / 1 GB RAM / 20 GB NVMe) has the following technical limitations:

  • Additional databases cannot be added
  • Additional users cannot be added
  • The following parameters cannot be configured:
    • innodb_buffer_pool_size
    • sort_buffer_size
    • max_connections
    • join_buffer_size
Banner D
Was this page helpful?
Updated on 02 April 2026

Do you have questions,
comments, or concerns?

Our professionals are available to assist you at any moment,
whether you need help or are just unsure of where to start.
Email us
Hostman's Support