简体   繁体   English

在云中使用Maven和MySQL部署Spring Web应用程序?

[英]Deploying Spring Web application with Maven and MySQL in cloud?

I have developed a Spring web application using Maven as its build tool and I have MySQL connectivity (DB) to my application. 我已经使用Maven作为其构建工具开发了一个Spring Web应用程序,并且我的应用程序具有MySQL连接(DB)。 Tomcat is my server for now. Tomcat现在是我的服务器。 So now I need to host this application in cloud. 因此,现在我需要将此应用程序托管在云中。

At the moment I have host it in a Jelastic server. 目前,我已将其托管在Jelastic服务器中。 But they are offering only 14 day trial period and their cost to my application may take around $40 per month when it comes to commercial account. 但是他们只提供14天的试用期,而就我的商业帐户而言,他们每月向我申请的费用约为40美元。 But that is a unbearable cost for me as Student. 但这对于我作为学生来说是不可承受的代价。 So I need to host this application, it is really good if its free, or to a low cost (around $25 per YEAR ). 所以,我需要举办这个应用程序,真的很不错,如果它的自由,或以低成本(约$ 25 )。

Please help me with your ideas It will be really help for me. 请帮我提出您的想法,这对我真的很有帮助。 It would be really pleased for me to host in a server without condition like below. 我很高兴能在无条件的情况下托管在服务器中,如下所示。

* environment will automatically put to sleep after 48 hours of inactivity. *闲置48小时后,环境将自动进入睡眠状态。

Thanks in Advanced. 提前致谢。

I would suggest you to use AWS Free Usage Tier . 我建议您使用AWS免费使用套餐 They provide free instance for 12 month free usage. 他们提供12个月免费使用的免费实例。 You need to signup with valid credit card. 您需要使用有效的信用卡进行注册。

AWS Free Instance more details : AWS Free Usage Tier FAQs AWS Free实例更多详细信息: AWS Free使用级别常见问题解答

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

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