IBM Cloud Docs
FAQs for CDN

FAQs for CDN

Have a question about CDN? Review frequently asked questions, which provide answers to provisioning concerns, application access, and other common inquiries.

What is a Content Delivery Network (CDN)?

A Content Delivery Network (CDN) is a collection of Edge servers that are distributed through various parts of the country or the world. Their web content is served from an Edge server, which is located in the geographic area closest to the customer who requests the content. This technique lets the users receive the content with less delay than we might achieve by delivering the content from one centralized location. It delivers a better overall experience for your customers.

How does a Content Delivery Network (CDN) work?

A CDN achieves its purpose by caching web content on Edge servers around the world. When a user requests web content, the content request is routed to the Edge server that is geographically closest to that user. By reducing the distance that the content must travel, the CDN offers optimized throughput, minimized latency, and increased performance.

Where do I find cost estimates for CDN?

With CDN you pay only for the bandwidth that you use. You are using the static bandwidth by default. If you have enabled the Dynamic Content Acceleration (DCA) feature, you will also pay for the dynamic bandwidth.

You can find the unit prices of the static and dynamic bandwidth on the provisioning pages for CDN. Log in to the IBM Cloud Content Delivery Network console and click Create. The unit prices appear in the Summary side panel on the provisioning page.

How is my IBM Cloud® Content Delivery Network service account created?

Your account is created during the CDN ordering process. If you are creating a CDN from the legacy portal, when you click the Order CDN button, under the Network > CDN page, your account is created. If you are creating a CDN from the IBM Cloud portal, when you click the Create button, under the Catalog > Network > Content Delivery Network page, your account is created.

What do I do when my CDN is in CNAME configuration status?

For HTTP and SAN certificate-based HTTPS CDN, update your DNS record so that your website points to the CNAME associated with your new CDN mapping.

For wildcard, certificate-based HTTPS CDN, this DNS update is not needed because you access the website through https://<CNAME>. You can refresh your CDN status by clicking Get status from the menu of your CDN instance.

It can take up to 15 - 30 minutes for the update to take effect. Check with your DNS provider to obtain an accurate time estimate.

How do I add a CNAME record for my CDN domain in DNS?

In your DNS configuration page for your CDN domain, you can create a CNAME record with the CDN domain name as the Host, and the IBM CNAME you used to configure the CDN as the CNAME. The IBM CNAME ends with cdn.appdomain.cloud..

A typical CNAME record looks similar to the following on the DNS configuration page:

CNAME record example
Resource Type Host Points to (CNAME) TTL
CNAME www.example.com example.cdn.appdomain.cloud 15 minutes

When am I billed for my CDN?

IBM Cloud Content Delivery Network billing occurs according to the billing period established in your IBM Cloud account.

If I select Delete from the Overflow Overflow menu menu, does that delete my account?

No, if you select 'Delete' from the Overflow Overflow menu menu, only that CDN is deleted. Your account still exists, and you can create additional CDNs.

Does content caching use push or pull?

Content caching is done using an origin pull model. Origin Pull is a method by which data is "pulled" by the Edge server from the origin server, as opposed to manually uploading the content onto the Edge server.

What is the purpose of providing a path when creating my CDN?

If you provide a path while creating your CDN, it allows you to isolate the files that can be served through CDN from a particular origin server.

My CDN is in an Error State. What do I do now?

Refer to the Troubleshooting or Getting help and support, or open a case in the IBM Cloud console.

Where do I find the CNAME for my CDN if I didn't provide one?

Click your CDN to access the Overview page in the portal. In the upper right corner, you can see a Details section with the CName information.

My single file purge request for a given file path is in progress. Can I submit a new request for the same file path?

No. There can be only one active purge request for a given file path at a time.

Is Internet Protocol version 6 (IPv6) supported by the IBM Cloud Content Delivery Network service? How does it work?

IPv6 (or dual stack support) is supported by Akamai's Edge servers. It is designed to help customers with an IPv4-only origin to accept connections from IPv6 clients, convert from IPv6 to IPv4 at the Edge, and go forward to the origin with IPv4.

Creating an IBM Cloud CDN using an IPv6 address as the origin server address is not supported.

Are there any restrictions on what HTTP and HTTPS port numbers are allowed for Akamai?

Yes. For the Akamai vendor, only the following port numbers are allowed: 72, 80-89, 443, 488, 591, 777, 1080, 1088, 1111, 1443, 2080, 7001, 7070, 7612, 7777, 8000-9001, 9090, 9901-9908, 11080-11110, 12900-12949, 20410, and 45002.

What URL should I use for access to data under the CDN or origin path?

The path for a CDN mapping, or for the origin, is treated as a directory. Therefore, users trying to access the origin path should access it as a directory (with a slash). For example, if CDN www.example.com is created using the path that includes the /images directory, the URL to reach it should be www.example.com/images/

Omitting the slash, for example, using www.example.com/images results in a Page Not Found error.

I received notification that my origin certificate is expiring. What do I do now?

Log in to the Akamai Community and follow the steps outlined in this article.

What security is included with the IBM CDN solution with Akamai?

Using the distributed Akamai platform, you get unparalleled scalability and resiliency with thousands of servers in over 50 countries. The Akamai Intelligent Platform stands between your infrastructure and your users, and it acts as first level of defense for sudden surges in traffic. Akamai Intelligent Platform also is a reverse proxy that listens and responds to requests on ports 80 and 443 only, which means that traffic on other ports is dropped at the Edge without being forwarded to your infrastructure.

Are cookies from the origin server preserved by the Akamai CDN?

For non-cacheable content, or any content that is not cached, cookies are preserved from the origin. For content that is cached by Edge servers, cookies are not preserved.

How do I use the IBM Cloud console to give other users permission to create or manage a CDN?

The account's Master user can provide other users with permission to create and manage a CDN.

From the IBM Cloud console main page, follow these steps to edit permissions:

  • Select the Manage tab.
  • Select Access (IAM).
  • Click the Users tab in the navigation pane.
  • Click the wanted User.
  • Select the Classic infrastructure tab.
  • From the Permissions tab, expand the Services category.
  • Select Manage CDN Account.
  • Click the Save button.

From the legacy console main page, follow these steps to edit permissions:

  • Select the Account tab.
  • Select Users > User List.
  • Click the wanted Username.
  • Select the Portal Permissions tab.
  • Select the Services tab.
  • Select Manage CDN Account.
  • Click the Edit Portal Permissions button.

Why is the Create button not shown or disabled on the Content Delivery Network page?

If you are the account's Master user, you must upgrade the account for the Create button to appear or be enabled on this page. From the IBM Cloud console page, follow these steps as the account's Master user:

  • Open the navigation pane by clicking the triple bar icon in the upper left of the web page.
  • Select Classic Infrastructure.
  • Click the Upgrade Account button and follow the instructions.

If you are one of the account's secondary users, the account's Master user must give you the Add/Upgrade Services permission for the Create button to appear or be enabled on this page. From the IBM Cloud console page, the account's Master user can follow these steps to edit your permissions:

  • Select the Manage tab.
  • Select Access (IAM).
  • Click the Users tab from navigation pane.
  • Click the wanted User.
  • Select the Classic infrastructure tab.
  • From the Permissions tab, expand the Account category.
  • Select Add/Upgrade Services.
  • Click the Save button.

Why am I unable to reach my web page through my CDN after configuring Hotlink Protection with protectionType ALLOW?

Let's consider an example in which your website's domain for users is configured to be your CDN's domain/hostname: cdn.example.com. When someone attempts to reach a web page by navigating directly from the browser's navigation bar, the browser typically does not send Referer headers in its HTTP request. For example, when you directly navigate in this way to https://cdn.example.com/, your CDN considers that the request contains a non-match against the specified refererValues. When the CDN evaluates the appropriate effect or response through your Hotlink Protection, it determines that a non-match occurred. Therefore, your CDN denies access, rather than 'ALLOW'.

Can I use private endpoint of object storage in CDN settings?

No, CDN can only connect to object storage on public endpoints.

Can I use the Brotli feature in the CDN service?

No, the Brotli feature is not supported by our CDN service with Akamai.

How do I create a CDN endpoint without using the domain?

You can create a CDN endpoint without using the domain, but ONLY for a CDN of type Wildcard HTTPS. While creating a CDN of type Wildcard HTTPS, your CNAME acts as the CDN endpoint, and the CNAME is used to serve the traffic.

Is HTTP/2 supported by the IBM Cloud Content Delivery Network service?

Yes, HTTP/2 is supported by Akamai's Edge servers.

Is WebSocket supported by the IBM Cloud Content Delivery Network service?

No, WebSocket is not supported by Akamai's Edge servers.

With multiple file purges, what's the difference between a favorite group and an unfavorite group?

A favorite is a permanent group, which means that it will never be deleted unless you change it to an unfavorite group. An unfavorite group is a temporary group. This type of group is automatically deleted after 15 days of inactivity.

Favorite groups names must be unique. Unfavorite groups do not have this limitation.

In what status is a CDN allowed to perform multiple file purges?

Multiple file purges are allowed in the following states:

  • Running
  • Running - HTTP only
  • CNAME configuration required
  • Stopped

Is IBM CDN compliant with Payment Card Industry Data Security Standard (PCI DSS)?

Yes, IBM CDN is PCI DSS 3.2.1 compliant through our partner Akamai's certification. For more information, see the Akamai Attestation of Compliance.

How to get the client IP address?

Akamai Edge servers add the True-Client-IP and X-Forwarded-For headers in the requests to the origin. Then, in your backend origin server, you can get the client IP address from the value of the True-Client-IP, or extract the first IP in the chain of X-Forwarded-For.