Three dimensions determine the cost of using Amazon VPC Lattice: the number of services provisioned, data processing charges for traffic to and from each service, and the number of HTTP requests (for HTTP/HTTPS listeners only), or TCP connections (for TLS listeners only), that each service receives.
Service: A VPC Lattice service is a logical abstraction in front of your application that consists of listeners, rules, and target groups, similar to a load balancer. A target of a VPC Lattice service can be backed by different compute types like EC2 instances, containers, and serverless functions, and can communicate with each other using TCP or HTTP. After a service is provisioned in VPC Lattice, you are charged for each hour or partial hour that it is running. The price of a service varies by AWS Region.
Data processing: Data processing charges are incurred for each gigabyte (GB) of data transferred through each service. The amount of data is computed by adding the amount of data that each service receives and the corresponding response that it sends to the client. There are no additional inter-Availability Zone (AZ) charges, all inter-AZ data is accounted for in the data processing charge. The price per GB varies by Region.
HTTP Requests or TCP Connections: VPC Lattice services can be configured to communicate using HTTP/HTTPS or TLS Passthrough. If a service is configured with an HTTP/HTTPS listener type, you are charged for the amount of HTTP requests a service receives from a client. For TLS listeners, you are charged for the amount of TCP connections a service receives from a client.
Pricing for VPC Lattice Services
Pricing for VPC Resources
Charges per GB of data processed for accessing VPC resources
Below pricing tiers apply on the total data processed for all resources you access in an AWS Region
Data Processed per month in an AWS Region | Charge per GB data processed when accessing VPC resources |
First 1 PB | $0.01 |
Next 4 PB | $0.006 |
Anything over 5 PB | $0.004 |
Note: VPC association and Service Network Endpoints are available at no additional cost.
Pricing examples
Example 1: Services with low request rates
You provision a service network in the US East (N. Virginia) Region and associate 100 services to it. In a month, each service processes 100 GB of data at 200,000 requests per hour. In this example, we calculate your charges as follows (all prices shown in USD):
Monthly hourly charges:
- You pay $0.025 per hour for each service in US East (N. Virginia)
- We assume that a month equals 730 hours (8,760 hours in a year/12 months = 730 hours per month)
- 100 services * $0.025 per hour * 730 hours = $1,825.00 per month
Monthly data processing charges:
- You pay $0.025 per GB of data processed by each service in US East (N. Virginia)
- 100 services * 100 GB per month * $0.025 per GB = $250.00 per month
Monthly request charges:
- The first 300,000 requests per hour are free. You pay $0.10 per hour for the next 1 million requests.
- Each service receives 200,000 requests per hour, which is within the AWS Free Tier.
- Request charges = $0 per month.
- Hourly charges: $1,825.00 per month
- Data processing charges: $250.00 per month
- Request charges: $0 per month
- Total: $1,825.00 + $250.00 = $2,075.00 per month
Example 2: Services with a mix of low request rates and high request rates
You provision a service network in the US East (N. Virginia) Region and associate 100 services to it. In a month, 99 of these services process 100 GB of data at 200,000 requests per hour. One service processes 2,000 GB of data at 4 million requests per hour. In this example, we calculate your charges as follows (all prices shown in USD):
Monthly hourly charges:
- You pay $0.025 per hour for each service in US East (N. Virginia)
- We assume that a month equals 730 hours (8,760 hours in a year/12 months = 730 hours per month)
- 100 services * $0.025 per hour * 730 hours = $1,825.00 per month
Monthly data processing charges:
- You pay $0.025 per GB of data processed by each service in US East (N. Virginia)
- Each of the 99 services (99%) processes 100 GB per month, while 1 service (1%) processes 2,000 GB per month
- 99 services * 100 GB per month * $0.025 per GB = $247.50 per month
- 1 service * 2,000 GB per month * $0.025 per GB = $50.00 per month
Monthly request charges:
- The first 300,000 requests per hour are free. You pay $0.10 per hour for the next 1,000,000 (1M) requests.
- 99 services receive 200,000 requests per hour, which is within the AWS Free Tier.
- 1 service receives 4,000,000 requests per hour. First 300,000 are free. You are charged for the next 3,700,000 (3.7M) requests.
- 1 service * 3.7M requests per hour * $0.10 / 1M requests * 730 hours = $270.10 per month.
- Hourly charges: $1,825.00 per month
- Data processing charges: $247.50 + $50.0 = $297.50 per month
- Request charges: $270.10 per month
- Total: $1,825.00 + $297.50 + $270.10 = $2,392.60 per month
Example 3: Services with variable request rates
You have provisioned a service network in the US East (N. Virginia) Region and associated 100 services to it. Each service receives 1,000,000 requests per hour and processes 1 GB per hour for 10 hours on Mondays and Tuesdays. For the rest of the time, the service receives 100,000 requests per hour and processes 0.1 GB per hour. In this example, we calculate your charges as follows (all prices shown in USD):
Monthly hourly charges:
- You pay $0.025 per hour for each service in US East (N. Virginia)
- We assume that a month equals 730 hours (8,760 hours in a year/12 months = 730 hours per month)
- 100 services * $0.025 per hour * 730 hours = $1,825.00 per month
Monthly data processing charges:
- You pay $0.025 per GB of data processed by each service in US East (N. Virginia)
- Assume 5 Mondays and 5 Tuesdays in the month; for example, 10 hours * 5 days + 10 hours * 5 days = 100 hours, where services process 10 GB per hour. The rest of the month will include 730 hours – 100 hours = 630 hours, where services process 0.1 GB per hour
- 100 services * 100 hours * 1 GB per hour * $0.025 per GB = $250.00 per month
- 100 services * 630 hours * 0.1 GB per hour * $0.025 per GB = $157.50 per month
Monthly request charges:
- The first 300,000 requests per hour are free. You pay $0.10 per hour for the next 1,000,000 (1M) requests.
- Each service receives 100,000 requests per hour for 630 hours, which is within the AWS Free Tier. Each service also receives 1M requests per hour for 100 hours. You are charged for the next 700,000 (0.7M) requests.
- 100 services * 0.7M requests per hour * $0.10 / 1M requests * 100 hours = $700.00 per month.
- Hourly charges: $1,825.00 per month
- Data processing charges: $250.00 + $157.50 = $407.50 per month
- Request charges: $700.00 per month
- Total: $1,825.00 + $407.50 + $700.00 = $2,932.50 per month
Example 4: Services with HTTP and TLS Passthrough listeners
You provision a VPC Lattice service with HTTPS and TLS listeners configured in the US East (N. Virginia) Region. In a month, this service processes 100GB of data at 3,000,000 requests per hour on the HTTP listener. The TLS listener processes 2,000 GB of data at 200,000 connections per hour. In this example, we calculate your charges as follows (all prices shown in USD):
Monthly hourly charges:
- You pay $0.025 per hour for each service in US East (N. Virginia)
- We assume that a month equals 730 hours (8,760 hours in a year/12 months = 730 hours per month)
- 1 service * $0.025 per hour * 730 hours = $18.25 per month
Monthly data processing charges:
- You pay $0.025 per GB of data processed by each service in US East (N. Virginia)
- The service processed 100 GB per month of HTTP data and 2,000 GB of TLS Passthrough data, totaling 2,100 GB of data processed per month
- 2,100 GB per month * $0.025 per GB = $52.50 per month
Monthly request / connection charges:
- The first 300,000 HTTP requests (or TCP connections for TLS listeners) are free. You pay $0.10 per hour for the next 1,000,000 (1M) HTTP requests (or TCP connections for TLS listeners)
- The service received 3,000,000 requests on the HTTP listener and 200,000 requests on the TLS listener
- The first 300,000 HTTP requests are free. You are charged for the next 2,700,000 requests on the HTTP listener
- The first 300,000 TCP connections are free for TLS listeners. You are not charged for the 200,000 requests on the TLS listener, which is within the AWS Free Tier
- 1 service * 2.7M requests per hour * $0.10 / 1M requests * 730 hours = $197.10 per month
- Hourly charges: $18.25 per month
- Data processing charges $52.50 per month
- Request or Connection charges: $197.10 per month
- Total: $18.25 + $52.50 + $197.10 = $267.85 per month
Example 5: VPC resource pricing example
Consumer’s hourly charges:
- You pay an hourly charge of $0.10 per resource per hour
- We assume that a month usage equals 720 resource-hours (1 resource in service-network * 24 hours a day * 30 days a month = 720 resource-hours)
- 720 resource-hours * $0.10 per resource per hour = $72.00 per month
Consumer’s monthly data processing charges:
- You pay a data processing charge of $0.01 per GB for the first PB, $0.006 per GB for next 4PB, and $0.004 per GB for 5+ PBs.
- In this example, you use 6 PB
- The cost of first PB:
- 1 PB * 1048576 GBs/PB = 1048576 GBs
- 1048576 GBs * $0.01 per GB = $10,485.76
- Cost of next 4 PBs:
- 4 PB * 1048576 GBs/PB = 4194304 GBs
- 4194304 GBs * $0.006 per GB = $25,165.82
- Cost of remaining 1 PB:
- 1 PB * 1048576 GBs/PB = 1048576 GBs
- 1048576 GBs * $0.004 per GB = $4,194.30
- The cost of first PB:
- Total data processing charges for 6 PB = $10,485.76 + $25,165.82 + $4,194.30 = $39,845.89
Monthly data processing charges:
- You pay a data processing charge of $0.006 per GB
- We assume that usage equals 6291456 GB (6 PB = 6 * 1048576 GBs/PB)
- 6291456 GBs * $0.006 per GB = $37,748.74
Provider’s total monthly charges: $37,748.74