简体   繁体   English

如何在云服务器中托管Web服务?

[英]How to host the web service in cloud server?

I have created one web service in java using eclipse,i need to know how to host that service on cloud server,can any one let me know how to host that service on the cloud,with steps? 我已经使用eclipse在Java中创建了一个Web服务,我需要知道如何在云服务器上托管该服务,有人可以让我知道如何通过步骤在云上托管该服务吗?

Thanks for your precious time!... 感谢您的宝贵时间!...

Probably a http://serverfault.com question, likely to be closed. 可能是http://serverfault.com问题,可能已经关闭。 But here are the pointers, 但是这里有指针,

  1. Get an account from Cloud service providers like AWS., 从AWS之类的云服务提供商处获得一个帐户。
  2. Run a (virtual) machine of your choice, 运行您选择的(虚拟)计算机,
  3. Use ssh/rdc to connect and install all the software that you need, 使用ssh / rdc连接并安装所需的所有软件,
  4. Copy your software/application there. 在此处复制您的软件/应用程序。
  5. Start your service. 启动您的服务。 Test if the works when you access using public IP/DNS. 使用公用IP / DNS访问时测试是否可行。
  6. Get a Domain name -- create an A Name record for the domain using this machine's IP. 获取域名-使用本机的IP为该域名创建A名称记录。

Use this domain for accessing your app/service. 使用此域访问您的应用/服务。

Do not forget to take-backup/create-image of your machine. 不要忘记采取的备份您的机器/创建图像。

PS: this was a comment, then I realized it stretched too long. PS:这是一个评论,然后我意识到那伸得长。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM