You are not logged in.

#1 Today 10:25:21

ms
Member
From: Bandung, Indonesia
Registered: 2010-07-28
Posts: 86
Website

Arch Linux image for Google Compute Engine

Hi all,

There is an official build script for creating Arch Linux
image in
https://github.com/GoogleCloudPlatform/ … ge-builder .
The script add custom repository named gce, that point to https://storage.googleapis.com/arch-linux-gce/repo.
Around 13 December, this repository seems like not exist anymore, its return
HTTP status 403.

Meanwhile, I have maintain a fork of the build script at
https://github.com/shuLhan/compute-arch … ge-builder
since 2022.
So, in the last couple of days I fork the required guest environment
packages for compute engine, update it, and publish it under my repository
at https://build.kilabit.info/aur .

- google-compute-engine: https://git.sr.ht/~shulhan/aur-google-compute-engine
- google-compute-engine-oslogin: https://git.sr.ht/~shulhan/aur-google-c … ne-oslogin
- google-guest-agent: https://git.sr.ht/~shulhan/aur-google-guest-agent

The build script now use my own Arch repository to install guest environment
packages.

Some notable changes from original script,

- Include the ops-agent package.
  The agents gather logs and metrics from your Google Compute Engine
  instances and send them to Cloud Logging and Cloud Monitoring.
  AUR repository: https://aur.archlinux.org/packages/goog … -agent-git

- Using systemd-networkd to manage networks.
- Using systemd-resolved to manage resolv.conf (DNS).
- Locale is set to en_GB.UTF-8.
- Additional packages installed for sysadmin: vim-minimal, tmux, mosh,
  rsync, and unzip.

I also have automatic jobs that create the image weekly at Saturday morning
at 1 AM here:
https://build.kilabit.info/karajo/app/# … image-arch .

You can view the latest pre-build image here:
https://build.kilabit.info/compute-arch … images.txt

To use the pre-build images using gcloud CLI,

$ gcloud compute instances create $INSTANCE_NAME \
    --image-project=kilabit \
    --image-family=arch


Let me know if you have any feedbacks or questions.

Happy holidays!

Offline

#2 Today 12:10:06

ReDress
Member
From: Nairobi
Registered: 2024-11-30
Posts: 192

Re: Arch Linux image for Google Compute Engine

Arch Linus is the last thing you want to use on a server.

It's ... fairly unstable.

Offline

#3 Today 12:14:07

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,472
Website

Re: Arch Linux image for Google Compute Engine

ReDress wrote:

Arch Linus is the last thing you want to use on a server.

It's ... fairly unstable.

I must be doing something wrong then for over a decade.


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#4 Today 12:20:52

ReDress
Member
From: Nairobi
Registered: 2024-11-30
Posts: 192

Re: Arch Linux image for Google Compute Engine

Seems to work for you.

I mean, everything does.

Also, I am withdrawing as a consequence of ABUSE for @schard.

Thank you all :-)

Last edited by ReDress (Today 13:09:57)

Offline

Board footer

Powered by FluxBB