# How does EKS get autheticarted with AWS in order to get the data

**URL:** <https://discuss.elastic.co/t/how-does-eks-get-autheticarted-with-aws-in-order-to-get-the-data/207841>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [November 14, 2019, 9:09am UTC](https://discuss.elastic.co/t/how-does-eks-get-autheticarted-with-aws-in-order-to-get-the-data/207841 "2019-11-14T09:09:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joseph\_John](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joseph_john/32/53907_2.png) [@Joseph\_John](https://discuss.elastic.co/u/Joseph_John)\
**Post date:** [November 14, 2019, 9:09am UTC](https://discuss.elastic.co/t/how-does-eks-get-autheticarted-with-aws-in-order-to-get-the-data/207841/1 "2019-11-14T09:09:53Z")

</div>

Hi All,  
My environment is  
**elasticsearch/stable,now 7.4.2 amd64**  
**metricbeat/stable,now 7.4.2 amd64**

I was going through the docs

> [aws fields | Metricbeat Reference [7.4] | Elastic](https://www.elastic.co/guide/en/beats/metricbeat/7.4/exported-fields-aws.html)

I was not able to see the docs for how to setup ELK to take values from AWS ( ie information on how to configure roles, access keys and where to keep it in EKS

Requesting docs or url for such setup information  
thanks  
Joseph John

---

<div class="post-metadata">

**Author:** ![Kaiyan\_Sheng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kaiyan_sheng/32/38247_2.png) [@Kaiyan\_Sheng](https://discuss.elastic.co/u/Kaiyan_Sheng)\
**Post date:** [November 14, 2019, 2:33pm UTC](https://discuss.elastic.co/t/how-does-eks-get-autheticarted-with-aws-in-order-to-get-the-data/207841/2 "2019-11-14T14:33:51Z")

</div>

Hi @Joseph_John, are you interested in running Metricbeat to collect AWS cloudwatch metrics? [https://www.elastic.co/guide/en/beats/metricbeat/7.4/metricbeat-module-aws.html](https://www.elastic.co/guide/en/beats/metricbeat/7.4/metricbeat-module-aws.html) here is the configuration on that. Also if you are interested in running cloudwatch metricset specifically, then [https://www.elastic.co/blog/monitoring-aws-services-using-the-cloudwatch-metricset](https://www.elastic.co/blog/monitoring-aws-services-using-the-cloudwatch-metricset) might also help.

---

<div class="post-metadata">

**Author:** ![Joseph\_John](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joseph_john/32/53907_2.png) [@Joseph\_John](https://discuss.elastic.co/u/Joseph_John)\
**Post date:** [November 14, 2019, 2:35pm UTC](https://discuss.elastic.co/t/how-does-eks-get-autheticarted-with-aws-in-order-to-get-the-data/207841/3 "2019-11-14T14:35:58Z")

</div>

Thanks Kaiyan,  
will check the url and will be updating the progress

---

<div class="post-metadata">

**Author:** ![Joseph\_John](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joseph_john/32/53907_2.png) [@Joseph\_John](https://discuss.elastic.co/u/Joseph_John)\
**Post date:** [November 14, 2019, 3:02pm UTC](https://discuss.elastic.co/t/how-does-eks-get-autheticarted-with-aws-in-order-to-get-the-data/207841/4 "2019-11-14T15:02:50Z")

</div>

Hi Kaiyan,  
Going through the blog

> [@Kaiyan\_Sheng](#):
>
> then [Monitoring AWS services with Elasticsearch and the CloudWatch metricset | Elastic Blog](https://www.elastic.co/blog/monitoring-aws-services-using-the-cloudwatch-metricset) might also help.

In the blog , section " **3. Set AWS credentials in the config file"**  
There is some room for more clarity in which linux user do they need to do `aws configure`  
is it for the root user or for the sudo user  
If you can guide me on this point, it is highly appreciated  
thanks  
Joseph John

---

<div class="post-metadata">

**Author:** ![Joseph\_John](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joseph_john/32/53907_2.png) [@Joseph\_John](https://discuss.elastic.co/u/Joseph_John)\
**Post date:** [November 14, 2019, 3:12pm UTC](https://discuss.elastic.co/t/how-does-eks-get-autheticarted-with-aws-in-order-to-get-the-data/207841/5 "2019-11-14T15:12:37Z")

</div>

Found it , it should be in the file

> [@Kaiyan\_Sheng](#):
>
> Metricbeat to collect AWS cloudwatch metrics? [aws module | Metricbeat Reference [7.4] | Elastic](https://www.elastic.co/guide/en/beats/metricbeat/7.4/metricbeat-module-aws.html) here is the configuration on that.

I first read the blog, so got bit out of sync

---

<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:** [December 12, 2019, 3:12pm UTC](https://discuss.elastic.co/t/how-does-eks-get-autheticarted-with-aws-in-order-to-get-the-data/207841/6 "2019-12-12T15:12:43Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
