# Remove deployment s3 folder?

**URL:** <https://forum.serverless.com/t/remove-deployment-s3-folder/20365>\
**Category:** Serverless Framework\
**Created:** [July 22, 2024, 11:17am UTC](https://forum.serverless.com/t/remove-deployment-s3-folder/20365 "2024-07-22T11:17:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![EetieD](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/eetied/32/4485_2.png) [@EetieD](https://forum.serverless.com/u/EetieD)\
**Post date:** [July 22, 2024, 11:17am UTC](https://forum.serverless.com/t/remove-deployment-s3-folder/20365/1 "2024-07-22T11:17:15Z")

</div>

Dear Sir, Madam,

I noticed that, when I deploy my Lambda function with Serverless, I get a folder in S3 (which has for example the name ‘xxx-serverlessdeploymentbucket-abdefgh123’). Can I safely delete this folder?

I hope to hear from you soon. Thanks in advance.

Best regards,  
ETD

---

<div class="post-metadata">

**Author:** ![threes-was-taken](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/threes-was-taken/32/8074_2.png) [@threes-was-taken](https://forum.serverless.com/u/threes-was-taken)\
**Post date:** [July 25, 2024, 6:46am UTC](https://forum.serverless.com/t/remove-deployment-s3-folder/20365/2 "2024-07-25T06:46:26Z")

</div>

No, it’s not recommended to delete this folder. The S3 bucket will be created to store your deployed function(s) code, along with the cloudformation template.

You can read more about how and why this bucket exists [here](https://www.serverless.com/framework/docs/providers/aws/guide/deploying#how-it-works).

Have a good day!

---

<div class="post-metadata">

**Author:** ![rodferriror](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@rodferriror](https://forum.serverless.com/u/rodferriror)\
**Post date:** [October 19, 2024, 1:22pm UTC](https://forum.serverless.com/t/remove-deployment-s3-folder/20365/3 "2024-10-19T13:22:19Z")

</div>

> [@EetieD](#):
>
> I noticed that, when I deploy my Lambda function with Serverless, I get a folder in S3 (which has for example the name ‘xxx-serverlessdeploymentbucket-abdefgh123’)[.](https://gameroom777.download/) Can I safely delete this folder?
> 
> I hope to hear from you soon. Thanks in advance.
> 
> Best regards,  
> ETD

If I delete this folder, what potential impacts could it have on my deployed Lambda function or future deployments? Will it affect the function’s performance, availability, or ability to update the function in the future?

---

<div class="post-metadata">

**Author:** ![TomC](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/tomc/32/4002_2.png) [@TomC](https://forum.serverless.com/u/TomC)\
**Post date:** [October 21, 2024, 8:17am UTC](https://forum.serverless.com/t/remove-deployment-s3-folder/20365/4 "2024-10-21T08:17:17Z")

</div>

Yes. You can easily try this in a different AWS account. Remember in v4, the deployment folder is per-account, not per project or stage.
