Skip to main content

S3-Compatible Storage Setup

Overview

S3-compatible storage is used for:

  • Platform assets storage
  • Blockchain data persistence
  • File management
  • State storage

Deployment Options

AWS S3 (Native)

  1. Create new S3 bucket:
    • Choose region
    • Enable versioning
    • Configure default encryption
  2. Create IAM user:
    • Generate access key and secret
    • Attach minimal required permissions

Digital Ocean Spaces

  1. Access Digital Ocean Console
  2. Create new Spaces bucket:
    • Choose datacenter region
    • Configure CDN (optional)
  3. Create Spaces access key
tip

Managed services provide:

  • Built-in redundancy
  • Automatic scaling
  • Global availability
  • Integrated monitoring

State Encryption

Generate an encryption key for state data:

openssl rand -base64 32
Important

Store this encryption key securely - it's used to protect platform state data.

Information Collection

Validation

Test your S3 configuration:

# Using AWS CLI
aws s3 ls s3://your-bucket \
--endpoint-url your-endpoint \
--access-key your-access-key \
--secret-key your-secret-key

# Expected: List of objects or empty result

Troubleshooting

Common issues and solutions:

  1. Access Denied

    • Verify credentials
    • Check bucket permissions
    • Confirm IAM/policy settings
    • Validate endpoint URL format
  2. Connection Issues

    • Check endpoint accessibility
    • Verify region setting
    • Confirm network access
    • Check SSL/TLS requirements

Next Steps

  1. ✅ Set up S3-compatible storage
  2. ✅ Generate encryption key
  3. ➡️ Proceed to HashiCorp Vault Setup
Need Help?

Contact [email protected] if you encounter any issues.