From 40e58dfb2d8428b2c1434746c9fea1875a3c29e3 Mon Sep 17 00:00:00 2001 From: Jack Pearkes Date: Mon, 8 Jul 2019 07:12:42 -0700 Subject: [PATCH] website: changes for 1.6.0 beta (#6083) * website: link to 1.6.0 beta in downloads page * website: reorganize intention replication/ca federation * website: remove announcement bar * Update website/source/docs/connect/connect-internals.html.md Co-Authored-By: Paul Banks * website: update homepage and service mesh page Aligning messaging to current product. * website: fix link TODOs * Add Mesh Gateway to mesh page, update use case wording --- .../mesh-gateway/gateway_1200.png | 3 + .../mesh-observability/metrics_1200.png | 3 + .../mesh-observability/metrics_300.png | 3 + .../mesh-observability/metrics_976.png | 3 + website/source/docs/agent/options.html.md | 6 +- .../docs/connect/connect-internals.html.md | 50 +++++++-- .../proxies/managed-deprecated.html.md | 6 - .../connect-multi-datacenter/index.html.md | 53 --------- website/source/downloads.html.erb | 7 ++ website/source/index.html.erb | 40 +++---- website/source/layouts/docs.erb | 5 +- website/source/layouts/layout.erb | 2 +- .../{segmentation.html.erb => mesh.html.erb} | 106 +++++++++++++----- website/source/redirects.txt | 2 + 14 files changed, 163 insertions(+), 126 deletions(-) create mode 100644 website/source/assets/images/consul-connect/mesh-gateway/gateway_1200.png create mode 100644 website/source/assets/images/consul-connect/mesh-observability/metrics_1200.png create mode 100644 website/source/assets/images/consul-connect/mesh-observability/metrics_300.png create mode 100644 website/source/assets/images/consul-connect/mesh-observability/metrics_976.png delete mode 100644 website/source/docs/enterprise/connect-multi-datacenter/index.html.md rename website/source/{segmentation.html.erb => mesh.html.erb} (62%) diff --git a/website/source/assets/images/consul-connect/mesh-gateway/gateway_1200.png b/website/source/assets/images/consul-connect/mesh-gateway/gateway_1200.png new file mode 100644 index 000000000..1927e5c3d --- /dev/null +++ b/website/source/assets/images/consul-connect/mesh-gateway/gateway_1200.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c8eeeaf847a803871562f398680b6bbabb230d04c7f7d9c289392794a13a4a73 +size 178190 diff --git a/website/source/assets/images/consul-connect/mesh-observability/metrics_1200.png b/website/source/assets/images/consul-connect/mesh-observability/metrics_1200.png new file mode 100644 index 000000000..b58675099 --- /dev/null +++ b/website/source/assets/images/consul-connect/mesh-observability/metrics_1200.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:78a10cc62428d58c7e3a3b93fc6e8383bb1b9ff125da76904687d167c1404bb5 +size 192788 diff --git a/website/source/assets/images/consul-connect/mesh-observability/metrics_300.png b/website/source/assets/images/consul-connect/mesh-observability/metrics_300.png new file mode 100644 index 000000000..79c94d9ca --- /dev/null +++ b/website/source/assets/images/consul-connect/mesh-observability/metrics_300.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d24936e6c0fe291e39049a41731bafb9a924d52c871daa016e1a344d7158eb4b +size 57988 diff --git a/website/source/assets/images/consul-connect/mesh-observability/metrics_976.png b/website/source/assets/images/consul-connect/mesh-observability/metrics_976.png new file mode 100644 index 000000000..ceda58a3e --- /dev/null +++ b/website/source/assets/images/consul-connect/mesh-observability/metrics_976.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:098e3dcf72582926fdcf76a53a9fdc04d9301ef9917ef1a28f1bef87836790ca +size 259988 diff --git a/website/source/docs/agent/options.html.md b/website/source/docs/agent/options.html.md index db5c306f6..bf4235bd0 100644 --- a/website/source/docs/agent/options.html.md +++ b/website/source/docs/agent/options.html.md @@ -468,7 +468,7 @@ will exit with an error at startup. the Web UI resources for Consul. This will automatically enable the Web UI. The directory must be readable to the agent. Starting with Consul version 0.7.0 and later, the Web UI assets are included in the binary so this flag is no longer necessary; specifying only the `-ui` flag is enough to enable the Web UI. Specifying both the '-ui' and '-ui-dir' flags will result in an error. -* `-ui-content-path` - This flag provides the option to change the path the Consul UI loads from and will be displayed in the browser. By default, the path is `/ui/`, for example `http://localhost:8500/ui/`. Only alphanumerics, `-`, and `_` are allowed in a custom path. `/v1/` is not allowed as it would overwrite the API endpoint. +* `-ui-content-path` - This flag provides the option to change the path the Consul UI loads from and will be displayed in the browser. By default, the path is `/ui/`, for example `http://localhost:8500/ui/`. Only alphanumerics, `-`, and `_` are allowed in a custom path. `/v1/` is not allowed as it would overwrite the API endpoint. ## Configuration Files @@ -638,7 +638,7 @@ default will automatically work with some tooling. ACLs are enabled. This token may be provided later using the [agent token API](/api/agent.html#update-acl-tokens) on each server. This token must have at least "read" permissions on ACL data but if ACL token replication is enabled then it must have "write" permissions. This also enables - Connect replication in Consul Enterprise, for which the token will require both operator + Connect replication, for which the token will require both operator "write" and intention "read" permissions for replicating CA and Intention data. * `acl_datacenter` - **This field is @@ -811,7 +811,7 @@ default will automatically work with some tooling. * `allow_tls` (Defaults to `false`) This option enables `auto_encrypt` on the servers and allows them to automatically distribute certificates from the Connect CA to the clients. If enabled, the server can accept incoming connections from both the built-in CA and the Connect CA, as well as their certificates. Note, the server will only present the built-in CA and certificate, which the client can verify using the CA it received from `auto_encrypt` endpoint. If disabled, a client configured with `auto_encrypt.tls` will be unable to start. - * `tls` (Defaults to `false`) Allows the client to request the Connect CA and certificates from the servers, for encrypting RPC communication. The client will make the request to any servers listed in the `-join` or `-retry-join` option. This requires that every server to have `auto_encrypt.allow_tls` enabled. When both `auto_encrypt` options are used, it allows clients to receive certificates that are generated on the servers. If the `-server-port` is not the default one, it has to be provided to the client as well. Usually this is discovered through LAN gossip, but `auto_encrypt` provision happens before the information can be distributed through gossip. The most secure `auto_encrypt` setup is when the client is provided with the built-in CA, `verify_server_hostname` is turned on, and when an ACL token with `node.write` permissions is setup. It is also possible to use `auto_encrypt` with a CA and ACL, but without `verify_server_hostname`, or only with a ACL enabled, or only with CA and `verify_server_hostname`, or only with a CA, or finally without a CA and without ACL enabled. In any case, the communication to the `auto_encrypt` endpoint is always TLS encrypted. + * `tls` (Defaults to `false`) Allows the client to request the Connect CA and certificates from the servers, for encrypting RPC communication. The client will make the request to any servers listed in the `-join` or `-retry-join` option. This requires that every server to have `auto_encrypt.allow_tls` enabled. When both `auto_encrypt` options are used, it allows clients to receive certificates that are generated on the servers. If the `-server-port` is not the default one, it has to be provided to the client as well. Usually this is discovered through LAN gossip, but `auto_encrypt` provision happens before the information can be distributed through gossip. The most secure `auto_encrypt` setup is when the client is provided with the built-in CA, `verify_server_hostname` is turned on, and when an ACL token with `node.write` permissions is setup. It is also possible to use `auto_encrypt` with a CA and ACL, but without `verify_server_hostname`, or only with a ACL enabled, or only with CA and `verify_server_hostname`, or only with a CA, or finally without a CA and without ACL enabled. In any case, the communication to the `auto_encrypt` endpoint is always TLS encrypted. * `bootstrap` Equivalent to the [`-bootstrap` command-line flag](#_bootstrap). diff --git a/website/source/docs/connect/connect-internals.html.md b/website/source/docs/connect/connect-internals.html.md index 352ac336b..846f39476 100644 --- a/website/source/docs/connect/connect-internals.html.md +++ b/website/source/docs/connect/connect-internals.html.md @@ -3,7 +3,7 @@ layout: "docs" page_title: "Connect - Architecture" sidebar_current: "docs-connect-internals" description: |- - This page details the internals of Consul Connect: mutual TLS, agent caching and performance, and multi-datacenter Enterprise functionality. + This page details the internals of Consul Connect: mutual TLS, agent caching and performance, intention and certificate authority replication. --- # How Connect Works @@ -87,16 +87,44 @@ agent may begin failing and eventually crash. Cache entries do have TTLs associated with them and will evict their entries if they're not used. Given a long period of inactivity (3 days by default), the cache will empty itself. -## Multi-Datacenter +## Connections Across Datacenters -Using Connect for service-to-service communications across multiple datacenters -requires Consul Enterprise. +Sidecar proxy's [upstream configuration](/docs/connect/registration/service-registration.html#upstream-configuration-reference) +may specify an alternative datacenter or a prepared query that can address services +in multiple datacenters (such as the [geo failover](https://learn.hashicorp.com/consul/developer-discovery/geo-failover) pattern). -With Open Source Consul, Connect may be enabled on multiple Consul datacenters, -but only services within the same datacenter can establish Connect-based, -Authenticated and Authorized connections. In this version, Certificate Authority -configurations and intentions are both local to their respective datacenters; -they are not replicated across datacenters. +[Intentions](/docs/connect/intentions.html) verify connections between services by +source and destination name seamlessly across datacenters. -Full multi-datacenter support for Connect is available in -[Consul Enterprise](/docs/enterprise/connect-multi-datacenter/index.html). +Connections can be made via gateways to enable when communciating across +network topologies allowing connections between services in each datacenter +without externally routable IPs at the service level. + +## Intention Replication + +Intention replication happens automatically but requires the +[`primary_datacenter`](/docs/agent/options.html#primary_datacenter) +configuration to be set to specify a datacenter that is authoritative +for intentions. In production setups with ACLs enabled, the +[replication token](/docs/agent/options.html#acl_tokens_replication) must also +be set in the secondary datacenter server's configuration. + +## Certificate Authority Federation + +The primary datacenter also acts as the root Certificate Authority (CA) for Connect. +The primary datacenter generates a trust-domain UUID and obtains a root certificate +from the configured CA provider which defaults to the built-in one. + +Secondary datacenters fetch the root CA public key and trust-domain ID from the +primary and generate their own key and Certificate Signing Request (CSR) for an +intermediate CA certificate. This CSR is signed by the root in the primary +datacenter and the certificate is returned. The secondary datacenter can now use +this intermediate to sign new Connect certificates in the secondary datacenter +without WAN communication. CA keys are never replicated between datacenters. + +The secondary maintains watches on the root CA certificate in the primary. If the +CA root changes for any reason such as rotation or migration to a new CA, the +secondary automatically generates new keys and has them signed by the primary +datacenter's new root before initiating an automatic rotation of all issued +certificates in use throughout the secondary datacenter. This makes CA root key +rotation fully automatic and with zero downtime across multiple datacenters. diff --git a/website/source/docs/connect/proxies/managed-deprecated.html.md b/website/source/docs/connect/proxies/managed-deprecated.html.md index de3042c40..cdd3b13d2 100644 --- a/website/source/docs/connect/proxies/managed-deprecated.html.md +++ b/website/source/docs/connect/proxies/managed-deprecated.html.md @@ -205,12 +205,6 @@ service. } ``` --> **Note:** Connect does not currently support cross-datacenter -service communication. Therefore, prepared queries with Connect should -only be used to discover services within a single datacenter. See -[Multi-Datacenter Connect](/docs/connect/index.html#multi-datacenter) for -more information. - For full details of the additional configurable options available when using the built-in proxy see the [built-in proxy configuration reference](/docs/connect/configuration.html#built-in-proxy-options). diff --git a/website/source/docs/enterprise/connect-multi-datacenter/index.html.md b/website/source/docs/enterprise/connect-multi-datacenter/index.html.md deleted file mode 100644 index eb19d45d2..000000000 --- a/website/source/docs/enterprise/connect-multi-datacenter/index.html.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -layout: "docs" -page_title: "Consul Enterprise Multi-Datacenter Connect" -sidebar_current: "docs-enterprise-connect-multi-datacenter" -description: |- - Consul Enterprise supports cross datacenter connections using Consul Connect. ---- - -# Consul Connect Multi-Datacenter - -[Consul Enterprise](https://www.hashicorp.com/consul.html) enables service-to-service -connections across multiple Consul datacenters. This includes replication of intentions -and federation of Certificate Authority trust. - -Sidecar proxy's [upstream configuration](/docs/connect/registration/service-registration.html#upstream-configuration-reference) -may specify an alternative datacenter or a prepared query that can address services -in multiple datacenters (such as the [geo failover](https://learn.hashicorp.com/consul/developer-discovery/geo-failover) pattern). - -[Intentions](/docs/connect/intentions.html) verify connections between services by -source and destination name seamlessly across datacenters. Support for constraining Intentions -by source or destination datacenter is planned for the near future. - -It is assumed that workloads can communicate between datacenters via existing network -routes and VPN tunnels, potentially using Consul's -[`translate_wan_addrs`](/docs/agent/options.html#translate_wan_addrs) to ensure remote -workloads discover an externally routable IP. - -# Replication - -Intention replication happens automatically but requires the [`primary_datacenter`](/docs/agent/options.html#primary_datacenter) -configuration to be set to specify a datacenter that is authoritative -for intentions. In production setups with ACLs enabled, the [replication token](/docs/agent/options.html#acl_tokens_replication) -must also be set in secondary datacenter server's configuration. - -# Certificate Authority Federation - -The primary datacenter also acts as the root Certificate Authority (CA) for Connect. -The primary datacenter generates a trust-domain UUID and obtains a root certificate -from the configured CA provider which defaults to the built-in one. - -Secondary datacenters fetch the root CA public key and trust-domain ID from the primary and -generate their own key and Certificate Signing Request (CSR) for an intermediate CA certificate. -This CSR is signed by the root in the primary datacenter and the certificate is returned. -The secondary datacenter can now use this intermediate to sign new Connect certificates -in the secondary datacenter without WAN communication. CA keys are never replicated between -datacenters. - -The secondary maintains watches on the root CA certificate in the primary. If the CA root -changes for any reason such as rotation or migration to a new CA, the secondary automatically -generates new keys and has them signed by the primary datacenter's new root before initiating -an automatic rotation of all issued certificates in use throughout the secondary datacenter. -This makes CA root key rotation fully automatic and with zero downtime across multiple data -centers. diff --git a/website/source/downloads.html.erb b/website/source/downloads.html.erb index 6c79b43e2..caf82094d 100644 --- a/website/source/downloads.html.erb +++ b/website/source/downloads.html.erb @@ -8,6 +8,13 @@ description: |-

Download Consul

+ + +
diff --git a/website/source/index.html.erb b/website/source/index.html.erb index dd6989b0b..698091d89 100644 --- a/website/source/index.html.erb +++ b/website/source/index.html.erb @@ -1,8 +1,7 @@ --- description: |- - Consul is a highly available and distributed service discovery and KV - store designed with support for the modern data center to make distributed - systems and configuration easy. + Consul is a service networking solution to connect and secure services across + any runtime platform and public or private cloud ---
@@ -11,11 +10,8 @@ description: |-
- - New HashiCorp Consul 1.5 has been released! Download now - -

Service Mesh Made Easy

-

Consul is a distributed service mesh to connect, secure, and configure services across any runtime platform and public or private cloud

+

Easy Service Networking

+

Consul is a service networking solution to connect and secure services across any runtime platform and public or private cloud

@@ -77,7 +73,7 @@ description: |- infrastructure changes the approach to networking from host-based to service-based. Connectivity moves from the use of static IPs to dynamic service discovery, and security moves from static firewalls to - dynamic service segmentation.

+ service identity.

@@ -108,13 +104,15 @@ description: |-

Use Cases

+

Consul can be run as a platform to solve a range of use-cases + in service networking.

Service Discovery -

Service Discovery for connectivity

-

Service Registry enables services to register and discover each other.

+

Service Discovery

+

Use the service registry to address and discover services across multiple runtime platforms, cloud providers and regions.

Learn more @@ -122,19 +120,19 @@ description: |-
- Service Segmentation -

Service Segmentation for security

-

Secure service-to-service communication with automatic TLS encryption and identity-based authorization.

+ Service Mesh +

Service Mesh

+

Service discovery, identity-based authorization, and L7 traffic management abstracted from application code with proxies in the service mesh pattern.

Service Configuration -

Service Configuration for runtime configuration

-

Feature rich Key/Value store to easily configure services.

+

Service Configuration

+

Utilize the distributed Key/Value store to dynamically configure services and manage complex availability requirements.

Learn more @@ -212,11 +210,9 @@ description: |-

Extend and Integrate

-
    -
  • Provision clusters on any infrastructure.
  • -
  • Connect to services over TLS via proxy integrations.
  • -
  • Serve TLS certificates with pluggable Certificate Authorities.
  • -
+

+ Provision clusters on any infrastructure, connect to services over TLS via proxy integrations, and Serve TLS certificates with pluggable Certificate Authorities. +

diff --git a/website/source/layouts/docs.erb b/website/source/layouts/docs.erb index 449f4d23f..74c208c25 100644 --- a/website/source/layouts/docs.erb +++ b/website/source/layouts/docs.erb @@ -604,10 +604,7 @@ > Advanced Federation - > - Connect Multi-Datacenter - - > + > Network Segments > diff --git a/website/source/layouts/layout.erb b/website/source/layouts/layout.erb index f96d9a60f..2d8fe8426 100644 --- a/website/source/layouts/layout.erb +++ b/website/source/layouts/layout.erb @@ -72,7 +72,7 @@
  • Use Cases
  • diff --git a/website/source/segmentation.html.erb b/website/source/mesh.html.erb similarity index 62% rename from website/source/segmentation.html.erb rename to website/source/mesh.html.erb index 3c5dc5d6d..021a7a0ce 100644 --- a/website/source/segmentation.html.erb +++ b/website/source/mesh.html.erb @@ -1,16 +1,14 @@ --- description: |- - Consul is a highly available and distributed service discovery and KV - store designed with support for the modern data center to make distributed - systems and configuration easy. + Consul is a service networking solution to connect and secure services across + any runtime platform and public or private cloud ---
    - New Feature -

    Service segmentation made easy

    -

    Secure service-to-service communication with automatic TLS encryption and identity-based authorization

    +

    Service Mesh made easy

    +

    Service discovery, identity-based authorization, and L7 traffic management abstracted from application code with proxies in the service mesh pattern

    The Solution

    - Service segmentation for dynamic service authorization. + Service mesh as an automated and distributed approach to networking and security that can operate across platforms and private and public cloud
    <%= inline_svg 'consul-connect/svgs/segmentation-solution.svg' %>
    -

    Service segmentation is a new approach to secure the service itself - rather than relying on the network. Consul uses service policies to - codify which services are allowed to communicate. These policies - scale across datacenters and large fleets without IP-based rules or - networking middleware.

    +

    Service mesh is a new approach to secure the service itself + rather than relying on the network. Consul uses centrally + managed service policies and configuration to enable + dynamic routing and security based on sevice identity. + These policies scale across datacenters and large fleets + without IP-based rules or networking middleware.

    @@ -67,27 +66,60 @@ description: |-

    Features

    +
    +
    +
    + +
    +
    -

    Service Access Graph

    -

    Define and enforce service to service communication with a simple Intentions configuration. Service based rules, instead of IP-based rules, make it easy to manage dynamic infrastructure with frequently changing machines and service locations.

    +

    Layer 7 Observability

    +

    Centrally managed service observability at Layer 7 including detailed metrics on all service-to-service communication such as connections, bytes transferred, retries, timeouts, open circuits, and request rates, response codes.

    - Learn more + Learn more

    - - - Service Access Graph + + Metrics dashboard +
    @@ -191,6 +223,28 @@ Secure Sockets Layer
    +
    +
    +
    +
    +
    +

    Mesh Gateway

    +

    Connect between different cloud regions, VPCs and between overlay and underlay networks without complex network tunnels and NAT. Mesh Gateways solve routing at TLS layer while preserving end-to-end encryption and limiting attack surface area at the edge of each network.

    +

    + Learn more +

    +
    +
    +
    + + Mesh gateway diagram + +
    +
    +
    +
    + +

    Ready to get started?

    diff --git a/website/source/redirects.txt b/website/source/redirects.txt index 99f264173..0fce16154 100644 --- a/website/source/redirects.txt +++ b/website/source/redirects.txt @@ -49,6 +49,8 @@ /docs/guides/bootstrapping.html /docs/install/bootstrapping.html /docs/guides/sentinel.html /docs/agent/sentinel.html /docs/connect/proxies/sidecar-service.html /docs/connect/registration/sidecar-service.html +/docs/enterprise/connect-multi-datacenter/index.html /docs/enterprise/index.html +/segmentation.html /mesh.html # CLI renames /docs/commands/acl/acl-bootstrap.html /docs/commands/acl/bootstrap.html