Deploy and manage the virtual private servers in your IDrive® Compute account from the web console.
How do I upload a custom image?
You can upload custom images to your account for creating instances.
To upload an image from hard disk,
- Sign in to your IDrive® Compute account.
- Go to the Images tab and click Custom Images.
- Click Upload Image. The option to upload an image from the hard disk is selected by default.
- Enter the image name.
- Click Choose File to browse and select the image.
- Select a Region.
- Click Upload Image.
To import a custom image via URL:
- Sign in to your IDrive® Compute account.
- Go to the Images tab and click Custom Images.
- Click Upload Image.
- Select Import via URL.
- Enter the URL.
- Enter the image name.
- Select a Region.
- Click Upload Image.
Note:
Custom images are billed per month at $0.05/GB.
The custom image size cannot be more than 2 TB.
How do I create an instance using a custom image?
You can create an instance using an active custom image. To upload a custom image see here.
To create an instance,
- Sign in to your IDrive® Compute account.
- Go to the Images tab and click Custom Images.
- Click Actions against the image which you want to use for creating an instance.
- Select Create an instance.
- Select a Region from the drop-down list.
- The custom image that you are using to create the instance will be selected by default.
- Choose a plan. You can select shared or dedicated CPU and choose yearly or monthly billing.
- Select an authentication method for the instance. You can either set an SSH key or a root password for authentication.
- SSH-Keys - Select SSH Keys from the list of pre-added keys. To add a new key, click Add an SSH Key. Enter the key name and your existing SSH Public Key details, click Add Key.
- Password - A root password will be suggested by default. You may use the same password or create a new password.
- Enter User Data in cloud-config format.
- Add the required number of instances and instance names under Finalize and Create.
- Activate the following add-ons as required by click the corresponding checkbox:
- Enable Backup - By default, the option to enable daily cloud-based image backup for the instance is selected. Deselect the option if you do not want to enable backup.
- Private IP - Select this option to get a private IP address for your instance.
- Click Create.
Note:
Custom Image must have sshd installed and configured to run on boot. If sshd is not set up, you will not have SSH access to the instance
Cloud-init 0.7.7 or higher should be installed and configured properly on the custom image for ssh keys, root password and user-data injection during creation of an instance.