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

Add VPCEndpoints on created VPC #1150

Merged
merged 11 commits into from
Nov 20, 2024
Merged

Conversation

peternied
Copy link
Member

@peternied peternied commented Nov 19, 2024

Description

Add VPCEndpoints for the created VPC flow

Issues Resolved

Testing

Deployed to AWS account and logged onto bootstrap box

Check List

  • New functionality includes testing
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

vpc: vpc,
});

const serviceEndpoints = [
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only added endpoints with substantive amount of traffic. We had many more in the MA network-stack, but these are really the only ones that would see a price difference. Its a 1/3 the cost to use the VPCe compared to the NAT Gateway.

Copy link

codecov bot commented Nov 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.72%. Comparing base (51b2014) to head (eb26fc5).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1150   +/-   ##
=========================================
  Coverage     80.72%   80.72%           
  Complexity     2953     2953           
=========================================
  Files           399      399           
  Lines         15106    15106           
  Branches       1021     1021           
=========================================
  Hits          12195    12195           
  Misses         2297     2297           
  Partials        614      614           
Flag Coverage Δ
unittests 80.72% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

Copy link
Member

@AndreKurait AndreKurait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, i'd like to also get someone else to weigh in on the security implication of only adding a subset of the VPCe's of aws services we call

@peternied peternied changed the title Add VPCEndpoints and DualStack on created VPC Add VPCEndpoints on created VPC Nov 19, 2024
With the current latest AL2023 image al2023-ami-2023.6.20241111.0-kernel-6.1-x86_64
 npm install hangs indefinately.  We are switching back to an older
version that works and providing a way to incrementially update to AMIs
that we have tested.

Signed-off-by: Peter Nied <[email protected]>
Signed-off-by: Peter Nied <[email protected]>
This reverts commit c9f9cbb.

Signed-off-by: Peter Nied <[email protected]>
@peternied
Copy link
Member Author

Just deployed and verified the latest version including the AMI locking changes.

@peternied peternied merged commit 41e0b5d into opensearch-project:main Nov 20, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants