AWS Elastic Beanstalk 中的自定义 URL

2023-12-20

AWS Elastic Beanstalk 建议使用以下格式的 URL:https://{appname}.elasticbeanstalk.com/

但我需要将其更改为我自己的网址,例如https://tarta.ai

怎么做?


Note:我的域使用 Amazon Route53。


我知道这是一个老问题,但由于我刚刚为我的一个应用程序完成了这个过程,我决定在这里分享它,这也可能对其他人有帮助。这是我所经历的步骤

  1. 登录您的 AWS 账户
  2. 转到您的 EC2 面板并选择您的区域
  3. 从左侧导航菜单中选择负载均衡器
  4. 找到与您的 Beanstalk 应用程序相关的负载均衡器
  5. 在描述选项卡中获取托管区域 ID
  6. 打开 Route53 面板
  7. 选择您的域托管区域
  8. 添加一条记录.example.com
  9. 选择“别名”选项为“是”
  10. 搜索与您的应用相关的负载均衡器
  11. 使用您在第 5 步中获取的内容确认其托管区域 ID
  12. 执行步骤 8-11www.example.com以及。

参考

  • http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customdomains.html http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customdomains.html

  • http://aws.typepad.com/aws/2011/05/moving-ahead-with-amazon-route-53.html http://aws.typepad.com/aws/2011/05/moving-ahead-with-amazon-route-53.html

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

AWS Elastic Beanstalk 中的自定义 URL 的相关文章

随机推荐