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

Support proxy for maps service and other outgoing requests in air gapped environment #171899

Closed
Alphayeeeet opened this issue Nov 24, 2023 · 7 comments
Labels
enhancement New value added to drive a business result Team:Operations Team label for Operations Team

Comments

@Alphayeeeet
Copy link

It may be a workaround to use a self-hosted map-server or package registry, but in general you would use a proxy server to access internet ressources in an air gapped environment. Add support tu use a proxy like you could do in elasticsearch using java opts (noproxy-option should be available).

In air gapped environment, you do not want to give the server free access to internet using firewall. Instead you want to control which server has access to which ressources. You can achieve that, by using a proxy server. Unfortunately kibana does not supper proxy-servers yet (except epr.elastic.co, but forget that for now).

@botelastic botelastic bot added the needs-team Issues missing a team label label Nov 24, 2023
@nreese nreese added Team:Operations Team label for Operations Team Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas labels Dec 1, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-presentation (Team:Presentation)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Dec 1, 2023
@nreese nreese added enhancement New value added to drive a business result needs-team Issues missing a team label labels Dec 1, 2023
@botelastic botelastic bot removed the needs-team Issues missing a team label label Dec 1, 2023
@Alphayeeeet Alphayeeeet changed the title Support proxy for maps service and other outgoing requests in air gapepd environment Support proxy for maps service and other outgoing requests in air gapped environment Dec 8, 2023
@nreese
Copy link
Contributor

nreese commented Jan 11, 2024

@Alphayeeeet thanks for opening this issue.

In air gapped environment, you do not want to give the server free access to internet using firewall. Instead you want to control which server has access to which ressources

Could you explain in more detail which services kibana server needs access to. You mentioned map-server. Do you mean Elastic Maps Service (EMS)? Kibana server does not access EMS, instead, EMS is accessed directly from clients (web browsers). The domains required for EMS access are listed at https://www.elastic.co/guide/en/kibana/current/maps-connect-to-ems.html#_domains.

@Alphayeeeet
Copy link
Author

Alphayeeeet commented Jan 11, 2024

@nreese That makes sense. I have to confess, that I did not test it through, because it wasn't even documented, that EMS is accessed through browser. In the following doc, it says, that hosting EMS locally is required, which I think is not a good solution, if using a proxy would be quite easy if possible. https://www.elastic.co/guide/en/elastic-stack/current/air-gapped-install.html#air-gapped-kibana

It should be clearly documented that EMS is accessed via browser and not from Kibana server itself.

@nreese
Copy link
Contributor

nreese commented Jan 11, 2024

Thanks for mentioning https://www.elastic.co/guide/en/elastic-stack/current/air-gapped-install.html#air-gapped-kibana docs. Yes, these need to be updated with another option of opening firewall to access publish EMS. I have opened #174716 to track the documenation issue.

I am going to remove Team:presentation from the issue since the other teams are responsible for other services.

@nreese nreese removed the Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas label Jan 11, 2024
@Alphayeeeet
Copy link
Author

@nreese Is the documentation issue resolved? If so, I think this issue could be closed.

@jsanz
Copy link
Member

jsanz commented Apr 24, 2024

@Alphayeeeet documentation was updated and hopefully provides the details needed to access EMS resources. Please reopen or create a new issue if we can improve anything.

Thanks!

@jsanz jsanz closed this as completed Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Team:Operations Team label for Operations Team
Projects
None yet
Development

No branches or pull requests

4 participants