Object Store > Containers
💡 A “container” in the cPouta web interface is called a “bucket” within the S3 protocol. Don’t confuse this with Docker/Apptainer containers.
<project number>_<username>
, in which <project number>
is the number of your project (e.g. 2001234) and <username>
is your CSC username💭 During the exercises, you can use this web interface to get another view to the buckets and objects in Allas.
☝🏻 Note, that you need to reload the view in order to see any recent changes.
puhti.csc.fi
(open a login node shell if using the web interface)csc-workspaces
cd /scratch/<project> # replace <project> with your CSC project, e.g. project_2001234
$USER
):mkdir -p $USER
cd $USER
module load allas
allas-conf
💡 It might take a while to run module load allas
a-commands
and with rclone:a-commands
:a-list
a-list <project_number>_$USER # replace <project number> with your CSC project number, e.g. 2001234
a-info <project_number>_$USER/<filename> # replace <project number> with your CSC project number, e.g. 2001234, and <filename> with the file you uploaded
rclone
:rclone lsd allas:
rclone ls allas:<project number>_$USER
rclone lsl allas:<project number>_$USER
rclone lsf allas:<project number>_$USER
rclone cat allas:<project number>_$USER/<filename>
a-commands
:a-get <project number>_$USER/<filename> # replace <project number> with your CSC project number, e.g. 2001234, and <filename> with the file you uploaded
rclone
:rclone copy allas:<project number>_$USER/<filename> ./ # replace <project number> with your CSC project number, e.g. 2001234, and <filename> with the file you uploaded
a-commands
:a-put -b <project number>_$USER <newfilename> # replace <project number> and <newfilename> accordingly
💭 Try running a-put -h
to understand the command-line switch above and to find more information on options.
💬 With larger files it is good to include the option -c
to enable zstdmt
compression of the files.
rclone
:rclone copy <newfilename> allas:<project number>_$USER/ # replace <newfilename> and <project number> accordingly
a-check -b <project number>_$USER <newfilename> # replace <project number> and <newfilename>
rm <filename> # replace <filename>
💭 If you can’t find your file but remember the name, try a-find
. Use a-find -h
for help.
💬 The a-commands
include basic tools for publishing files to the internet. You might notice that the course slides use one of these! 🤓
‼️ Note: Using these commands makes your entire bucket public! Do not engage if you don’t want that to happen. All files that you a-put
in the bucket later will also be accessible from internet, since the bucket is accessible.
a-publish
a-publish -b <project number>_$USER <filename> # replace <project number> and <filename>
a-flip
💬 a-flip
is meant for files that need to be published only temporarily, for example for a one-time share.
a-flip <filename> # replace <filename>
‼️ Note: a-flip
takes just the file name, not the bucket name like many of the previous commands.