Skip to content

Anyone Use Arch in AWS or Cloud?

I'm curious if anyone uses / deploys any Arch Linux VMs in cloud or specifically AWS?
I deployed a VM in VMware but I'm curious if anyone is using them on any public cloud platform.

71 points37 comments
Open on Reddit
About this post
Posted
Archived
Score
71 · 100% up
Kind
Text
ID
bm894f

Author

30
posts
91
comments
2
media
View profile

38 comments

depends what for.

if i were a bank i wouldnt use arch for anything.

if i'm a dev house doing cutting edge kernel development or whatever, sure

24 points

As a n00b, why? Because of stability? So banks would use something like CentOS for 10 years of LTS and they don’t have to problem shoot programs breaking?

14 points

You wouldn't want your payment system to fail or, even worse, spit out wrong results because of a new bug in an updated piece of software that didn't get caught in Arch's relatively short testing period.

28 points

Banks or any business with a limited appetite for breakage, really. Arch per se does not break, but rolling release means software versions change all the time, which is great for individuals who can adapt, and fast-moving organizations. On the other hand, in a big corporation with an absurdly high quantity of existing (and old) code and critical mission requirements, you want to control everything that goes in and out of the production servers, which means a very slow and controlled upgrade path.

10 points

If a bank were running in AWS (seems unlikely, but I don't know for sure) I'd hope they were running a highly-abstracted managed-infrastructure stack with the smallest possible attack surface, rather than bare-metal (bare-VM?) servers of their own in the first place.

Right now, that would likely mean an EKS cluster, with Alpine as the base image for most of its containers, SSL termination at the load balancer, and no ports besides 80/443 open to the internet at all. Cluster management only open to a VPN (or even better, an on-prem IP address) and the same restriction on the RDS instance (plus the cluster, of course).

That said, CentOS/RHEL or OpenBSD would be my go-to if I absolutely had to run sensitive data on a self-managed server.

7 points

As a noob, I'm guessing yes, stability but perhaps more security.

Arch might get security updates a lot faster than other distros, but that also means there's a slightly higher chance that those updates somehow contain a security vulnerability.

Also I'm pretty sure shit always breaks in servers, no matter what is running on that server.

3 points

I can give you insight to bank.

  1. they don't use cloud because they need it internal.

  2. bank uses red hat because of dedicated support.

1 points

I'm using Arch with Linode to host a WordPress blog, and also have another VPS for misc stuff. Would never use it for anything mission-critical though.

16 points

I did have arch setup on a Linode, but I ended up moving that one back to an LTS Ubuntu. I may spin up another linode with Arch for testing and eventually migrate to it, but for now I'm going to keep it as is.

5 points

I use arch in the cloud for my personal servers and for some servers I run for my small company. One major reason I use arch is that it's exactly what I use on my home system. I know how to troubleshoot and work with Arch. I use it every day. All of my servers feel familiar and like home.

I have never had stability issues but that's also because I pay attention to updates and announcements. I update one server at a time so that I can catch problems on non critical systems first.

I really appreciate that my servers are running the most up to date software if I want them to.

Honestly I think a bigger reason, over stability, to not use arch in larger production systems is simply continuity of knowledge. It's harder to hire specifically for Arch Linux. My business partner has gotten up to speed on arch but I still have to help him out from time to time. If we wanted to hand our systems to a new sys admin they would likely have a learning curve to go through to get used to Arch.

6 points

I have an Arch container on Google Cloud, just because that's where I've already got some production stuff. The Arch container is a close replica of my laptop; same dotfiles, same SSH key, shares Syncthing folders, etc. It's a home from home, it's nice to know there's always somewhere I can be productive no matter what. Like even if I have my laptop but the internet is shit I can MoSH in and use Google's network. The container also exposes a simple file server and a Wireguard endpoint.

4 points

Do you have any install documentation you can share on that installation process?

I'm thinking about it myself, but the documentation is bit sparse.

If not, no worries.

1 points

The only hard bit is actually running the container in such a way to make Arch's systemd happy. So here's my docker run command:

docker run \
  -d \
  --restart=always \
  --mount type=bind,source=/mnt/disks/tombh-storage,target=/home/tombh/storage \
  --network=host \
  --entrypoint=/usr/lib/systemd/systemd \
  --env container=docker \
  --mount type=bind,source=/sys/fs/cgroup,target=/sys/fs/cgroup \
  --mount type=tmpfs,destination=/tmp \
  --mount type=tmpfs,destination=/run \
  --mount type=tmpfs,destination=/run/lock \
  --cap-add=all \
  --privileged \
tombh-arch --log-level=info

Mounting storage is just so I have an attachable disk for all the really big files that I don't want either on the VM or in the container.

--network=host is optional, it just forces all networking to happen directly on the host, so you don't have to mess about with opening ports in the container all the time. Just need to open/close ports on the VM's network.

The tombh-arch image is my locally committed version of the official https://hub.docker.com/r/archlinux/base

2 points

I have a $3 VM from OVH with Arch that I use as a minecraft server. Works great for ~6 people.

4 points

I run Arch on OVH VPS service. Run my own VPN and nginx to serve up a couple of sites (which use https via certbot).

3 points

Sure, I’ve been running a LAMP stack on Arch with Linode for my Wordpress blog since February. No reason behind it other than the fact that’s what I’m used to and the Arch Wiki is so damn good! It’s never gone down once.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.