博客图片,原先一直用腾讯 cos. 现在每月扣下行流量钱 10 块多,算下来比服务器都贵了 - V2EX
Recommended Services
Amazon Web Services
LeanCloud
New Relic
ClearDB
qbmiller
0.48D

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

  •  
  •   qbmiller Aug 7, 2024 2926 views
    This topic created in 660 days ago, the information mentioned may be changed or developed.
    怎么搞? 放哪
    Supplement 1    Aug 7, 2024
    存储便宜,1 年不到 10 块。10G 够用。
    是下行流量贵
    Supplement 2    Aug 8, 2024
    已替换为
    cloudfare r2 . + picgo

    现在改改后端代码,上传换成 s3 api
    后边看看在加点 图片压缩
    Supplement 3    Aug 12, 2024
    815979670
        1
    815979670  
       Aug 7, 2024
    多吉云?我算了一下自己的需求,比其他 cdn 都便宜一半左右 ,打算等我又拍云余额 cdn 余额用完了就转过去
    gorvey
        2
    gorvey  
       Aug 7, 2024   1
    cloudflare R2 提供 10GB 永久免费存储空间,放博客图片完全够了
    qbmiller
        3
    qbmiller  
    OP
       Aug 7, 2024
    @gorvey 不是存储,是下行流量,不过也搜到一个 cloudfare + backblaze ?
    chenxuuu
        4
    chenxuuu  
       Aug 7, 2024
    根据我 CDN 域名的日志来看,超过 30%的请求都不是人类产生的,屏蔽掉这些访问可以减少大量的费用消耗
    qbmiller
        5
    qbmiller  
    OP
       Aug 7, 2024
    @chenxuuu 我去看看。
    gorvey
        6
    gorvey  
       Aug 7, 2024
    @qbmiller cloudflare R2 流量不算钱的
    gorvey
        7
    gorvey  
       Aug 7, 2024
    @qbmiller R2 流量不算钱的
    younger027
        8
    younger027  
       Aug 7, 2024
    直接 cf R2 走起就好了 免费
    jdhao
        9
    jdhao  
       Aug 7, 2024
    再加个 CDN ,这样花费少很多,参考我的配置 https://jdhao.github.io/2020/03/16/tencent_cos_cdn_setup/
    qbmiller
        10
    qbmiller  
    OP
       Aug 7, 2024
    @gorvey #7 感谢 晚上折腾下
    qbmiller
        11
    qbmiller  
    OP
       Aug 7, 2024
    ps: 原先博客存的都是腾讯 url 或者绑定域名 URL 。 换完得扫一遍,或者返回值 string.replace 下
    是这样吗
    gcod
        12
    gcod  
       Aug 7, 2024
    用图床
    b0x
        13
    b0x  
       Aug 7, 2024
    推荐用现成的服务,这两家的 cdn 的速度实测还行.
    https://www.imgix.com/
    https://imagekit.io/
    abc0def
        14
    abc0def  
       Aug 7, 2024
    推荐使用 AWS Cloudfront CDN ,把图片存 S3 然后 Cloudfront CDN 每月有 1TB 免费下行流量 https://aws.amazon.com/cloudfront/pricing/
    qbmiller
        15
    qbmiller  
    OP
       Aug 7, 2024
    @abc0def mark 下,刚折腾了 cloudfare r2
    ccloving
        16
    ccloving  
       Aug 7, 2024
    为啥会花钱?你的流量很大吗?我猜也就几张图片费流量吧。把他们搞到一些不花钱的平台上不行?
    qbmiller
        17
    qbmiller  
    OP
       Aug 8, 2024
    @ccloving 下行 10G ,1 年也 150 多点。是个服务器钱
    RangerWolf
        18
    RangerWolf  
       Aug 8, 2024
    @abc0def 除非整套都搬 AWS ,不然 cloudfront 应该不会很便宜。其他费用会比较贵,比如服务器的费用(我说的是国内的 AWS )
    海外的另议
    abc0def
        19
    abc0def  
       Aug 8, 2024
    @RangerWolf CloudFront 主要是针对 S3 里面的东西做 CDN ,如果存储不用 S3 确实可以不考虑这个。
    qbmiller
        20
    qbmiller  
    OP
       Aug 9, 2024
    @gorvey #7 迁移 cos 图片到 r2 有好方法吗
    gorvey
        21
    gorvey  
       Aug 9, 2024
    @qbmiller 试试 Rclone ,它有个功能是将数据迁移到云,或在云存储供应商之间迁移
    gorvey
        22
    gorvey  
       Aug 9, 2024
    @qbmiller picgo 可以换成这个 https://github.com/liangliangle/roim-picx ,网页上传,不然电脑多了每个都要装麻烦
    since2021
        23
    since2021  
       Aug 13, 2024
    cloudinary
    About     Help     Advertise     Blog     API     FAQ     Solana     848 Online   Highest 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 56ms UTC 21:21 PVG 05:21 LAX 14:21 JFK 17:21
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86