如何从GC存储中删除过时的Firebase Cloud功能容器? [英] How to delete outdated Firebase Cloud function containers from GC Storage?

查看:30
本文介绍了如何从GC存储中删除过时的Firebase Cloud功能容器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近,Firebase开始对Cloud Functions容器存储收费: https://firebase.google.com/pricing

So recently Firebase started charging for Cloud Functions container storage: https://firebase.google.com/pricing

免费使用$ 0.026/GB

No free usage $0.026/GB

我已经多次部署了2个功能(不超过10次,记不清确切的计数了,但是,IMO,这仍然很低).现在,我已经开出了少量账单(目前为一分钱).看来,如果我再部署这些功能数十次,我将接近一美元,因为旧的(未使用的)容器不会从存储桶中删除.

I have deployed 2 functions several times (no more than 10 times, can't remember exact count, but this is still pretty low, IMO). Now I am already billed a small amount (fractions of a cent for now). So seems that if I deploy the functions another few dozens of times, I'll get close to a dollar, because old (and unused) containers are not deleted from the storage bucket.

是否有办法安全删除过时的,未使用的容器以释放一些空间?好吧,似乎几分钱都不值得花时间,但是,免费套餐应该不是这样.

Is there a way to safely delete outdated, not used containers to free some space? Well, it may seem that a few cents are not worth the time, but still, that's not what a free tier should be like.

推荐答案

  1. 转到云控制台
  2. 选择" 云存储->浏览器"汉堡菜单中的产品.
  3. 您将在此处看到多个存储桶.只需深入挖掘以工件"开头的存储桶即可.或以"cloudbuild"结尾并删除不需要的旧文件(按日期).
  1. Go to the Cloud console
  2. Select "Cloud Storage -> Browser" from the products in the hamburger menu.
  3. You will see multiple storage buckets there. Simply dig in to the buckets that start with "artifacts" or end with "cloudbuild" and delete the old files (by date) that you don't want.

这篇关于如何从GC存储中删除过时的Firebase Cloud功能容器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆