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.
Log on to the NAS console (https://nasnext.console.aliyun.com/cn-shanghai/filesystem) Purchase a NAS file system.
- DSW currently supports capacity-type NAS and SSD performance-type NAS. Do not choose Extreme NAS.
- 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.
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.
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.
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.
sh-4.2$ cd /home/admin/jupyter/
dddd.txt graph.fnn.ipynb nihao.ipynb Sequential.ipynb
Demo nihao2.ipynb number.fnn.ipynb image.png
sh-4.2$ ln -s /nas/ mynas
dddd.txt graph.fnn.ipynb nihao2.ipynb number.fnn.ipynb image.png
Demo mynas nihao.ipynb Sequential.ipynb