Oracle Cloud's object storage is architecturally familiar -- buckets, objects, tiers, lifecycle rules, an S3-compatible endpoint -- and differs in a handful of places that matter operationally. Naming is scoped to a per-tenancy namespace rather than a global one, so the bucket-name land grab that shapes S3 deployments simply does not exist. Authorisation runs through compartments and a policy language that reads as English sentences rather than JSON documents. Signed URLs are called pre-authenticated requests and behave slightly differently from what an S3 background expects. And the egress pricing is different enough to change architectural decisions rather than just the invoice. This article covers those specifics; the generic mechanics of resumable and multipart uploads are treated in this site's file-upload system-design article and are referenced rather than repeated.
The object model — namespace, compartment, bucket
Four levels, and the first two are the ones that differ from other clouds.
Every tenancy is assigned an Object Storage namespace: a unique, immutable string that scopes all bucket names within it. Because bucket names only need to be unique inside your namespace, you can call a bucket logs or backups without the global-uniqueness scramble that forces S3 users into names like acme-prod-logs-eu-west-1. The namespace appears in every API path and in the S3-compatible endpoint hostname, so it is worth recording it somewhere your tooling can find; the practical annoyance is that scripts ported from other clouds need a namespace parameter threaded through them.
Compartments are the tenancy's organisational and authorisation boundary -- a hierarchy that resources live in, and the unit that policies grant against. A bucket lives in exactly one compartment, and it can be moved between them, which changes who can access it without changing its name or its contents. This is genuinely different from tag-based or path-prefix-based organisation elsewhere: the boundary is structural rather than conventional, and access control follows it automatically.
Buckets are regional -- created in one region, replicated across availability or fault domains within it for durability, and not automatically present elsewhere. Objects carry data plus user-defined metadata, with no directory structure underneath; the console renders prefixes as folders, and slashes in keys are just characters, exactly as elsewhere.
Storage tiers
Three tiers, chosen per bucket as a default and settable per object.
Standard is for active data: millisecond first-byte latency, no retrieval charge, highest storage price. Infrequent Access keeps the same immediate availability but prices storage lower and adds a retrieval charge plus a minimum retention period -- delete or move an object before that period elapses and you are billed as though it had stayed. Archive is the deep tier: substantially cheaper storage, a longer minimum retention, and objects are not directly readable. An archived object must be restored first, which is an explicit request that takes on the order of an hour and makes the object available for a limited window before it reverts.
That restore step is the detail that catches people. Archive is not a slow read; it is a two-phase operation with a queue in the middle, so any application path that might touch archived data needs to handle 'not available yet' as a state rather than as an error. Choosing Archive for anything a user can request on demand produces a support burden out of proportion to the saving.
Auto-tiering removes most of the decision. Enabled at the bucket level, it monitors access and moves objects above a minimum size between Standard and Infrequent Access automatically, without retrieval fees for the transitions it makes. It does not move anything into Archive -- that stays a deliberate act, via lifecycle rules or an explicit tier change. For a bucket with genuinely unpredictable access patterns, auto-tiering is the sane default; for one with a known age-based pattern, explicit lifecycle rules are cheaper and more predictable.
Lifecycle rules
Lifecycle policy is a set of rules on a bucket, each matching a prefix and acting after a number of days since creation: change the tier, or delete. This is where the age-based version of tiering belongs -- keep 30 days in Standard, move to Infrequent Access, archive at 90 days, delete at seven years.
Three rules deserve to be in every bucket's policy from day one. Abort incomplete multipart uploads after a few days: parts uploaded for a transfer that never completed occupy billable storage and do not appear in an object listing, which is the single most common source of unexplained object-storage spend across every cloud. Expire previous versions if versioning is enabled, or you never actually delete anything. And an explicit deletion rule for data with a defined retention obligation, so that retention is enforced by configuration rather than by someone remembering.
Interactions worth knowing: a lifecycle rule that archives objects will collide with an application that expects to read them, and a rule that deletes will collide with a retention rule that forbids deletion -- in which case the retention rule wins, which is the correct precedence and can look like a broken lifecycle policy. Test policies on a non-production bucket with short intervals before applying them to data you cannot recreate.
Access control — policies, pre-authenticated requests, public buckets
Authorisation is IAM policy statements scoped to compartments, written in a deliberately readable form:
allow group DataEngineers to manage object-family in compartment analytics
allow group Auditors to read objects in compartment analytics where
target.bucket.name = 'audit-logs'
allow dynamic-group IngestFunctions to manage objects in compartment ingest where
any {request.permission = 'OBJECT_CREATE',
request.permission = 'OBJECT_INSPECT'}Two things follow from that shape. Grants attach to groups and dynamic groups -- the latter matching compute instances or functions by rule, which is how workloads get identity without embedded credentials, equivalent to instance roles elsewhere. And conditions can narrow a grant to specific buckets or specific permissions, which is what keeps 'manage object-family' from being the blunt instrument it looks like.
Pre-authenticated requests are the signed-URL mechanism, and their semantics are worth reading carefully. A PAR is created against a bucket or a specific object, grants read, write, or both, and carries an expiry. The resulting URL is a bearer token: anyone holding it has exactly that access, with no further authentication, until it expires or is revoked. A bucket-scoped write PAR is particularly potent -- it permits uploading any object name into that bucket -- so scope to a single object where the workflow allows, keep expiry short, and treat a leaked PAR URL as a credential incident rather than a link. PARs can be listed and deleted, which is the revocation path and a good thing to audit periodically.
Public buckets exist and should be a deliberate, reviewed exception. The safer pattern for public content is a PAR with a long expiry, or a CDN in front, because both leave a revocation point that a public-visibility flag does not.
Durability, versioning and retention rules
Objects are replicated across fault or availability domains within the region on write, and integrity is checked continuously; the design point is the same many-nines durability story every major object store offers. Durability is not availability of your logic, though -- an accidental delete or an application bug is far more likely than storage loss, which is what the next two features address.
Versioning, enabled per bucket, keeps previous versions when an object is overwritten or deleted, turning both into recoverable events. Deleting an object in a versioned bucket creates a delete marker rather than removing data. This is the cheapest insurance available against the most common cause of data loss, and it requires the lifecycle rule mentioned earlier or storage grows without bound.
Retention rules are the compliance-grade control: a rule on a bucket prevents deletion or modification of covered objects for a period, or indefinitely. The important property is rule lock. An unlocked retention rule can be shortened or removed by anyone with the right permissions, which means it protects against accident but not against a compromised administrator. Locking makes the rule immutable -- it cannot be deleted or weakened by anyone, including the tenancy administrator, until the retention period expires. Because that is irreversible, locking goes through a mandatory delay after which the lock takes effect, giving you a window to reconsider. Use locked rules where a regulator requires write-once semantics, and understand that you are committing storage spend for the full retention period with no escape.
Replication policies copy a bucket's contents asynchronously to a bucket in another region, which is how you get cross-region durability and a warm target for regional failover. It is asynchronous, so there is a replication lag and the destination is not a synchronous mirror -- design recovery objectives around measured lag rather than an assumption.
The S3 compatibility API
Object Storage exposes an S3-compatible endpoint alongside its native API. Point an S3 SDK at a namespace-derived hostname, supply a customer secret key generated for an IAM user, and a large fraction of existing tooling works unmodified: the AWS CLI, s3cmd, rclone, most backup products, and the Hadoop and Spark S3 connectors.
The gap is in coverage rather than in the basics. Core object and bucket operations, multipart upload and pre-signed URLs behave as expected; features layered on top of S3 in AWS -- event notifications in S3's own format, certain policy and ACL semantics, newer API surface -- are either absent or expressed through OCI's own equivalents. The practical approach is to use the compatibility API for data movement and for tools you cannot change, and the native API for anything you are writing yourself, since that is where PARs, retention rules, auto-tiering and the events integration live.
Two configuration details cause most first-run failures. The endpoint must include the namespace and the region in the exact expected form, and path-style rather than virtual-host-style addressing is generally required, which many SDKs need told explicitly. And the credential is a customer secret key created against a user, not the API signing key used by the native SDK and CLI -- they are different credential types for different protocols, and mixing them produces authentication errors that read as permission problems.
A Swift-compatible API also exists, which matters mainly for OpenStack-era tooling and for a few Oracle products that speak it natively.
Using OCI Object Storage as S3 object storage: the endpoint, the credential, and an AWS CLI, boto3 and rclone setup that work first time
S3 object storage has become the generic name for any bucket-and-object service that speaks the Amazon S3 API, and the previous section explained that OCI qualifies. This one is the concrete setup, because the first-run failures it listed are all configuration, and all avoidable. The vocabulary maps as follows:
| S3 term | OCI equivalent |
|---|---|
| Account | the tenancy, plus the Object Storage namespace that prefixes every endpoint |
s3.<region>.amazonaws.com | https://<namespace>.compat.objectstorage.<region>.oraclecloud.com |
| Access key id and secret | a Customer Secret Key created on an IAM user; not the API signing key the native CLI uses |
| Bucket policy JSON | IAM policy statements on the compartment |
| Pre-signed URL | works through the S3 API with SigV4; natively, a pre-authenticated request |
| Event notifications | OCI Events rules, configured natively, not through the S3 API |
| Storage classes | the Standard, Infrequent Access and Archive tiers, managed natively or by lifecycle rules |
Three native commands produce everything the S3 clients need: the namespace, the credential, and the compartment that buckets created through the S3 API will land in (without the last one, S3-created buckets go to the root compartment, which is rarely what the policies expect):
oci os ns get # {"data": "axk3f2xyzabc"} <- your namespace
oci iam customer-secret-key create --user-id ocid1.user.oc1..aaaa --display-name s3-compat-ci
# "id" is the AWS access key id; "key" is the secret, shown once only
oci os ns update-metadata --namespace axk3f2xyzabc --default-s3-compartment-id ocid1.compartment.oc1..bbbb
The AWS CLI needs a profile with path-style addressing and SigV4, and a region that is the OCI region identifier, because that string goes into the signature. The endpoint is passed per command or set in the profile's endpoint_url:
# ~/.aws/credentials
[oci]
aws_access_key_id = 7c1a0d... # the customer secret key id
aws_secret_access_key = Zq9kP2...= # the customer secret key
# ~/.aws/config
[profile oci]
region = eu-frankfurt-1
s3 =
addressing_style = path
signature_version = s3v4
aws --profile oci --endpoint-url https://axk3f2xyzabc.compat.objectstorage.eu-frankfurt-1.oraclecloud.com s3 ls
aws --profile oci --endpoint-url https://axk3f2xyzabc.compat.objectstorage.eu-frankfurt-1.oraclecloud.com \
s3 cp ./export.parquet s3://analytics-raw/2026/10/19/export.parquet
boto3 takes the same four values in code. Multipart upload above the 8 MB default threshold and pre-signed URLs work as they do against AWS:
import boto3
from botocore.config import Config
s3 = boto3.client(
"s3",
endpoint_url="https://axk3f2xyzabc.compat.objectstorage.eu-frankfurt-1.oraclecloud.com",
aws_access_key_id="7c1a0d...", aws_secret_access_key="Zq9kP2...=",
region_name="eu-frankfurt-1",
config=Config(signature_version="s3v4", s3={"addressing_style": "path"}),
)
s3.upload_file("export.parquet", "analytics-raw", "2026/10/19/export.parquet")
url = s3.generate_presigned_url("get_object",
Params={"Bucket": "analytics-raw", "Key": "2026/10/19/export.parquet"},
ExpiresIn=900)
rclone has two routes. The S3 route below uses the compatibility endpoint and is what backup tooling built on rclone will use; the native oracleobjectstorage backend uses the API signing key instead and can see tiers and pre-authenticated requests:
[oci-s3]
type = s3
provider = Other
access_key_id = 7c1a0d...
secret_access_key = Zq9kP2...=
endpoint = https://axk3f2xyzabc.compat.objectstorage.eu-frankfurt-1.oraclecloud.com
region = eu-frankfurt-1
force_path_style = true
Spark and Hadoop follow the same pattern through the s3a connector: fs.s3a.endpoint set to the compatibility host, fs.s3a.path.style.access=true, and the customer secret key pair as the access and secret keys; OCI also ships its own HDFS connector with oci://bucket@namespace/ paths for jobs that want native authentication. The error messages map cleanly onto the mistakes: SignatureDoesNotMatch almost always means the region in the profile differs from the region in the endpoint host; InvalidAccessKeyId means the API signing key was used where the customer secret key belongs; and NoSuchBucket for a bucket visible in the console means the namespace in the hostname is wrong or the bucket lives in another region, since buckets are regional and the endpoint is too.
Uploads at size
Large objects use multipart upload with the shape common to every object store: initiate, upload parts in parallel, commit. The bounds to design against are a large maximum object size in the terabytes, parts of at least ten mebibytes each with a generous upper bound, and a ten-thousand-part ceiling. As always, that ceiling means part size has to be derived from file size rather than fixed, or very large uploads fail at the limit rather than at the start.
The generic protocol reasoning -- deterministic part boundaries, server-side authority on which parts landed, idempotent commit, integrity checking end to end -- is covered in this site's upload-service design article and applies unchanged here. The OCI-specific notes are that the CLI and SDKs perform multipart transparently above a threshold you can tune, that in-progress uploads are listable and abortable, and that the lifecycle rule to abort stale ones is the same essential hygiene it is elsewhere.
For bulk ingest that is too large for the network, there is a physical transfer service -- appliances or disks shipped and imported into a bucket -- which is the right answer for initial migrations measured in hundreds of terabytes. For steady high-volume ingest, the levers are parallelism, part sizing and running the transfer close to the region.
Events, functions and the ecosystem around a bucket
Object Storage emits events -- object created, updated, deleted -- into the Events service, where rules route them to Functions, Notifications or Streaming. This is the same event-driven pattern every cloud offers and it is the backbone of most real pipelines: an upload triggers a function that validates, transforms, extracts metadata and writes a record.
Two design cautions carry over from other clouds and are easy to forget. Delivery is at-least-once, so handlers must be idempotent -- key the work on the object name plus its ETag or version so a redelivered event is a no-op. And a function that writes back into the same bucket it is triggered by will trigger itself; scope the rule by prefix, or write to a different bucket, or the first deployment produces a recursive loop that is expensive before it is noticed.
On the analytics side, buckets serve as the data-lake layer for the region's processing services, and the S3-compatible endpoint means Spark and Hadoop tooling can read them with the connectors they already ship. Where a workload lists very large prefixes repeatedly, the same guidance applies as on any object store: listing is the expensive operation, so prefer a table format or a manifest that records the file set over walking the namespace.
Cost, and the egress difference
The storage side of the bill is conventional: per gigabyte-month by tier, request charges, and retrieval charges on the colder tiers. The tier arithmetic is the same everywhere -- moving data down a tier only pays if it is genuinely cold, because retrieval fees plus minimum retention can easily exceed the storage saving on data that is read even occasionally.
The side that differs materially is egress. Oracle prices data transfer out substantially below the historical market rate and includes a large monthly free allowance -- ten terabytes at the time of writing -- before any charge applies. For workloads whose economics are dominated by serving data to the internet or to another cloud, that is not a line-item difference, it is an architectural one: patterns that are prohibitive elsewhere, such as serving large media directly from object storage or running cross-cloud analytics that pull rather than push, become affordable.
The corollary is that a cost comparison built only on per-gigabyte storage price misses the point. Model the full workload -- storage by tier, request volume, retrieval patterns, and egress -- because on egress-heavy workloads that term dominates everything else, and on egress-light ones the differences between providers are modest.
Operational pitfalls
Namespace confusion. Scripts and configuration ported from S3 omit the namespace, and the resulting errors look like permission failures. Record the namespace as a first-class configuration value.
PARs treated as links. A pre-authenticated request URL in a ticket, a chat message or a log line is a live credential. Prefer short expiries and object-scoped PARs, and audit the list of active PARs on sensitive buckets.
Archive without a restore path. Archived objects need an explicit restore and a wait. Any code path that can encounter one needs to handle it as a state, and any tiering policy needs a human answer to 'who restores this and how long do they wait'.
Minimum retention surprises. Deleting from Infrequent Access or Archive before the minimum period still bills for the remainder. Short-lived data in a cold tier costs more than leaving it in Standard.
Locked retention rules. They cannot be undone. That is the point, and it means the decision belongs with whoever owns the compliance obligation, not with whoever is writing the Terraform.
Compartment moves change access. Moving a bucket to a different compartment silently changes which policies apply to it. It is a useful operation and it is an access-control change; treat it as one.
Unbounded versioning. Versioning without an expiry rule for noncurrent versions grows forever, and the growth is invisible in a normal object listing.