Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting old deployment assets #558

Open
hingobway opened this issue Jun 13, 2024 · 2 comments
Open

Deleting old deployment assets #558

hingobway opened this issue Jun 13, 2024 · 2 comments
Assignees

Comments

@hingobway
Copy link

Hi, I have been building a few things with ion this past week and it has been a wonderful experience.

Something I noticed looking through my S3 buckets was that there seems to be an sst-asset-[randomID] bucket which contains the code uploads for my deployments. However, it looks to me as though it is never deleting previous versions as I can see code archives all the way back to my first test, including many that have been fully overwritten. While the size of this bucket is still relatively manageable, I can see it starting to balloon as I continue to deploy if another 5-10MB is added there with every single update.

Is there a reason old instances aren't deleted, and is there a CLI command or project setting that could enable automatic deletions of old archived code assets? Would setting up my own lifecycle deletion policy be a good option?

Thanks!

@jayair
Copy link
Contributor

jayair commented Jun 25, 2024

I think it's a little tricky to track this from what I remember. @thdxr do you know?

@thdxr thdxr assigned fwang and unassigned thdxr Jun 26, 2024
Copy link
Contributor

thdxr commented Jun 26, 2024

i think for deployment speed we don't bother deleting old assets - reassigned to frank he knows more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants