CleverCloud / doc.clever-cloud.com-comments

Repository to collect comments of our documentation website
https://www.clever-cloud.com/doc/
1 stars 0 forks source link

Cellar, a S3-like object storage service | Clever Cloud Documentation #8

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

Cellar, a S3-like object storage service | Clever Cloud Documentation

https://www.clever-cloud.com/doc/deploy/addon/cellar/

coderbyheart commented 2 years ago

Note that authentication fails if using AWS CLI >= 2.0.0

gaelreyrol commented 2 years ago

Note that authentication fails if using AWS CLI >= 2.0.0

It's working with AWS CLI 2.3.5 with Python 3.8.8. What error did you got?

coderbyheart commented 2 years ago

This one: https://github.com/distributeaid/shipment-tracker/runs/3886518955?check_suite_focus=true#step:15:74

After downgrading to awscli<2.0.0 the error goes away.

coderbyheart commented 2 years ago

What might be different on your end is that I am using environment credentials (AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KE).

gaelreyrol commented 2 years ago

What might be different on your end is that I am using environment credentials (AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KE).

@coderbyheart Can you reach us through the support widget in the console ?

CmicCDMX commented 2 years ago

how to make it public?

TheBeardedGaul commented 2 years ago

Hi, using python 3.7 and boto3, it seems there is nothing in boto3.Session object to map your host with.

class boto3.session.Session(aws_access_key_id=None, aws_secret_access_key=None, aws_session_token=None, region_name=None, botocore_session=None, profile_name=None)

Any tip?

hfroot commented 1 year ago

A bit of feedback about the CORS configuration section: I didn't understand that s3cfg was the path to the downloaded config file on my computer, for example in this command: s3cmd -c s3cfg -s info s3://your-bucket Might be clearer if the commands were s3cmd -c path/to/config-file -s info s3://your-bucket or similar

cedk commented 1 year ago

Hi, using python 3.7 and boto3, it seems there is nothing in boto3.Session object to map your host with.

class boto3.session.Session(aws_access_key_id=None, aws_secret_access_key=None, aws_session_token=None, region_name=None, botocore_session=None, profile_name=None)

Any tip?

I use:

    client = boto3.client(
        's3',
        aws_access_key_id=access_key,
        aws_secret_access_key=secret_key,
        endpoint_url='https://cellar-c2.services.clever-cloud.com/',
    )
3rgo commented 1 year ago

A bit of feedback about the CORS configuration section: I didn't understand that s3cfg was the path to the downloaded config file on my computer, for example in this command: s3cmd -c s3cfg -s info s3://your-bucket Might be clearer if the commands were s3cmd -c path/to/config-file -s info s3://your-bucket or similar

Thank you for your comment, I've been using s3cmd for the first time and put my s3cfg file in the recommended directory so I didn't understand why I got the following error :

ERROR: s3cfg: Host is down ERROR: Configuration file not available.