Create New Buckets in BucketFS Service

Once a BucketFS Service is available, you can create and configure any number of buckets within a BucketFS service. Follow these steps to create new buckets within a BucketFS service.

Prerequisites

You must have a BucketFS service configured. For more information, see Create New BucketFS Service.

Procedure

This procedure is carried out using ConfD.

The ConfD examples are written in Bash on a Linux terminal running the Exasol tool confd_client, which is accessed by connecting to EXAClusterOS on the database nodes using Exasol Deployment Tool (c4). You can also interact with ConfD from an external tool using Python and XML-RPC. For more information, see ConfD.

Placeholder values are indicated with UPPERCASE characters. Replace the placeholders with your own values.

To create the bucket in your BucketFS service, use the ConfD job bucket_add. For example:

confd_client -c bucket_add -a '{bucket_name: BUCKET_NAME, bucketfs_name: BUCKETFS_NAME, public: False, read_password: READPW, write_password: WRITEPW}'

Verification

You can verify that the bucket was created successfully by viewing the information for the BucketFS service holding the bucket using the ConfD job bucketfs_info:

confd_client -c bucketfs_info -a 'bucketfs_name: BUCKETFS_NAME'

Next Steps

Once you have the BucketFS service and new buckets within this service created, view the Access Files in BucketFS section to know how to access the buckets.

See Also

For additional information on BucketFS, and how to expand scripting languages using BucketFS, refer to the Adding New Packages to Existing Script Languages in the UDF Scripts section.