All Products
Search
Document Center

Increase Storage Capacity

Last Updated: Apr 01, 2020

Data Science Workshop (DSW) provides up to 5 GB of free Network Attached Storage (NAS) storage. If you fail to upload data to DSW or the file size exceeds the capacity of the system storage, you can use NAS file systems. You can purchase NAS file systems and mount them to DSW instances. This topic describes how to expand the storage of DSW instances.

Create a NAS file system

Log on to the NAS console (https://nasnext.console.aliyun.com/cn-shanghai/filesystem) Purchase a NAS file system.

Notes:
  1. DSW currently supports capacity-type NAS and SSD performance-type NAS. Do not choose Extreme NAS.
  2. When you activate the NAS service, make sure that your DSW instance and the NAS file system are deployed in the same region. If you use a DSW instance deployed in the China (Beijing) region, purchase a NAS file system in the same region.

NAS Authorization

If this is the first time you are mounting a NAS file system, log on to the NAS console for authorization. If you have performed the authorization before, click the following link to confirm: NAS authorization policy .

You can also click the authorization hyperlink next to the NAS file system ID in the DSW console to complete authorization.

Mount a NAS file system to a DSW instance

You can mount a NAS file system to a DSW instance in the following ways:

  • To mount a NAS file system to a DSW instance when you create the instance, input the NAS file system ID on the instance creation page.
  • To mount a NAS file system to an existing DSW instance, stop the instance first, click Config, and then input the NAS file system ID.

Use the mounted NAS file system

After the NAS file system is mounted, you can check the NAS file system ID in the file system column of the instance list. Launch the terminal of the DSW instance, and verify that the NAS mount path is /nas.

If you want to upload files from the DSW console, create a soft link from /home/admin/jupyter to /nas.

  1. sh-4.2$ cd /home/admin/jupyter/
  2. sh-4.2$ ls
  3. dddd.txt graph.fnn.ipynb nihao.ipynb Sequential.ipynb
  4. Demo nihao2.ipynb number.fnn.ipynb image.png
  5. sh-4.2$ ln -s /nas/ mynas
  6. sh-4.2$ ls
  7. dddd.txt graph.fnn.ipynb nihao2.ipynb number.fnn.ipynb image.png
  8. Demo mynas nihao.ipynb Sequential.ipynb