Object Store Quick Start: Difference between revisions

Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by the same user not shown)
Line 83: Line 83:
+------------+--------------------------------------------------------------------------------------------------+
+------------+--------------------------------------------------------------------------------------------------+
</syntaxhighlight>
</syntaxhighlight>
==== Setting up AWS S3 profile for S3 ====
First, [https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html#getting-started-install-instructions install the aws client]. 
And then configure the s3 access for your project Object Store with a '''profile'''  using the  <S3 SECRET KEY>  and <S3 ACCESS KEY> created in the previous step.
Here how to configure a profile.
Append this new profile in
<div class="filename">'''File :''' ~/.aws/config </div>
<syntaxhighlight lang="ini" file="~/.aws/config">
[profile <PROJECT NAME>]
output = json
endpoint_url = https://objets.juno.calculquebec.ca
region = default
s3 =
  endpoint_url = https://objets.juno.calculquebec.ca
  signature_version = s3v4
  max_concurrent_requests = 40
s3api =
  endpoint_url = https://objets.juno.calculquebec.ca
ec2 =
  endpoint_url = https://objets.juno.calculquebec.ca
</syntaxhighlight>
Then append the follwing:
<div class="filename">'''File :''' ~/.aws/credentials </div>
<syntaxhighlight lang="ini" file="~/.aws/credentials">
[<PROJECT NAME>]
aws_access_key_id = <S3 ACCESS KEY>
aws_secret_access_key = <S3 SECRET KEY>
</syntaxhighlight>
and test the setup
<syntaxhighlight lang="bash">
export AWS_PROFILE=<PROJECT NAME>
aws s3 mb s3://test
aws s3 ls
</syntaxhighlight>
<syntaxhighlight>
2026-04-30 18:19:35 test
</syntaxhighlight>
=== Using the Object Store ===
=== Using the Object Store ===
Consider using [[rclone]] to access and work with the Object Store.
Consider using [[rclone]] to access and work with the Object Store.
172

edits

Navigation menu