You are not logged in.

#1 2014-09-06 18:16:59

jeremyje
Banned
Registered: 2014-08-06
Posts: 2

Arch Linux for Google Compute Engine

Hi Arch users,

I’ve created a tool that can create an Arch Linux image for Google Compute Engine. It has the compute-image-packages software preinstalled so basic GCE integration works.
I’m working to improve the boot times and shrink the image since it’s a bit larger than I’d like it to be. You can follow the instructions below to boot a virtual machine running Arch.

The source code is hosted on Github: https://github.com/GoogleCloudPlatform/ … ge-builder, pull requests welcome!

I've already built one today and has been made public on Cloud Storage at gs://jeremyje/arch-stable/arch-v20140906.tar.gz

Instructions to boot a VM with the image:
1. Create a project or pick an existing one. Turn on Compute Engine.
https://console.developers.google.com/
Click "Create project"
Enter a project name and project id.
Go to Compute > Compute Engine
If necessary, enable billing.

2. Add the Arch Image to your Project
Go to Compute > Compute Engine > Images
Click "New image"
Name: arch-v20140906
Description: Arch Linux built on 2014-09-06
Source Type: Cloud Storage object
Cloud Storage Object Path: gs://jeremyje/arch-stable/arch-v20140906.tar.gz

3. Create an Arch Linux instance.
Go to https://console.developers.google.com/
Select your project.
Compute > Compute Engine > VM instances > Add Instance
Select a zone, machine type, and select the “arch-v20140906” image.
You can SSH into the VM by clicking on the SSH button after you create it.

If you like command line here's the equivalent.
Google Cloud SDK: https://developers.google.com/cloud/sdk/

# Install Python2
pacman -S python2

# Install Cloud SDK
export CLOUDSDK_PYTHON=/usr/bin/python2
curl https://sdk.cloud.google.com | bash
echo “export CLOUDSDK_PYTHON=/usr/bin/python2” >> ~/.bashrc
source ~/.bashrc

# Login, create a project
gcloud auth login

# Add the image to your project.
gcloud compute images create archlinux gs://jeremyje/arch-stable/arch-v20140906.tar.gz --description “Arch Linux built on 2014-09-06”

# Create the instance booting Arch
gcloud compute instances create archvm --zone us-central1-a --machine-type f1-micro --image arch-v20140906

Lastly, there’s no official support for these images but if you find a problem please file a bug or submit a fix on Github.

Offline

#2 2015-05-18 14:59:30

jokester
Member
From: Brest (FRANCE)
Registered: 2009-08-04
Posts: 5
Website

Re: Arch Linux for Google Compute Engine

Hi! Do you have any update of your Arch image?
Thank you smile

Offline

#3 2015-07-26 04:30:10

jeremyje
Banned
Registered: 2014-08-06
Posts: 2

Re: Arch Linux for Google Compute Engine

No but there's a image tarball that you can use and than pacman -Syu your way to the latest version.

The scripts tend break through churn of arch install process.

http://storage.googleapis.com/jeremyje/ … 212.tar.gz

Reference Issue: https://github.com/GoogleCloudPlatform/ … r/issues/3

Offline

Board footer

Powered by FluxBB