V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Recommended Services
Amazon Web Services
LeanCloud
New Relic
ClearDB
qbmiller
V2EX  ›  云计算

博客图片,原先一直用腾讯 cos. 现在每月扣下行流量钱 10 块多,算下来比服务器都贵了

  •  
  •   qbmiller · 40 天前 · 1294 次点击
    这是一个创建于 40 天前的主题,其中的信息可能已经有所发展或是发生改变。
    怎么搞? 放哪
    第 1 条附言  ·  40 天前
    存储便宜,1 年不到 10 块。10G 够用。
    是下行流量贵
    第 2 条附言  ·  39 天前
    已替换为
    cloudfare r2 . + picgo

    现在改改后端代码,上传换成 s3 api
    后边看看在加点 图片压缩
    第 3 条附言  ·  35 天前
    23 条回复
    815979670
        1
    815979670  
       40 天前
    多吉云?我算了一下自己的需求,比其他 cdn 都便宜一半左右 ,打算等我又拍云余额 cdn 余额用完了就转过去
    gorvey
        2
    gorvey  
       40 天前   ❤️ 1
    cloudflare R2 提供 10GB 永久免费存储空间,放博客图片完全够了
    qbmiller
        3
    qbmiller  
    OP
       40 天前
    @gorvey 不是存储,是下行流量,不过也搜到一个 cloudfare + backblaze ?
    chenxuuu
        4
    chenxuuu  
       40 天前
    根据我 CDN 域名的日志来看,超过 30%的请求都不是人类产生的,屏蔽掉这些访问可以减少大量的费用消耗
    qbmiller
        5
    qbmiller  
    OP
       40 天前
    @chenxuuu 我去看看。
    gorvey
        6
    gorvey  
       40 天前
    @qbmiller cloudflare R2 流量不算钱的
    gorvey
        7
    gorvey  
       40 天前
    @qbmiller R2 流量不算钱的
    younger027
        8
    younger027  
       40 天前
    直接 cf R2 走起就好了 免费
    jdhao
        9
    jdhao  
       40 天前
    再加个 CDN ,这样花费少很多,参考我的配置 https://jdhao.github.io/2020/03/16/tencent_cos_cdn_setup/
    qbmiller
        10
    qbmiller  
    OP
       40 天前
    @gorvey #7 感谢 晚上折腾下
    qbmiller
        11
    qbmiller  
    OP
       40 天前
    ps: 原先博客存的都是腾讯 url 或者绑定域名 URL 。 换完得扫一遍,或者返回值 string.replace 下
    是这样吗
    gcod
        12
    gcod  
       40 天前
    用图床
    b0x
        13
    b0x  
       40 天前
    推荐用现成的服务,这两家的 cdn 的速度实测还行.
    https://www.imgix.com/
    https://imagekit.io/
    abc0def
        14
    abc0def  
       40 天前
    推荐使用 AWS Cloudfront CDN ,把图片存 S3 然后 Cloudfront CDN 每月有 1TB 免费下行流量 https://aws.amazon.com/cloudfront/pricing/
    qbmiller
        15
    qbmiller  
    OP
       40 天前
    @abc0def mark 下,刚折腾了 cloudfare r2
    ccloving
        16
    ccloving  
       40 天前
    为啥会花钱?你的流量很大吗?我猜也就几张图片费流量吧。把他们搞到一些不花钱的平台上不行?
    qbmiller
        17
    qbmiller  
    OP
       39 天前
    @ccloving 下行 10G ,1 年也 150 多点。是个服务器钱
    RangerWolf
        18
    RangerWolf  
       39 天前
    @abc0def 除非整套都搬 AWS ,不然 cloudfront 应该不会很便宜。其他费用会比较贵,比如服务器的费用(我说的是国内的 AWS )
    海外的另议
    abc0def
        19
    abc0def  
       39 天前
    @RangerWolf CloudFront 主要是针对 S3 里面的东西做 CDN ,如果存储不用 S3 确实可以不考虑这个。
    qbmiller
        20
    qbmiller  
    OP
       38 天前
    @gorvey #7 迁移 cos 图片到 r2 有好方法吗
    gorvey
        21
    gorvey  
       38 天前
    @qbmiller 试试 Rclone ,它有个功能是将数据迁移到云,或在云存储供应商之间迁移
    gorvey
        22
    gorvey  
       38 天前
    @qbmiller picgo 可以换成这个 https://github.com/liangliangle/roim-picx ,网页上传,不然电脑多了每个都要装麻烦
    since2021
        23
    since2021  
       34 天前
    cloudinary
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   950 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 19:43 · PVG 03:43 · LAX 12:43 · JFK 15:43
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.