Issue
How to add the CloudLinux OS image to DigitalOcean?
Environment
- CloudLinux OS 6(h)/7(h)/8
Solution
Custom images are Linux distributions that have been modified to fit the specific needs of DigitalOcean users. In this guide, we will discuss some basics of importing a custom CloudLinux OS image.
Importing custom images to DigitalOcean is free, as you are only charged for the storage of your image. To save money, you can easily import your image, start a Droplet from your image, and delete the image, so you don’t incur any storage costs.
In this article we will describe how to add a qcow2 (QEMU/KVM) CloudLinux OS image as a custom image. You can find more information on image options at https://www.digitalocean.com/docs/images/custom-images/overview/
- To choose the right image, navigate to https://download.cloudlinux.com/cloudlinux/images/#kvm-tab
Several different images are available for download (with and without a control panel). - Copy the link for the image you are going to use and log into cloud.digitalocean.com. Click on ‘Images’ on the left of the screen and then choose “Custom Images”. Click the “Import via URL” button and paste the CloudLinux OS image link.
There are several options here, but the most important is ‘Choose a datacenter region’, i.e. which datacenter region your Droplets should be created in for this image.
Click the “Upload Image” button and wait until the image is successfully uploaded.
- Add your public key to access your droplets using key-based authentication: navigate to the ‘Security’ sidebar menu and click the ‘Add SSH Key’ button. You can find more information about creating/adding SSH keys in this article.
- You will then be able to start a CloudLinux OS Droplet using the image. Note, your Droplet will be created in the same datacenter that your custom image resides in.
- Now, use your preferred SSH client software to connect to your Droplet. You can find more information on SSH client setup here.
See also: CloudLinux on DigitalOcean
Comments
0 comments
Please sign in to leave a comment.