简体   繁体   English

带有Windows 2008 Server和TOMCAT的Amazon EC2

[英]Amazon ec2 with windows 2008 server with TOMCAT

I just created a free ec2 account. 我刚刚创建了一个免费的ec2帐户。 I want to test few things but i want to make sure that i am using ONLY the free version. 我想测试一些东西,但我想确保仅使用免费版本。

I want to run a java application in windows 2008 R2 server with TOMCAT as web server. 我想在Windows 2008 R2服务器中以TOMCAT作为Web服务器运行Java应用程序。 Ec2 by default doesn't have java SDK and TOMCAT installed. 默认情况下,EC2未安装Java SDK和TOMCAT。 SO here are the few queries 所以这是一些查询

  1. Will i be charged for installing TOMCAT and JAVA also for deploying my application? 安装TOMCAT和JAVA以及部署我的应用程序是否需要付费?
  2. How do i install TOMCAT and JAVA ? 如何安装TOMCAT和JAVA? can someone provide a link? 有人可以提供链接吗?
  3. I tried doing a remote desktop ut could not connect to the server. 我尝试做一个远程桌面ut无法连接到服务器。 Looks like a firewall issue. 看起来像是防火墙问题。 But then how do i disable ? 但是我该如何禁用呢?

Can't answer all your questions, but I'll take a shot. 无法回答您的所有问题,但我会尝试一下。

If you want to watch your ec2 cost, setup a billing alert in AWS that will notify you when your account exceeds a certain threshold, and set your threshold very low if you are very concerend. 如果您想查看ec2成本,请在AWS中设置一个计费警报,当您的帐户超过特定阈值时会通知您,如果您非常谨慎,则将阈值设置得很低。 You can always monitor your outstanding charges on your billing page on a daily basis if you are really concerned. 如果您真的很在意,您可以始终每天在帐单页面上监控未结费用。

Pick a small or micro instance if you want to keep your costs low; 如果您想降低成本,请选择一个小型或微型实例; micro instances I have found are mostly useless for any serious work, but they are very, very cheap and maybe ok for trying things out. 我发现的微型实例对于任何严肃的工作几乎没有用,但是它们非常非常便宜,并且可以尝试一下。

To install any software, you are going to need to get remote desktop working. 要安装任何软件,您将需要使远程桌面正常工作。 Once the server is spun up, remote in and you can install anything you want; 服务器启动后,就可以远程安装了,您可以安装任何想要的东西。 there is no extra cost to install software (except buying licenses if you need them, but that is not aws's concern, they won't be charging you for installing tomcat. 安装软件没有任何额外费用(除非您需要购买许可证,除非购买许可证,但这不是aws所关心的,他们不会向您收取安装tomcat的费用。

You need to open up the windows firewall on your 2008 server AND you need to make sure the AWS security group also allows incoming connections on port 3389 - its essentially there firewall that runs in addition to the EC2 instances firewall - BOTH need to be open. 您需要在2008服务器上打开Windows防火墙,并且需要确保AWS安全组还允许端口3389上的传入连接-除了EC2实例防火墙之外,它实际上还运行着防火墙-两者都需要打开。 You can either modify the security group that was assigned to your instance, or create a new one and associated it with your instance. 您可以修改分配给您的实例的安全组,也可以创建一个新的安全组并将其与您的实例相关联。

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

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