This quickstart uses the Linux CLI on a server in AWS or GCP. To mount disks on your Mac instead, see Archil for macOS. For serverless functions, containers, or edge compute, see the TypeScript SDK or the compute guides.
Create your first disk
Create a disk and add a data source
Navigate to the New Disk page in the Archil console.
- Select a region — pick the same region as the servers that will access the disk for the best performance.
- Add a data source — choose an existing S3 bucket as the data source for read and write synchronization.
- Grant Archil access — update your bucket’s permissions policy to allow Archil to reach it. The console provides the exact policy to add. It will look something like this:
Using a different storage provider?
Using a different storage provider?
- Google Cloud Storage
- Cloudflare R2
- S3 Compatible Providers
- Login to your Google Cloud Storage console
- Click Settings then Interoperability
- Under Service account HMAC, click Create a key for another service account
- Grant the Cloud Storage - Storage Object Admin role to the new service account
- Record the Access key and Secret provided for the new service account HMAC key
Authorize your server
Configure which servers can connect to the disk.
- Disk Token
- AWS: IAM Role
On the disk’s Details page, click Generate Token and copy the disk token. You’ll need it when mounting the disk. (A disk token is a per-disk credential, separate from any Control Plane API keys.)
Install the client and mount the disk
SSH into your server and install the Archil client:Then mount the disk. The Archil console shows the exact command for your disk:If you are using IAM role authentication, no disk token is needed:
Important notes
Files on a newly mounted disk are owned by root. Either change ownership (
chown -R <user> /mnt/data) or use sudo when working with the data.Create an Archil disk
Get started by creating a new disk in the Archil console
Pricing
View Archil pricing and plan details