-
Notifications
You must be signed in to change notification settings - Fork 159
[D&M] WIP cluster comms #765
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
Merged
Merged
Changes from 4 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
bdd3aa6
[D&M] WIP cluster comms first pass
leemthompo baffa83
Merge branch 'main' into leemthompo/dm-security-cluster-comms
leemthompo 0308c69
Cleanup
leemthompo f0ffbf0
fix links
leemthompo aee62c9
Apply suggestions from code review
leemthompo 775e9d2
Clean up
leemthompo a6658e6
Merge branch 'main' into leemthompo/dm-security-cluster-comms
leemthompo ef0dfdb
move image, restore note
leemthompo 494da67
temporary redirect to remove anchors from offending remote link
eedugon 4dd58fb
fixing internal links and added temp anchors back
eedugon 2555ed0
fixed conflicts after hard work
eedugon dbf731e
final fixes in toc and links
eedugon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
62 changes: 0 additions & 62 deletions
62
deploy-manage/deploy/cloud-on-k8s/k8s-kibana-http-configuration.md
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,84 @@ | ||
--- | ||
applies_to: | ||
deployment: | ||
self: | ||
eck: | ||
ece: | ||
mapped_urls: | ||
- https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-security.html | ||
- https://www.elastic.co/guide/en/elasticsearch/reference/current/security-basic-setup.html | ||
- https://www.elastic.co/guide/en/kibana/current/elasticsearch-mutual-tls.html | ||
--- | ||
|
||
|
||
% TODO: what to do about this page that doesn't exist | ||
% * [/raw-migrated-files/cloud-on-k8s/cloud-on-k8s/k8s-security.md](/raw-migrated-files/cloud-on-k8s/cloud-on-k8s/k8s-security.md) | ||
|
||
|
||
# Secure cluster communications | ||
|
||
% What needs to be done: Refine | ||
This page explains how to secure communications between components in your {{stack}} deployment. | ||
|
||
% GitHub issue: https://github.com/elastic/docs-projects/issues/346 | ||
For {{ech}} and {{serverless-full}} deployments, communications security is fully managed by Elastic with no configuration required. | ||
|
||
% Use migrated content from existing pages that map to this page: | ||
For ECE, ECK, and self-managed deployments, this page provides specific configuration guidance to secure the various communication channels between components. | ||
|
||
% - [ ] ./raw-migrated-files/cloud-on-k8s/cloud-on-k8s/k8s-security.md | ||
% - [ ] ./raw-migrated-files/elasticsearch/elasticsearch-reference/security-basic-setup.md | ||
% Notes: concepts | ||
% - [ ] ./raw-migrated-files/kibana/kibana/elasticsearch-mutual-tls.md | ||
:::{tip} | ||
For a complete comparison of security feature availability and responsibility by deployment type, see [Security features by deployment type](../security.md#security-features-by-deployment-type). | ||
::: | ||
|
||
% Internal links rely on the following IDs being on this page (e.g. as a heading ID, paragraph ID, etc): | ||
## Communication channels overview | ||
|
||
$$$generate-certificates$$$ | ||
Your {{stack}} deployment includes several distinct communication channels that must be secured to protect your data and infrastructure. | ||
|
||
$$$encrypt-internode-communication$$$ | ||
| **Channel** | **Description** | **Security needs** | | ||
|-------------|-----------------|--------------------| | ||
| [Transport layer](#transport-layer-security) | Communication between {{es}} nodes within a cluster | - Mutual TLS (required)<br>- Node authentication<br>- Node role verification | | ||
| [HTTP layer](#http-layer-security) | Communication between external clients and {{es}} through the REST API | - TLS encryption<br>- Authentication (basic auth, API keys, or token-based)<br>- Optional client certificate authentication | | ||
| [{{kib}}-to-{{es}}](#kib-to-es-communications) | Communication from the {{kib}} server to {{es}} for user requests and queries | - TLS encryption<br>- Service authentication (API keys, service tokens, or mutual TLS) | | ||
|
||
**This page is a work in progress.** The documentation team is working to combine content pulled from the following pages: | ||
|
||
% Doesn't exist | ||
% * [/raw-migrated-files/cloud-on-k8s/cloud-on-k8s/k8s-security.md](/raw-migrated-files/cloud-on-k8s/cloud-on-k8s/k8s-security.md) | ||
## Transport layer security | ||
|
||
The transport layer is used for communication between {{es}} nodes in a cluster. Securing this layer prevents unauthorized nodes from joining your cluster and protects internode data. | ||
|
||
**Deployment type notes:** | ||
- **Elastic Cloud & Serverless**: Transport security is fully managed by Elastic. No configuration is required. | ||
- **ECE/ECK**: Transport security is automatically configured by the operator. No direct user configuration is required. | ||
- **Self-managed**: Transport security must be manually configured following the steps in [Set up basic security](set-up-basic-security.md). | ||
|
||
## HTTP layer security | ||
|
||
The HTTP layer secures client communication with your {{es}} cluster via its REST API, preventing unauthorized access and protecting data in transit. | ||
|
||
**Deployment type notes:** | ||
- **Elastic Cloud & Serverless**: HTTP security is fully managed by Elastic. No configuration is required. | ||
- **ECE/ECK**: HTTP security is automatically configured with self-signed certificates. Custom certificates can be configured. | ||
- **Self-managed**: HTTP security must be manually configured following [Secure HTTP communications](secure-http-communications.md). | ||
leemthompo marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
## {{kib}}-to-{{es}} communications | ||
|
||
{{kib}} connects to {{es}} as a client but requires special configuration as it performs operations on behalf of end users. | ||
|
||
**Deployment type notes:** | ||
- **Elastic Cloud & Serverless**: {{kib}}-{{es}} communication is fully managed using HTTPS and service tokens. | ||
- **ECE/ECK**: {{kib}}-{{es}} communication is automatically secured with service tokens. | ||
- **Self-managed**: {{kib}}-{{es}} communication must be manually secured. For mutual TLS configuration, see [Mutual TLS authentication between {{kib}} and {{es}}](secure-http-communications.md#elasticsearch-mutual-tls). | ||
|
||
## Certificate management [generate-certificates] | ||
|
||
Managing certificates is critical for secure communications. Certificates have limited lifetimes and must be renewed before expiry to prevent service disruptions. | ||
|
||
**Deployment type notes:** | ||
- **Elastic Cloud & Serverless**: Certificate management is fully automated by Elastic. | ||
- **ECE**: ECE generates certificates for you. Refer to [](/deploy-manage/security/secure-your-elastic-cloud-enterprise-installation/manage-security-certificates.md). | ||
|
||
ECK**: Certificate generation and basic rotation is handled by the operator. Custom HTTP certificates require manual management. | ||
leemthompo marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
- **Self-managed**: Certificate management is your responsibility. See [Security certificates and keys](security-certificates-keys.md). | ||
|
||
## Next steps | ||
|
||
* [/raw-migrated-files/elasticsearch/elasticsearch-reference/security-basic-setup.md](/raw-migrated-files/elasticsearch/elasticsearch-reference/security-basic-setup.md) | ||
* [/raw-migrated-files/kibana/kibana/elasticsearch-mutual-tls.md](/raw-migrated-files/kibana/kibana/elasticsearch-mutual-tls.md) | ||
- Configure [basic security and HTTPS](set-up-basic-security-plus-https.md) for self-managed deployments. | ||
- Learn about [HTTP communication security](secure-http-communications.md) best practices. | ||
- Understand how to securely manage [security certificates and keys](security-certificates-keys.md). | ||
- Check [SSL/TLS version compatibility](supported-ssltls-versions-by-jdk-version.md) for optimal encryption. |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.