Browse articles

Object storage

# How to use the AWS CLI with Linuxteknosia Cloud

Configure AWS CLI v2 for Linuxteknosia Cloud S3-compatible object storage: endpoint, region, path-style addressing, upload, sync, and presigned URLs.

2 min readUpdated: October 23, 2026[Baca dalam Bahasa Indonesia](/docs/aws-cli)

The AWS CLI works directly with Linuxteknosia Cloud once you add `--endpoint-url`. Nothing else changes: the `s3`, `s3api`, `sync`, and `presign` commands behave exactly as they do on AWS.

## 1\. Create an access key

Sign in to the dashboard and open **Object storage → Access keys → Create access key**. Copy the access key and secret key: the secret is shown only once. You can restrict the key to a single bucket and set an expiry date. Use the bucket name exactly as shown in the dashboard (Object storage). Bucket names are global, so replace the example `media-example-co` in this guide with your own bucket name.

## 2\. Configure the AWS CLI

Install AWS CLI v2, then enter your credentials and region. Linuxteknosia Cloud uses path-style addressing.

```bash
aws configure
# AWS Access Key ID:     <access key>
# AWS Secret Access Key: <secret key>
# Default region name:   id-jkt-1
aws configure set default.s3.addressing_style path
```

## 3\. Use the Linuxteknosia Cloud endpoint

Add `--endpoint-url` to every command, or set `AWS_ENDPOINT_URL` once (recent AWS CLI v2 releases).

```bash
export AWS_ENDPOINT_URL=https://storage.linuxteknosia.cloud

aws s3 ls
aws s3 cp ./archive.zip s3://media-example-co/archive/
aws s3 sync ./uploads s3://media-example-co/uploads
aws s3 presign s3://media-example-co/archive/archive.zip --expires-in 3600
```

## 4\. Troubleshooting

**AccessDenied**: make sure the bucket name matches the one shown in the dashboard exactly and that the key is not restricted to a different bucket. **SignatureDoesNotMatch**: check that the region is `id-jkt-1` and the addressing style is `path`. **"quota check temporarily unavailable"** on a newly created bucket: wait up to two minutes for the quota scanner to become ready.

## See also

-   [How to use rclone with Linuxteknosia Cloud](/docs/rclone)
-   [Using AWS SDK v3 (Node.js) with Linuxteknosia Cloud](/docs/nodejs)
-   [Configure the Laravel filesystem with a custom S3 endpoint](/docs/laravel)

Still need help?

Open a support ticket from the dashboard and our team will reply as soon as possible.

[Help center](/en/help)[Open a ticket](/app/support/new)