# AWS Lambda Backups

**URL:** <https://community.neo4j.com/t/aws-lambda-backups/24019>\
**Category:** Operations\
**Tags:** aws, backup, cloud\
**Created:** [August 25, 2020, 6:59am UTC](https://community.neo4j.com/t/aws-lambda-backups/24019 "2020-08-25T06:59:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yyakovson613](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/yyakovson613/32/217_2.png) [@yyakovson613](https://community.neo4j.com/u/yyakovson613)\
**Post date:** [August 25, 2020, 6:59am UTC](https://community.neo4j.com/t/aws-lambda-backups/24019/1 "2020-08-25T06:59:37Z")

</div>

I want to backup a database stored on an AWS EC2. [4.1 enterprise, ami-0afe90add2767a91c.]

I understand that it is not recommended to backup from the same machine, and that we need a machine with neo4j installed. I'd really prefer not to dedicate an EC2 to backups because of the cost.

I would like a serverless alternative.

Can I run neo4j on a lambda that gets invoked for the backups? I'm not sure, because it seems that neo4j installation is a large process. Is there any sort of lightweight "runtime" option? My ideal would be some npm package 'neo4j-lambda' that installs a lightweight version.

If it is possible, would anyone be kind enough to share a sample lambda? If not, what is recommended for a serverless app?

Thanks!
