By using AWS re:Post, you agree to the Terms of Use

Direct Connect Public VIF


Trying to use Direct Connect to copy files from on prem to an S3 bucket using direct connect. Looks like this is possible.

Have a direct connect connection from a provider

Think the next step is set up a public VIF.

I'm not sure what I need to specify in 'your router peer ip' and 'amazon router peer ip' Where do these details come from? It says they need to be public IP addresses.

asked 7 months ago216 views
3 Answers

When you create a Public VIF the IP addresses on the link between you and AWS need to be public IP addresses. You will need two - one for your router and one for the AWS router. Customers can provide IP addresses from their public IP address allocation (if they own public IP addresses); for customers that do not you can request a /31 (two IP addresses) from AWS using a support case.

profile picture
answered 7 months ago

Per the documentation:

  • ** Your router peer ip**, enter the destination IPv4 CIDR address to which Amazon should send traffic.
  • For Amazon router peer IP, enter the IPv4 CIDR address to use to send traffic to AWS.

More details can be found here:

answered 7 months ago

For AWS Direct connect Public VIF, you need to specify the a /30 or /31 subnet which will be used for establishing BGP peering between your customer gateway device and AWS Direct Connect router. These IPs are used as BGP peers as you are seeing option in the creation of the Public VIF. In addition you also have to provide the Public IP address prefixes (which will act as the source of traffic to S3 from your on-premises) that you want to advertise over the peering. The Public IP addresses either need to be owned by you or should have been provided to you by your ISP, which in case needs a letter of authorization to use them.

As an alternate to Public VIF, if you already have a Private VIF configured over your Direct connect, then you can use AWS Private link for S3 and access it over Direct Connect Private VIF or VPN connection.

answered 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions