Encryption and Compression

This section guides you through configuring encryption and compression for S3-compatible storage using the MinIO Client (mc).

Encryption and Compression

Encryption ensures data security, while compression optimizes storage usage.

Step 1: Install MinIO Client

The MinIO Client allows you to interact with your MinIO server. The MinIO Server provides an S3-compatible API and supports core S3 features.

The MinIO Server provides an S3-compatible API and supports core S3 features. Choose one of the following installation methods for Linux:

RPM (RHEL-based Systems)

  • Download the latest stable MinIO RPM package. Install the package using dnf:

DEB (Debian/Ubuntu Systems)

  • Download the appropriate .deb package from the MinIO Downloads Page. Install the package using dpkg:

Binary Installation (Universal Method)

  • Download the MinIO Server binary. Make the binary executable and move the binary to a directory in your system PATH:

Installing MinIO Client (mc)

The MinIO Client allows command-line interaction with your MinIO server.

  1. Download the MinIO Client binary:

  2. Make the binary executable:

  3. Move the binary to a directory in your system PATH:

  4. Verify the installation:

For other operating systems, refer to this resource.

Step 2: Set Up mc Alias

  1. Set an alias for your server:

    • Replace <BLIMP_DOMAIN> with the domain link from the Blimp output.

    • Replace <ACCESS_KEY> and <SECRET_KEY> with your credentials.

    Example:

  2. Verify the alias setup by listing buckets:

Step 3: Create a Bucket

  1. Create a bucket for storing encrypted and compressed data:

  2. Confirm the bucket creation by listing the contents:

Step 4: Upload Files with Compression

  1. Copy files or directories recursively to the bucket, applying compression:

    Example commands:

  2. List the contents of the bucket to verify the upload:

Step 5: Test Encryption

  1. Ensure that the uploaded files are encrypted on the server by verifying through:

    • Replace <FILE_NAME> with the name of any uploaded file.

    • Check the metadata to confirm encryption.

  2. To download and decrypt, use:

Notes

  • Recursive Upload: Use the --recursive flag to upload entire directories.

  • Bucket Verification: Always verify the presence of the bucket and its contents after each operation.

  • Compression: Compression is applied automatically during file transfer. Ensure that the server supports compression for optimal results.

  • Encryption: Encryption is configured at the server level. Confirm the settings in your ZS3Server configuration to enable encryption.

Last updated