N8N Tools - S3 Enhanced icon

N8N Tools - S3 Enhanced

Enhanced S3 operations with presigned URLs, multipart upload, and advanced features

Overview

This node provides enhanced integration with S3-compatible storage services, enabling a wide range of bucket and object management operations. It supports advanced features such as generating presigned URLs for secure temporary access, multipart uploads for large files, and detailed bucket configurations including replication, encryption, lifecycle, and more.

The "Delete Bucket Replication" operation specifically deletes the replication configuration from a specified S3 bucket. This is useful when you want to stop replicating objects from one bucket to another, effectively disabling cross-region or cross-bucket replication rules.

Common scenarios:

  • Disabling replication on a bucket that no longer requires it.
  • Cleaning up replication settings before deleting or repurposing a bucket.
  • Managing bucket configurations programmatically in workflows.

Practical example:
You have an S3 bucket configured to replicate data to another region for disaster recovery. After changing your architecture, you no longer need replication. Using this node's "Delete Bucket Replication" operation, you can remove the replication configuration automatically as part of your infrastructure update workflow.


Properties

Name Meaning
Bucket Name Name of the S3 bucket from which to delete the replication configuration

Output

The output JSON object for the "Delete Bucket Replication" operation contains:

  • bucket: The name of the bucket where the replication configuration was deleted.
  • message: A confirmation string indicating successful deletion of the replication configuration.

Example output JSON:

{
  "bucket": "my-bucket-name",
  "message": "Bucket replication deleted successfully"
}

Dependencies

  • Requires an S3-compatible service endpoint accessible via AWS SDK.
  • Needs credentials with permissions to manage bucket replication configurations (e.g., delete replication).
  • The node uses the AWS SDK v3 client for S3 operations.
  • In n8n, you must configure credentials providing access key ID, secret access key, optionally session token, region, and endpoint if using non-AWS S3-compatible services.

Troubleshooting

  • Common issues:

    • Insufficient permissions: The API call to delete replication will fail if the credentials lack the necessary IAM permissions.
    • Incorrect bucket name: Ensure the bucket exists and the name is correct.
    • Network or endpoint misconfiguration: Verify connectivity to the S3 endpoint and correct endpoint URL if using custom S3 providers.
  • Error messages:

    • "Access denied. Check your credentials and permissions." — Your credentials do not have permission to delete replication configuration. Fix by updating IAM policies.
    • "Cannot connect to endpoint. Check your endpoint URL and network connection." — Network or endpoint URL issue; verify endpoint and network access.
    • "S3 operation failed: <error message>" — Generic failure; check the detailed error message for specifics.

Links and References


If you need details about other operations or resources, feel free to ask!

Discussion