[Unity] About Cloud Content Delivery [CDN]
table of contents
This is Ohara from the technical sales department.
Unity which develops a real-time 3D development platform, has started providing "CDN service".
This time, Unity will write about
Cloud Content Delivery (Information as of September 2020)
Unity Cloud Content Delivery Overview
https://youtu.be/cTQfmMwq24M
・There are two ways to set up Cloud Content Delivery: "CLI" and "Developer Dashboard".
・CDN can also be used for content unrelated to Unity or games.
- Integrated with Cloud Build, so you can build and publish directly using Unity's build automation features.
- Caching API requests at the regional level, managing content programmatically with responsive APIs.
- A bucket is included as standard.
・Data transfer amount: The first 50GB is free.
Initial configuration of Content Delivery
- First, register your Unity Developer Dashboard account and create a Unity ID.
After connecting to the dashboard, click ``Develop'' to create a ``project''. Click Content Delivery.
- After creating the project, you will see a screen like the one below. There is a "Start a Free Trial" at the top of the screen, so start using the CDN from here. *Credit card registration is required.
Also, there is "Content Delivery" in the left side navigation, so if you are confused about the specifications or settings of the CDN function, please refer to this document.
Main features of Content Delivery
■ Bucket
- Organize content into buckets to create a clear workflow for your project. A bucket is a single context for exposing content such as platforms and environments. An example of a common workflow would be to maintain separate buckets for development, staging, and production builds with a naming convention like this:
Example: "ios_staging" "ios_production"
■ Entry
- A single unit of content within a bucket. Entries support labels and metadata. Creating a release captures the current state of all entries in the bucket, similar to a versioning process.
■ Badge
-Badges allow you to select which release your application uses. You can assign a unique badge to a release and request its content using the name of that badge.
You can move badges between releases for more flexibility in your content workflow. When you move a badge, it is removed from the previous release it was associated with. You can only assign a badge to one release at a time, but a release can have multiple badges associated with it.
Content Delivery Pricing
The pricing is relatively low for a CDN service for large-scale distribution.
Additionally, in cases where it is clear that a large amount of data will be transferred, payment methods other than credit cards may be accepted.
Data transfer amount / month | Price per GB |
up to 50GB | free |
50GB ⇒ up to 50TB | $0.08 (approx. 8.5 yen) |
50TB ⇒ up to 500TB | $0.06 (approx. 6.4 yen) |
500TB and above | $0.03 (approx. 3.2 yen) |
summary
Various APIs for developers are also available, so it can be said that Unity is a CDN service for developers.
It can also be used for content other than games, and data transfer fees are relatively low.