Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use S3 VPC Gateway Endpoint #5865

Closed
1 task
Tracked by #818 ...
matusdrobuliak66 opened this issue May 23, 2024 · 6 comments
Closed
1 task
Tracked by #818 ...

Use S3 VPC Gateway Endpoint #5865

matusdrobuliak66 opened this issue May 23, 2024 · 6 comments
Assignees
Labels
t:enhancement Improvement or request on an existing feature

Comments

@matusdrobuliak66
Copy link
Contributor

matusdrobuliak66 commented May 23, 2024

Concept

Currently, we talk to S3 via the internet. We should use the S3 Endpoint which will talk directly within AWS network and without costs if it is in the same region & load balancing cost should decrease

Tasks

Preview Give feedback
@mrnicegyu11
Copy link
Member

On 27. Sept. 2024: Enabled AWS VPC S3 Gateway Endpoint for osparc-master-zmt.click via the AWS console (no terraform) in us-east-1

@pcrespov
Copy link
Member

@YuryHrytsuk @mrnicegyu11 Could you please include here (or a link to it) some evidence (e.g., plots or metrics) that quantifies the extent of the improvement? This can be used for the review meeting. thx

@mrnicegyu11
Copy link
Member

DirtyS3APIBenchmark-Copy1.zip
We have done cost and usage tests using the S3 VPC Gateway Endpoint cloud infrastructure, as also proposed by AWS Solution Architects in our in-person meeting. This comment is only concerned with evaluating whether the usage of the S3 Endpoint will lead to increased pulling/pushing speeds.

To test this, we have enabled the S3 VPC Gateway Endpoint on aws-master, and test for potential speedups w.r.t. osparc-staging.io, that does not have the S3 Endpoint activated. The test is done using the osparc public python API client to download and upload files via osparc. The testcode is executed inside a jupyter-math on the respective osparc platforms.

The jupyter notebook code executed is attached to this comment.

In our tests we see no speedup of aws-master w.r.t. osparc-staging.io.

time to upload&download a 256MB file, 10 attempts, time in seconds - osparc-staging.io:
Image

time to upload&download a 256MB file, 10 attempts, time in seconds - aws-master:
Image

@mguidon FYI

@mguidon
Copy link
Member

mguidon commented Oct 28, 2024

Also, @mrnicegyu11 On what ec2 instance type have you been running those tests?

@mguidon
Copy link
Member

mguidon commented Nov 26, 2024

@mrnicegyu11 Can this be closed?

@mrnicegyu11
Copy link
Member

Yes this can be considered done, thx

@mrnicegyu11 mrnicegyu11 changed the title Use S3 Endpoint Use S3 VPC Gateway Endpoint Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t:enhancement Improvement or request on an existing feature
Projects
None yet
Development

No branches or pull requests

6 participants