使用cloudify在远程服务器上部署

时间:2015-12-10 17:38:49

标签: cloudify

我是云化的新手。有人可以帮助我吗?

  1. 在远程服务器上部署示例应用程序。现在我正在运行命令:

    cfy local init --blueprint-path blueprint.yaml --inputs '{"webserver_port": "8080", "host_ip":"ec2-hostname"}'
    
  2. 但它将在本地Cloudify服务器上启动该应用程序。甚至ec2-hostname是远程服务器。但它仍在部署在本地服务器上。

    有人可以分享使用Cloudify在远程服务器上部署应用程序所需的步骤吗?

    我将非常感激。

    谢谢, 桑吉夫

1 个答案:

答案 0 :(得分:0)

如果你在谈论这里描述的例子:http://docs.getcloudify.org/3.3.0/intro/getting-started/那么这是一个仅在本地模式下使用的例子。

有关可安装在远程服务器上的更高级示例,请查看此处:https://github.com/cloudify-cosmo/cloudify-hello-world-example