Go

Last change on 2024-04-18 • Created on 2022-05-25 • ID: CL-9D42F
go logo

This app contains a ready to use Go installation. You can install it via the Hetzner Cloud Console or the Hetzner Cloud API.

Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.

Getting started

Create your server on our Hetzner Cloud Console. Instead of an image, you will be able to choose the app that you would like to have preinstalled on your server.

Go is preinstalled when the image is booted.

You can log into your server as usual:

  • Via SSH key, if you selected one when you created the server
  • Via root password, which will be mailed to you if you created a server without selecting an SSH key

Hetzner Cloud API

In addition to the Hetzner Cloud Console you can also use the Hetzner Cloud API to set up a server with pre-installed Go.

  • For example with a curl command via CLI

    curl \
    	-X POST \
    	-H "Authorization: Bearer $API_TOKEN" \
    	-H "Content-Type: application/json" \
    	-d '{"name":"my-server", "server_type":"cx31", "image":"go"}' \
    	'https://api.hetzner.cloud/v1/servers'
  • Or via hcloud-cli

    hcloud server create --name my-server --type cx31 --image go

Image content

Base OS

  • Ubuntu 22.04

Installed packages

NAME LICENSE
Go 3-clause BSD

For more information about the installed packages, please refer to their official documentation:

For more information about Hetzner Cloud and Hetzner Cloud Apps, please refer to our official documentation:

Table of Contents