Access S3 buckets with internal network for NCS instance

You can use S3 via Internal Network by the following methods

For Base Linux OS :

  1. edit file /etc/hosts with super user

sudo vi /etc/hosts
  1. add IP Address and hostname

169.254.169.251 s3-bkk.nipa.cloud
169.254.169.252 s3-non.nipa.cloud

For Windows :

  1. Open your text editor in Administrator mode

  2. In the text editor, open C:\Windows\System32\drivers\etc\hosts

  3. Add the IP Address and hostname

169.254.169.251 s3-bkk.nipa.cloud
169.254.169.252 s3-non.nipa.cloud
  1. Save the changes

The S3 endpoint will use the link-local network and can function normally with tools like s3cmd, s3fs-fuse, or s3 libraries for S3 access. Note : Maximum object size when using S3 Individual S3 objects can range in size from a minimum of 0 B to a maximum of 5 TB. The largest object that can be uploaded in a single PUT is 5 GB. For objects larger than 100 MB, consider using the Multipart Upload capability.

Last updated