FPT Object Storage supports integration with S3-SDKs or S3-Clients following the AWS S3 standard. This lets you use familiar tools and libraries to interact with your bucket's data.
Before integration, you need to gather the necessary authentication information, such as Endpoint and Access Key from FPT Object Storage, following the instructions in the Access Key Management section.
S3CMD: This is a command-line tool for Linux/Unix that allows you to manage data on FPT Object Storage or AWS S3. You can upload, download, and organize files and folders.
CentOS/RHEL:
$ sudo yum install s3cmd -y
Ubuntu/Debian:
$ sudo apt-get install s3cmd
MacOS:
$ brew install s3cmd
Other operating systems can be referenced at the S3CMD homepage: https://s3tools.org/download
Step 1: Open a terminal and run the following command to start the configuration process:
$ s3cmd --configure
Step 2: The command above will prompt you to enter the following information:
After entering the correct information, S3CMD will automatically save these configurations in its configuration file.
You can create a separate configuration file by creating or editing the ~/.s3cfg file. Below is an example of the configuration file content:
[default]
access_key = YOUR_ACCESS_KEY
secret_key = YOUR_SECRET_KEY
bucket_location = YOUR_BUCKET_LOCATION
host_base = YOUR_S3_ENDPOINT
host_bucket = YOUR_S3_ENDPOINT
use_https = True
signature_v2 = False
Step 3: Check the Connection
After you have finished configuring, you can use the following command to check the connection status and display a list of buckets:
$ s3cmd ls
If you see the list of displayed buckets, you have successfully connected to FPT Object Storage.
CyberDuck: This is an open-source GUI application for Mac and Windows that allows you to manage files directly on FPT Object Storage or AWS S3. It provides a more user-friendly environment for uploading, downloading, and managing files.
Visit the Cyberduck homepage to download the appropriate version for your device: Cyberduck Download
After downloading, open the installation file and follow the application's instructions to complete the Cyberduck installation.
Step 1: Open the Cyberduck application after installation.
Step 2: Click the Open Connection button on the main interface or select File -> Open Connection from the menu.
Step 3: An Open Connection dialog will appear. In this dialog, enter the authentication information as follows:
Cyberduck will connect to FPT Object Storage using the provided authentication information. Once the connection is successful, the folder structure on FPT Object Storage appears in the Cyberduck window.
From here, you can perform various operations such as uploading, downloading, and managing files directly through the intuitive interface of Cyberduck.
Download the latest version from the official AWS CLI website or install it using the following instructions: Linux/Unix:
Use cURL to download the AWS CLI zip file:
$ curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
Extract a zip file:
$ unzip awscliv2.zip
Run the installation file:
$ sudo ./aws/install
Windows:
Open Command Prompt or Windows PowerShell.
Enter the following command to download and install AWS CLI using the MSI file:
msiexec.exe /i https://awscli.amazonaws.com/AWSCLIV2.msi
Follow the on-screen instructions to complete the installation.
After installation, open Command Prompt, PowerShell, or Terminal, depending on your operating system.
Enter the following command to start the configuration process:
aws configure
To enter the following information in sequence:
After entering the correct information, AWS CLI will automatically save this configuration, and you have completed the configuration.
Check Installation and Configuration:
To check if AWS CLI has been installed and configured successfully or not, you can use the following command to view the AWS CLI version:
aws --version
If the above command returns the version of AWS CLI, it indicates that you have successfully installed and configured it.
WinSCP stands for Windows Secure Copy Protocol and is a free Windows application used to securely transfer files between a personal computer and a remote server. It is primarily used for managing and sharing files through protocols such as SFTP (Secure File Transfer Protocol), SCP (Secure Copy Protocol), FTP (File Transfer Protocol), AWS S3, etc., via a user-friendly interface.
Visit the official WinSCP website to download and install the software: WinSCP Download
After downloading, open the installation file and follow the instructions to complete the WinSCP installation.
Step 1. Open the WinSCP application after installation.
Step 2. Click on New Session to start setting up a new connection.
Step 3. In the Login window, follow these steps:
After a successful connection, you will see a list of buckets on FPT Object Storage appear in the WinSCP window.
From here, you can perform drag-and-drop operations to upload, download, and manage files directly through the intuitive WinSCP interface.
s3sync is an open-source tool developed to manage and synchronize files between a personal computer or server with cloud storage services using the S3 protocol, such as Amazon S3 from Amazon Web Services and FPT Object Storage from FPT Cloud. This tool allows you to upload and download files and perform synchronization operations between cloud storage services.
Access the project's link to download and install the software: S3sync Releases
After downloading, extract and follow the instructions to complete the S3sync installation.
You must provide authentication information in the execution commands for the tool to function.
Basic parameters:
Commonly used commands:
Upload data from the local system to FPT Object Storage:
./s3sync --tk --ts --the "target endpoint" -w 64 fs:// s3:// --sync-progress --s3-acl public-read
Download data from FPT Object Storage to local:
./s3sync --sk --ss --se "source endpoint" -w 64 s3:// fs:// --sync-progress --disable-http2
Copy data from this bucket to another bucket:
./s3sync --sk --ss --se "source endpoint" --tk --ts --te "target endpoint" -w 64 s3:// s3:// --sync-progress --s3-acl public-read --disable-http2
Sync data from Amazon S3 to FPT Object Storage
./s3sync --sk --ss --tk --ts --the "target endpoint" -w 64 s3:// s3:// --sync-progress --s3-acl public-read --disable-http2