access S3 through public vif

0

Dear Team - i have setup public VIF on London region. I am restricting aws ip range advertisement through aws community so only London region s3 Bucket is accessible. However, i am still able to access Virgina location S3 bucket from on-prem test machine running behind the router in UK. How do i make sure that when i access london S3 bucket, it is using public VIF and Virgina region s3 bucket not using Public VIF ?

JD
질문됨 3달 전228회 조회
1개 답변
1
수락된 답변

Hello.

Please use the traceroute command to check the route to the S3 endpoint.
https://repost.aws/knowledge-center/direct-connect-connectivity-issues

3. Perform a traceroute from on-premises to AWS to check if the traffic is being forwarded over the Direct Connect public VIF.

  • If traffic is being forwarded over the public VIF, then the traceroute should have the local (on-premises) and remote(AWS) peer IPs associated.
  • If you need to check the network path used within AWS, then launch a public Amazon Elastic Compute Cloud (Amazon EC2) instance. The instance must have the same Region as your AWS service. After launching the instance, perform a traceroute to on-premises. If the traceroute indicates traffic is being forwarded over the internet or through a different VIF, then there could be a specific route being advertised.
profile picture
전문가
답변함 3달 전
profile picture
전문가
검토됨 2달 전
  • i did use traceroute. it is completed for London S3 but not completed for us-east S3. However, upload completes for both the buckets. both uses amazon side public VIF in first hop

  • I'm not sure what settings you have on your on-premises router etc., but is it possible that S3 in the Virginia region is also configured to connect via DirectConnect?

  • i am using sample config provided on aws public vif page for cisco router.... ip bgp-community new-format ip community-list standard FROM-AWS permit 7224:8100 route-map FROM-AWS permit 100 match community FROM-AWS router bgp XXXXX address-family ipv4 neighbor X.X.X.X route-map FROM-AWS in

  • Can you check the routing table with something like "show ip route"? Check the route in BGP in the routing table. It may be possible that your BGP route includes a Virginia region prefix.

  • it does include Virginia region S3 prefix. dont know why. because as per above config, it should only advertized london region. However Tracer route does not complete for virginia region S3 prefix but upload is getting successful through aws s3 cp command

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인