Skip to content

How can i enable https for my s3 interface endpoint

0

Hi All, so recently i faced one challange, while transferring my On prem data to AWS s3 bucket using and endpoint url, basically we have some files on-prem and we want to transfer it to s3 bucket but a point to note here is both on prem device and aws vpc are of part of same network. so we've created s3 interface endpoint and trying to transfer files from on prem using aws cli CP command and --endpoint-url, so generally we want it to be on https, but when we are trying to put endpoint with https it is not connecting.. my assumptions are like on prem and aws vpc are in same network so no VPN or site to site conection configuration is required. please let me know if you have something for this issut to resolve

3 Answers
0

When you say (and I paraphrase) "HTTP access" I think you mean that you're expecting the endpoint to behave like a web server (as it does for the public S3 endpoint). The PrivateLink endpoint doesn't support accessing S3 in that way. It is only an S3 API endpoint.

You could use a S3 Gateway endpoint; but in doing so it would not work with access from your on premises network as access to Gateway endpoints are only available from within the VPC in which it is created. You could put a proxy server in the VPC to enable access from remote networks but that introduces cost and complexity which may be undesirable.

AWS
EXPERT
answered 3 years ago
EXPERT
reviewed 3 years ago
0

Hi. What does 'both on prem device and aws vpc are of part of same network' mean ? If you mean both network has just part of same network address, it will not work. To transfer object via S3 Interface/Gateway endpoint from onprem, site to site connection between vpc and on-prem is needed.

See the link as follows

https://aws.amazon.com/jp/blogs/networking-and-content-delivery/secure-hybrid-access-to-amazon-s3-using-aws-privatelink/

EXPERT
answered 3 years ago
0

Hi, have you looked at implementing a File Gateway. Have a look at the following documentation: https://aws.amazon.com/storagegateway/file/ https://docs.aws.amazon.com/filegateway/latest/files3/what-is-file-s3.html

AWS
answered 3 years 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.