# Access your Container

### How can “User” access Containers?

Access the containers to reach the Archived Data, a virtual file system that includes a comprehensive file and folder structure. This system utilizes an internal cache and is supplemented by secondary storage volumes.

The solution is compatible with

* Windows 7, 8, 10, 11
* MacOS
* Linux

### Windows-Based Operating System&#x20;

#### SMB

To access the Network File Explorer via the command line, enter: `\\nodeumhostname\`<br>

The hostname in this screenshot is "nodeum

<figure><img src="https://1946775891-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgzbGsZqZH8Ro8zxRYgwn%2Fuploads%2FMHMw7ZFmv9aPgXtNOyvn%2Fimage.png?alt=media&#x26;token=22b96b8f-0d98-42a2-ab21-452689ca4f6c" alt=""><figcaption></figcaption></figure>

You will then view the available containers

In this example, "archive" is a defined container. Click the icon

<figure><img src="https://1946775891-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgzbGsZqZH8Ro8zxRYgwn%2Fuploads%2FSFoZXGVyH6QctGRvrI5R%2Fimage.png?alt=media&#x26;token=87ce4574-57b7-4b56-a01e-6c0b09e6bcb4" alt=""><figcaption></figcaption></figure>

If Nodeum is configured with Active Directory, this window won't appear. However, if it's set up with a local account, use your Nodeum local username

<figure><img src="https://1946775891-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgzbGsZqZH8Ro8zxRYgwn%2Fuploads%2FF3zfC96FMANYDOkRxp2r%2Fimage.png?alt=media&#x26;token=1d9b6a63-3c35-48ea-b6f0-536a2322d5fe" alt=""><figcaption></figcaption></figure>

After authorization, the container's contents will appear as a normal Network Shared Folder.

<figure><img src="https://1946775891-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgzbGsZqZH8Ro8zxRYgwn%2Fuploads%2FK4yxxYT7kNqpO52B7vQL%2Fimage.png?alt=media&#x26;token=fd276e23-0b4c-4ac4-9fb7-8bcbf94fc084" alt=""><figcaption></figcaption></figure>

### MacOS-Based Operating System&#x20;

#### NFS

&#x20;Navigate to the "Go" menu on your MacOS top bar and select "Connect to Server

<figure><img src="https://1946775891-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgzbGsZqZH8Ro8zxRYgwn%2Fuploads%2FzqDlD30s93bP4PbowZ82%2Fimage.png?alt=media&#x26;token=389c3aab-4e49-484e-87b6-296e16208aed" alt=""><figcaption></figcaption></figure>

To connect, enter the Nodeum hostname in the address field as `smb://nodeumhostname`, then click

<figure><img src="https://1946775891-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgzbGsZqZH8Ro8zxRYgwn%2Fuploads%2FZ5GngSPpoauTb0XxPhlv%2Fimage.png?alt=media&#x26;token=78d90b18-9fa7-4be1-b047-acb793ad422c" alt=""><figcaption></figcaption></figure>

Once your credentials are correctly configured, you can access the Network Shared Folder's contents.

<figure><img src="https://1946775891-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgzbGsZqZH8Ro8zxRYgwn%2Fuploads%2FwocYKnd3r9FZlqfoocx0%2Fimage.png?alt=media&#x26;token=10786267-dc92-4367-a2ce-d62b59283c5e" alt=""><figcaption></figcaption></figure>

### Linux-Based Operating System&#x20;

#### SMB

In your Linux terminal, mount the container (named archive in the example) in using SMB protocol. Verify that you have the right package installed:

```bash
$ sudo yum install cifs-utils
$ sudo mount.cifs //nodeum.local/archive /mnt/testmnt -o user=johndoe,
pass="secret" 
```

**In this example:**

* **nodeum.local**: hostname of server
* **/archive**: Container name into Nodeum
* **/mnt/testmnt**: access point in your Linux system. In the best practice, the name "testmnt" must be chosen according to the container name.
* **-o user=johndoe,pass="secret"**: johndoe is a user who have access to the container and "secret" is the password of the user.&#x20;

Adding a Mount Point in /etc/fstab

To ensure the mount point is persistent across reboots, you can add it to the `/etc/fstab` file.

```bash
...
//nodeum.local /archive /mnt/testmnt cifs credentials=johndoe 0 0
...
```

#### &#x20;NFS

In your Linux terminal, mount the container (named archive in the example) in using NFS protocols.&#x20;

Verify that you have the right package installed:

```bash
$ sudo yum install nfs-utils nfs-utils-lib
$ sudo mount -t nfs -o vers=4 nodeum.local:/archive /mnt/testmnt
```

&#x20;Adding a Mount Point in /etc/fstab

To ensure the mount point is persistent across reboots, you can add it to the `/etc/fstab` file.

```bash
...
nodeum.local:/archive /mnt/testmnt/ nfs rw,sync,hard,intr 0 0
...
```

### &#x20;Access your container in S3

&#x20;Prior to accessing your container as a bucket, you must define a pair of access key and secret key.&#x20;

For this you need to go to Container User  Management section, then select edit the user profile to whom you want to generate the pair of keys.&#x20;

In this interface, you can see the keys with possibility to generate new ones.

Once you have your pair of keys generated, you need to remap the container authorization list with the new defined user.&#x20;

For doing this, you must click on this button:

<figure><img src="https://1946775891-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgzbGsZqZH8Ro8zxRYgwn%2Fuploads%2F6ZzLfoh0DsiC0aj6HlrU%2Fimage.png?alt=media&#x26;token=c6f1c296-7f98-4680-a0f1-2a526cb611a7" alt=""><figcaption></figcaption></figure>

Go through an S3-supported application and define a new S3 connection profile.&#x20;

Define a new profile with following configuration:

* &#x20;Protocol: S3 (HTTP) or S3 (HTTPS) if you have configured the SSL option in the Nodeum   configuration.
* Nickname: Your own profile definition.
* Server: Nodeum Server Name
* Port: 9000 is the default port for this service
* Access Key ID: This is the access key defined in the Nodeum Container User Management. It is typically the username.
* Secret Access Key: This is the secret key you have generated in the Nodeum Container User Management

<figure><img src="https://1946775891-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgzbGsZqZH8Ro8zxRYgwn%2Fuploads%2Fz1KHI0HTr5RthZ6ihtHQ%2Fimage.png?alt=media&#x26;token=e5872302-313f-4b89-8a78-93fc81e9197a" alt=""><figcaption></figcaption></figure>

Once done, you can connect to this profile, and you will see the list of bucket your user can access.

<figure><img src="https://1946775891-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgzbGsZqZH8Ro8zxRYgwn%2Fuploads%2F2qFUxHngUSwfaudVdRih%2Fimage.png?alt=media&#x26;token=b8621db6-833a-442d-8e75-534754fae817" alt=""><figcaption></figcaption></figure>
