Problem deploy google cloud

Hello,

I’m working with Google AI Studio. I’ve created an app and deployed it to Google Cloud. When I update Google Studio to Google Cloud, it resets the data I’ve integrated into the cloud. Is there a way to prevent this?

thanks

1 Like

so annoying. This needs a fix, otherwise there is no future for G AI

Hi @quentindu27 ,

Welcome to the Forum!
Each time you deploy from Google AI Studio to Google Cloud, the app container is rebuilt, which clears any data stored in the local filesystem.
We recommend you not to save data inside the application folder. You must modify your code to save data to Google Cloud

How ?

Have you prompt for modify local save to cloud save.

Thanks

Hello quentindu27,

You must create a Google Cloud Storage bucket and modify your code to save files there instead of the local disk to ensure data persists after deployment.

Thanks