Skip to content

Support for s3 object storage #880

Open

Description

@c33s

TL;DR

please add support for the new s3 storage.

do you have an eta when it can be expected?

Expected behavior

Activity

  1. phm07 commented on Oct 14, 2024

    @phm07
    Contributor

    Our object storage uses the generic S3 API, so other clients should work with it. Since there are no S3-specific endpoints in the Hetzner Cloud Public API, we don't plan to integrate S3 functionality into the CLI.

  2. c33s commented on Oct 15, 2024

    @c33s
    Author

    this is sad to hear, as a "hcloud s3 list" or "hcloud s3 create" would be a very good DX (developer experience). no need to install another dependency.

    have you though about just embedding an existing s3 go project in hcloud?

  3. phm07 commented on Oct 24, 2024

    @phm07
    Contributor

    There currently is no public API support at all, which means it would not be possible to create S3 credentials. This would mean that we couldn't authorize against the S3 API without the user specifying an Access Token and Secret Token, at which point you might as well use a generic S3 client again.

  4. andi0b commented on Nov 11, 2024

    @andi0b

    Our object storage uses the generic S3 API

    @phm07 The S3 API can be used once a bucket and a key is created, that's fine. But I'm missing an API for creating a storage key and a bucket. It's quite cumbersome this can only be done via the console UI.

    So what's missing is just CRUD for Buckets and Keys, nothing more. And it must already be implemented somewhere, because the UI somehow has to trigger those commands.

    PS: I registered for the beta, but once I noticed those commands are not in the API yet, I didn't even try the object storage, because I was waiting for API support.

  5. c33s commented on Nov 12, 2024

    @c33s
    Author

    an api to create storage keys is simply required for terraform/opentofu to be able to manage storage keys like ssh_keys.

  6. self-assigned this
    on Nov 12, 2024
  7. changed the title [-]object storage/s3 support[/-] [+]Support for s3 object storage[/+] on Nov 13, 2024
  8. jooola commented on Nov 14, 2024

    @jooola
    Member

    Hello all 👋

    All our integrations rely on the Hetzner Cloud public API, which is available with a certain level of stability. Since the features you are requesting are not in the public API, we cannot implement them.

    Therefore, for the time being, we do not plan to support:

    Note that only a subset of the Amazon S3 features are currently supported.

    We will leave this ticket open to increase its visibility. If you have questions, reach out to us using the Support Center.

  9. andi0b commented on Nov 14, 2024

    @andi0b

    Where can we open a ticket for requesting API support?

    To me it seems really strange that no object storage support is planned. Maybe the first sign it will be cancelled before going into GA.

  10. jooola commented on Nov 14, 2024

    @jooola
    Member

    Where can we open a ticket for requesting API support?

    You can reach out to us using the Support Center.

  11. c33s commented on Nov 15, 2024

    @c33s
    Author

    please help me vote: #918

    as stated above we need to vote via hetzners internal ticket system/support system. maybe it helps if we send

    We vote for https://github.com/hetznercloud/cli/issues/918
    
  12. marians commented on Feb 17, 2025

    @marians

    I'd like to add my use case here: I want a simple way to pull key metrics about an Object Storage bucket. I wouldn't mind using curl for that, but probably the CLI could make it a bit easier.

    The information I'd like to see is already available in the cloud console (web UI). For a given bucket, it is:

    • Data amount stored in the bucket, in bytes
    • Number of files/objects stored in the bucket

    The web UI pulls this information from https://api.hetzner.cloud/v1/_buckets.

    Generating this data via the S3 API is very impractical, as it requires enumerating all objects.

  13. SkaveRat commented on Apr 21, 2025

    @SkaveRat

    I'd like to +1 the use case for pulling statistics about the buckets.

    Getting the size (and object count) of my buckets is quite important for me, as I'd like to have this in a monitoring system, so I get an alert if anything out of the ordinary happens.

    End goal for me would be to put this into an prometheus exporter, so I can graph and alert on the statistics

    Edit: Additional note: for me it would totally be fine to just get the same data that is in the internal _buckets api into an official buckets api. or be able to use the API key on internal endpoints. Not having bucket statistics in the API is a weird choise

  14. dorianborovina commented on Feb 22, 2026

    @dorianborovina

    Unstaling and upvoting the idea. 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions