Skip to main content
MigrateClouds logoMigrateClouds
DocsAmazon S3

Amazon S3 Integration

MigrateClouds provides comprehensive integration with Amazon S3, allowing you to easily transfer files between S3 buckets and other cloud storage providers. Connect using IAM Role (recommended) or Access Keys.

Prerequisites

Before connecting your Amazon S3 bucket, ensure you have:

  • An AWS account with access to S3
  • An existing S3 bucket or permission to create one
  • Appropriate IAM permissions to create roles or access keys
  • A MigrateClouds account (sign up at migrateclouds.com if you don't have one)

Connection Methods

Amazon S3 offers two secure authentication methods. Choose the one that best fits your use case:

IAM Role

Recommended

More secure with temporary credentials that expire automatically. Best practice for production use.

Setup Guide

Access Keys

Simple setup with permanent credentials. Good for testing or when IAM roles aren't available.

Setup Guide

Quick Start: Connecting Your S3 Bucket

Follow these steps to connect your S3 bucket to MigrateClouds:

  1. Log in to your MigrateClouds dashboard

    Navigate to https://migrateclouds.com/dashboard and sign in with your credentials.

  2. Click on "Connect a Cloud Service"

    This button is located in the dashboard sidebar or on the main dashboard area if you haven't connected any services yet.

  3. Select Amazon S3 from the list of available services

    You'll see various cloud storage providers. Click on the Amazon S3 icon.

  4. Choose your authentication method

    Select either IAM Role (recommended) or Access Keys, then follow the on-screen instructions.

  5. Enter your S3 bucket details

    Provide your bucket name, region, and authentication credentials (Role ARN or Access Keys).

  6. Optional: Specify a prefix

    If you want to work with a specific folder within your bucket, enter the prefix (e.g., "documents/").

  7. Verify the connection

    Click "Test Connection" to verify your credentials. Once successful, click "Connect" to save the connection.

Understanding S3 Concepts

Buckets

Buckets are the top-level containers in S3. Each bucket has a globally unique name and exists in a specific AWS region. You can connect multiple buckets from different regions to MigrateClouds.

Objects and Keys

In S3, files are called "objects" and their paths are called "keys". Unlike traditional file systems, S3 doesn't have true folders—it simulates them using key prefixes (e.g., "folder/subfolder/file.txt").

Prefixes

Prefixes allow you to organize objects in S3 like folders. When connecting to MigrateClouds, you can specify a prefix to work with a subset of your bucket (e.g., "production/data/").

Regions

Each S3 bucket is created in a specific AWS region (e.g., us-east-1, eu-west-1). You must specify the correct region when connecting to MigrateClouds for optimal performance.

Using Amazon S3 with MigrateClouds

Browsing Files

Once connected, you can browse your S3 objects directly from the MigrateClouds dashboard:

  1. Navigate to the "File Explorer" section in your dashboard
  2. Select "Amazon S3" from the dropdown menu of connected services
  3. Choose the specific bucket connection you want to browse
  4. Browse through your folders (prefixes) and files (objects) just like a traditional file system

Uploading Files

Upload files directly to your S3 bucket:

  1. Navigate to the target folder in your S3 bucket
  2. Click the "Upload" button in the toolbar
  3. Select files from your computer (supports files of any size)
  4. Files are uploaded using multipart upload for reliability and can be paused/resumed

Transferring Files

Transfer files between S3 and other cloud services:

  1. Select the files or folders you want to transfer
  2. Click the "Transfer" button in the toolbar
  3. Select the destination cloud service (Google Drive, OneDrive, Dropbox, Box, or another S3 bucket)
  4. Choose the destination folder
  5. Click "Start Transfer" to begin the process

File Management

MigrateClouds allows you to perform file management operations on your S3 objects:

  • Create new folders (prefixes)
  • Download files to your computer
  • Delete files and folders
  • Move and copy files between folders within the same bucket

These operations can be performed using the context menu (right-click) or the toolbar buttons.

Storage Calculation

MigrateClouds provides two methods for calculating your S3 bucket storage usage, balancing speed, accuracy, and cost:

Calculation Methods

AUTOMATIC

CloudWatch Metrics (Default)

  • Cost: FREE - No additional charges
  • Speed: Instant (single API call)
  • Accuracy: High (daily updated by AWS)
  • Data Freshness: 24-48 hours delay
  • Use Case: Default for all quota refreshes
  • Note: Not available for new buckets (<48 hours old)
✓ This method is used automatically when you refresh your quota
MANUAL

Accurate Calculation (S3 Inventory)

  • Cost: Very Low (~$0.0025 per million objects)
  • Speed: Fast (reads pre-generated report)
  • Accuracy: Very High (complete object list)
  • Data Freshness: Daily updates
  • Use Case: When you need most accurate calculation
  • Setup Required: Configure S3 Inventory in AWS Console
  • Access: Click "Calculate Accurate Storage" in dropdown menu
ⓘ Available as manual option when you need the most accurate storage data

Understanding the Dashboard Buttons

When you open the dropdown menu (⋮) on your S3 connection card, you'll see two options for checking storage:

Refresh Quota

FREE

What it does: Reads storage metrics from AWS CloudWatch

Cost: Completely FREE - No AWS charges

Speed: Instant (1-2 seconds)

Permissions Required: cloudwatch:GetMetricStatistics

Data Freshness: Last 24-48 hours (updated daily by AWS)

When to use: Regular quota checks, quick dashboard updates, general monitoring

✓ Recommended for everyday use - Always FREE

Calculate Accurate Storage

MANUAL

What it does: Reads detailed object data from S3 Inventory or lists all objects

Cost: Very low (~$0.0025 per million objects with S3 Inventory)

Speed: 5-30 seconds depending on bucket size

Permissions Required: S3 read access to inventory bucket (if configured)

Data Freshness: Daily (from S3 Inventory) or real-time (if inventory not configured)

When to use: Before billing decisions, audits, when exact accuracy is needed

ⓘ Use when you need the most accurate storage calculation (may take a moment)

How to Use

Using "Refresh Quota" (CloudWatch)

  1. Go to your Dashboard
  2. Find your S3 connection card
  3. Click the three-dot menu (⋮)
  4. Select "Refresh Quota"
  5. Storage is updated instantly using CloudWatch metrics (FREE)

Using "Calculate Accurate Storage" (Manual)

  1. Configure S3 Inventory first (recommended, see below)
  2. Go to your Dashboard
  3. Find your S3 connection card
  4. Click the three-dot menu (⋮)
  5. Select "Calculate Accurate Storage"
  6. Wait a few seconds for the calculation (uses S3 Inventory if configured)

⚠️ This option is only available for S3 connections and provides the most accurate storage data.

Configuring S3 Inventory (Recommended)

For the most accurate storage calculations, we recommend enabling S3 Inventory:

  1. Open AWS S3 Console:
  2. Configure Inventory:
    • Go to the Management tab
    • Scroll to Inventory configurations
    • Click Create inventory configuration
  3. Inventory Settings:
    • Inventory name: Choose a descriptive name (e.g., "migrateclouds-inventory")
    • Destination bucket: Select the same bucket or a different one
    • Prefix: Optional, e.g., "inventory-reports/"
    • Format: Select CSV
    • Frequency: Select Daily
    • Include object versions: Current versions only (unless you need versioning)
    • Additional fields: Check Size (required for storage calculation)
  4. Configure in MigrateClouds:
    • In your S3 connection settings on MigrateClouds
    • Enable "Use S3 Inventory"
    • Enter the Inventory Bucket name
    • Enter the Inventory Prefix (if you used one)
    • Save your settings
  5. Wait for First Report:
    • AWS generates the first inventory report within 48 hours
    • Subsequent reports are generated daily
    • Once configured, use "Calculate Accurate Storage" in the dropdown menu

Caching & Data Freshness

"Refresh Quota" Button:
  • Fetches latest CloudWatch metrics from AWS (FREE)
  • No caching - always gets fresh data from CloudWatch
  • CloudWatch data itself is 24-48 hours old (updated by AWS daily)
  • Safe to click multiple times - no additional cost
  • Use this for regular quota checks
"Calculate Accurate Storage" Button:
  • Reads from S3 Inventory reports (if configured) - most recent daily report
  • Results are cached for 24 hours to avoid unnecessary AWS costs
  • If clicked within 24 hours, uses cached result
  • After 24 hours, performs new calculation from latest S3 Inventory
  • Use this when you need exact storage numbers

When to Use Each Method

Use CloudWatch (Default):
  • Regular quota checks and dashboard updates
  • Quick overview of storage usage
  • When real-time accuracy isn't critical
  • Completely FREE with no additional AWS costs
Use Accurate Calculation (S3 Inventory):
  • Before important billing decisions
  • When you need exact object counts and sizes
  • For compliance or auditing requirements
  • Large buckets (>1M objects) where accuracy matters

Troubleshooting

Connection Issues

If you're having trouble connecting your S3 bucket:

  • Verify the bucket name is correct (bucket names are case-sensitive)
  • Ensure you've selected the correct AWS region
  • Check that your IAM role has the necessary permissions (s3:ListBucket, s3:GetObject, s3:PutObject, s3:DeleteObject)
  • If using IAM Role, verify the trust relationship includes MigrateClouds' account ID
  • If using Access Keys, ensure the keys are active and haven't expired

Permission Denied Errors

If you're seeing "Access Denied" errors:

  • Review your IAM policy to ensure it includes all required S3 actions
  • Check if your bucket has bucket policies that might be blocking access
  • Verify the IAM role's trust policy allows sts:AssumeRole from MigrateClouds
  • If using a prefix, ensure the IAM policy grants access to that specific prefix

Upload/Download Failures

If uploads or downloads are failing:

  • Check your internet connection stability
  • For large files, ensure you have sufficient disk space
  • Verify you haven't hit S3 request rate limits
  • Check CloudWatch metrics for any S3 service issues
  • Try the operation again—MigrateClouds automatically retries failed chunks

Region Mismatch

If you get region-related errors:

  • Double-check the region where your bucket was created in AWS Console
  • Update the region in your MigrateClouds connection settings
  • Note that bucket regions cannot be changed—you must specify the correct one

Multiple Buckets & Accounts

Each S3 connection is uniquely identified by the combination of bucket name and region. You can:

  • Connect the same bucket multiple times with different prefixes
  • Connect buckets from different AWS regions
  • Connect buckets from different AWS accounts (if you have access)
  • Switch between connected buckets from your dashboard

Note: Each unique combination of bucket name, region, and prefix can only be connected once per user. If you need to update credentials, disconnect and reconnect the bucket.

Best Practices

🔒 Security

  • Use IAM Role authentication instead of Access Keys whenever possible
  • Follow the principle of least privilege—only grant necessary permissions
  • Enable CloudTrail to audit all S3 access from MigrateClouds
  • Regularly rotate Access Keys if you must use them
  • Use bucket policies to restrict access by IP or other conditions

⚡ Performance

  • Connect to buckets in regions closest to your location for faster transfers
  • Use S3 Transfer Acceleration for long-distance transfers (configure in AWS)
  • For large migrations, consider transferring during off-peak hours
  • Break very large transfers into smaller batches to track progress better

📋 Organization

  • Use descriptive names when connecting buckets (shown in your dashboard)
  • Leverage prefixes to organize different projects or environments
  • Document your IAM roles and their purposes for your team
  • Use consistent naming conventions for objects and prefixes

💰 Cost Management

  • Be aware of S3 data transfer costs, especially for cross-region transfers
  • Use S3 Lifecycle policies to automatically move old data to cheaper storage classes
  • Monitor your AWS billing dashboard for S3 API request costs
  • Consider using S3 Intelligent-Tiering for automatic cost optimization

Limitations

While MigrateClouds provides comprehensive support for Amazon S3, there are some limitations to be aware of:

  • S3 object metadata and tags are preserved during transfers within S3, but may not transfer to other cloud services
  • S3 versioning, lifecycle policies, and replication rules are not transferred (these are bucket-level configurations)
  • Glacier and Glacier Deep Archive objects must be restored before they can be transferred
  • Object ACLs and permissions are not transferred to other cloud services (only within S3)
  • Transfer speeds depend on your internet connection and AWS rate limits
  • IAM Role credentials expire after 1 hour and are automatically refreshed by MigrateClouds

Next Steps