在 AWS 上部署 Pivotal Cloud Foundry 时遇到的问题

Troubles with deploying Pivotal Cloud Foundry on AWS

我一直在尝试在 AWS 上安装 Pivotal Cloud Foundry,但遇到了问题。

upload-cert 部分提到我需要为以下内容创建 SSL 证书:

因此,我在 AWS Route53 上创建了域 xxxxx.com,并在 AWS ACM 上为域和子域创建了证书。

所以,我的问题是:

感谢您的帮助!

do I need to create subdomains (system, login, uaa, apps) in AWS Route53 do I need to bound my domain and subdomain somehow to PCF? Or the installation process had to do it for me?

您可以使用此处的说明创建通配子域 (*.xxxxx.com) 和别名:https://docs.pivotal.io/pivotalcf/1-10/customizing/cloudform-er-config.html#cname

what is the correct url to open the PCF UI?

如果您指的是 Ops Manager,它是您在这一步中创建并指向 Ops Manager public IP 地址的任何 DNS 条目:https://docs.pivotal.io/pivotalcf/1-10/customizing/cloudform-om-deploy.html#create-dns

对于 ERT UI,有 Pivotal Apps Manager https://docs.pivotal.io/pivotalcf/1-10/console/index.html

通常是 apps.system.xxxx.com

您可以通过使用 CLI 连接到 Cloud Foundry 并查看系统组织中有哪些应用程序以及它们的路由是什么来查看部署了哪些系统应用程序。

for now, if I open http://login.xxxxx.com/ it responses with 503. what can be the reason?

如果尚未设置 DNS,我很惊讶您会收到任何响应。当连接到负载均衡器的路由器由于某种原因发生故障时,通常会收到 503s (http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/ts-elb-error-message.html#ts-elb-errorcodes-http503)

I have such error in Ops Manager. What can be the reason of such error?

如果路由器不健康,这可以解释 503。我会通过 SSH 进入这些机器并查看日志(在 /var/vcap/sys/logs 中),这应该会告诉您出了什么问题。

状态页面出现红色实例的原因是我的AWS账户对实例数量有限制,未能为该节点创建虚拟机。 要查找更多信息,请打开更新日志 (https://ops_manager_host/change_log) 和失败设置的打开日志。