How To Run Arch Linux Droplet on DigitalOcean

How can I create an Arch Linux droplet in DigitalOcean?. DigitalOcean cloud environment enables you to upload a custom image of an operating system not provided in ready templates. Our recent article tackled how one can run an openSUSE instance in DigitalOcean. In today’s guide we will focus on how you can upload Arch Linux qcow2 image to DigitalOcean and creating a virtual machine from it.

Before uploading an image to DigitalOcean it must meet the following requirements:

  • Operating system. Images must have a Unix-like OS.
  • File format. Images must be in one of the following file formats:
  • Size. Images must be 100 GB or less when uncompressed, including the filesystem.
  • Filesystem. Images must support the ext3 or ext4 filesystems.
  • cloud-init. Images must have cloud-init 0.7.7 or higher, cloudbase-init, coreos-cloudinit, ignition, or bsd-cloudinit installed and configured correctly. 
  • SSH configuration. Images must have sshd installed and configured to run on boot. 

Upload Arch Linux qcow2 image to DigitalOcean

We will use Arch Linux qcow2 image for OpenStack on DigitalOcean.

To upload the Arch Linux image to DigitalOcean, Login to the management console and then navigate to Images > Custom Images > Import via URL

In the “ENTER URL” box paste below URL which contains Arch Linux qcow2 image for OpenStack.

https://linuximages.de/openstack/arch/arch-openstack-LATEST-image-bootstrap.qcow2

Hit the “Next” button to initiate the upload process.

Set image name, Distribution, data center region and optional Tags or Notes.

When done with the details upload the image and it should appear in few minutes.

Create Arch Linux droplet on DigitalOcean

Confirm that the image has been uploaded under the Images section then go Droplets > Create > Droplets > Custom images and choose Arch Linux image.

Choose instance plan, data center region, SSH Keys and any other options fit to run the VM.

Don’t forget to set the hostname.

Create the Droplet when all settings required have been provided. Take note of the Public IP address given to the instance as this is used for SSH access.

The default SSH user is called arch.

$ ssh [email protected]
Warning: Permanently added '104.236.4.175' (ECDSA) to the list of known hosts.
[arch@arch-linux ~]$

Confirm OS details.

$ cat /etc/os-release
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://www.archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
LOGO=archlinux

Upgrade Arch OS.

sudo pacman -Syyu --noconfirm

Samle output:

:: Synchronizing package databases...
 core                  132.9 KiB  4.81 MiB/s 00:00 [######################] 100%
 extra                1636.4 KiB  8.69 MiB/s 00:00 [######################] 100%
 community               5.2 MiB  17.3 MiB/s 00:00 [######################] 100%
:: Starting full system upgrade...
 there is nothing to do

Reboot once upgraded to start running your applications on Arch Linux machine.

sudo systemctl reboot

Other guides available on our website.

Your IT Journey Starts Here!

Ready to level up your IT skills? Our new eLearning platform is coming soon to help you master the latest technologies.

Be the first to know when we launch! Join our waitlist now.

Join our Linux and open source community. Subscribe to our newsletter for tips, tricks, and collaboration opportunities!

Recent Post

Leave a Comment

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.

Related Post

Samba is a free and open-source software that makes it easy for Windows and Linux/Unix systems to share files over […]

After close to two years of hard work, Debian 12 was released on June 10th, 2023 with plenty of new features […]

Wine enables Linux users to run Microsoft Windows applications on Unix-like operating systems without the performance/memory penalties of an emulator. […]

Let's Connect

Unleash the full potential of your business with CloudSpinx. Our expert solutions specialists are standing by to answer your questions and tailor a plan that perfectly aligns with your unique needs.
You will get a response from our solutions specialist within 12 hours
We understand emergencies can be stressful. For immediate assistance, chat with us now

Contact CloudSpinx today!

Download CloudSpinx Profile

Discover the full spectrum of our expertise and services by downloading our detailed Company Profile. Simply enter your first name, last name, and email address.