Instance
Arvancloud cloud servers are called instances. These servers are designed with different configurations to meet different user needs. In the Instances section of the Arvancloud panel, you can create and manage instances.
Creating an Instance
To create an instance, log in to the Arvancloud panel and click Cloud Server in the dashboard or the side menu. In this section, select Instance from the Server menu. Then click New Instance to start choosing the resources and details of your cloud server.
Region and AZ
Since Arvancloud has several regions, you can use one of them to create your instance, depending on your needs.
An Availability Zone (AZ) refers to one or more independent physical data centers in a region. By selecting Choose AZ Based on Best Performance, you can see all flavors available in the selected region and choose the most suitable option.
Instance Type and Size
In this step, you need to specify the resources needed to create the instance and allocate them to it. Different instance types, such as Basic, Standard, and Premium, are available for this. You can also use filters to find the right instance based on the number of processors, the amount of RAM, or a price range.
For each size, you can see the resource details, including processor, memory, and disk, as well as their cost.
Choosing the Operating System
In this section, you need to choose an OS for your cloud server. Depending on the features of the Arvancloud panel, the selected operating system can be a custom image uploaded by the user, including the operating system, default applications, and preinstalled software; a snapshot or backup; or one of the images in the Arvancloud Cloud Marketplace.
Disk
Here, specify the instance's storage settings. The root disk is used to store the operating system and keep its main files.
If you need a lot of space for storing data or for backup processes, add more HDD or SSD disks to your service's infrastructure. With these disks, you can create a new partition or drive and attach it to your instance to have more storage space. You can also attach File Storage to the instance in supported regions.
Network
In this section, you can create the instance in the public network or a private network (VPC). Also, if you've already created a private network, you can connect the instance to that network. You can choose the IP version for connecting to the instance from IPv4 and IPv6.
The following guides help you with this:
Security
In this section, you can configure the instance's security settings.
Firewall
You can manage the instance's firewall settings. By default, the Default settings are enabled for the instance.
If you defined firewall settings before creating the instance, you can enable them for the instance in this section. Also, after the instance is created, its firewall settings are available in the Firewall section of the Arvancloud panel.
Access Type
In this step, specify how you access the server: with a password or an SSH key. With the password-based method, you log in to the instance with a username and password. With the SSH key method, you can add your public key to the instance and connect to it more securely with your private key. When you choose password login, a random password is generated after the instance is created and sent to you by email.
Monitoring
When you enable automatic instance monitoring, if a problem occurs on the physical server, the instance is automatically moved to another server and restarted.
Other Settings
In this step, you can manage other settings for your instance. If you don't need to change these settings, you can leave them at their defaults. These settings include the following:
-
Weekly backup
When you enable this option, the instance's data is backed up weekly.
-
Add a cloud database
You can create a cloud database at the same time as creating the instance. Arvancloud manages the database infrastructure, including setup, backups, and updates, so you can spend more time developing your product.
-
Automatic domain assignment
When you enable this option, a free domain is automatically assigned to your instance, and you can use it without any manual configuration.
-
Add an initial script
You can enter a script file or text to run automatically, only once, when the instance is created.
Instance Name and Count
In the last step of creating the instance, you can choose your payment method. The instance's cost is calculated based on the selected payment method. In addition, specify how many instances you need with the settings from the previous steps. You can also assign a name to each instance.
Finally, after reviewing and making any needed changes, click Create Instance.
A new page then shows the information for connecting to the instance, including the username and password. This information is also sent to your email address.
Note that once you close this window, you will no longer have access to the instance login information through the panel.
After the instance is created, you can access your cloud server from the instance list.
Managing Instances
In the instance list of the Cloud Server panel, besides seeing the instances you've created by data center, you can take various actions to manage your instances. These include turning instances on and off, resizing and deleting them, and using Rescue mode.
Also, by clicking the name of each instance or the (...) next to it, you can see its information.
Connecting to the Instance Console
With the Console option next to the instance's name, you can connect directly to the instance.
When you click Console, a new page opens showing the instance's console, and after entering the initial information, you can connect to the instance.
Turning the Instance Off/On and Restarting It
To turn an instance off or on, simply click the off/on option on the instances page and then click Confirm.
When turning off an instance, two options are available:
- Terminate mode: In this mode, after the instance is turned off, only your instance's IP and disk remain reserved in the infrastructure. For this reason, restarting your instances may take longer. Also, while the instance is off, only the cost of the IP and disk is deducted from your wallet.
- Stop mode: In this mode, besides the cost of the disk and IP, the cost of RAM and CPU is also deducted from your wallet, but since all resources remain reserved, your instance starts up and becomes usable quickly as soon as you turn it on again.
To restart an instance, click the actions option (...) in the Instances section of the panel and select Restart from the available options.
Resizing an Instance
After creating an instance, you may need to resize and increase its resources, such as CPU, RAM, and disk space, for reasons such as performance or needing more storage for data. This is called vertical scaling.
To do this, go to Cloud Server and then the instance list in the Arvancloud panel. Select the instance whose resources you want to resize, and then click Resize from the tabs in the middle of the page.
On the page that opens, you can use the predefined plans to change the amount of resources. Note that to resize the instance's resources, you must first turn off the instance.
Creating a Snapshot
A snapshot is a point-in-time image or disk of the instance that can be restored when needed. To take a snapshot of an instance, simply click Create Snapshot in the actions section next to the name of the instance you want to snapshot.
The Snapshot guide helps you with this.
It is recommended that you turn off your instance before taking a snapshot.
The created snapshot can be viewed and managed in the Snapshot section of the Cloud Server panel.
Tagging Instances
With instance tagging, you can easily categorize your different cloud servers. Together with filtering by tag, which is available on the instances page, this lets you manage instances more effectively.
To tag an instance, select Tag Instance from the actions section next to the instance's name.
Then enter the tags you want and click Confirm to assign them to the instance. You can also use your previous tags from the bottom part of this window.
Rescue Mode
If the instance can't boot or you can't log in for any reason, such as technical problems or forgotten login information, you can fix the problem with Rescue mode. To enable Rescue mode, click the actions option next to the instance's name in the Instances section of the Cloud Server panel and then click Rescue Mode.
After this feature is enabled, you can fix the instance's problem with the rescue disk.
Note that after the instance's problem is fixed, you must take it out of Rescue mode.
Deleting an Instance
To delete an instance, simply click Delete Instance in the Instances section of the Cloud Server panel.
On the page that opens, you're asked to confirm the deletion by entering a phrase. You can also share your reason for deleting the instance with us if you like.
When you select Delete Instance, your instance is completely deleted and can't be restored in any way.
This option is necessary in some cases, such as when you want to completely delete a private network. After the instance is deleted, you are still charged for resources used in the Arvancloud infrastructure. To stop these charges, you must also delete all of the instance's derived resources.