Buckets & objects
Create buckets, then PUT, GET, HEAD, COPY and DELETE objects by key. Prefixes like 2026/10/ act as folders.
Point any S3 tool at Mumbai — buckets, objects and expiring links over the standard S3 API.
Free with XcellCloud. Your data stays in India.
XcellCloud object storage speaks the S3 API — the same REST calls, SigV4 request signing and bucket/object model that almost every backup tool, SDK and data pipeline already understands. You change one setting, the endpoint, and your existing code keeps working: aws s3 cp, boto3.client("s3"), rclone, s3cmd and the MinIO client all talk to our Mumbai region (mumbai-1) instead of a foreign one. This page is the developer guide: endpoints, authentication, multipart uploads, presigned links, versioning, lifecycle, CORS and bucket policies, with copy-paste code and three interactive tools. API access is free with XcellCloud — you pay only for the storage plan you choose — and your objects stay in India. Your exact endpoints and keys are shown in the XcellCloud console → API Access.
One endpoint change — the rest of your code, scripts and backup jobs stay the same.
Any SDK, Any Script, Any Backup Tool* Typical S3 API limits, shown for planning. Confirm the limits for your XcellCloud plan in the docs or with our engineers — your exact endpoints are listed in the console → API Access.
No separate API fee — access keys, endpoints and the full S3 toolset come with your account. Switch tabs to see access options, endpoints and the limits to plan for.
Endpoints, region name and limits on this page are placeholders for planning. Your exact values are shown in the XcellCloud console → API Access. Storage is billed per your object storage plan; API access itself carries no charge.
Create an access key in the console → API Access, then configure the endpoint and region once. Keys go in a credentials file or environment variables — never in code you commit.
# ~/.aws/config — AWS CLI v2.13+ reads endpoint_url from the profile
[profile xcellhost]
region = mumbai-1
endpoint_url = https://s3.mumbai.xcellhost.cloud
s3 =
addressing_style = path
# ~/.aws/credentials — chmod 600, never commit this file
[xcellhost]
aws_access_key_id = <ACCESS_KEY>
aws_secret_access_key = <SECRET_KEY>
export AWS_PROFILE=xcellhost
aws s3 ls # list your buckets
aws s3 mb s3://acme-invoices # create a bucket
aws s3 cp invoice-0425.pdf s3://acme-invoices/2026/10/
aws s3 sync ./reports s3://acme-invoices/reports
aws s3 presign s3://acme-invoices/2026/10/invoice-0425.pdf --expires-in 3600
# AWS CLI older than v2.13: pass the endpoint on every call
aws s3 ls --endpoint-url https://s3.mumbai.xcellhost.cloud --region mumbai-1
import os
import boto3
from botocore.config import Config
s3 = boto3.client(
"s3",
endpoint_url="https://s3.mumbai.xcellhost.cloud",
region_name="mumbai-1",
aws_access_key_id=os.environ["XH_ACCESS_KEY"],
aws_secret_access_key=os.environ["XH_SECRET_KEY"],
config=Config(
signature_version="s3v4",
s3={"addressing_style": "path"},
# boto3 1.36+ adds CRC checksums by default; send them only
# when an operation requires them (safest for S3-compatible stores)
request_checksum_calculation="when_required",
response_checksum_validation="when_required",
),
)
for bucket in s3.list_buckets()["Buckets"]:
print(bucket["Name"], bucket["CreationDate"])
s3.upload_file("invoice-0425.pdf", "acme-invoices", "2026/10/invoice-0425.pdf")
# path-style config; or run `s3cmd --configure` and answer the prompts
cat > ~/.s3cfg <<'EOF'
[default]
access_key = <ACCESS_KEY>
secret_key = <SECRET_KEY>
host_base = s3.mumbai.xcellhost.cloud
host_bucket = s3.mumbai.xcellhost.cloud
bucket_location = mumbai-1
use_https = True
signature_v2 = False
EOF
chmod 600 ~/.s3cfg
s3cmd ls
s3cmd mb s3://acme-invoices
s3cmd put invoice-0425.pdf s3://acme-invoices/2026/10/
s3cmd signurl s3://acme-invoices/2026/10/invoice-0425.pdf +3600
# create the remote once (keys read from your environment)
rclone config create xcellhost s3 \
provider=Other \
access_key_id="$XH_ACCESS_KEY" \
secret_access_key="$XH_SECRET_KEY" \
endpoint=https://s3.mumbai.xcellhost.cloud \
region=mumbai-1 \
force_path_style=true
rclone lsd xcellhost:
rclone copy /srv/tally/backups xcellhost:acme-tally/backups --progress
rclone sync ./site xcellhost:acme-web --checksum --transfers 8
# MinIO client — prompts for the access and secret key when omitted
mc alias set xcellhost https://s3.mumbai.xcellhost.cloud --api S3v4 --path on
mc mb xcellhost/acme-invoices
mc cp invoice-0425.pdf xcellhost/acme-invoices/2026/10/
mc ls --recursive xcellhost/acme-invoices
mc share download --expire 1h xcellhost/acme-invoices/2026/10/invoice-0425.pdf
# curl 7.75+ signs requests with SigV4 itself — handy for health checks
curl --aws-sigv4 "aws:amz:mumbai-1:s3" \
--user "$XH_ACCESS_KEY:$XH_SECRET_KEY" \
-o invoice-0425.pdf \
https://s3.mumbai.xcellhost.cloud/acme-invoices/2026/10/invoice-0425.pdf
# upload (PUT) a file
curl --aws-sigv4 "aws:amz:mumbai-1:s3" \
--user "$XH_ACCESS_KEY:$XH_SECRET_KEY" \
-T invoice-0425.pdf \
https://s3.mumbai.xcellhost.cloud/acme-invoices/2026/10/invoice-0425.pdf
Endpoint https://s3.mumbai.xcellhost.cloud — always HTTPS. Region mumbai-1 — used inside the SigV4 signature, so it must match. Addressing path-style (/bucket/key) works everywhere; virtual-hosted needs wildcard DNS.
Set keys through a profile, XH_ACCESS_KEY/XH_SECRET_KEY environment variables or your CI's secret store. Recent AWS SDKs add CRC checksums by default; if an upload is rejected with a checksum error, set the checksum options to when_required as shown.
Two keys active during rotation is a typical pattern — confirm the per-user key limit in the console.
Create buckets, then PUT, GET, HEAD, COPY and DELETE objects by key. Prefixes like 2026/10/ act as folders.
Split big files into parts, upload them in parallel, retry only the part that failed, then complete into one object.
Hand out a time-limited link to download or upload one object — no keys shared, expires on its own.
Keep every version of an object. An overwrite or delete becomes recoverable instead of final.
Expire temp files, prune old versions and abort stuck multipart uploads automatically by prefix and age.
Write-once retention in governance or compliance mode — useful for audit logs and ransomware-safe backups.
Let a browser app on your domain upload straight to a bucket with a presigned PUT — no proxy server.
JSON policies allow or deny actions per bucket and prefix — e.g. public read on public/* only.
Every S3 request names a bucket and is signed with your secret key. Here is where the bucket goes in the URL, and the five steps your SDK runs to sign it.
The bucket is the first path segment. One hostname and one TLS certificate cover every bucket — the safest default for S3-compatible endpoints. Set addressing_style = path, forcePathStyle: true or force_path_style = true.
The bucket becomes a sub-domain. It needs wildcard DNS and a wildcard certificate on the endpoint, and bucket names with dots break TLS. Use it only if your console lists a virtual-hosted endpoint.
Method, path, sorted query, signed headers and the payload hash, joined by newlines.
GET\n/acme-invoices/…\nhost;x-amz-dateAlgorithm, timestamp, credential scope and the SHA-256 of step 1.
AWS4-HMAC-SHA256\n20261015/mumbai-1/s3/aws4_requestYour secret key is HMAC'd with date, region, service and "aws4_request".
kDate → kRegion → kService → kSigningHMAC-SHA256 of the string to sign with the signing key, as 64 hex characters.
X-Amz-Signature=<64 hex>XcellCloud repeats the steps with its copy of the key. Clock skew over ~15 minutes fails.
200 OK · or 403 SignatureDoesNotMatchYour secret key never travels — only the signature does. A 403 SignatureDoesNotMatch usually means a wrong region (must be mumbai-1), a wrong addressing style, or a proxy rewriting headers. RequestTimeTooSkewed means the client clock is off — sync it with NTP.
Objects live in our Mumbai region — simpler answers for DPDP Act and sector data-localisation questions.
Keys, endpoints and every S3 operation come with XcellCloud. You pay for the storage plan, not per tool.
Your code uses the public S3 API, so it moves with you. rclone copies buckets in either direction.
Phone, WhatsApp and email support from XcellHost's NOC when a signature error or slow upload blocks you.
One rupee invoice for storage, compute and backup — input credit, no dollar card payments.
Use buckets as an off-site target for Acronis, database dumps and Tally backups — with versioning on.
Our engineers help move buckets from another S3 provider or a file server, and test your tools first.
ISO 27001 & 20000-1 certified operations and a Microsoft Gold Partner.
What changes when your apps and backups store files through an API instead of a shared folder.
From sign-up to an automated backup job — usually inside an hour.
Any tool that lets you set a custom S3 endpoint should work — test it against a non-production bucket first. Product names belong to their owners.
Included with XcellCloud S3 APIChoose a method, bucket, key and expiry. The builder assembles the URL your SDK would produce and explains each query parameter. It is illustrative: the signature is a placeholder, because real signatures need your secret key — which this page never asks for.
The AWS CLI's aws s3 presign creates GET links only; use boto3, an SDK or mc share upload for upload links. Anyone holding a presigned URL can use it until it expires — send it over a private channel. The layout above matches boto3; other SDKs may order parameters differently or add a few (the JS SDK v3 adds X-Amz-Content-Sha256 and x-id).
Pick a file size, part size and concurrency. The visualiser checks the S3 rules (5 MiB minimum part, 10,000 parts maximum), estimates the upload time and plays the three API calls in order. Times are illustrative.
* Estimate assumes ~300 Mbps per connection, capped by your uplink. The final ETag of a multipart object is not an MD5 of the file — it ends in "-" and the part count.
The high-level commands (aws s3 cp, upload_file, rclone copy, mc cp) switch to multipart automatically above a threshold. Tune part size and concurrency for big files on fast links.
Every snippet already points at the XcellCloud endpoint and region, reads keys from the environment and uses path-style addressing. Copy it, or download it as a file.
The bucket settings most teams need in week one, as AWS CLI commands and JSON documents.
Turn on versioning before you rely on a bucket for backups. Suspending it later keeps existing versions.
aws s3api put-bucket-versioning --bucket acme-invoices \
--versioning-configuration Status=Enabled
aws s3api get-bucket-versioning --bucket acme-invoices
# see every version of one object
aws s3api list-object-versions --bucket acme-invoices \
--prefix 2026/10/invoice-0425.pdf
# restore: copy an older version back on top
aws s3api copy-object --bucket acme-invoices \
--key 2026/10/invoice-0425.pdf \
--copy-source "acme-invoices/2026/10/invoice-0425.pdf?versionId=<VERSION_ID>"Expire temporary files after 30 days, delete old versions after 90 and clean up multipart uploads stuck for a week.
{
"Rules": [
{
"ID": "expire-tmp",
"Filter": { "Prefix": "tmp/" },
"Status": "Enabled",
"Expiration": { "Days": 30 }
},
{
"ID": "prune-old-versions-and-stuck-uploads",
"Filter": { "Prefix": "" },
"Status": "Enabled",
"NoncurrentVersionExpiration": { "NoncurrentDays": 90 },
"AbortIncompleteMultipartUpload": { "DaysAfterInitiation": 7 }
}
]
}
aws s3api put-bucket-lifecycle-configuration --bucket acme-invoices \
--lifecycle-configuration file://lifecycle.json
aws s3api get-bucket-lifecycle-configuration --bucket acme-invoicesAllow your web app to upload directly with a presigned PUT and read the ETag back. List exact origins — avoid * for buckets with private data.
{
"CORSRules": [
{
"AllowedOrigins": ["https://app.acme.in"],
"AllowedMethods": ["GET", "PUT", "HEAD"],
"AllowedHeaders": ["*"],
"ExposeHeaders": ["ETag"],
"MaxAgeSeconds": 3000
}
]
}
aws s3api put-bucket-cors --bucket acme-web --cors-configuration file://cors.json
aws s3api get-bucket-cors --bucket acme-webPublic read for one prefix only, and refuse any request that isn't over TLS. Supported condition keys vary between S3-compatible stores — test the deny rule.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadAssetsOnly",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::acme-web/public/*"
},
{
"Sid": "DenyPlainHttp",
"Effect": "Deny",
"Principal": "*",
"Action": "s3:*",
"Resource": ["arn:aws:s3:::acme-web", "arn:aws:s3:::acme-web/*"],
"Condition": { "Bool": { "aws:SecureTransport": "false" } }
}
]
}
aws s3api put-bucket-policy --bucket acme-web --policy file://policy.json
aws s3api get-bucket-policy --bucket acme-web --query Policy --output textWrite-once retention for audit logs — for example 180 days, matching CERT-In's log-retention direction. Object Lock must be switched on when the bucket is created. Available where enabled on your XcellCloud plan.
# bucket must be created with Object Lock (this also turns on versioning)
aws s3api create-bucket --bucket acme-audit-logs --object-lock-enabled-for-bucket
# default retention: COMPLIANCE mode cannot be shortened, even by an admin
aws s3api put-object-lock-configuration --bucket acme-audit-logs \
--object-lock-configuration '{"ObjectLockEnabled":"Enabled","Rule":{"DefaultRetention":{"Mode":"COMPLIANCE","Days":180}}}'
aws s3api get-object-retention --bucket acme-audit-logs --key 2026/10/15/app.log.gzWhat the SDKs do for you, one call at a time — useful when debugging or writing your own uploader.
aws s3api create-multipart-upload --bucket acme-tally --key fy26/tally-data.7z
# → "UploadId": "<UPLOAD_ID>"
split -b 64m tally-data.7z part- # part-aa, part-ab, …
aws s3api upload-part --bucket acme-tally --key fy26/tally-data.7z \
--part-number 1 --body part-aa --upload-id <UPLOAD_ID>
# → "ETag": "\"<ETAG_1>\"" (repeat for every part, in any order)
aws s3api complete-multipart-upload --bucket acme-tally --key fy26/tally-data.7z \
--upload-id <UPLOAD_ID> --multipart-upload file://parts.json
aws s3api list-multipart-uploads --bucket acme-tally # find abandoned uploads
aws s3api abort-multipart-upload --bucket acme-tally --key fy26/tally-data.7z \
--upload-id <UPLOAD_ID>
{
"Parts": [
{ "PartNumber": 1, "ETag": "\"<ETAG_1>\"" },
{ "PartNumber": 2, "ETag": "\"<ETAG_2>\"" }
]
}S3-compatible stores implement the core API and differ at the edges. This is the typical picture for an XcellCloud bucket; filter it, then confirm anything critical in the docs before you build on it.
| Area | Operations | Status · typical | Notes |
|---|---|---|---|
| Buckets | CreateBucket ListBuckets HeadBucket DeleteBucket | ✓ Supported | Names 3–63 chars, lowercase, no dots recommended. |
| Objects | PutObject GetObject HeadObject CopyObject DeleteObject(s) | ✓ Supported | Range GETs, user metadata (x-amz-meta-*), up to 1,000 keys per batch delete. |
| Listing | ListObjectsV2 ListObjects | ✓ Supported | 1,000 keys per page; use the continuation token. Prefer V2. |
| Multipart | CreateMultipartUpload UploadPart UploadPartCopy Complete Abort ListParts | ✓ Supported | 5 MiB–5 GiB parts, 10,000 parts maximum. |
| Presigned URLs | Query-string SigV4 (GET, PUT) | ✓ Supported | Up to 7 days. Browser form POST policies: confirm. |
| Versioning | PutBucketVersioning ListObjectVersions | ✓ Supported | Enable before relying on the bucket for backups. |
| Lifecycle | PutBucketLifecycleConfiguration | ✓ Supported | Expiration, noncurrent-version expiry, abort incomplete uploads. Storage-class transitions: confirm. |
| CORS & policy | PutBucketCors PutBucketPolicy | ✓ Supported | Policy condition keys vary — test deny rules. |
| Object Lock | PutObjectLockConfiguration PutObjectRetention PutObjectLegalHold | ◐ Where enabled | Must be set at bucket creation. |
| Encryption | SSE-C, default bucket encryption | ◐ Where enabled | TLS in transit always; at-rest options per plan. |
| Tagging | PutObjectTagging PutBucketTagging | ◐ Where enabled | Tag-based lifecycle filters: confirm. |
| AWS-only services | S3 Select, Storage Lens, Transfer Acceleration, Object Lambda, Inventory to Athena | ✕ Not supported | These are AWS platform features, not part of the core S3 API. |
| AWS KMS keys | SSE-KMS with AWS KMS ARNs, IAM roles & STS from AWS | ✕ Not supported | Use XcellCloud access keys; ask us about key management. |
Typical; confirm in docs. This table reflects how S3-compatible object stores commonly behave and is a planning aid, not a contract. XcellHost engineers will confirm feature availability for your plan.
Most object-storage leaks come from a key pasted into code or a bucket left public. These habits prevent both, and keep your data where Indian regulation expects it.
Separate keys for the website, the backup job and CI. Revoke one without touching the rest.
Create the new key, deploy it, then delete the old one — every 90 days or when someone leaves.
Add .env, .s3cfg and rclone.conf to .gitignore; use CI secret stores.
Keep buckets private and share with presigned links. Make a single prefix public only on purpose.
The account that creates keys deserves a second factor. Restrict console access by IP where you can.
Personal data in the Mumbai region, encrypted in transit, with versioning and lifecycle to honour retention and erasure.
mumbai-1 stay in India unless you copy them out yourself.It is object storage that accepts the same REST requests, SigV4 signatures and bucket/object model as Amazon S3. Tools and SDKs built for S3 work by changing the endpoint and region — XcellCloud's endpoint is in Mumbai.
Yes. API access, access keys and endpoints come free with XcellCloud. You pay for the object storage plan you choose; ask us for current storage pricing in INR.
In the XcellCloud console → API Access. The values on this page (https://s3.mumbai.xcellhost.cloud, region mumbai-1) are placeholders for illustration; use the ones shown for your account.
Use the region shown in the console (mumbai-1 in our examples). It is part of the SigV4 signature, so a mismatch causes SignatureDoesNotMatch or AuthorizationHeaderMalformed errors.
Path-style (https://endpoint/bucket/key) works with every tool and one TLS certificate. Use virtual-hosted (https://bucket.endpoint/key) only if your console lists a virtual-hosted endpoint, and avoid dots in bucket names.
Recent AWS SDK and CLI releases add CRC checksums to uploads by default. If an S3-compatible endpoint rejects them, set request_checksum_calculation and response_checksum_validation to when_required (boto3, CLI config or environment variables), as in the quickstart.
Typical S3 limits are 5 GiB for a single PUT and 5 TiB for a multipart object (up to 10,000 parts of 5 MiB–5 GiB). Confirm the limits for your plan in the docs; the multipart visualiser above checks part sizes for you.
Up to 7 days (604,800 seconds) with SigV4. Shorter is safer: minutes for one-time downloads, an hour for browser uploads. Anyone holding the URL can use it until it expires.
Yes — for backup software that supports S3-compatible storage, database dumps, rclone or restic jobs. Turn on versioning and, where enabled, Object Lock for ransomware-resistant copies. For managed backup, see XcellHost Acronis Direct Cloud Backup.
Yes. rclone copies or syncs bucket to bucket across providers (rclone sync old:bucket xcellhost:bucket). XcellHost engineers can plan large migrations and verify checksums afterwards.
Objects you store in the mumbai-1 region stay in XcellHost's Mumbai infrastructure unless you copy them elsewhere. That helps with DPDP Act and sector data-localisation expectations; your own obligations still apply.
Disable it immediately in the console, issue a new key and redeploy, then review the bucket for unexpected objects or policy changes. Call XcellHost's 24×7 NOC on +91 22 6711 1555 if you suspect misuse, and assess whether CERT-In's 6-hour reporting applies.