首页 > 其他分享 >关于使用AWS的CDN-CloudFront的费用计算及说明

关于使用AWS的CDN-CloudFront的费用计算及说明

时间:2023-03-23 21:56:39浏览次数:56  
标签:origin Web CDN AWS CloudFront CNY Amazon requests

今天因需要为一个自己设计的小项目计算费用,因为涉及到了CloudFront,也是需要预算其费用的、

因为这里笔者说明一下关于使用AWS的CloudFront ,会如何进行计费,有那些收费条目

首页说一下,关于CloudFront的收费标准及详情、可以参考:https://www.amazonaws.cn/en/cloudfront/pricing/?nc1=h_ls

这里笔者也进行一下总结,首先CloudFront是根据以下四个方面的实际使用情况计算的:

  • 数据传出(互联网/源服务器)
  • HTTP/HTTPS 请求
  • 失效请求
  • 字段级加密请求

其中数据传出至互联网:

可以看出一般我们都可以按 0.30866 CNY/GB,传出流量越多,后面的越便宜,

另还涉及到 区域数据传出至源服务器,这个始终都是按0.30866 CNY/GB

然后就是后面3种类型的收费了,基本就很便宜了,接下来先看看

Region Pricing for All HTTP Methods

Invalidation requests

No additional charge for the first 1,000 paths requested for invalidation each month. Thereafter, CNY 0.03355 per path requested for invalidation.

Note: A path listed in your invalidation request represents the URL (or multiple URLs if the path contains a wildcard character) of the object(s) you want to invalidate from CloudFront cache. For more information about invalidation, see 'invalidating objects' in the Amazon CloudFront Developer Guide.

Field Level Encryption requests

Field-level encryption is charged based on the number of requests that need the additional encryption; you pay CNY 0.000013 for every 10,000 requests that CloudFront encrypts using field-level encryption in addition to the standard HTTPS request fee.

Origin server to Amazon CloudFront (origin fetches)
With Amazon CloudFront, you can use an Amazon Web Services origin (e.g., Amazon S3, Amazon EC2, Elastic Load Balancing, etc.) or your own origin servers to store the original, definitive versions of your files. If you are using an Amazon Web Services China origin, data transferred from origin to edge locations (Amazon CloudFront "origin fetches") will be at no additional cost. If you are using an international Amazon Web Services origin (non-China Amazon Web Services origin), data transferred from origin to edge locations (Amazon CloudFront "origin fetches") will be charged at the standard Data Transfer rates in the region.

Amazon CloudFront to origin server

Data Transfer out of Amazon CloudFront to your origin server, such as POST and PUT requests, will be billed at the “Regional Data Transfer Out to Origin” rates listed in the Regional Data Transfer Out to Origin (per GB) table.

All prices above are exclusive of applicable taxes, fees, or similar governmental charges, if any exist, except as otherwise noted.

 

笔者也特意根据自己这边的实际情况去咨询了AWS客服两种情况的收费

1、CloudFront --> ALB,这个就是按按“区域数据传出至源服务器” 计费,0.30866 CNY / GB

2、ALB/EC2  --> CloudFront 的流量,是免费的,与上面介绍的情况也是一致的

 

 

 

尊重别人的劳动成果 转载请务必注明出处:https://www.cnblogs.com/5201351/p/17249594.html

 

标签:origin,Web,CDN,AWS,CloudFront,CNY,Amazon,requests
From: https://www.cnblogs.com/5201351/p/17249594.html

相关文章

  • CDN加速和OSS传输加速的区别
    本文主要介绍剑盾云对象存储OSS的传输加速功能和CDN加速OSS资源的区别,以便您根据实际业务进行选择。详细信息剑盾云对象存储OSS以海量、安全、低成本、高可靠等特点已经成......
  • cdn加速的访问过程
    CDN全称ContentDeliveryNetwork,即内容分发网络。其基本思路是尽可能避开互联网上有可能影响数据传输速度和稳定性的瓶颈和环节,使内容传输的更快、更稳定。通过在网络各处放......
  • cdn缓存命中低怎么办
    概述剑盾云CDN控制台上显示的缓存命中率一直不高,且源站收到较多来自CDN的回源请求,对源站造成一定的负载压力。现需要排查缓存命中率不高的原因。详细信息如果发生命中率过低......
  • 关于CDN
    CDN的全称是ContentDeliveryNetwork,即内容分发网络。CDN是构建在现有网络基础之上的智能虚拟网络,依靠部署在各地的边缘服务器,通过中心平台的负载均衡、内容分发、调度等......
  • 关于AWS-Lambda-Python运行时的Function函数中的坑点-日期和时间是UTC时区
    最近笔者在使用Lambda函数时,遇到一个小问题,排查了些时间,才找到原因,先说根本原因,那就是关于Lambda函数代码中的日期和时间,都是取的UTC时间,并不是中国时间这个可以说是一......
  • 关于AWS-Lambda函数的创建过程及注意事项
    如果需要创建一个简单的AWS-Lambda函数,一般需要如下图几个步骤1、定义Function名称  2、选择Runtime运行时-(运行环境)     3、创建或选择Executionrole-(......
  • 关于AWS-的ELB-Elastic Load Balancing-的说明及不同类型的简单的对比
    关于AWS-的ELB,全称ElasticLoadBalancing,或者也可以理解成ElasticLoadBalancer,在EC2服务的界面中可以找到关于ELB的文档可以参考 https://docs.aws.amazon.com/elasti......
  • 简述CDN的工作原理
    CDN系统的具体工作方式是怎样的呢?先看看没有CDN服务时,一个网站是如何向用户提供服务的。网站系统基本上都是基于B/S架构的。B/S架构,即Browser/Server(浏览器/服务器)架构,是对......
  • 关于ACM中-由AWS颁发的证书过期前的自动更新说明-及注意事项
    在aws的ACM-(AmazonCertificateManager )中,证书除了可以自己导入,也可以使用AWS颁发,如下图所示,可以看到证书类型当然今天笔者讲述关于使用了AWS颁发证书的,快要到期的时......
  • 关于AWS-ACM-自己导入型Imported-证书的更新替换
    在AWS中,ACM即AmazonCertificateManager的意思,是用来存储管理证书的一个服务ACM的证书有两种类型、一种是由AWS颁发的证书,另一种还可以将自己的证书导入进来,进行管理......