# Access S3 buckets with internal network for NCS instance

&#x20;For Base Linux OS :&#x20;

1. edit file  /etc/hosts with super user

```
sudo vi /etc/hosts
```

2. add IP Address and hostname&#x20;

```
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
```

4. 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-epc.gitbook.io/ncs-documents/storage/object-storage-s3/access-s3-buckets-with-internal-network-for-ncs-instance.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
