Revisit Amazon Web Services re:Invent 2024’s biggest moments and watch keynotes and innovation talks on demand

 ✕

Amazon VPC Pricing

There is no additional charge for using Amazon Virtual Private Cloud, aside from the normal Amazon EC2 usage charges

NAT Gateway Pricing

China (Ningxia) Region

If you choose to create a NAT gateway in your VPC, you are charged for each “NAT Gateway-hour" that your NAT gateway is provisioned and available. Data processing charges apply for each Gigabyte processed through the NAT gateway regardless of the traffic’s source or destination. Each partial NAT Gateway-hour consumed is billed as a full hour. You also incur standard Amazon Web Services  data transfer charges for all data transferred via the NAT gateway. If you no longer wish to be charged for a NAT gateway, simply delete your NAT gateway using the Amazon Web Services Management Console, commandline interface, or API. 

Price per NAT gateway (¥/hour) ¥ 0.37
Price per GB data processed (¥) ¥ 0.37

China (Beijing) Region

If you choose to create a NAT gateway in your VPC, you are charged for each “NAT Gateway-hour" that your NAT gateway is provisioned and available. Data processing charges apply for each Gigabyte processed through the NAT gateway regardless of the traffic’s source or destination. Each partial NAT Gateway-hour consumed is billed as a full hour. You also incur standard Amazon Web Services  data transfer charges for all data transferred via the NAT gateway. If you no longer wish to be charged for a NAT gateway, simply delete your NAT gateway using the Amazon Web Services Management Console, commandline interface, or API.

Price per NAT gateway (¥/hour) ¥ 0.427
Price per GB data processed (¥) ¥ 0.427

IP Address Manager (IPAM) Pricing

Amazon VPC IP Address Manager (IPAM) makes it easier for you to plan, track, and monitor IP addresses for your Amazon Web Services workloads. IPAM is offered in two tiers:

IPAM Free Tier

Use the Free Tier of IPAM to simplify IP address management for resources in a single Amazon Web Services account and region. In the Free Tier, you get the ability to manage Amazon Web Services provided contiguous IPv6 addresses and you also get visibility into your Public IPv4 usage through Public IP Insights. Please refer table below for a list of features available in the Free Tier. When you use the Free Tier, you do not pay anything for your usage of IPAM. However, you still pay for any other service from Amazon Web Services Cloud that you are using.

IPAM Advanced Tier

Use the Advanced Tier to simplify IP address management for resources across multiple accounts or regions. In the Advanced Tier, you get additional capabilities like private IPv4 management and auditing IP history. Please refer table below for a list of features available in the Advanced Tier. When you use the Advanced Tier, you pay an hourly rate of ¥0.00195 for each active IP address managed in IPAM.

Features IPAM Free Tier IPAM Advanced Tier
Amazon Web Services provided contiguous IPv6 blocks Available Available
Public IP Insights Available Available
Private IPv4 management Not Available Available
Share IPAM pools with other accounts Not Available Available
Audit IP history Not Available Available

Note:

  1. Any feature not listed in the table above may only be available in the Advanced tier
  2. Public IP Insights is available for multiple accounts and regions in your Amazon Organization even in the Free Tier of IPAM

IP Address Manager Pricing for Advanced Tier

An active IP address is defined as an IP address or a prefix assigned to a resource such as an EC2 instance or an Elastic Network Interface (ENI). For example, you have a VPC with a /16 CIDR (65,536 IPv4 addresses) assigned to it, out of which you have assigned 2,000 IP addresses to resources such as ENIs. IPAM will consider the 2,000 IP addresses as active and will only charge you for those. Also, if you have assigned a /28 IPv4 prefix or /80 IPv6 prefix to an ENI, IPAM will consider it as a single active address attachment and only charge you for the single unit.

IPAM tracks and monitors all the IP addresses assigned to resources in your VPCs, even if they are not part of an IPAM IP address pool. For example, you may have created ENIs with IP addresses in the past that do not belong to an existing IPAM pool. IPAM will still track the IP addresses (assignments, overlaps, etc.) and charge you for the active IP addresses. If you no longer wish to be charged for IPAM, simply delete your IPAM using the Amazon Web Services Management Console, Amazon Command Line Interface, or API.

IPAM - Pricing Example 1:

In this example, you have one existing VPC with a /16 CIDR (65,536 IPv4 addresses) assigned to it, out of which you are using 2000 IP addresses on EC2 instances. Now, you create an IPAM in the Advanced Tier, in your account, and use it to assign a /16 CIDR (65,536 IPv4 addresses) to a new VPC, and use 5,000 IP addresses on EC2 instances in this VPC.

Total active IP addresses are 7,000 (2,000 + 5,000), and these addresses are active for 30 days, 24 hours a day. You will be charged for the 7000 active IP addresses.

Hourly price per active IP address is ¥0.00195.

7000 active IP addresses x 30 days x 24 hours x ¥0.00195 hourly charge = ¥9,828.

This will result in a monthly charge of ¥9,828.

IPAM - Pricing Example 2:

In this example, you have a /28 prefix (16 IPv4 addresses) assigned to each of your 50 network interfaces, and you have a /80 (approximately 300 trillion IPv6 addresses) prefix assigned to each of your 100 other network interfaces in your VPC. Each prefix that you assign to a network interface counts as a single active address attachment for IPAM. You also have 1,000 IPv4 addresses that are assigned to EC2 instances in the VPC. Also, other member accounts in your Amazon Organization have a total of 10,000 active IPs. You create an Advanced Tier IPAM that is integrated with your Amazon Organization.

Hourly price per active IP address is ¥0.00195.

(50 prefixes + 100 prefixes + 1,000 IP addresses + 10,000 IPs from member accounts) x 30 days x 24 hours x ¥0.00195 hourly charge = ¥15,654.60

This will result in a monthly charge of ¥15,654.60.

VPC Traffic Mirroring Pricing

China (Ningxia, Beijing) Regions

If you choose to enable traffic mirroring on Elastic Network Interface (ENI) of Amazon EC2 instances, ENI owner will be charged hourly for each ENI that is enabled with traffic mirroring. If you no longer wish to be charged for traffic mirroring, simply disable traffic mirroring on EC2 instance ENIs using the Amazon Web Services Management Console, command line interface, or API.

Hourly Price per ENI ¥ 0.18

Example

You enable traffic mirroring session on 5 ENIs in your Amazon VPC in China North 1 (Beijing) Region. Traffic mirroring sessions were active for 30 days, 24 hours a day. You will be charged on an hourly basis, for each hour the traffic mirroring sessions were active on ENIs. For China North 1 (Beijing) Region, the hourly rate is ¥0.18. This will result in a charge of ¥648.

If account A shared subnet-1 with account B, account B then created an eni-1 in subnet-1, and account A then enabled traffic mirroring on eni-1, account B will be charged for the traffic mirroring usage.

VPC Flow Log Pricing

Publish flow logs to CloudWatch Logs

Flow logs can publish flow log data directly to Amazon CloudWatch. Data ingestion and archival charges for vended logs apply when you publish flow logs to CloudWatch Logs. For more information, see Amazon CloudWatch Pricing.

Publish flow logs to Amazon S3

Flow logs can publish flow log data to Amazon S3. Data ingestion and archival charges for vended logs apply when you publish flow logs to Amazon S3. For more information, see Amazon CloudWatch Pricing.

Public IPv4 address Pricing

1. What is a public IPv4 address?

A public IPv4 address is an IPv4 address that is routable from the internet. A public IPv4 address is necessary for a resource to be directly reachable from the internet over IPv4.

2. How do public IPv4 address work with Amazon Web Services?

Nearly all resources you launch in your VPC come with an IP address for connectivity. While the vast majority of resources in your VPC use private IPv4 addresses (RFC1918), resources that require direct access to the internet over IPv4 use public IPv4 address. For example, Amazon EC2 instances that launch in a default VPC come with a public IPv4 address. You use Elastic IP addresses and attach them to resources such as Elastic Load Balancer, NAT Gateway etc. Also, there are Amazon Web Services services such as Amazon EKS, Amazon EMR, Amazon ECS, Amazon RDS, Amazon Workspaces that create resources in your VPC with public IPv4 addresses associated with them to provide internet connectivity.

3. What type of public IPv4 address is charged?

Any public IPv4 address associated with a resource launched in an Amazon VPC is charged as in-use public IPv4 address. Any public IPv4 address associated to your Amazon Web Services account that is not used on a resource is charged as idle public IPv4 address. Public IPv4 addresses that are not dedicated to your resource are not charged; for example, public IPv4 addresses associated with Amazon S3 that are not dedicated per S3 bucket.

4. How does public IPv4 address pricing work?

You pay an hourly rate for each public IPv4 address used by your Amazon Web Services account. The price is the same whether the public IPv4 address is in-use public IPv4 addresses that is associated with an Amazon Web Services resource you own, or an idle public IPv4 addresses in your Amazon Web Services account not associated with any Amazon Web Services resources.

China (Ningxia) Region

Hourly charge for In-use Public IPv4 Address ¥ 0.033
Hourly charge for Idle Public IPv4 Address ¥ 0.033

China (Beijing) Region

Hourly charge for In-use Public IPv4 Address ¥ 0.033
Hourly charge for Idle Public IPv4 Address ¥ 0.033

Public IPv4 address - Pricing example 1

In this example, you have

  • Three Amazon EC2 instances, with one in-use public IPv4 address each
  • One Elastic load balancer with two in-use public IPv4 address
  • One Amazon RDS database that has one in-use public IPv4 address
  • Four Idle Elastic IP addresses in your Amazon Web Services account.

Total in-use public IPv4 addresses are 6 (3+2+1), and these addresses are active for 30 days, 24 hours a day. You will be charged for the 6 in-use public IPv4 addresses.

Total idle public IPv4 addresses are 4, and these addresses are active for 30 days, 24 hours a day. You will be charged for the 4 idle public IPv4 addresses.

Hourly Price per in-use public IPv4 address is ¥0.033
Hourly Price per idle public IPv4 address is ¥0.033

6 in-use public IPv4 addresses x 30 days x 24 hours x ¥0.033 hourly charge = ¥142.56.
4 idle public IPv4 addresses x 30 days x 24 hours x ¥0.033 hourly charge = ¥95.04.

This will result in a monthly charge of ¥237.60

5. In what Amazon Web Services locations does public IPv4 address pricing apply?

In-use and idle public IPv4 address pricing applies across to Amazon Web Services China (Beijing) Region, operated by Sinnet and Amazon Web Services China (Ningxia) Region, operated by NWCD.

6. How can I monitor public IPv4 address that I use?

You can monitor your public IPv4 usage with Public IP Insights, an Amazon VPC IP Address Manager feature that allows you to track, manage and monitor public IPv4 addresses across workloads in an Amazon Web Services account. This also enables you to identify where you have IPv4 address that you are not actively using for your Amazon Web Services resource today to release it back to Amazon Web Services and avoid the charge. You can also find opportunities to reduce how many IPv4 addresses a particular application is using by looking at aggregate usage across resources.

7. How can I track public IPv4 address usage and estimate charges?

Amazon Cost and Usage Reports allow you to track your public IPv4 usage and aggregate the information either by the hour, day, or month. You can also choose to include individual resource IDs that contain the ID of the resource that you provisioned to use the public IPv4 address.