Available in Classic and VPC
You can migrate data using NAVER Cloud Platform's Object Storage. To upload and download data through Object Storage, you must integrate with Amazon S3 to the server.
You can use Object Storage without region or zone restrictions in Classic and VPC.
Data migration using Object Storage (Linux)
To migrate data between servers using Object Storage:
- Subscribe to Object Storage and create a bucket
- Create an API authentication key and integrate with Amazon S3
- Upload and download files
Subscribe to Object Storage and create a bucket
To subscribe to Object Storage and create a bucket:
- From NAVER Cloud Platform console, navigate to
> Services > Storage > Object Storage. - Click [Subscribe].
- When the Subscribe popup appears, click [Apply].
- When the subscription is successfully made, the [Subscribe] button changes to [Subscribed].
- Click [Create bucket] in the Bucket Management page.
- Enter the name of the bucket you're going to create and then click [Next].
- Select the statuses of locking and encryption of the saving target, and then click [Next].
- To set a lock or encryption, visit Contact support for a separate inquiry.
- Select whether to disclose the bucket and, if necessary, set the bucket use permissions for other accounts, and then click [Next].
- After checking the final information, click [Create bucket].
Create an API authentication key and integrate with Amazon S3
To use Object Storage through Amazon S3 API, you must create an API authentication key in the portal first.
To create an API authentication key and integrate with S3:
- From NAVER Cloud Platform console, navigate to My Account > Manage account and security.
- Enter the current password, and click [OK].
- Navigate to Manage security > Manage access.
- Click [Create new API authentication key].
- The API authentication key you created appears in the list.
- Download the python module for installing s3cmd from the Linux server.
- CentOS/Rocky Linux
# yum install -y python-dateutil python3-setuptools - Ubuntu
# apt install python-dateutil python3-setuptools
- CentOS/Rocky Linux
- Download and unzip the s3cmd source file.Note
The VPC can communicate externally only under the following conditions:
- Public Subnet: When the Internet Gateway (IGW) is configured and a public IP is assigned.
- Private Subnet: When NAT Gateway is configured.
- Download the source file.
wget https://github.com/s3tools/s3cmd/archive/master.zip - Unzip the source file.
unzip master.zip
- Deploy the s3cmd module.
cd s3cmd-master sudo python3 setup.py install - Set the s3cmd config.
s3cmd --configure- Access Key ID: Enter the access key ID of the authentication key created in My Account > Manage account and security > Manage security > Manage access in the console.
- Secret Access Key: Enter the secret key of the authentication key created in My Account > Manage account and security > Manage security > Manage access in the console.
- S3 Endpoint: Enter S3 endpoint.
NoteS3 Endpoint value of the server built on the public subnet and private subnet.
- Public domain: kr.object.ncloudstorage.com
- Private domain: kr.object.private.ncloudstorage.com
- DNS-style bucket+hostname: kr.object.ncloudstorage.com/%(bucket)/
- Other items: Enter "Enter."
- View bucket and files.
- View bucket.
s3cmd ls - View bucket lower directories and files.
s3cmd ls [bucket name]
- View bucket.
Upload and download files
You can upload and download files using the created bucket. To upload and download files:
- Upload.
- Upload file.
s3cmd put [upload files] [bucket path] - Upload only the changed files by comparing with the files of the bucket.
s3cmd sync [upload files] [bucket path] - Upload directory.
s3cmd put -r [directory name] [bucket path]
- Upload file.
- Check uploaded status.
- Check on the server.
s3cmd ls [bucket path] - Check in the bucket.
From the NAVER Cloud Platform console, navigate to
> Services > Storage > Object Storage > Bucket Management.
- Check on the server.
- Download files from the bucket to the server.
- Download with the s3cmd command.
s3cmd get [download files] [location for download] - Download using the URL path of the bucket.
wget -q -t 1 --timeout=3 -O [location for download] [URL of bucket files]
- Download with the s3cmd command.
Data migration using Object Storage (Windows)
To migrate data between servers using Object Storage:
- Subscribe to Object Storage and create a bucket
- Create an API authentication key and integrate with Amazon S3
- Upload and download files
Subscribe to Object Storage and create a bucket
To subscribe to Object Storage and create a bucket:
- From NAVER Cloud Platform console, navigate to
> Services > Storage > Object Storage. - Click [Subscribe].
- When the Subscribe popup appears, click [Apply].
- When the subscription is successfully made, the [Subscribe] button changes to [Subscribed].
- Click [Create bucket] in the Bucket Management page.
- Enter the name of the bucket you're going to create and then click [Next].
- Select the statuses of locking and encryption of the saving target, and then click [Next].
- To set a lock or encryption, visit Contact support for a separate inquiry.
- Select whether to disclose the bucket and, if necessary, set the bucket use permissions for other accounts, and then click [Next].
- After checking the final information, click [Create bucket].
Create an API authentication key and integrate with Amazon S3
To use Object Storage through Amazon S3 API, you must create an API authentication key in the portal first.
To create an API authentication key and integrate with S3:
- From NAVER Cloud Platform console, navigate to My Account > Manage account and security.
- Enter the current password, and click [OK].
- Navigate to Manage security > Manage access.
- Click [Create new API authentication key].
- The API authentication key you created appears in the list.
- Download and install the S3 browser from the Windows server.
- You can download the latest version of S3 Browser from the Download page.
Note- The VPC can communicate externally only under the following conditions:
- Public Subnet: When the Internet Gateway (IGW) is configured and a public IP is assigned.
- Private Subnet: When NAT Gateway is configured.
- The S3 browser serves as a client for Amazon S3 and Amazon CloudFront. Although it's a free version, it specifies use for general personal or non-commercial purposes. Therefore, you can use the browser regardless of the license. If you want to use more features, you may use the paid version.
- Enter the following items in the Add account popup that appears when you launch the S3 browser for the first time and add an account.
- Account Name: Enter the account you want to use (e.g., NaverCloud).
- Account Type: S3 Compatible Storage
- REST Endpoint: Enter REST endpoint.
NoteS3 endpoint value of the server built on the public subnet and private subnet.
- Public domain: kr.object.ncloudstorage.com
- Private domain: kr.object.private.ncloudstorage.com
- Access Key: Enter the access key ID of the authentication key created in My Account > Manage account and security > Manage security > Manage access in the console.
- Secret Key: Enter the secret key of the authentication key created in My Account > Manage account and security > Manage security > Manage access in the console.
- Check if the connection is normal in the [Task] tab.
- Check if creating/deleting buckets, uploading/downloading files, and creating/deleting folders can be performed normally.
- Grant permissions with NAVER Cloud Platform console or a related API.
Upload and download files
You can upload and download files using the created bucket. To upload and download files:
- Upload.
- Upload file: Select a bucket on the S3 browser > Files → select the Upload file(s) menu > select the file to upload.
- Upload folder: Files > select the Upload folder(s) menu > select the folder to upload.
- Download
- Download file: Select a bucket on the S3 browser > select a file to download > click the Download menu.
- Download folder: Select a bucket on the S3 browser > select a folder to download > click the Download menu