You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/buildkite-gcp/_index.md
+8-12Lines changed: 8 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,26 +1,22 @@
1
1
---
2
-
title: Build multi-architecture Docker images with Buildkite on Google Axion
3
-
4
-
draft: true
5
-
cascade:
6
-
draft: true
2
+
title: Create multi-architecture Docker images with Buildkite on Google Axion
7
3
8
4
minutes_to_complete: 40
9
5
10
-
who_is_this_for: This is an introductory guide for software developers learning to build and run multi-architecture Docker images with Buildkite on Arm-based Google Cloud C4A virtual machines powered by Google Axion processors.
6
+
who_is_this_for: This is an introductory topic for developers who want to build and run multi-architecture Docker images with Buildkite on Arm-based Google Cloud C4A virtual machines (VM) powered by Google Axion processors.
11
7
12
8
learning_objectives:
13
-
- Provision an Arm-based virtual machine on Google Cloud running SUSE Linux Enterprise Server or Ubuntu
9
+
- Provision an Arm-based VM on Google Cloud running either SUSE Linux Enterprise Server or Ubuntu
14
10
- Install and configure Docker, Docker Buildx, and the Buildkite agent
15
11
- Write a Dockerfile to containerize a simple Flask-based Python application
16
12
- Configure a Buildkite pipeline to build a multi-architecture Docker image and push it to Docker Hub
17
-
- Run the application to ensure it works as expected
13
+
- Start the application and verify that it runs correctly
18
14
19
15
prerequisites:
20
-
- A [Google Cloud Platform (GCP)](https://cloud.google.com/free?utm_source=google&hl=en) account with billing enabled
21
-
- Basic knowledge of Linux system administration such as creating users, installing packages, and managing services
22
-
- Familiarity with Docker and container concepts
23
-
- A GitHub account to host your application repository
16
+
- A [Google Cloud Platform (GCP) account](https://cloud.google.com/free?utm_source=google&hl=en) with billing enabled
17
+
- Basic Linux system administration skills, including how to create users, install packages, and manage services
18
+
- Familiarity with [Docker](https://docs.docker.com/get-started/) and container concepts
19
+
- A [GitHub account](https://github.com/join) to host your application repository
title: Get started with Buildkite on Google Axion C4A instances
2
+
title: Discover Buildkite on Google Axion C4A instances
3
3
4
4
weight: 2
5
5
layout: "learningpathall"
6
6
---
7
7
8
-
## Google Axion C4A instances on Google Cloud
8
+
## Get started
9
9
10
-
Google Axion C4A is a family of Arm-based virtual machines powered by Google's custom Axion CPU, which is built on Arm Neoverse V2 cores. Designed for high performance and energy efficiency, these VMs are well-suited for modern cloud workloads such as CI/CD pipelines, microservices, media processing, and general-purpose applications.
10
+
This section introduces two core technologies you'll use in this Learning Path: the Buildkite continuous integration and delivery (CI/CD) platform and Google Axion C4A Arm virtual machines (VMs). You'll see how these tools help you build, test, and deploy software efficiently on Arm-based cloud infrastructure. If you want to dive deeper, check out the links to further resources.
11
11
12
-
The C4A series can provide a cost-efficient alternative to x86 VMs while leveraging the scalability and performance characteristics of the Arm architecture on Google Cloud.
12
+
## Buildkite for CI/CD on Arm
13
13
14
-
To learn more about Google Axion, see the blog [Introducing Google Axion Processors, our new Arm-based CPUs](https://cloud.google.com/blog/products/compute/introducing-googles-new-arm-based-cpu).
14
+
Buildkite is a flexible and scalable continuous integration and delivery (CI/CD) platform that enables you to run pipelines on your own infrastructure. By deploying Buildkite agents on Google Axion C4A VMs, you can take advantage of Arm's performance and cost efficiency to build, test, and deploy applications, including multi-architecture Docker images. Buildkite integrates seamlessly with version control systems such as GitHub and supports advanced workflows for cloud migration, multi-arch builds, and testing microservices.
15
15
16
-
## Buildkite for CI/CD on Arm
16
+
To get started, review the [Buildkite documentation](https://buildkite.com/docs) for setup instructions, pipeline configuration, and agent management.
17
+
18
+
## Google Axion C4A Arm VMs for efficient cloud workloads
19
+
20
+
Google Axion C4A is a family of Arm-based virtual machines powered by Google's custom Axion CPU, which is built on Arm Neoverse V2 cores. Designed for high performance and energy efficiency, these VMs are well-suited for modern cloud workloads such as CI/CD pipelines. The C4A series can provide a cost-efficient alternative to x86 VMs while leveraging the scalability and performance characteristics of the Arm architecture on Google Cloud.
21
+
22
+
Learn more in this Google blog [Introducing Google Axion Processors, our new Arm-based CPUs](https://cloud.google.com/blog/products/compute/introducing-googles-new-arm-based-cpu).
17
23
18
-
Buildkite is a flexible and scalable continuous integration and delivery (CI/CD) platform that allows you to run pipelines on your own infrastructure. By deploying Buildkite agents on Google Axion C4A VMs, you can take advantage of Arm's performance and cost efficiency to build, test, and deploy applications, including multi-architecture Docker images.
24
+
## What's next?
19
25
20
-
Buildkite integrates seamlessly with version control systems such as GitHub and supports advanced workflows for cloud migration, multi-arch builds, and testing microservices. Learn more in the [Buildkite documentation](https://buildkite.com/docs).
26
+
You've now learned about the two main technologies you'll use in this Learning Path. You're ready to start building, testing, and deploying on Arm-based cloud infrastructure with confidence. Keep going, you're making great progress!
title: Setup and connect Buildkite agent on a Google Axion C4A Arm VM
3
3
weight: 5
4
4
5
5
### FIXED, DO NOT MODIFY
6
6
layout: learningpathall
7
7
---
8
8
9
-
#Set up a Buildkite agent
9
+
## What you'll do in this section
10
10
11
-
After installing the Buildkite agent binary on a Google Axion C4A Arm VM, you can set up and configure a Buildkite agent and queue.
11
+
In this section, you'll configure and connect a Buildkite agent on a Google Axion C4A Arm virtual machine (VM). You'll generate an agent token, set up the agent configuration, create a Buildkite queue, and verify that your agent is online and ready to run CI/CD jobs on Arm infrastructure.
12
12
13
-
## 1. Create an Agent Token
13
+
## Create an agent token
14
14
15
15
Before configuring the agent, you need an agent token from your Buildkite organization.
16
16
17
-
1. Log in to your Buildkite account (you can login with GitHub), and go to your Organization Settings
18
-
2. Click Agents in the left menu
19
-
3. Click Create Agent Token
20
-
4. Enter a name for your token, such as `buildkite-arm`
21
-
5. Click Create Token
22
-
6. Copy the token immediately, you won’t be able to see it again after leaving the page.

95
101
96
-
The Buildkite agent is ready, you can proceed to use Buildkite for building multi-arch images.
102
+
Congratulations! Your Buildkite agent is now set up and connected to your queue. You can now start using Buildkite to build multi-architecture images on your Arm-based VM. This setup enables you to run CI/CD pipelines optimized for Arm platforms, and take advantage of the performance and scalability of Arm servers.
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/buildkite-gcp/installation.md
+52-32Lines changed: 52 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
---
2
-
title: Install Buildkite
2
+
title: Install Buildkite on a Google Axion C4A Arm VM
3
3
weight: 4
4
4
5
5
### FIXED, DO NOT MODIFY
6
6
layout: learningpathall
7
7
---
8
8
9
-
## Install Buildkite on a Google Axion C4A Arm VM
10
-
This section guides you through installing the Buildkite agent on a Google Axion C4A Arm VM, enabling it to connect to your Buildkite account and run CI/CD pipelines.
9
+
## Get started with installing the Buildkite agent
10
+
This section walks you through installing the Buildkite agent on a Google Axion C4A Arm VM, enabling it to connect to your Buildkite account and run the CI/CD pipelines.
buildkite-agent version 3.109.1+10971.5c28e309805a3d748068a3ff7f5c531f51f6f495
79
82
```
80
83
81
84
{{% notice Note %}}
82
-
The Buildkite Agent version 3.43.0 introduces Linux/Arm64 Docker image for the Buildkite Agent, making deployment and installation easier for Linux users on Arm. You can view the [release note](https://github.com/buildkite/agent/releases/tag/v3.43.0).
85
+
The Buildkite Agent version 3.43.0 introduces Linux/Arm64 Docker image for the Buildkite Agent, making deployment and installation easier for Linux users on Arm. You can view the [Buildkite agent GitHub release note](https://github.com/buildkite/agent/releases/tag/v3.43.0).
83
86
84
-
The [Arm Ecosystem Dashboard](https://developer.arm.com/ecosystem-dashboard/) recommends Buildkite Agent version v3.43.0 as the minimum recommended on the Arm platforms.
87
+
The [Arm Ecosystem Dashboard](https://developer.arm.com/ecosystem-dashboard/) recommends Buildkite Agent version v3.43.0 or later for Arm platforms.
85
88
{{% /notice %}}
86
89
87
-
### Install Docker and Docker Buildx
88
-
89
-
Buildkite will use Docker to build and push images.
90
+
## Install Docker
90
91
91
-
First, refresh the package repositories and install the required packages including git, Python3-pip, and Docker:
92
+
Buildkite uses Docker to build and push images.
92
93
93
-
Next, enable and start the Docker service to ensure it runs automatically when your VM starts:
94
+
This step ensures Docker is always available for your CI/CD pipelines.
SUSE Linux requires some extra steps to start Docker, you can skip this for Ubuntu:
110
-
111
-
```console
112
-
sudo systemctl enable docker
113
-
sudo systemctl start docker
114
-
```
115
-
116
109
Verify the Docker installation by checking the version and running a test container:
117
110
118
111
```console
@@ -146,11 +139,16 @@ For more examples and ideas, visit:
146
139
147
140
## Install Docker Buildx
148
141
149
-
Docker Buildx is a plugin that allows building multi-architecture images, for example `arm64` and `amd64`.
142
+
Docker Buildx is a plugin that allows the building of multi-architecture images, for example `arm64` and `amd64`.
143
+
If you're using SUSE Linux, you need to install Docker Buildx manually. On Ubuntu, Docker Buildx is included by default, so you can skip this step.
144
+
145
+
For more information or troubleshooting details, see the [Docker Buildx documentation](https://docs.docker.com/build/buildx/).
146
+
147
+
## Download Docker Buildx
150
148
151
-
For SUSE Linux, you need to install Docker Buildx. This is not necessary on Ubuntu.
149
+
If you need to download Docker Buildx, follow these steps.
152
150
153
-
Download the binary and move it to the Docker CLI plugin directory:
151
+
Start by downloading the Docker Buildx binary and move it to the Docker CLI plugin directory. This enables advanced multi-architecture builds on your Arm VM:
Now that the Buildkite installation is complete, you can set up the Buildkite agent.
160
+
After installing, verify that Docker Buildx is available:
161
+
162
+
```console
163
+
docker buildx version
164
+
```
165
+
166
+
The expected output is similar to:
167
+
168
+
```output
169
+
github.com/docker/buildx v0.26.1
170
+
```
171
+
172
+
If you see the version information, Docker Buildx is installed correctly and ready for use.
173
+
174
+
{{% notice Note %}}
175
+
If you encounter a "permission denied" error, ensure your user is in the `docker` group and that the plugin file is executable.
176
+
{{% /notice %}}
177
+
178
+
You can now use Docker Buildx to build and push multi-architecture images, which is especially useful for Arm-based CI/CD pipelines.
179
+
180
+
## What you've accomplished
181
+
182
+
Great job! You’ve installed Docker, Docker Buildx, and the Buildkite agent on your Arm VM. Next, you’ll set up and connect your Buildkite agent to your account.
0 commit comments