AWS VPN FAQs
Why AWS VPN?
AWS VPN is comprised of two services: AWS Site-to-Site VPN and AWS Client VPN. AWS Site-to-Site VPN enables you to securely connect your on-premises network or branch office site to your Amazon Virtual Private Cloud (Amazon VPC). AWS Client VPN enables you to securely connect users to AWS or on-premises networks.
Page topics
General questionsGeneral questions
What is a Client VPN endpoint?
The Client VPN endpoint is a regional construct that you configure to use the service. The VPN sessions of the end users terminate at the Client VPN endpoint. As part of configuring the Client VPN endpoint, you specify the authentication details, server certificate information, client IP address allocation, logging, and VPN options.
What is a target network?
A target network, is a network that you associate to the Client VPN endpoint that enables secure access to your AWS resources as well as access to on-premises. Currently, the target network is a subnet in your Amazon VPC.
Billing
What defines billable VPN connection-hours?
VPN connection-hours are billed for any time your VPN connections are in the "available" state. You can determine the state of a VPN connection via the AWS Management Console, CLI, or API. If you no longer wish to use your VPN connection, you simply terminate the VPN connection to avoid being billed for additional VPN connection-hours.
Do your prices include taxes?
Except as otherwise noted, our prices are exclusive of applicable taxes and duties, including VAT and applicable sales tax. For customers with a Japanese billing address, use of AWS services is subject to Japanese Consumption Tax. Learn more.
AWS Site-to-Site VPN setup and management
Can I use the AWS Management Console to control and manage AWS Site-to-Site VPN?
Yes. You can use the AWS Management Console to manage IPSec VPN connections, such as AWS Site-to-Site VPN.
What are the default limits or quota on Site-to-Site VPNs?
Details on AWS Site-to-Site VPN limits and quota can be found in our documentation.
AWS Site-to-Site VPN connectivity
What are the VPN connectivity options for my VPC?
You may connect your VPC to your corporate data center using a Hardware VPN connection via the virtual private gateway.
How do instances without public IP addresses access the Internet?
Instances without public IP addresses can access the Internet in one of two ways:
Instances without public IP addresses can route their traffic through a network address translation (NAT) gateway or a NAT instance to access the internet. These instances use the public IP address of the NAT gateway or NAT instance to traverse the internet. The NAT gateway or NAT instance allows outbound communication but doesn’t allow machines on the internet to initiate a connection to the privately addressed instances.
For VPCs with a hardware VPN connection or Direct Connect connection, instances can route their Internet traffic down the virtual private gateway to your existing datacenter. From there, it can access the Internet via your existing egress points and network security/monitoring devices.
How does an AWS Site-to-Site VPN connection work with Amazon VPC?
An AWS Site-to-Site VPN connection connects your VPC to your datacenter. Amazon supports Internet Protocol security (IPsec) VPN connections. Data transferred between your VPC and datacenter routes over an encrypted VPN connection to help maintain the confidentiality and integrity of data in transit. An Internet gateway is not required to establish a Site-to-Site VPN connection.
What is IPSec?
IPsec is a protocol suite for securing Internet Protocol (IP) communications by authenticating and encrypting each IP packet of a data stream.
Which customer gateway devices can I use to connect to Amazon VPC?
You can create two types of AWS Site-to-Site VPN connections: statically routed VPN connections and dynamically-routed VPN connections. Customer gateway devices supporting statically-routed VPN connections must be able to:
Establish IKE Security Association using Pre-Shared Keys
Establish IPsec Security Associations in Tunnel mode
Utilize the AES 128-bit, 256-bit, 128-bit-GCM-16, or 256-GCM-16 encryption function
Utilize the SHA-1, SHA-2 (256), SHA2 (384) or SHA2 (512) hashing function
Utilize Diffie-Hellman (DH) Perfect Forward Secrecy in "Group 2" mode, or one of the additional DH groups we support
Perform packet fragmentation prior to encryption
In addition to the above capabilities, devices supporting dynamically-routed Site-to-Site VPN connections must be able to:
Establish Border Gateway Protocol (BGP) peering
Bind tunnels to logical interfaces (route-based VPN)
Utilize IPsec Dead Peer Detection
Which Diffie-Hellman groups do you support?
We support the following Diffie-Hellman (DH) groups in Phase 1 and Phase 2.
Phase 1 DH groups 2, 14-24.
Phase 2 DH groups 2, 5, 14-24.
What algorithms does AWS propose when an IKE rekey is needed?
By default, then VPN endpoint on AWS side will propose AES-128, SHA-1 and DH group 2. If you would like a specific proposal for rekey, we recommend that you use Modify VPN Tunnel Options to restrict the tunnel options to the specific VPN parameters you require.
What customer gateway devices are known to work with Amazon VPC?
In The network administrator guide, you will find a list of the devices meeting the aforementioned requirements, that are known to work with hardware VPN connections, and that will support in the command line tools for automatic generation of configuration files appropriate for your device.
If my device is not listed, where can I go for more information about using it with Amazon VPC?
We recommend checking the Amazon VPC forum as other customers may be already using your device.
What is the approximate maximum throughput of a Site-to-Site VPN connection?
Each AWS Site-to-Site VPN connection has two tunnels and each tunnel supports a maximum throughput of up to 1.25 Gbps. If your VPN connection is to a Virtual Private Gateway, aggregated throughput limits would apply.
Is there an aggregated throughput limit for Virtual Private Gateway?
Virtual Private Gateway has an aggregate throughput limit per connection type. Multiple VPN connections to the same Virtual Private Gateway are bound by an aggregate throughput limit from AWS to on-premises of up to 1.25 Gbps. For AWS Direct Connect connection on a Virtual Private Gateway, the throughput is bound by the Direct Connect physical port itself. To connect to multiple VPCs and and achieve higher throughput limits, use AWS Transit Gateway.
What factors affect the throughput of my VPN connection?
VPN connection throughput can depend on multiple factors, such as the capability of your customer gateway, the capacity of your connection, average packet size, the protocol being used, TCP vs. UDP, and the network latency between your customer gateway and the virtual private gateway.
What is the approximate maximum packets per second of a Site-to-Site VPN connection?
Each AWS Site-to-Site VPN connection has two tunnels and each tunnel supports a maximum packets per second of up to 140,000.
What tools are available to me to help troubleshoot my Site-to-Site VPN configuration?
The DescribeVPNConnection API displays the status of the VPN connection, including the state ("up"/"down") of each VPN tunnel and corresponding error messages if either tunnel is "down". This information is also displayed in the AWS Management Console.
How do I connect a VPC to my corporate datacenter?
Establishing a hardware VPN connection between your existing network and Amazon VPC allows you to interact with Amazon EC2 instances within a VPC as if they were within your existing network. AWS does not perform network address translation (NAT) on Amazon EC2 instances within a VPC accessed via a hardware VPN connection.
Can I NAT my customer gateway behind a router or firewall?
You will use the public IP address of your NAT device.
What IP address do I use for my customer gateway address?
You will use the public IP address of your NAT device.
How do I disable NAT-T on my connection?
You will need to disable NAT-T on your device. If you don’t plan on using NAT-T and it is not disabled on your device, we will attempt to establish a tunnel over UDP port 4500. If that port is not open the tunnel will not establish.
How many IPsec security associations can be established concurrently per tunnel?
The AWS VPN service is a route-based solution, so when using a route-based configuration you will not run into SA limitations. If, however, you are using a policy-based solution you will need to limit to a single SA, as the service is a route-based solution.
Can I advertise my VPC public IP address range to the internet and route the traffic through my datacenter, via the Site-to-Site VPN, and to my VPC?
Yes, you can route traffic via the VPN connection and advertise the address range from your home network.
What is the maximum number of routes that my VPN connection will advertise to my customer gateway device?
Your VPN connection will advertise a maximum of 1,000 routes to the customer gateway device. For VPNs on a Virtual Private Gateway, advertised route sources include VPC routes, other VPN routes, and routes from DX Virtual Interfaces. For VPNs on an AWS Transit Gateway, advertised routes come from the route table associated to the VPN attachment. If more than 1,000 routes are attempted to be sent, only a subset of 1,000 will be advertised.
What is the maximum number of routes that can be advertised to my VPN connection from my customer gateway device?
You can advertise a maximum of 100 routes to your Site-to-Site VPN connection on a virtual private gateway from your customer gateway device or a maximum of 1000 routes to your Site-to-Site VPN connection on an AWS Transit Gateway. For a VPN connection with Static routes, you will not be able to add more than 100 static routes. For a VPN connection with BGP, the BGP session will reset if you attempt to advertise more than the maximum for the gateway type.
Do VPN connections support IPv6 traffic?
Yes. VPN connections to an AWS Transit Gateway can support either IPv4 or IPv6 traffic which can be selected while creating a new VPN connection. To select IPv6 for VPN traffic, set the VPN tunnel option for Inside IP Version to IPv6. Note that tunnel endpoint and Customer Gateway IP addresses are IPv4 only.
Which side of the VPN tunnel initiates the Internet Key Exchange (IKE) session?
By default your Customer Gateway (CGW) must initiate IKE. Alternatively, the AWS VPN endpoints can initiate by enabling the appropriate options.
Do VPN connections support private IP addresses?
Yes. Private IP Site-to-Site VPN feature allows you to deploy VPN connections to an AWS Transit Gateway using private IP addresses. Private IP VPN works over an AWS Direct Connect transit virtual interface (VIF). You can select private IP addresses as your outside tunnel IP addresses while creating a new VPN connection. Note that tunnel endpoint and Customer Gateway IP addresses are IPv4 only.
Are there any differences between public and private IP VPN protocol interactions?
No, the IPSec encryption and key exchange work the same way for private IP Site-to-site VPN connections as public IP VPN connections.
Do I require a Transit gateway for Private IP VPN?
Yes, you need a Transit gateway to deploy private IP VPN connections. Also, a private IP VPN attachment on Transit Gateway requires a Direct Connect attachment for transport. You need to specify a Direct Connect attachment id while configuring a private IP VPN connection to a Transit gateway. Multiple private IP VPN connections can use the same Direct Connect attachment for transport.
Do private IP VPNs support static routing and BGP?
Yes, private IP VPNs support static routing as well as dynamic routing using BGP. If your customer gateway device supports Border Gateway Protocol (BGP), specify dynamic routing when you configure your Site-to-Site VPN connection. If your customer gateway device does not support BGP, specify static routing. We recommend that you use BGP capable devices, when available, because the BGP protocol offers robust liveness detection checks that can assist failover to the second VPN tunnel if the first tunnel goes down.
What is the Transit gateway route-table association and propagation behavior for the private IP VPN attachments?
The route-table association and propagation behavior for a private IP VPN attachment is the same as any other Transit gateway attachment. You can associate a Transit gateway route-table to the private IP VPN attachment and propagate routes from Private IP VPN attachment to any of the Transit gateway route-tables.
What throughput can I get with Private IP VPN?
Just like regular Site-to-site VPN connections, each private IP VPN connection supports 1.25Gbps of bandwidth. You can use ECMP (Equal Cost Multi-path) across multiple private IP VPN connections to increase effective bandwidth. As an example, to send 10Gbps of DX traffic over a private IP VPN, you can use 4 private IP VPN connections (4 connections x 2 tunnels x 1.25Gbps bandwidth) with ECMP between a pair of Transit gateway and Customer gateway.
Can I ECMP traffic across a private IP VPN and public IP VPN connections?
No, you cannot ECMP traffic across private and public IP VPN connections. ECMP for private IP VPN will only work across VPN connections that have private IP addresses.
What is the MTU (Maximum Transmission Unit) of Private IP VPN?
Private IP VPN connections support 1500 bytes of MTU.
Can a private IP VPN be associated with a different owner account than Transit gateway account owner?
No, both Transit gateway and Site-to-site VPN connections must be owned by the same AWS account.
In which AWS Regions is AWS Site-to-Site VPN service and Private IP VPN feature available?
AWS Site-to-Site VPN service is available in all commercial regions except for Asia Pacific (Beijing) and Asia Pacific (Ningxia) AWS Regions. The Private IP VPN feature is supported in all AWS Regions where AWS Site-to-Site VPN service is available.
AWS Accelerated Site-to-Site VPN
Why should I use Accelerated Site-to-Site VPN?
VPN connections face inconsistent availability and performance as traffic traverses through multiple public networks on the internet before reaching the VPN endpoint in AWS. These public networks can be congested. Each hop can introduce availability and performance risks. Accelerated Site-to-Site VPN makes user experience more consistent by using the highly available and congestion-free AWS global network.
How can I create an Accelerated Site-to-Site VPN?
When creating a VPN connection, set the option “Enable Acceleration” to ‘true’.
How do I find out whether my existing VPN connection is an Accelerated Site-to-Site VPN?
In the description of your VPN connection, the value for “Enable Acceleration” should be set to ‘true’.
How can I convert my existing Site-to-Site VPN to an Accelerated Site-to-Site VPN?
Create a new Accelerated Site-to-Site VPN, update your customer gateway device to connect to this new VPN connection, and then delete your existing VPN connection. You will get new tunnel endpoint internet protocol (IP) addresses since accelerated VPNs use separate IP address ranges from non-accelerated VPN connections.
Is Accelerated Site-to-Site VPN supported for both virtual gateway and AWS Transit Gateway?
Only Transit Gateway supports Accelerated Site-to-Site VPN. A Transit Gateway should be specified when creating a VPN connection. The VPN endpoint on the AWS side is created on the Transit Gateway.
Does an Accelerated Site-to-Site VPN connection offer two tunnels for high availability?
Yes, each VPN connection offers two tunnels for high availability.
Are there any protocol differences between Accelerated and non-Accelerated Site-to-Site VPN tunnels?
NAT-T is required and is enabled by default for Accelerated Site-to-Site VPN connections. Other that that, Accelerated and non-Accelerated VPN tunnels support the same IP security (IPSec) and internet key exchange (IKE) protocols, and also offer the same bandwidth, tunnel options, routing options, and authentication types.
Does Accelerated Site-to-Site VPN offer two network zones for high availability?
Yes, we select AWS Global Accelerator global internet protocol addresses (IPs) from independent network zones for the two tunnel endpoints.
Is Accelerated Site-to-Site VPN an option in AWS Global Accelerator?
No, Accelerated Site-to-Site VPN can only by created through AWS Site-to-Site VPN. Accelerated Site-to-Site VPNs cannot be created through the AWS Global Accelerator console or API.
Can I use Accelerated VPN over public AWS Direct Connect virtual interfaces?
No, Accelerated Site-to-Site VPN over public Direct Connect virtual interfaces is not available. In most cases there is no acceleration benefit of Accelerated Site-to-Site VPN when used over public Direct Connect.
In which AWS Regions is Accelerated Site-to-Site VPN available?
Accelerated Site-to-Site VPN available is currently available in these AWS Regions: US West (Oregon), US West (N. California), US East (Ohio), US East (N. Virginia), South America (Sao Paulo), Middle East (Bahrain), Europe (Stockholm), Europe (Paris), Europe (Milan), Europe (London), Europe (Ireland), Europe (Frankfurt), Canada (Central), Asia Pacific (Tokyo), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Seoul), Asia Pacific (Mumbai), Asia Pacific (Hong Kong), Africa (Cape Town).
AWS Site-to-Site VPN visibility and monitoring
What logs are supported for AWS Site-to-Site VPN?
Site-to-Site VPN connection logs include details on IP Security (IPsec) tunnel establishment activity, including Internet Key Exchange (IKE) negotiations and Dead Peer Detection (DPD) protocol messages. These logs are exported periodically at 5 minute intervals and are delivered to CloudWatch logs on a best effort basis.
Are Site-to-Site VPN logs offered for VPN connections to both Transit Gateways and Virtual Gateways?
Yes, you can enable Site-to-Site VPN logs for both Transit Gateway and Virtual Gateway based VPN connections.
Can I enable the Site-to-Site VPN logs on my existing VPN connections?
Yes, you can enable the Site-to-Site VPN logs through the tunnel options when creating or modifying your connection.
What happens when I enable Site-to-Site VPN logs to my existing VPN connection?
When you enable Site-to-Site VPN logs to an existing VPN connection using the modify tunnel options, your connectivity over the tunnel is interrupted for up to several minutes. Each VPN connection offers two tunnels for high availability. You can enable logging on one tunnel at a time and only the modified tunnel will be impacted. For more information, see Site-to-Site VPN tunnel endpoint replacements in AWS Site-to-Site VPN User Guide.
AWS Client VPN setup and management
How do I setup AWS Client VPN?
The IT administrator creates a Client VPN endpoint, associates a target network to that endpoint and sets up the access policies to allow end user connectivity. The IT administrator distributes the client VPN configuration file to the end users. End users will need to download an OpenVPN client and use the client VPN configuration file to create their VPN session.
What should an end user do to setup a connection?
The end user should download an OpenVPN client to their device. Next, the user will import the AWS Client VPN configuration file to the OpenVPN client and initiate a VPN connection.
AWS Client VPN connectivity
How do I enable connectivity to other networks?
You can enable connectivity to other networks like peered Amazon VPCs, on-premises networks via virtual gateway or AWS services, such as S3, via endpoints, networks via AWS PrivateLink or other resources via internet gateway. To enable connectivity, add a route to the specific network in the Client VPN route table, and add authorization rule enabling access to the specific network.
Can the Client VPN endpoint belong to a different account from the associated subnet?
No, the subnet being associated has to be in the same account as Client VPN endpoint.
Can I access resources in a VPC within a different region different from the region in which I setup the TLS session, using a Private IP address?
You can achieve this by following the two steps: First, set up a cross-region peering connection between your destination VPC (in the different region) and the Client VPN associated VPC. Second, you should add a route and access rule for the destination VPC in the Client VPN endpoint. Your users can now access the resources in the destination VPC that is in a different region from your Client VPN endpoint.
What transport protocols are supported by Client VPN?
You can choose either TCP or UDP for the VPN session.
Does AWS Client VPN support split tunnel?
Yes. You may choose to create an endpoint with split tunnel enabled or disabled. If you've previously created an endpoint with split tunnel disabled, you may choose to modify it it to enable split tunnel. If split tunnel is enabled, traffic destined for routes configured on the endpoint will be routed via the VPN tunnel. All other traffic will be routed via your local network interface. If split tunnel is disabled, all the traffic from the device will traverse through the VPN tunnel.
AWS Client VPN authentication and authorization
What authentication mechanisms does AWS Client VPN support?
AWS Client VPN supports authentication with Active Directory using AWS Directory Services, Certificate-based authentication, and Federated Authentication using SAML-2.0.
Can I use an on-premises Active Directory service to authenticate users?
Yes. AWS Client VPN integrates with AWS Directory Service that will allow you to connect to on-premises Active Directory.
Does AWS Client VPN support mutual authentication?
Yes, AWS Client VPN supports mutual authentication. When mutual authentication is enabled, customer have to upload the root certificate used to issue the client certificate on the server.
Can I blacklist client certificates?
Yes, AWS Client VPN supports statically-configured Certificate Revocation List (CRL).
Does AWS Client VPN support the ability for a customer to bring their own certificate?
Yes. You should upload the certificate, root certification authority (CA) certificate, and the private key of the server. These are uploaded to AWS Certificate Manager.
Does AWS Client VPN integrate with AWS Certificate Manager (ACM) to generate server certificates?
Yes. You can use ACM as a subordinate CA chained to an external root CA. ACM then generates the server certificate. In this scenario, ACM also does the server certificate rotation.
Does AWS Client VPN support posture assessment?
No. AWS Client VPN does not support posture assessment. Other AWS services, such as Amazon Inspectors, support posture assessment.
Does AWS Client VPN support Multi-Factor Authentication (MFA)?
Yes, AWS Client VPN supports MFA through Active Directory using AWS Directory Services, and through external Identity Providers (Okta, for example).
How does AWS Client VPN support authorization?
You configure authorization rules that limit the users who can access a network. For a specified destination network, you can configure the Active Directory group/Identity Provider group that is allowed access. Only users that belong to this Active Directory group/Identity Provider group can access the specified network.
Does AWS Client VPN support security group?
Client VPN supports security group. You can specify security group for the group of associations. When a subnet is associated, we will automatically apply the default security group of the VPC of the subnet.
How do I use security group to restrict access to my applications for only Client VPN connections?
For your application, you can specify to allow access only from the security groups that were applied to the associated subnet. Now you limit access to only users connected via Client VPN.
In Federated Authentication, can I modify the IDP metadata document?
Yes, you can upload a new metadata document in the IAM identity provider associated with the Client VPN endpoint. Updated metadata are reflected in 2 to 4 hours.
Can I use a 3rd party OpenVPN client to connect to a Client VPN Endpoint configured with federated authentication?
No, you must use the AWS Client VPN software client to connect to the endpoint.
AWS Client VPN visibility and monitoring
What logs are supported for AWS Client VPN?
Client VPN exports the connection log as a best effort to CloudWatch logs. These logs are exported periodically at 15 minute intervals. The connection logs include details on created and terminated connection requests.
Does Client VPN support Amazon VPC Flow Logs in the endpoint?
No. You can use Amazon VPC Flow Logs in the associated VPC.
Can I monitor active connections?
Yes, using the CLI or console, you can view the current active connections for an endpoint and terminate active connections.
Can I monitor by endpoint using CloudWatch?
Yes. Using CloudWatch monitor you can see Ingress and Egress bytes and Active connections for each Client VPN Endpoint.
VPN clients
How do I deploy the free software client for AWS Client VPN?
The software client for AWS Client VPN is compatible with existing AWS Client VPN configurations. The client supports adding profiles using the OpenVPN configuration file generated by the AWS Client VPN service. Once the profile is created, the client will connect to your endpoint based on your settings.
What is the additional price to use the software client of AWS Client VPN?
The software client is provided free of charge. You will only be billed for AWS Client VPN service usage.
What type of devices and operating system versions are supported?
The desktop client currently supports 64-bit Windows 10, macOS (Mojave, Catalina, and Big Sur), and Ubuntu Linux (18.04 and 20.04) devices.
Do my connection profiles synchronize between all of my devices?
No, but IT administrators can provide configuration files for their software client deployment to pre-configure settings.
Do I need admin permission on my device to run the software client of AWS Client VPN?
Yes. You need admin access to install the app on both Windows and Mac. After that point, admin access is not required.
What VPN protocol is used by the client of AWS Client VPN?
AWS Client VPN, including the software client, supports the OpenVPN protocol.
Will all the features supported by AWS Client VPN service be supported using the software client?
Yes. The client supports all the features provided by the AWS Client VPN service.
Does the software client of AWS Client VPN allow LAN access when connected?
Yes, you can access your local area network when connected to AWS VPN Client.
What authentication capabilities does the software client support?
The AWS Client VPN software client supports all authentication mechanisms offered by the AWS Client VPN service — authentication with Active Directory using AWS Directory Services, Certificate-based authentication, and Federated Authentication using SAML-2.0.
What type of client logging will be supported by AWS Client VPN?
When a user attempts to connect, the details of the connection setup are logged. Connection attempts are saved up to 30 days with a maximum file size of 90 MB.
Can I mix the software client of AWS Client VPN and standards based OpenVPN clients connecting to AWS Client VPN endpoint?
Yes, assuming that the authentication type defined on the AWS Client VPN endpoint is supported by the standards-based OpenVPN client.
Where can I download the software client of AWS Client VPN?
You can download the generic client without any customizations from the AWS Client VPN product page. IT administrators may choose to host the download within their own system.
Can I run multiple types of VPN clients on one device?
We do not recommend running multiple VPN clients on a device. This can cause conflicts or the VPN clients can interfere with each other and cause unsuccessful connections. That said, the AWS Client VPN can be installed alongside another VPN client.
Virtual private gateway
What is this feature?
For any new virtual gateways, configurable Private Autonomous System Number (ASN) allows customers to set the ASN on the Amazon side of the BGP session for VPNs and AWS Direct Connect private VIFs.
What is the cost of using this feature?
There is no additional charge for this feature.
How can I configure/assign my ASN to be advertised as Amazon side ASN?
You can configure/assign an ASN to be advertised as the Amazon side ASN during creation of the new Virtual Private Gateway (virtual gateway). You can create a virtual gateway using the VPC console or a EC2/CreateVpnGateway API call.
What ASN did Amazon assign prior to this feature?
Amazon assigned the following ASNs: EU West (Dublin) 9059; Asia Pacific (Singapore) 17493 and Asia Pacific (Tokyo) 10124. All other regions were assigned an ASN of 7224; these ASNs are referred as “legacy public ASN” of the region.
Can I use any ASN – public and private?
You can assign any private ASN to the Amazon side. You can assign the "legacy public ASN" of the region until June 30th 2018, you cannot assign any other public ASN. After June 30th 2018, Amazon will provide an ASN of 64512.
Why can’t I assign a public ASN for the Amazon half of the BGP session?
Amazon is not validating ownership of the ASNs, therefore, we’re limiting the Amazon-side ASN to private ASNs. We want to protect customers from BGP spoofing.
What ASN can I choose?
You can choose any private ASN. Ranges for 16-bit private ASNs include 64512 to 65534. You can also provide 32-bit ASNs between 4200000000 and 4294967294.
Amazon will provide a default ASN for the virtual gateway if you don’t choose one. Until June 30th 2018, Amazon will continue to provide the “legacy public ASN” of the region. After June 30th 2018, Amazon will provide an ASN of 64512.
What will happen if I try to assign a public ASN to the Amazon half of the BGP session?
We will ask you to re-enter a private ASN once you attempt to create the virtual gateway, unless it is the "legacy public ASN" of the region.
If I don’t provide an ASN for the Amazon half of the BGP session, what ASN can I expect Amazon to assign to me?
Amazon will provide an ASN for the virtual gateway if you don’t choose one. Until June 30th 2018, Amazon will continue to provide the “legacy public ASN” of the region. After June 30th 2018, Amazon will provide an ASN of 64512.
Where can I view the Amazon side ASN?
You can view the Amazon side ASN in the virtual gateway page of VPC console and in the response of EC2/DescribeVpnGateways API.
If I have a public ASN, will it work with a private ASN on the AWS side?
Yes, you can configure the Amazon side of the BGP session with a private ASN and your side with a public ASN.
I have private VIFs already configured and want to set a different Amazon side ASN for the BGP session on an existing VIF. How can I make this change?
You will need to create a new virtual gateway with desired ASN, and create a new VIF with the newly created virtual gateway. Your device configuration also needs to change appropriately.
I have VPN connections already configured and want to modify the Amazon side ASN for the BGP session of these VPNs. How can I make this change?
You will need to create a new virtual gateway with the desired ASN, and recreate your VPN connections between your Customer Gateways and the newly created virtual gateway.
I already have a virtual gateway and a private VIF/VPN connection configured using an Amazon assigned public ASN of 7224. If Amazon automatically generates the ASN for the new private virtual gateway, what Amazon side ASN will I be assigned?
Amazon will assign 64512 to the Amazon side ASN for the new virtual gateway.
I have a virtual gateway and a private VIF/VPN connection configured using an Amazon assigned public ASN. I want to use the same Amazon assigned public ASN for the new private VIF/VPN connection I’m creating. How do I do this?
You can configure/assign an ASN to be advertised as the Amazon side ASN during creation of the new Virtual Private Gateway (virtual gateway). You can create virtual gateway using console or EC2/CreateVpnGateway API call. As noted earlier, until June 30th 2018, Amazon will continue to provide the “legacy public ASN” of the region. After June 30th 2018, Amazon will provide an ASN of 64512.
I have a virtual gateway and a private VIF/VPN connection configured using an Amazon assigned public ASN of 7224. If Amazon auto generates the ASN for the new private VIF/VPN connection using the same virtual gateway, what Amazon side ASN will I be assigned?
Amazon will assign 7224 to the Amazon side ASN for the new VIF/VPN connection. The Amazon side ASN for your new private VIF/VPN connection is inherited from your existing virtual gateway and defaults to that ASN.
I’m attaching multiple private VIFs to a single virtual gateway. Can each VIF have a separate Amazon side ASN?
No, you can assign/configure separate Amazon side ASN for each virtual gateway, not each VIF. Amazon side ASN for VIF is inherited from the Amazon side ASN of the attached virtual gateway.
I’m creating multiple VPN connections to a single virtual gateway. Can each VPN connection have a separate Amazon side ASN?
No, you can assign/configure separate Amazon side ASN for each virtual gateway, not each VPN connection. Amazon side ASN for VPN connection is inherited from the Amazon side ASN of the virtual gateway.
Where can I select my own ASN?
When creating a virtual gateway in the VPC console, uncheck the box asking if you want an auto-generated Amazon BGP ASN and provide your own private ASN for the Amazon half of the BGP session. Once virtual gateway is configured with Amazon side ASN, the private VIFs or VPN connections created using the virtual gateway will use your Amazon side ASN.
I use CloudHub today. Will I have to adjust my configurations in the future?
You will not have to make any changes.
I want to select a 32-bit ASN. What is the range of 32-bit private ASNs?
We will support 32-bit ASNs from 4200000000 to 4294967294.
Once the virtual gateway is created, can I change or modify the Amazon side ASN?
No, you cannot modify the Amazon side ASN after creation. You can delete the virtual gateway and recreate a new virtual gateway with the desired ASN.
Is there a new API to configure/assign the Amazon side ASN?
No. You can do this with the same API as before (EC2/CreateVpnGateway). We just added a new parameter (amazonSideAsn) to this API.
Is there a new API to view the Amazon side ASN?
No. You can view the Amazon side ASN with the same EC2/DescribeVpnGateways API. We just added a new parameter (amazonSideAsn) to this API.
What ASNs can I use to configure my Customer Gateway (CGW)?
ASN in the range 1 – 2147483647 with noted exceptions can be used. Please refer to the Customer Gateway options for your AWS Site-to-Site VPN connection section of the AWS VPN user guide.
I want to use 32-bit ASN for my Customer Gateway. Is 32-bit private range ASN supported?
Yes. Please note, private ASN in the range of (4200000000 to 4294967294) is NOT currently supported for Customer Gateway configuration. Please refer to the Customer Gateway options for your AWS Site-to-Site VPN connection section of the AWS VPN user guide.