# Functionbeat unable to start on lambda due to beats.keystore permissions

**URL:** <https://discuss.elastic.co/t/functionbeat-unable-to-start-on-lambda-due-to-beats-keystore-permissions/206704>\
**Category:** Beats\
**Tags:** functionbeat\
**Created:** [November 6, 2019, 2:33am UTC](https://discuss.elastic.co/t/functionbeat-unable-to-start-on-lambda-due-to-beats-keystore-permissions/206704 "2019-11-06T02:33:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![josh.bowers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/josh.bowers/32/57224_2.png) [@josh.bowers](https://discuss.elastic.co/u/josh.bowers)\
**Post date:** [November 6, 2019, 2:33am UTC](https://discuss.elastic.co/t/functionbeat-unable-to-start-on-lambda-due-to-beats-keystore-permissions/206704/1 "2019-11-06T02:33:44Z")

</div>

Installing functionbeat on AWS Lambda I'm getting this error:

`Exiting: could not initialize the keystore: open beats.keystore: permission denied`

beats.keystore has the correct permissions (in fact anything else will fail to build anyway)

```
zipinfo package-aws.zip
Archive: package-aws.zip
Zip file size: 19199610 bytes, number of entries: 4
-rw-r--r-- 3.0 unx 33979 tx defN 19-Nov-06 02:19 functionbeat.yml
-rwxr-xr-x 2.0 unx 60721160 b- defN 80-000-00 00:00 functionbeat-aws
-rw------- 2.0 unx 610 b- defN 80-000-00 00:00 beats.keystore
-rw-r--r-- 3.0 unx 663 tx defN 19-Sep-04 16:39 ilm_policy.json
4 files, 60756412 bytes uncompressed, 19199058 bytes compressed: 68.4%
```

---

<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:** [November 26, 2019, 4:33pm UTC](https://discuss.elastic.co/t/functionbeat-unable-to-start-on-lambda-due-to-beats-keystore-permissions/206704/2 "2019-11-26T16:33:48Z")

</div>

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