Skip to main content

Arvancloud Object Storage Rules and Limits

The many uses of cloud storage have made it one of the most widely used cloud infrastructure services. By offering many features and the ability to store and retrieve all kinds of data in different volumes, object storage services have reduced online businesses' costs in this area. Through its integration with the CDN, Arvancloud Object Storage reduces data load times and, by caching content, reduces the traffic and load on your website's origin server.

Using Arvancloud Object Storage is as simple as copying the access keys and the Endpoint URL. Many tools, such as s3cmd, S3 Browser, Rclone, and Cyberduck, are also available for Linux, Mac, and Windows, which, along with this product's SDK and API, let you access the service from anywhere, at any time.

In this article, we explain the limits and policies of Arvancloud Object Storage for a better user experience.

Service-Level Policies and Limits​

  • Each bucket is only accessible in the data center (region) where it was created and has its own URL.

  • Buckets are enabled integrated with the CDN by default, and you can set how long your data is cached.

  • There is no limit on the number of requests or the amount of traffic in Arvancloud Object Storage. If you ever experience slowdowns, use third-party tools. If you experience slowness when using SDKs, pay attention to the number of concurrent requests.

  • To use the CDN's caching when getting objects, be sure to use the virtual-host address format, that is:

    [bucketname].s3.[region].arvanstorage.ir

    where the region name differs depending on the data center.

  • When you use a custom domain, the domain's cache settings are applied to the data and the bucket's cache settings are ignored.

  • For more details, you can read the pricing policy and the terms of service.

Bucket-Level Policies and Limits​

By default, each user can define 50 buckets in their account. If you need this number increased, send a request to Arvancloud support. The number of buckets makes no difference to the service's performance.

  • There is no limit on the number of objects in each bucket, but to prevent reduced performance, a limit of 3,700,000 objects is applied to buckets by default. Although storing more than this in each bucket isn't recommended, you can increase this limit by sending a request to Arvancloud support.

  • Applications should be able to retry when they get a 5xx error, so they don't run into problems during slowdowns and temporary connection loss.

  • If a bucket is empty, you can delete it. After the bucket is deleted, its name becomes available for reuse. However, in some situations the name may still not be usable for various reasons.

    For example, when you delete a bucket and its name becomes available for reuse, someone else may create a bucket with that name. In addition, some time may need to pass before you can reuse the name of a deleted bucket. If you want to keep using the same name, we recommend not deleting the bucket.

  • The access policy applied to a bucket is either private or public. A bucket's objects don't inherit from the bucket. For example, when you make a bucket private, unauthorized users can't see the list of objects inside it, regardless of whether the objects are public or private; only bucket operations are affected.

  • When you enable the static website feature for a bucket, its access address differs from the default address and has this form: s3-website.[region].arvanstorage.ir

  • There is no concept of folders in object storage services. If you need to categorize the objects in a bucket, you can do so with prefixes. A prefix is the part of an object's name separated by /, and it is shown as folders in the panel. You can also use client tools for this.

  • When you create a bucket in a region and choose its name, they can't be changed.

Bucket Naming Rules​

  • The bucket name must be between 3 (minimum) and 63 (maximum) characters long.
  • The bucket name must only contain lowercase letters, numbers, dots (.), and hyphens (-).
  • The bucket name must start and end with a letter or number.
  • The bucket name must not contain two adjacent dots.
  • The bucket name must not be formatted as an IP address (such as 192.168.1.1).

Examples of valid bucket names

The following names follow the rules above and are allowed:

  • docexamplebucket1
  • log-delivery-march-2020
  • my-hosted-content

The following names are allowed but not recommended except for static websites:

The following names aren't allowed:

  • doc_example_bucket (contains an underscore)
  • DocExampleBucket (contains uppercase letters)
  • doc-example-bucket- (ends with a hyphen)

Object-Level Policies and Limits​

  • Each file upload request is allowed up to 5 GB.
  • Each part of a multipart upload is at most 400 MB.
  • The minimum size of each multipart part is 5 MB.
  • The maximum number of parts is 10,000.
  • The maximum supported final object size with multipart upload is 5 TB.
  • If you have a large number of objects, it is recommended to use client tools such as s3cmd, because you may experience slowness and limits in the Arvancloud panel.
  • When you have a file larger than 500 MB, it is recommended to use multipart upload so you don't run into problems when uploading the large file.
  • When sending an object with multipart upload, if a file was uploaded incompletely, you need to delete the incomplete parts through the SDK, or go to the bucket in the Arvancloud panel and delete them if the incomplete upload option appears for you. Note that during the upload, and until it's complete, the system counts the parts as incomplete, and you shouldn't delete them.