Skip to content

Support 'enterprise' license type #48510

@bytebilly

Description

@bytebilly

⚠️ NOTE: This comment is kept up to date with the latest decisions and plans ⚠️

You can still read through the full list of comments to get a better understanding of the topic history

Parent issue: https://github.com/elastic/dev/issues/1278

Description

We want to introduce support for a new enterprise license type in Elasticsearch.
This is not related to the enterprise license used by ECE.

The goal of this issue is to make Elasticsearch support the new license format in the same way of other existing licenses (like platinum or gold), and accept it via the Update license API.

Once this new license type is working, we can start shipping new features (like Endpoint security) in this new tier. Its features will be a superset of what is available in platinum.

Proposal

This is the new format for the Stack enterprise license.
Nothing will change for other Stack licenses, like platinum or gold.

  • the type field gets a new value, enterprise
  • a new field named max_resource_units is introduced, with a numeric value
  • the max_nodes field that is present in other Stack licenses is not part of this license type
  • the signature field covers the max_resource_units value
{ 
  "license": { 
    "uid": "bf610b02-470e-d453-0b75-d2f7dfead89f",
    "type": "enterprise",
    "issue_date_in_millis": 1576000000000,
    "start_date_in_millis": 1576000000000,
    "expiry_date_in_millis": 1590000000000,
    "max_resource_units": 100,
    "issued_to": "Elastic - INTERNAL",
    "issuer": "Fabio Busatto",
    "signature": "AAAA...xyz"
  }
}

In 7.x, the Get license API will return a backward compatible platinum license even if an enterprise license is installed, unless accept_enterprise=true is passed to the request. This option will change the behavior and the API will return the enterprise license instead.

In 8.0, the Get license API will return the enterprise license by default, and the accept_enterprise option will be deprecated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions