Skip to content

Commit

Permalink
Merge pull request #329 from csc-training/allas-ood
Browse files Browse the repository at this point in the history
Use Puhti web interface as Allas GUI
  • Loading branch information
rkronberg authored Mar 26, 2024
2 parents e6b222d + f07e6fd commit 337b077
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
19 changes: 9 additions & 10 deletions part-1/allas/allas-bio-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,14 @@ permalink: /hands-on/allas/allas-tutorial.html

# Using Allas in CSC's HPC environment

Before the actual exercise, open a view to the Allas service in your browser using the cPouta web interface.
Before the actual exercise, open a view to the Allas service in your browser using the Puhti web interface.

1. Go to <https://pouta.csc.fi> and login with your account
2. From the upper left corner open the project selection pop-up menu
- If you have several projects available, choose one that you want to use in this exercise
3. From the menu on the left side of the interface, select `Object Store > Containers`
4. During the exercise, 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 changes
1. Go to <https://www.puhti.csc.fi> and login with your account.
2. Configure an Allas S3 connection using the _Cloud storage configuration_ tool.
- You need to first authenticate by providing your CSC password.
- If you have several projects available, choose one that you want to use in this exercise.
3. Once you've configured a connection, select `s3allas-project_<id>` from the _Files_ dropdown menu in the top navigation bar. Replace `<id>` with the number of the project you chose to use (e.g. 2001234).
4. During the exercise, you can use this web interface to get another view to the buckets and objects in Allas.

## 1. Login to Puhti

Expand Down Expand Up @@ -104,8 +103,8 @@ rclone lsf allas:$USER-genomes-rc/
```

{:style="counter-reset:step-counter 2"}
3. Check how this looks like in the Pouta web interface. Open a browser and go to <https://pouta.csc.fi/>
4. In the Pouta web interface, go to the _Object Store_ section and list the buckets (which are called here _Containers_)
3. Check how this looks like in the Puhti web interface. Open a browser and go to <https://www.puhti.csc.fi/>
4. In the Puhti web interface, go to the _Files_ app and select `s3allas-project_<id>` to list the buckets of your project (replace `<id>` as needed).
5. Locate your own `$USER-genomes-rc` bucket and download one of the uploaded fasta files to your local computer

💡 You can read more about moving files at Docs CSC: [Copying files using scp](https://docs.csc.fi/data/moving/scp/) and [Moving data with rclone](https://docs.csc.fi/support/faq/how-to-move-data-between-puhti-and-allas/#move-data-with-rclone)
Expand Down
4 changes: 2 additions & 2 deletions part-1/allas/allas-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ permalink: /hands-on/allas/tutorial_allas-file-transfer.html
💡 Now you'll be able to browse your _buckets_ and _objects_ in Allas using the *Files* app!

{:style="counter-reset:step-counter 4"}
1. From the *Files* dropdown menu in the top navigation bar, select `s3allas-project_<id>`.
1. From the *Files* dropdown menu in the top navigation bar, select `s3allas-project_<id>` where `<id>` is the number of your project (e.g. 2001234).
2. Create a new bucket by pressing the *New Directory* button.
- Name it as `<id>_<username>`, in which `<id>` is the number of your project (e.g. 2001234) and `<username>` is your CSC username. Note that you cannot use a bucket name that already exists!
- Name it as `<id>_<username>`, in which `<id>` is again the number of your project and `<username>` is your CSC username. Note that you cannot use a bucket name that already exists!
3. Open the created bucket by clicking it.
4. Upload one file from your computer into the bucket (any file should do, but prefer a file that you can open in Puhti, e.g. a text file).

Expand Down

0 comments on commit 337b077

Please sign in to comment.