Skip to content

Amazon S3, Cyberduck, Captain FTP

tdkehoe edited this page May 10, 2015 · 2 revisions

Amazon S3 (Simple Storage Service) is an online file storage web service. It was designed particularly for web developers to have a fast server for web development.

Amazon S3 doesn't use FTP. Rather, it uses something else (what?).

Amazon S3 can be accessed from the terminal command line using Cyberduck, or via various desktop apps including Cyberduck and Captain FTP.

To connect to Amazon S3 you need three items:

  • Access Key
  • Secret Access Key
  • Bucket Name

Viewing an Amazon S3 Website

An Amazon S3 URL is in the form

bucket_name.s3-server_name.amazonaws.com/project_directory/index.html

For example, to view my website, go to

http://g8-websites.s3-website-us-west-2.amazonaws.com/thomaskehoe/index.html

Cyberduck

A Command Line Interface (CLI) for Cyberduck is available from https://duck.sh. To install Cyberduck:

brew install duck

Documentation for the CLI is at https://trac.cyberduck.io/wiki/help/en/howto/cli.

To upload to Amazon S3:

duck -u access_key_ID -p secret_access_key --upload s3://bucket_name ~/directory/subdirectory

My bucket_name is g8-websites/thomaskehoe.

To see the contents of a bucket:

duck -u access_key_ID -p secret_access_key --upload s3://bucket_name< -l

Captain FTP

Clone this wiki locally