AmazonCloudFront
Each grouping represents a specific way Amazon CloudFront measures and bills for resource consumption. Click into a code for additional specifications.
Amazon CloudFrontData Transfer
DataTransfer-Out-Bytes
The amount of data (per GB) transferred out of AWS to the internet.
Billing Codes
DataTransfer-Out-OBytes
The amount of data (in bytes) transferred from CloudFront edge locations to your origin or edge function in response to HTTP methods.
Billing Codes
Bytes-OriginShield
The amount of data (in bytes) transferred from the origin to any regional edge cache.
Billing Codes
OBytes-OriginShield
The amount of data (in bytes) transferred to the origin from any regional edge cache.
Billing Codes
Request
Requests-HTTP-Proxy
You are charged for the number of HTTP DELETE, OPTIONS, PATCH, POST, and PUT requests that CloudFront forwards to your origin or edge function. This also includes the number of HTTP WebSocket requests (GET requests with the Upgrade: websocket header) that CloudFront forwards to your origin or edge function.
Billing Codes
Requests-Tier1
You are charged for the number of HTTP GET and HEAD requests with CloudFront. Note that this is the specific rate paid for HTTP requests (vs HTTPS) which are priced a bit cheaper than their HTTPS counterpart. The first 10MM HTTP(S) requests are free each month then you are charged from there.
Billing Codes
Requests-HTTPS-Proxy
You are charged for the number of HTTPS DELETE, OPTIONS, PATCH, POST, and PUT requests that CloudFront forwards to your origin or edge function. This also includes the number of HTTPS WebSocket requests (GET requests with the Upgrade: websocket header) that CloudFront forwards to your origin or edge function.
Billing Codes
Executions-CloudFrontFunctions
CloudFront Functions is serverless scripting platform that allows you to run lightweight JavaScript code at CloudFront Edge locations. Invocation pricing is $0.10 per 1 million invocations ($0.0000001 per invocation). You are charged for the total number of invocations across all your functions. CloudFront Functions counts an invocation each time it starts executing in response to a CloudFront event globally.
Billing Codes
KeyValueStore-EdgeReads
This is the charge for the number of read calls to the CloudFront KeyValueStore methods, get(), exists(), and meta(). Note that there are 2,000,000 CloudFront KeyValueStore reads per month given for free and you're charged for incremental usage above that. The cost for reads within CloudFront Functions is $0.03 per 1 million reads (equivalent to $0.00000003 per read). Charges apply based on the overall number of reads across all your functions. CloudFront KeyValueStore counts the number of reads from within your function code each time there is a CloudFront Functions invocation.
Billing Codes
Requests-OriginShield
If you set up Origin Shield as a centralized caching layer, request fees are charged based on the AWS Region you have configured to be your Origin Shield Region and not based on the Amazon CloudFront edge location serving content. Origin Shield is charged as a request fee for each request that comes from another regional cache to your Origin Shield.
Billing Codes
- USE1-Requests-OriginShield
- USE2-Requests-OriginShield
- USW2-Requests-OriginShield
- APN1-Requests-OriginShield
- APS2-Requests-OriginShield
- EUC1-Requests-OriginShield
- EUW2-Requests-OriginShield
- EU-Requests-OriginShield
- APS1-Requests-OriginShield
- APS3-Requests-OriginShield
- APN2-Requests-OriginShield
- SAE1-Requests-OriginShield
KeyValueStore-APIOperations
CloudFront KeyValueStore is a secure, global, low-latency key value datastore that allows read access from within CloudFront Functions, enabling advanced customizable logic at the CloudFront edge locations. The cost for reads within CloudFront Functions is $0.03 per 1 million reads (equivalent to $0.00000003 per read). Charges apply based on the overall number of reads across all your functions. CloudFront KeyValueStore counts the number of reads from within your function code each time there is a CloudFront Functions invocation. For any API actions not involving reads within CloudFront Functions, the cost is $1 per 1,000 API requests.
Billing Codes
Serverless
Lambda-Edge-GB-Second
Lambda@Edge is a fully programmable, serverless edge computing environment for implementing a wide variety of complex customizations. Lambda@Edge functions are executed in a regional edge cache (usually in the AWS region closest to the CloudFront edge location reached by the client). You are charged for both requests as well as duration of the execution. This billing code represents the charge for duration of execution. Duration is calculated from the time your code begins executing until it returns or otherwise terminates. You are charged $0.00005001 for every GB-second used. For instance, if you allocate 128MB of memory available per execution with your Lambda@Edge function, then your duration charge will be $0.00000625125 for every 128MB-second used, metered in 1ms granularity.
Billing Codes
- APN1-Lambda-Edge-GB-Second
- APN2-Lambda-Edge-GB-Second
- APS3-Lambda-Edge-GB-Second
- APS1-Lambda-Edge-GB-Second
- APS2-Lambda-Edge-GB-Second
- EUC1-Lambda-Edge-GB-Second
- EU-Lambda-Edge-GB-Second
- EUW2-Lambda-Edge-GB-Second
- SAE1-Lambda-Edge-GB-Second
- Lambda-Edge-GB-Second
- USE2-Lambda-Edge-GB-Second
- USW1-Lambda-Edge-GB-Second
- USW2-Lambda-Edge-GB-Second
Lambda-Edge-Request
Lambda@Edge is a fully programmable, serverless edge computing environment for implementing a wide variety of complex customizations. Lambda@Edge functions are executed in a regional edge cache (usually in the AWS region closest to the CloudFront edge location reached by the client). You are charged for the total number of requests across all your functions. Lambda@Edge counts a request each time it starts executing in response to an Amazon CloudFront event globally. Request pricing is $0.60 per 1 million requests ($0.0000006 per request). This is the billing code that represents that charge for requests and is a separate and distinct charge from the duration.
Billing Codes
- APN1-Lambda-Edge-Request
- APN2-Lambda-Edge-Request
- APS3-Lambda-Edge-Request
- APS1-Lambda-Edge-Request
- APS2-Lambda-Edge-Request
- EUC1-Lambda-Edge-Request
- EU-Lambda-Edge-Request
- EUW2-Lambda-Edge-Request
- SAE1-Lambda-Edge-Request
- Lambda-Edge-Request
- USE2-Lambda-Edge-Request
- USW1-Lambda-Edge-Request
- USW2-Lambda-Edge-Request
Fee
Invalidations
CloudFront charges to remove files from CloudFront edge caches before they expire. There are no charges for the first 1,000 paths requested for invalidation each month. After the first 1,000 requests, CloudFront charges at a rate of $0.005 per path requested for invalidation. 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.
Billing Codes
StaticIP-IPv4
Amazon CloudFront supports Anycast Static IPs to provide customers with a dedicated set of static IP addresses for connecting to their CloudFront distributions globally at a monthly fee of $3,000 per list. This is the billing code for the allocation of these anycast static IP addresses.
Billing Codes
SSL-Cert-Custom
If you need to deliver content to browsers that don’t support SNI (Server Name Indication Custom SSL), you can use the Dedicated IP Custom SSL feature. For this feature the Amazon content delivery network allocates dedicated IP addresses to serve your SSL content at each Edge location. Pricing for Dedicated IP Custom SSL is simple. Because of the added cost associated with dedicating IP addresses per SSL certificate, we charge a fixed monthly fee of $600 for each custom SSL certificate you associate with your content delivery network distributions, pro-rated by the hour. This is the billing code for that charge. For as an example, if you had your custom SSL certificate associated with at least one CloudFront distribution for just 24 hours (i.e. 1 day) in the month of June, your total charge for using the custom SSL certificate feature in June will be (1 day / 30 days) * $600 = $20.
Billing Codes
RealTime
RealTimeLog-KinesisDataStream
CloudFront doesn't charge for enabling standard access logs for CloudFront. However, there are additional charges for Kinesis Data Firehose. There is a tiered pricing fee for Amazon Kinesis Firehose and this is the billing code that represents that charge.