Network
SoftLayer_Network_ContentDelivery_Account

Overview

SoftLayer_Network_ContentDelivery_Account controls a single CDN user account and that account's content hosted on SoftLayer's CDN hosting infrastructure. Individual customer accounts can have more than one CDN account.

Every CDN account has the capability to configure and upload content to SoftLayer's CDN infrastructure. When a user requests content from the CDN they retrieve data from the node in closest physical proximity to them, assuring failover in the case of single node failure and the lowest network latency possible.

CDN supports three distinct types of content, streaming Flash, streaming Windows Media and traditional HTTP. Each of these types of service are automatically set depending on the folder you upload your content to. Each of these types of content are accessed from different URLs. URL examples can be found on the customer portal.

CDN supports directory creation, bandwidth reporting, and an Origin Pull rule if you wish to manage your content directly on one of your servers. Files uploaded to CDN are accessed by users in directories relative to your account's root directory. For instance, if the file "/images/header.jpg" exists in your CDN space then it can be accessed at the URL "http://.http.cdn.softlayer.net/00/images/header.jpg"

CDN accounts support FTP transfers in addition to API-based uploads. To access a CDN account's FTP space on the SoftLayer private network, log into ftp.cdnlayer.service.softlayer.com with an FTP client using your CDN account name and a password set either in the SoftLayer customer portal or by via the setFtpPassword method

CDN supports the content authentication service. CDN's content authentication service is the technology that allows only authorized user to access your content. It performs a token based authentication before delivering content. An authentication token can be obtained from the SoftLayer customer portal or API and it needs to be appended to the CDN URL. When an end-user requests a file, CDN server will check the validity of the token passed via HTTP GET string with a remote web service provided by SoftLayer. Then the content will be delivered if the value returned from the web service is good otherwise the connection will be rejected. The token authentication web service call is made in real time and it will hold the incoming connection until receiving a value returned from the website.

There are several scenarios where this authentication capability could be useful. Websites can prevent other rogue websites from linking to their videos. Content owners can prevent users from passing around HTTP links, thus forcing them to login to view contents. See SoftLayer_Network_ContentDelivery_Authentication_Token and SoftLayer_Network_ContentDelivery_Authentication_Address for more details on the content authentication service.

Methods

Validates an authentication token
Creates a directory on the CDN FTP server
Create a CDN FTP user record
Sets up an Origin Pull domain rule
Sets up an Origin Pull domain rule
Adds a token authentication directory
Deletes a CDN FTP user record
Removes an Origin Pull domain rule
Disables CDN access log
Enables CDN access log
Retrieve the customer account that a CDN account belongs to.
Returns an object with bandwidth graph data for each POP
Retrieve the CDN account id that this CDN account is associated with.
Returns an object with bandwidth graph data
Retrieve the current billing item for a CDN account.
Retrieve the name of a CDN account.
Retrieve a brief note on a CDN account.
Retrieve the solution type of a CDN account.
Returns a CDN FTP disk space usage
Returns an object with FTP disk usage graph data
Returns CDN FTP login credentials
Retrieve indicates if it is a legacy CDN or not
Retrieve indicates if CDN logging is enabled.
Retrieve a SoftLayer_Network_ContentDelivery_Account record.
Gets Origin Pull domain information
Retrieve indicates if customer is allowed to access the CDN provider's management portal.
Returns login credentials to the CDN provider portal
Retrieve a CDN account's status presented in a more detailed data type.
Retrieve indicates if the token authentication service is enabled or not.
Returns login credentials to CDN FTP server
Loads content to all CDN nodes
Enable or disable CDN edge compression
Deletes a token authentication directory
Removes a file or a directory on the CDN FTP server
Sets the token validation web service endpoint
Updates a CDN FTP user password
Updates CDN account note
Uploads binary data to the CDN FTP server