简体   繁体   English

你如何使用 com.amazonaws.s3-global.accesspoint

[英]How do you use a com.amazonaws.s3-global.accesspoint

I've been trying to figure out how to get a Interface based Endpoint for com.amazonaws.s3-global.accesspoint to work.我一直在努力弄清楚如何让com.amazonaws.s3-global.accesspoint的基于接口的端点正常工作。 I was able to successfully connect to my VPC dns seems to resolve to a private ip but I can't figure out how to actually use the interface access point.我能够成功连接到我的 VPC dns 似乎解析为私有 ip 但我不知道如何实际使用接口访问点。

For example, I have a bucket in eu-north-1 and a VPC in ca-central-1 with the interface endpoint configured.例如,我在 eu-north-1 中有一个存储桶,在 ca-central-1 中有一个 VPC,并配置了接口端点。 If I download a file from S3 within the VPC is transits over the inte.net using the NAT Gateway, however if I'm reading the pricing document it's cheaper to use privateLink to transfer between services, and the Global S3 endpoint feels like exactly what I'm looking for.如果我从 VPC 内的 S3 下载文件是使用 NAT 网关通过 inte.net 传输的,但是如果我正在阅读定价文档,则使用 privateLink 在服务之间传输会更便宜,而且 Global S3 端点感觉就像我在找。

admin@ip-10-101-0-126:~$ dig bucket.vpce-{ID}.accesspoint.s3-global.ca-central-1.vpce.amazonaws.com

{SNIP}

;; QUESTION SECTION:
;bucket.vpce-{ID}.accesspoint.s3-global.ca-central-1.vpce.amazonaws.com. IN A

;; ANSWER SECTION:
bucket.vpce-{ID}.accesspoint.s3-global.ca-central-1.vpce.amazonaws.com. 60 IN A 10.101.1.98
bucket.vpce-{ID}.accesspoint.s3-global.ca-central-1.vpce.amazonaws.com. 60 IN A 10.101.0.96

;; Query time: 1 msec
;; SERVER: 10.101.0.2#53(10.101.0.2)
;; WHEN: Tue Dec 14 08:00:45 EST 2021
;; MSG SIZE  rcvd: 153

However when I try and use the endpoint the connection hangs.但是,当我尝试使用端点时,连接挂起。

admin@ip-10-101-0-126:~$ aws s3 --region ca-central-1 --endpoint-url https://bucket.vpce-{ID}.accesspoint.s3-global.ca-central-1.vpce.amazonaws.com ls

As far as I can tell the endpoint and bucket are wide open for my account, but I just can't seem to get it to work.据我所知,端点和存储桶对我的帐户开放,但我似乎无法让它工作。

I have been using this document among others to try and get it to work.我一直在使用这份文件和其他文件来尝试让它发挥作用。

Please consider using interface VPC endpoint.请考虑使用接口 VPC 端点。 It looks like you have configured Multi-Region Access Points and because of which it is not working.看起来您已经配置了多区域访问点,因此它无法正常工作。 Interface endpoints for Amazon S3: https://docs.aws.amazon.com/AmazonS3/latest/userguide/privatelink-interface-endpoints.html#accessing-bucket-and-aps-from-interface-endpoints Amazon S3 的接口端点: https://docs.aws.amazon.com/AmazonS3/latest/userguide/privatelink-interface-endpoints.html#accessing-bucket-and-aps-from-interface-endpoints

Multi-Region Access Points in Amazon S3: Amazon S3 中的多区域访问点:

https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiRegionAccessPoints.html https://docs.aws.amazon.com/AmazonS3/latest/userguide/MultiRegionAccessPoints.html

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 com.amazonaws.services.s3.model.AmazonS3Exception:您提供的 XML 格式不正确或未根据我们发布的架构进行验证 - com.amazonaws.services.s3.model.AmazonS3Exception: The XML you provided was not well-formed or did not validate against our published schema 如何在 PUT 请求后从 s3.amazonaws.com 获取图像 url? - How to get image url from s3.amazonaws.com after PUT-request? ValueError:无效端点:https://s3..amazonaws.com - ValueError: Invalid endpoint: https://s3..amazonaws.com com.amazonaws.services.dynamodbv2.model.AmazonDynamoDBException:无法从回填全局二级索引中读取 - com.amazonaws.services.dynamodbv2.model.AmazonDynamoDBException: Cannot read from backfilling global secondary index AWS Lambda Java 到 S3 - com.amazonaws.services.s3.AmazonS3ClientBuilder 上的 java.lang.ClassNotFoundException - AWS Lambda Java to S3 - java.lang.ClassNotFoundException on com.amazonaws.services.s3.AmazonS3ClientBuilder AWS S3 - java.net.UnknownHostException: repo-user-bucket.s3.us-west-2.amazonaws.com - AWS S3 - java.net.UnknownHostException: repo-user-bucket.s3.us-west-2.amazonaws.com 使用 Amazon S3 配置 Pyspark 给出 java.lang.ClassNotFoundException: com.amazonaws.auth.AWSCredentialsProvider - Configuring Pyspark with Amazon S3 giving java.lang.ClassNotFoundException: com.amazonaws.auth.AWSCredentialsProvider 默认 s3.amazonaws.com 位于 us-east-1 以外的区域 - Have default s3.amazonaws.com to be on other region than us-east-1 上传文件到 S3 服务 403 错误(com.amazonaws.AWSS3TransferUtilityErrorDomain 错误 2.)Swift iOS - Upload file to S3 service 403 ERROR (com.amazonaws.AWSS3TransferUtilityErrorDomain error 2.) Swift iOS Pyspark S3 错误:java.lang.NoClassDefFoundError:com/amazonaws/services/s3/model/MultiObjectDeleteException - Pyspark S3 error: java.lang.NoClassDefFoundError: com/amazonaws/services/s3/model/MultiObjectDeleteException
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM