Skip to content

Remove EICE dead code#51107

Merged
marcoandredinis merged 2 commits intomasterfrom
marco/prevent_neweice_configs
Jan 16, 2025
Merged

Remove EICE dead code#51107
marcoandredinis merged 2 commits intomasterfrom
marco/prevent_neweice_configs

Conversation

@marcoandredinis
Copy link
Copy Markdown
Contributor

@marcoandredinis marcoandredinis commented Jan 16, 2025

Accessing EC2 instances using EC2 Instance Connect Endpoint was developed some releases ago:
However, due to strict quotas put in place by amazon, we decide to remove this feature.

Since v15.4.0 we hide this feature from the UI. This PR removes dead code:

  • removes the UI bits used during the Discovery flow
  • removes the teleport integrationn configure eice-iam command
  • removes API endpoinst that are no longer used
  • deprecates the unused gRPC calls

The following parts were kept, to ensure we don't break existing set ups:

  • auto discovery of ec2 instances using the EICE method
  • accessing Servers which have the ec2-ice subkind
  • kubernetes operator and terraform provider EICE resource management

We might remove those in the future, but for now, they will be kept.

@marcoandredinis marcoandredinis added the no-changelog Indicates that a PR does not require a changelog entry label Jan 16, 2025
/>
</EditorWrapper>
);
// TODO(marco): should we remove `ec2` from the AwsResourceKind?
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Can someone please help me here?

@marcoandredinis marcoandredinis marked this pull request as draft January 16, 2025 11:40
@marcoandredinis marcoandredinis force-pushed the marco/prevent_neweice_configs branch from 0f87eb7 to 8f703e3 Compare January 16, 2025 11:55
@marcoandredinis marcoandredinis marked this pull request as ready for review January 16, 2025 12:09
@github-actions github-actions bot requested a review from ryanclark January 16, 2025 12:09
@ryanclark
Copy link
Copy Markdown
Member

Since a couple of releases ago

Can you just clarify what releases in the PR body just in case anyone needs to know in the future?

@marcoandredinis
Copy link
Copy Markdown
Contributor Author

Can you just clarify what releases in the PR body just in case anyone needs to know in the future?

Edited the PR description to include the PR that removed the screen.
Thank you


// ListEICE returns a paginated list of EC2 Instance Connect Endpoints.
//
// Deprecated: Marked as deprecated in teleport/integration/v1/awsoidc_service.proto.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Add Delete schedule for these deprecated methods?
We usually add DELETE IN vX comment.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'll schedule them to be deleted in v19

@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from ravicious January 16, 2025 17:59
Accessing EC2 instances using EC2 Instance Connect Endpoint was
developed some releases ago.
However, due to strict quotas put in place by amazon, we decide to
remove this feature.

Since a couple of releases ago we hide this feature from the UI.
This PR removes dead code:
- removes the UI bits used during the Discovery flow
- removes the `teleport integrationn configure eice-iam` command
- removes API endpoinst that are no longer used
- deprecates the unused gRPC calls

The following parts were kept, to ensure we don't break existing set
ups:
- auto discovery of ec2 instances using the EICE method
- accessing Servers which have the ec2-ice subkind
- kubernetes operator and terraform provider EICE resource management

We might remove those in the future, but for now, they will be kept.
@marcoandredinis marcoandredinis force-pushed the marco/prevent_neweice_configs branch from 8f703e3 to 3d5d8a3 Compare January 16, 2025 18:18
@marcoandredinis marcoandredinis added this pull request to the merge queue Jan 16, 2025
Merged via the queue into master with commit 8f99076 Jan 16, 2025
@marcoandredinis marcoandredinis deleted the marco/prevent_neweice_configs branch January 16, 2025 19:09
mvbrock pushed a commit that referenced this pull request Jan 18, 2025
* Remove EICE dead code

Accessing EC2 instances using EC2 Instance Connect Endpoint was
developed some releases ago.
However, due to strict quotas put in place by amazon, we decide to
remove this feature.

Since a couple of releases ago we hide this feature from the UI.
This PR removes dead code:
- removes the UI bits used during the Discovery flow
- removes the `teleport integrationn configure eice-iam` command
- removes API endpoinst that are no longer used
- deprecates the unused gRPC calls

The following parts were kept, to ensure we don't break existing set
ups:
- auto discovery of ec2 instances using the EICE method
- accessing Servers which have the ec2-ice subkind
- kubernetes operator and terraform provider EICE resource management

We might remove those in the future, but for now, they will be kept.

* add delete version notice
carloscastrojumo pushed a commit to carloscastrojumo/teleport that referenced this pull request Feb 19, 2025
* Remove EICE dead code

Accessing EC2 instances using EC2 Instance Connect Endpoint was
developed some releases ago.
However, due to strict quotas put in place by amazon, we decide to
remove this feature.

Since a couple of releases ago we hide this feature from the UI.
This PR removes dead code:
- removes the UI bits used during the Discovery flow
- removes the `teleport integrationn configure eice-iam` command
- removes API endpoinst that are no longer used
- deprecates the unused gRPC calls

The following parts were kept, to ensure we don't break existing set
ups:
- auto discovery of ec2 instances using the EICE method
- accessing Servers which have the ec2-ice subkind
- kubernetes operator and terraform provider EICE resource management

We might remove those in the future, but for now, they will be kept.

* add delete version notice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog Indicates that a PR does not require a changelog entry size/sm ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants