2012-05-31 112 views
1

现在我想将我的java应用程序部署到Azure云中,使用Azure门户。在Azure门户部署应用程序

  1. 首先,我创建新的托管服务
  2. 然后我填写一些信息到形式,并尝试上载Windows Azure的程序包和服务配置文件从本地计算机。

但是当我点击确定按钮,我得到错误信息象下面这样:

Warning: This deployment has at least one role with only one instance. We recommend that you deploy at least two instances per role to ensure high availability in case one of the instances becomes unavailable. Doing so also enables coverage of the Windows Azure Compute SLA, which guarantees 99.95% uptime. For more information please visit here. Find more solutions in the Windows Azure support forum.

Error: The deployment requires certificates that do not exist for the new hosted service. To fix, create the new hosted service without the deployment, add the required certificate(s), and then create the deployment. Find more solutions in the Windows Azure support forum.

这是什么错误?

回答

2

您是否启用远程桌面或创建SSL端点?如果是这样,您需要上传这些证书。为此,请在不部署的情况下创建托管服务。然后将您的证书上传到托管服务名称下的证书文件夹。详细说明here

您可以忽略警告,因为您刚刚学习并且没有在生产环境中进行部署,但它告诉您Windows Azure的计算SLA仅在具有两个或更多实例时才会启用。

+0

现在我可以在添加工作角色后创建新的托管服务。但是当上传进度时,总是在进度约60%时超时,我尝试了近3次。它仍然是一样的。在Windows Azure Portal中上传这些文件的另一个窍门是什么? –

+0

你的CSPKG文件有多大? – AvkashChauhan

+0

我很少通过门户上传。我倾向于使用单独的工具(我使用Cerebrata的Cloud Storage Studio)上传,因为它们已经过优化以上传并行流。有一些免费的,如[CloudBerry](http://www.cloudberrylab.com/free-microsoft-azure-explorer.aspx)。 –

相关问题