Skip to main content

Create and manage service

Create service

CDN services are used as the unit for applying deployment settings to deliver web content quickly and reliably.
The method for creating a service in a CDN is as follows:

  1. Go to the KakaoCloud Console > Beyond Networking Service > CDN menu.

  2. In the Service menu, click the [Create service] button.

  3. In Step 1: Service and origin server, enter CDN information and click [Next].

    Image Step 1: Service and origin server

    ItemDescription
    Service nameEnter the CDN service name
    - Duplicate service names are not allowed within the same project
    Service description (optional)Description of the CDN service
    Host serverSelect a host server
    - KakaoCloud CDN: Automatically generates and uses a KakaoCloud CDN domain
    - User domain: Use your own host server
      ㄴ Up to 10 can be set per project
      ㄴ Enter the domain or IP address of the host server
      ㄴ Select a certificate for the host server
    * To use HTTPS protocol with your own domain, issue a certificate in advance under the Certificate Management tab
    Origin serverSelect the origin server
    - KakaoCloud Object Storage: Select a bucket created in KakaoCloud Object Storage as the origin server
      * When integrating with Object Storage, enable Public access in Object Storage > Permissions tab on selected bucket
      ㄴ Refer to Configure bucket access settings
      ㄴ Bucket creation and management is available at KakaoCloud Console > Object Storage
    - User domain: Set your own server as the origin server
      ㄴ Enter the domain or IP address (excluding port)
      ㄴ Disallowed IP ranges:
         127.0.0.1
         10.0.0.0 ~ 10.255.255.255
         172.16.0.0 ~ 172.31.255.255
         192.168.0.0 ~ 192.168.255.255
         1.201.9.1 ~ 1.201.9.126
         211.110.188.1 ~ 211.110.188.62
    Origin server protocolSelect origin server protocol
    - HTTP: Not supported when selecting KakaoCloud Object Storage
      ㄴ Port: 80 (default)
    - HTTPS
      ㄴ Port: 443 (default)
    Origin server portEnter the origin server port number
    - Only positive integers allowed
    Origin server path (optional)Enter the origin server path
    - Register a sub-path to omit the origin path in requests
    - Enter in {URL}/{path} format
      ㄴ Only directory paths are allowed
    Gzip compressionSelect whether to enable Gzip compression

  1. In Step 2: Cache, enter the information and click [Next].

    Image Step 2: Cache

    ItemDescription
    Expiration policySelect cache expiration policy
    - Refer to origin server: Prioritize the origin server’s Cache-Control header
    - User-defined: Cache for the user-defined retention period
    Retention periodEnter the cache retention period
    - Up to 30 days
    URL Query StringSelect whether to include the URL query string
    Image (JPG) optimizationSelect whether to enable image (JPG) optimization

  1. In Step 3: Access control, enter the information and click [Next].

    Image Step 3: Access control

    ItemDescription
    Viewer protocol policySelect whether to enable viewer protocol policy
    Referer headerSelect whether to enable referer header setting
    - If not enabled, requests without a referer header will be allowed
    ㄴ Consecutive asterisks (*) are not allowed
    ㄴ Referer header examples:
    Valid values:
    - *.example.com
    - www.example.com
    - www.example.com/*
    - *.example.com/test/*

    Invalid values:
    - **.example.com
    - www.*.com
    - www.example.com* → Asterisk (*) must follow a slash (/)
    Root pathSelect whether to set root path
    - When using redirect access control, enter original path

  1. In Step 4: Review, review the information and click the [Create] button to create the service.

    Image Step 4: Review

Manage service

The method for managing services in the CDN service is as follows:

View service list

You can view the list of currently created services and their basic information.

  1. Go to the KakaoCloud Console > Beyond Networking Service > CDN menu.

  2. Click the Service menu and view the list.

    Image Service list

    ItemDescription
    NameName of the service
    Service domainDomain of the service using CDN
    StatusStatus of the service
    - Running, Failed to deploy, Stopped, Provisioning
    - For detailed explanation of each status, refer to CDN status information
    Last deployment dateMost recent deployment date of the service
    Created byUser who first requested to create the service
    - May not be displayed if the user was deleted in IAM
    [More] iconAccess detailed service management
    - See More features for details

View service details

You can check detailed information of the service including Purge logs.

  1. Go to the KakaoCloud Console > Beyond Networking Service > CDN menu.

  2. In the Service menu > Service list, select the service for which you want to check details.

  3. Check the information on the service detail page.

    Image Service detail page

    ItemDescription
    Service statusStatus of the service
    Service domainDomain of the service using CDN
    Last deployment dateLast deployment date of the service

  1. In the Service info tab, you can check CDN service, cache, and access control information.

    ItemDescription
    CDN serviceOverall information related to the service
    CacheCache policy, retention period, and other cache information
    Access controlSettings for viewer protocol policy, referer header, and root path

  1. In the Purge request log tab, you can view purge logs.

    • You can view purge logs generated within the past 30 days. These logs are deleted daily at midnight.

    Image Purge request log tab

    ItemDescription
    Purge log filterSearch purge logs by desired conditions
    PathTarget path requested for purge
    StatusStatus of the purge request
    Applied timeDate the purge was applied
    OperatorUser who requested the purge

Delete service

You can delete services that are no longer in use.

Warning

Deleted services cannot be recovered.

  1. Go to the KakaoCloud Console > Beyond Networking Service > CDN menu.
  2. In the Service menu, click the [More] icon of the service you want to delete > select Delete.
  3. In the Delete CDN service popup, enter the name of the service and click the [Delete] button.

More features

You can execute the following features for each service by clicking the [More] icon.

  1. Go to the KakaoCloud Console > Beyond Networking Service > CDN menu.

  2. In the Service menu > Service list, click the [More] icon and select a feature.

    FeatureDescription
    Start or RestartChanges status to deploy or redeploy the service
    StopStops the service
    - Terminates deployment and disables the service, so it cannot respond to content requests
    DeleteDeletes the service
    - Deleted services cannot be recovered
    Purge requestOpens a popup for purge request
    - Only available in Running status
    Revert to previous settingsOpens a popup to revert to previous settings
    - Only available for services in Running status that were previously deployed
    Configure origin serverOpens a popup to configure the origin server
    Configure cacheOpens a popup to configure cache settings
    Set viewer protocol policyOpens a popup to set viewer protocol policy
    Set referer headerOpens a popup to configure referer header
    Set root path access controlOpens a popup to configure root path access control

Request purge

Purge is a function to delete content cached on CDN servers and redistribute updated content.
Purge can be requested when the service status is Running.
When a purge is requested, cached content on the host server is removed and updated with the latest content from the origin server.

  1. Go to the KakaoCloud Console > Beyond Networking Service > CDN menu.

  2. In the Service menu, click the [Service actions] in the upper-right corner of the service you want to purge > select Request purge.

  3. In the Purge request popup, check the service name and enter the target path to purge.

    Image Purge request popup

    ModeDescription
    Bulk editorUse when entering a large number of purge targets
    Simple editorUse when entering purge targets individually

Revert to previous deployment settings

If the service status is Running and has already been deployed before, you can revert to the previous deployment settings.

  1. Go to the KakaoCloud Console > Beyond Networking Service > CDN menu.
  2. In the Service menu, click the [Service actions] in the upper-right corner of the service > select Revert to previous settings.
  3. In the Revert to previous settings popup, check the last deployment date and click the [Revert] button.

Configure origin server

An origin server is a server that stores the original content to be distributed via CDN.
You can configure the origin server in the CDN service.

  1. Go to the KakaoCloud Console > Beyond Networking Service > CDN menu.

  2. In the Service menu, click the [Service actions] of the service > select Configure origin server.

  3. In the Configure origin server popup, check the service name and enter the updated information, then click [Save].

    ItemDescription
    Service description (optional)Enter a description of the CDN service
    Origin server protocolSelect the origin server protocol
    - HTTP: Not supported if KC Object Storage is selected
      ㄴ Port: 80 (default)
    - HTTPS
      ㄴ Port: 443 (default)
    Origin server portEnter the origin server port number
    - Only positive integers allowed
    Origin server path (optional)Enter the origin server path in the format {URL}/{path}
    * When integrated with Object Storage, enable Public access under Object Storage > Permissions tab on selected bucket
      ㄴ See Configure bucket access settings
      ㄴ Bucket management is available at KakaoCloud Console > Object Storage
    Gzip compressionSelect whether to enable Gzip compression

Set cache

In CDN services, content stored on the origin server is copied and distributed across separate cache servers.
Here's how to set a cache policy for your CDN service.

info

If you disable Image (JPG) optimization and save, the change is not applied immediately. Cached objects will respond according to the current TTL until they expire.

  1. Go to the KakaoCloud Console > Beyond Networking Service > CDN menu.

  2. In the Service menu, click the [Service actions] of the service > select Configure cache.

  3. In the Configure cache popup, check the service name, enter your changes, and click [Save].

    Image Cache settings popup

    ItemDescription
    Expiration policySelect cache expiration policy
    - Refer to origin server: Prioritize the origin’s Cache-Control header
    - User-defined: Cache content for the defined period
    Retention periodEnter the cache retention period
    - Up to 30 days
    URL Query StringSelect whether to include the URL query string
    Image (JPG) optimizationEnable or disable JPG optimization
    - Max image size: 10MB
    - Supported formats: jpg, jpeg, png, gif
    * PNG files may increase in size after optimization

Modify viewer protocol policy

You can reset the viewer protocol policy for the CDN service.

  1. Go to the KakaoCloud Console > Beyond Networking Service > CDN menu.
  2. In the Service menu, click the [Service actions] of the service > select Set viewer protocol policy.
  3. In the popup, check the service name, update the settings, and click [Save].

Set referer header

You can reset the referer header settings for the CDN service.

  1. Go to the KakaoCloud Console > Beyond Networking Service > CDN menu.
  2. In the Service menu, click the [Service actions] of the service > select Set referer header.
  3. In the popup, check the service name, update the settings, and click [Save].

Set root path access control

You can reset root path access control for the CDN service.

  1. Go to the KakaoCloud Console > Beyond Networking Service > CDN menu.
  2. In the Service menu, click the [Service actions] of the service > select Set root path access control.
  3. In the popup, check the service name, update the settings, and click [Save].