V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
witcat

aws 中国区的 api gateway 是不是默认公网无法访问?

  •  
  •   witcat · Jul 9, 2023 · 2867 views
    This topic created in 1025 days ago, the information mentioned may be changed or developed.

    默认 lambda 示例+api gateway
    使用默认的 amazonaws.com.cn 结尾的 url 访问,结果总是 403,也没有返回错误信息
    是因为没备案吗?

    Supplement 1  ·  Jul 11, 2023

    已有专员来电,目前其他地方备案的域名可以不用重新在光环新网备案。
    需要人工打开一个开关,就可以把二级域名解析过来公网访问。
    但如果大部分业务要转移到aws,需要重新备案,以免出现技术外的一些问题。

    6 replies    2023-09-05 11:13:15 +08:00
    daimaosix
        1
    daimaosix  
       Jul 9, 2023 via Android   ❤️ 1
    对,需要在光环或者西云备案才可以开 80,8080,443 端口
    daimaosix
        2
    daimaosix  
       Jul 9, 2023 via Android
    S3 ,LB ,EC2 等等只要你用到这三个端口,不管是不是你的域名还是亚马逊的,没有在他们那备案都禁止访问的
    coolcoffee
        3
    coolcoffee  
       Jul 9, 2023
    op 是不是开了 api gateway 鉴权?

    反正我司的有个边缘服务 xxx.execute-api.cn-north-1.amazonaws.com.cn 是直接用的,也有主域名只在阿里云备案然后解析过去的。
    witcat
        4
    witcat  
    OP
       Jul 9, 2023
    @coolcoffee 没有附加授权方应该就是代表关闭吧?
    coolcoffee
        5
    coolcoffee  
       Jul 9, 2023
    @witcat 我这边是 Lambda 自动创建的 API Gateway ,然后创建完确认可用了再修改变成一个 API Gateway 对应多个 Lambda 。
    wjpauli
        6
    wjpauli  
       Sep 5, 2023
    我借地方问一下,我要是用海外版 aws ,api gateway + custom domain ,大陆用有什么风险?会用一段时间就被墙么?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1494 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 16:51 · PVG 00:51 · LAX 09:51 · JFK 12:51
    ♥ Do have faith in what you're doing.