Use the S3-compatible API

How to interact with your UltiHash cluster using the S3-compatible API

UltiHash offers a powerful, S3-compatible API that allows developers to interact with storage clusters using familiar commands and libraries designed for Amazon S3. The API was implemented in this way to ensure maximum integration flexibility across a wide variety of applications and services in your existing stack - removing the need for complex reconfigurations or middleware solutions.

Achieving S3 compatibility

S3 compatibility can be achieved in different ways depending on your environment. For example, Python developers typically use the boto3 library, which is part of the AWS SDK for Python and provides a straightforward interface for interacting with UltiHash as if it were S3. In contrast, data processing tools like PySpark don’t use boto3, instead, they rely on connectors like s3a, which is part of the Hadoop ecosystem and optimized for distributed data processing. This distinction is important: boto3 is great for scripting and general-purpose workloads, while s3a is better suited for large-scale data operations in frameworks like Spark.

Generally, you can use any S3-compliant SDK to interact with UltiHash. The AWS SDKs offer extensive support across various programming languages like Python, Java, Node.js, and more. As these SDKs are well-documented and maintained, they are the ideal choice for most developers. For developers looking to explore SDKs across various languages and environments, we highly recommend visiting AWS Developer Tools, which offers comprehensive support for integrating with S3-compatible APIs, including UltiHash.

Essential API operations

  • PutObject: Upload files to your UltiHash buckets.

  • GetObject: Retrieve files from your UltiHash storage.

You can find premade Python scripts for uploading and downloading data here.

Manage your storage by removing one unnecessary object.

Facilitate object deletion operations by removing all objects in one bucket

  • DeleteBucket: Manage your storage by removing unnecessary buckets (buckets should be empty before removal).

Full list of API operations

S3 Compatibility Layer

IAM Compatibility Layer

For more details on available SDKs and language-specific guides, check out the AWS SDK hub.

Last updated

Was this helpful?