# Is the redistribution of unconfigured Marvel agents in containers/VMs permitted?

**URL:** <https://discuss.elastic.co/t/is-the-redistribution-of-unconfigured-marvel-agents-in-containers-vms-permitted/57874>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring\
**Created:** [August 12, 2016, 2:17am UTC](https://discuss.elastic.co/t/is-the-redistribution-of-unconfigured-marvel-agents-in-containers-vms-permitted/57874 "2016-08-12T02:17:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kog](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kog/32/11346_2.png) [@kog](https://discuss.elastic.co/u/kog)\
**Post date:** [August 12, 2016, 2:17am UTC](https://discuss.elastic.co/t/is-the-redistribution-of-unconfigured-marvel-agents-in-containers-vms-permitted/57874/1 "2016-08-12T02:17:49Z")

</div>

Howdy.

I'm getting ready to release some Dockerized ElasticSearch/Kibana nodes. Given that Marvel basic licenses are now free, I'd like to bake the agent plugin into my ElasticSearch images and the UI app into my Kibana images.

The important part here is that I am **_not_** calling the "license" plugin as a part of my Dockerfiles - instead this will be called the first time the image instance is spun up. By the user running the container. To be explicit, here's what I'm doing:

- My ElasticSearch Dockerfile calls _plugin install marvel-agent_
- My Kibana Dockerfile calls _plugin --install elasticsearch/marvel/latest_
- The script in ENTRYPOINT for my ElasticSearch Dockerfile calls _plugin install license_ the first time the person running the docker image spins it up. Once, and only once.

The nodes are intended to be run for specific short-lived ad hoc tasks, generally less than 30 days. In the event that users need to run the containers longer, I've left cURL on the images so that they can install a basic license - these images aren't for production usage - via something like a _docker exec_ across the cluster. Either way, obtaining and managing licenses is left to the user of the image.

I've looked over all the licensing that I could find, I've searched the forums, I've read [https://www.elastic.co/guide/en/marvel/current/license-management.html](https://www.elastic.co/guide/en/marvel/current/license-management.html), and I've hopped on IRC. So far everything seems kosher given that I am not distributing licenses. Further, given what I've seen from Elastic itself in terms of reaching out about customer success, and advocation, leads me to believe that this is logically consistent. Still, I'd like to Do The Right Thing (tm) and get an official answer from Elastic.

I'm asking this in the forums (as opposed to email) so that it can act as temporary documentation for anyone else that is curious about this question. I figure that'll help until you folks can update your license management page, as well as anything else mentioning Marvel licensing, heh.

Thanks in advance,  
Greg

---

<div class="post-metadata">

**Author:** ![skearns](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skearns/32/125945_2.png) [@skearns](https://discuss.elastic.co/u/skearns)\
**Post date:** [August 12, 2016, 1:22pm UTC](https://discuss.elastic.co/t/is-the-redistribution-of-unconfigured-marvel-agents-in-containers-vms-permitted/57874/2 "2016-08-12T13:22:24Z")

</div>

Hey Greg,

We don't see any problem with including Marvel in your docker image in the way you describe. We're happy that it's useful enough to embed! 🙂

I'm not sure what your goals are, but if you someday want to embed Shield/Watcher/Graph/etc, _with a license_ for your customers/users, we do have OEM customer arrangements that make this straightforward. Happy to chat - send me a DM if you have more questions!

Thanks,  
Steve

---

<div class="post-metadata">

**Author:** ![kog](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kog/32/11346_2.png) [@kog](https://discuss.elastic.co/u/kog)\
**Post date:** [August 15, 2016, 10:31pm UTC](https://discuss.elastic.co/t/is-the-redistribution-of-unconfigured-marvel-agents-in-containers-vms-permitted/57874/3 "2016-08-15T22:31:17Z")

</div>

Steve,

For this particular scenario I use Marvel to watch ingestion rates. I bundle it along with HQ, which is handy for various administrative tasks, such as managing mapping. If you're curious, I'm more than happy to send a message with a link when it's done.

I don't think what we're doing at this point that needs OEM support, but I will definitely bear that in mind. Again, it's refreshing to see Elastic reach out to customers proactively, and politely. Likewise, I'm always open to chatting out of band if I can be of use.

(re-wrote this section after trying the 5.x Alpha distro)

It looks like Marvel is getting rolled into X-Pack as part of 5.x. I know it's early days yet, but is there any information on the licensing yet? It looks like License has gone away, so it might be pretty simple to do a "basic" license out of the box (or some sort of equivalent). Although I'd imagine you guys have already thought of this, heh.

Thanks again,  
Greg

---

<div class="post-metadata">

**Author:** ![skearns](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skearns/32/125945_2.png) [@skearns](https://discuss.elastic.co/u/skearns)\
**Post date:** [August 17, 2016, 1:26pm UTC](https://discuss.elastic.co/t/is-the-redistribution-of-unconfigured-marvel-agents-in-containers-vms-permitted/57874/4 "2016-08-17T13:26:36Z")

</div>

Hey Greg,

Glad to hear that it looks like it will all work out 🙂

> [@kog](#):
>
> It looks like Marvel is getting rolled into X-Pack as part of 5.x. I know it's early days yet, but is there any information on the licensing yet?

Indeed - Marvel capabilities will be called Monitoring as a feature of X-Pack. Don't worry though - the free, basic license will still be available and will provide the same monitoring capabilities. The built-in 30-day trial license will cover all X-Pack functionality (security, monitoring, alerting, graph, reporting). You can disable any of those features in the Elasticsearch/Kibana config files, or leave them enabled for the trial period as you see fit.

Thanks,  
Steve

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:42pm UTC](https://discuss.elastic.co/t/is-the-redistribution-of-unconfigured-marvel-agents-in-containers-vms-permitted/57874/5 "2017-07-06T13:42:21Z")

</div>


