# AWS Confluent based layer for Lambda usage

**URL:** <https://forum.confluent.io/t/aws-confluent-based-layer-for-lambda-usage/8174>\
**Category:** Non-Java Clients\
**Created:** [26 June 2023 14:30 UTC](https://forum.confluent.io/t/aws-confluent-based-layer-for-lambda-usage/8174 "2023-06-26T14:30:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![georgelza](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/georgelza/32/3026_2.png) [@georgelza](https://forum.confluent.io/u/georgelza)\
**Post date:** [28 June 2023 11:42 UTC](https://forum.confluent.io/t/aws-confluent-based-layer-for-lambda-usage/8174/2 "2023-06-28T11:42:11Z")

</div>

Hi guys…

Got the python import eventually to work…

Resolution was to build a EC2 instance, install python 3.9.16, create virtual env, install libraries =2.1.1 , zip libraries… upload as a layer.

Initially used a EC2 instance I had, build on Ubuntu, did not work, had to spin a new EC2 using amazon Linux (as that is what Lambda’s use). Worked.

Now to dig a hole through our firewalls to get outside onto the cluster.

If anyone needs these libraries, happy to share.  
G

---

_[View the full topic](https://forum.confluent.io/t/aws-confluent-based-layer-for-lambda-usage/8174)._
