Hetzner Cloud CLI

repository·main·Indexed 23 days ago

https://github.com/hetznercloud/cli

The official command-line interface for managing Hetzner Cloud resources. hcloud allows developers to automate infrastructure tasks such as server creation, network configuration, and resource management. It supports multiple output formats including JSON, YAML, and Go templates, and provides comprehensive tools for managing certificates, servers, and other cloud resources via the Hetzner Cloud API.

Tokens
104.7K
Snippets
358
Records
751
Agent score
81%

What's inside hcloud

  1. Manage Zone RRSets (DNS records) with hcloud zone rrset

    main

    The hcloud zone rrset command is used to manage Resource Record Sets (RRSets), which are the individual DNS records within a DNS Zone. You can use this command group to create, delete, list, describe, and modify records (such as adding or removing specific records, changing TTL, or managing labels).

    Note on TXT records: TXT records must consist of one or many quoted strings of 255 characters. If you provide TXT records without quotes, the CLI will automatically format them for you.

  2. Navigate the Hetzner Cloud CLI documentation

    main

    The Hetzner Cloud CLI documentation is organized into three main sections based on the Diátaxis framework:

    • Tutorials: Step-by-step instructions for learning how to use the CLI.
    • Guides: In-depth explanations of specific tasks or workflows.
    • Reference: Detailed technical specifications for commands, flags, and API structures.

    For troubleshooting or assistance, you can report bugs via the GitHub issue tracker or contact the Hetzner Cloud Support Center.

  3. Manage DNS Zones and RRSets with hcloud zone

    main
    The hcloud zone command is used to manage DNS Zones and their associated RRSets (resource records). This includes creating, deleting, listing, and describing zones, as well as managing the records within them (adding, removing, or setting records) and configuring zone properties like TTL or nameservers.
  4. Manage Placement Groups with hcloud

    main
    The hcloud placement-group command is used to manage Hetzner Cloud Placement Groups. Placement groups allow you to influence the physical placement of your cloud resources to ensure high availability or specific performance characteristics. You can use this command as a base for subcommands such as create, delete, list, describe, update, and label management.