当前位置:网站首页>CDN with OSS acceleration
CDN with OSS acceleration
2022-06-26 04:17:00 【Never bow】
significance
User direct access OSS resources , Speed is affected by OSS Downlink bandwidth and Bucket Geographical constraints , If through CDN+OSS Access by , Higher bandwidth limit , And you can put OSS Cache your resources to the nearest CDN node , adopt CDN Node for distribution , It can shorten the network transmission distance , Speed up user calls ; All that goes down is CDN Of traffic , and CDN The unit price of downstream traffic will be higher than OSS The unit price of downstream traffic is lower , It can effectively save traffic costs .
Billing basis
Just use OSS, Will consume OSS Storage cost and downstream traffic cost ; If it matches CDN Use , Will consume OSS The cost of storage 、 Return flow cost , as well as CDN Downstream traffic charges . Why collocation CDN It can effectively save traffic costs



As you can see from the three pictures above ,OSS 1TB The downstream traffic of needs 505 element , and CDN It only needs 180; Even with 1TB Back to source traffic of , It's much better than OSS Downstream traffic is cheaper , In addition, the actual usage of the source traffic is far less than that of the downstream traffic , thus it can be seen ,OSS collocation CDN Use , It can effectively save traffic costs .
Operation steps
By domain name lyxaicx.com For example , Speed up the domain name to oss.lyxaicx.com For example , During the actual configuration , You can choose the accelerated domain name according to your actual situation , Including the main domain name 、 Two level domain name 、 Pan domain name, etc
1、 Enter Alibaba cloud console ---- Speed up the whole station , Choose domain name management ---- Add domain name , After the configuration is completed, select next

2、 Select return to the domain name list

3、 Wait until the status is normal , take CNAME The values are copied

4、 Enter Alibaba cloud console ---- domain name , Find the domain name to be configured , Choose parsing

5、 Add records , Choose here CNAME, The host record is filled in according to the accelerated domain name , Record the value and paste the accelerated domain name just copied CNAME value , The other is constant , Select OK

6、 Wait a few minutes ,ping Accelerate domain name , Check whether the acceleration is effective , Here's the picture , Indicates that it has taken effect

7、 At this point we go into OSS Console , Select corresponding bucket, Enter domain name management , You can see that the accelerated domain name we added has appeared , Choose to open CDN Automatic cache refresh

8、 Enter file management , Choose to use your own domain name

9、 At this point, you can see that the file link has changed to our accelerated domain name

10、 Direct access to the above URL, Through the developer tool check, you can find ,CDN This picture has been validated and cached successfully

11、 If you want to keep the link valid for a long time , You need to change the file read and write permissions , Click Set read / write permission , Select public read , Click ok , return , At this point, the link becomes long-term



12、 If you need to configure certificate encryption access , First open HTTPS visit , Then return to the whole station acceleration console , Click to speed up the domain name , Select modify configuration , After the configuration is completed, you can pass https Encrypted access .


attach :
CDN Opening and package purchase links :
https://www.aliyun.com/product/cdn?spm=5176.7933691.cwnn_jpze.46.2d3d2a667RjB6q
Link to the original text https://yq.aliyun.com/articles/729599
边栏推荐
- Development trend and prospect forecast report of China's financial industry 2022-2028 Edition
- Getting started with flask
- 第 4 篇:绘制四边形
- Read / write lock for thread synchronization
- SQL related knowledge - DDL
- In 2022, what professional competitions can college students majoring in automation, electrical engineering and automation participate in?
- 线程同步之互斥量(互斥锁)
- Redis cache data consistency solution analysis
- Analysis report on development trend and market demand of global and Chinese molecular diagnostics industry from 2022 to 2028
- WPF 值转换
猜你喜欢

使用Jsoup提取接口中的图片

Unity移动端游戏性能优化简谱之 以引擎模块为划分的CPU耗时调优

How does virtual box virtual machine software accelerate the network speed in the virtual system?

微软禁止俄用户下载安装Win10/11

win10 系统打开的软件太小,如何变大(亲测有效)

Use soapUI to access the corresponding ESB project

chrome页面录制,重放功能
![[MySQL] MySQL export database](/img/e3/1aa31760dc5447b7c3c0d942644116.jpg)
[MySQL] MySQL export database

解析JSON接口并批量插入到数据库中

Using jsup to extract images from interfaces
随机推荐
ipvs之ipvs0网卡
軟件調試測試的十大重要基本准則
Spark - 一文搞懂 parquet
2021 year end summary
[Qunhui] Internet access + custom port
Zeromq from getting started to mastering
I/o virtualization technology - vfio
Parse JSON interface and insert it into the database in batch
What should I do if I don't understand the precious metal indicators
微软禁止俄用户下载安装Win10/11
After four years of outsourcing, people are directly abandoned...
Daily tests
Ubuntu installs PostgreSQL and uses omnidb to view
Go time package: second, millisecond, nanosecond timestamp output
Force buckle 515 Find the maximum value in each tree row
Three level menu applet
Swagger
What if the serial port fails to open when the SCM uses stc-isp to download software?
MySQL's built-in performance testing tool, mysqlslap, performs stress testing
[Qunhui] no port access (reverse proxy + intranet penetration)