Help Center/ Object Storage Service/ FAQs/ Billing/ Why Is There a Large Amount of Outbound Internet Traffic in My Bill?
Updated on 2024-10-15 GMT+08:00

Why Is There a Large Amount of Outbound Internet Traffic in My Bill?

The outbound Internet traffic of OBS consists of:

  • Outbound Internet traffic for Standard storage: This type of traffic is generated when Standard objects are downloaded and listed over the Internet.
  • Outbound Internet traffic for Infrequent Access storage: This type of traffic is generated when the restored Infrequent Access objects are downloaded over the Internet.
  • Outbound Internet traffic for Archive storage: This type of traffic is generated when the restored Archive objects are downloaded over the Internet.

To reduce the outbound Internet traffic, you can do as follows:

  • Disable public read (if enabled) for the bucket.

    If public read is enabled for a bucket, anyone can access the bucket and download any object from it. This will generate a large amount of outbound Internet traffic.

    You are advised to make the entire bucket private. If needed, you can configure public read for a single directory or object and then share the object's URL with others for access.

  • Enable logging and configure a bucket policy.

    After enabling logging for your bucket, you can analyze the logged IP addresses that sent requests to your bucket after a period of time. If the IP addresses are fixed and do not need to access the objects in your bucket, you can configure a bucket policy to deny access to your bucket from those IP addresses.

  • Configure URL validation using a whitelist or blacklist.

    Check the logs generated at a point in time when there is a large number of requests in the bill. Then, search for the Referer field of the request source and configure URL validation.