Skip to content

Instantly share code, notes, and snippets.

What would you like to do?

Configure mc (snowball)

Amazon Snowball implements restricted S3 APIs. New release of mc automatically detects if its a snowball endpoint and turns-on legacy APIs.

Before we begin get the snowball credentials as mentioned here

Secured (recommended)

Before you configure to use HTTPS endpoint make sure to obtain the current Snowball Edge certificate following this document, once obtained same the certificate as shown below

~ mkdir -p ${HOME}/.mc/certs/CAs
~ snowballEdge get-certificate --certificate-arn arn:aws:snowball-device:::certificate/78EXAMPLE516EXAMPLEf538EXAMPLEa7 > ${HOME}/.mc/certs/CAs

Once certificate has been saved you can proceed to creating the alias with the obtained credentials.

~ mc config host add snowball https://<IP address for the S3 Adapter>:8443 AKIAIOSFODNN7EXAMPLE wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY


Snowball also exposes an insecure endpoint, without the certificate.

~ mc config host add snowball http://<IP address for the S3 Adapter>:8080 AKIAIOSFODNN7EXAMPLE wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY

Configure mc (MinIO)

Assuming you have a local MinIO setup running configure mc to talk to this cluster

~ mc config host add myminio http://<IP address or Hostname for the MinIO deployment>:9000 Q3AM3UQ867SPQQA43P2F zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG

Start mirror

Start mirror to copy all the buckets and all objects on Amazon Snowball to MinIO.

~ mc mirror snowball/ myminio/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.