如何部署在亚马逊云中的Java EE应用程序? [英] How to deploy a Java EE application in the Amazon cloud?
问题描述
下面的东西:我需要一定的Java EE Web应用程序并将其部署到Amazon EC2(我将需要设置第一)下月起(使用的 http://aws.amazon.com/free/faqs/ AWS免费使用层 - 希望它支持的Tomcat + MySQL的/ PostgreSQL的)
Here's the thing: I need to take a certain Java EE web app and deploy it to Amazon EC2 (which I will need to setup first) starting next month (using the http://aws.amazon.com/free/faqs/ AWS Free Tier Usage - hope it supports Tomcat + MySQL/PostgreSQL).
问题:我从来没有部署一个Java EE应用程序(甚至不是一个的正常的一个在一个专门的托管),也有我设置一个Amazon EC2 enviorment
The problem: I have never ever deployed a Java EE app (not even a normal one on a dedicated hosting) nor have I setup an Amazon EC2 enviorment.
是否有任何,白痴证明preferably,教程/如何做的/无论从一开始做这件事(签约到Amazon),直到最后(当你的应用程序都是运行起来)?
我没有找到如何设置一个Amazon EC2实例,一般应如何部署Java EE应用程序,但我正在寻找的是一个单一的教程把他们放在一起一些教程。
Are there any, idiot proof preferably, tutorials/how-to's/whatever on doing it from the very beginning (signing up to Amazon) till the very end (when your app is all up and running)?
I did find some tutorials on how to setup an Amazon EC2 instance, how to normally deploy a Java EE app but what I'm looking for is a single tutorial putting it all together.
推荐答案
开始与 Ubuntu的AMI 。然后安装Tomcat 。现在把你的J2EE应用程序的WAR文件,其中的tomcat可以看到它。您可以使用 AWS控制台启动/停止你的机器,配置防火墙规则,使您可以访问端口80,等有会不会是一步一步的指导,告诉你到底该怎么做,欢迎来作为一个程序员。
Start with an Ubuntu AMI. Then install tomcat. Now put the WAR file of your J2EE app where tomcat can see it. You can use the AWS console to start/stop your machines, configure firewall rules that allow you to access port 80, etc. There won't be a step by step guide telling you exactly what to do, welcome to being a programmer.
这篇关于如何部署在亚马逊云中的Java EE应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!