如何在亚马逊云中部署 Java EE 应用程序? [英] How to deploy a Java EE application in the Amazon cloud?

查看:28
本文介绍了如何在亚马逊云中部署 Java EE 应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

事情是这样的:从下个月开始(使用 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 环境.


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.


从一开始(注册亚马逊)到最后(当您的应用程序全部启动并运行时),是否有任何白痴证据,最好是教程/操作方法/无论做什么?

我确实找到了一些关于如何设置 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆