Amazon EC2 免费 - 端口
我有一个小型 C# 服务器,允许 silverlight 客户端连接到它。我是否能够在免费的“运行 Microsoft Windows Server Micro 的 EC2”上托管服务器(免费注册可为您提供一年 750 小时/月的使用时间)?我想我是否可以在服务器上设置端口 4530 以便进行通信。我需要专用 IP 才能执行此操作吗? (我认为这不是“免费”的东西),或者如果它不是专用的,我是否能够“注册”该端口,以便传入的数据知道去往我的“服务器”?
I have a small c# server that allows silverlight clients to connect to it. Would I be able to host the server on a free 'EC2 running Microsoft Windows Server Micro' (Free signup gives you 750hr/mon of that for a year)? I guess im asking if I could setup port 4530 on the server for I could communicate. Would I need a dedicated IP to do this? (Which I assume isn't in the 'free' stuff), or if its not a dedicated, am I able to 'register' that port for data coming in knows to go to my 'server'?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
除非我遗漏了什么,否则 Micro 实例仍然是一个实例……这意味着它是一个完整的虚拟机,只是恰好拥有最少的资源(CPU、内存和 IO)。
您应该能够使用 Amazon 实例管理工具允许您喜欢的任何端口(您需要专门为相关的 安全组 为您的实例)。
http://cloud- computing.learningtree.com/2010/09/24/understanding-amazon-ec2-security-groups-and-firewalls/
更新(基于 sdolgy 的评论)
您会为您的实例获得一个 弹性 IP,这意味着 IP 地址保持不变,即使例如您的实例在AWS数据中心内移动,弹性IP保持不变。您可以通过 AWS 控制面板管理弹性 IP。
Unless I'm missing something, a Micro instance is still an instance... meaning it is a full virtual machine that just happens to have minimal resources (CPU, memory, and IO).
You should be able to allow any port you like using the Amazon instance management tools (you'll need to specifically allow that port for the relevant security group for your instance).
http://cloud-computing.learningtree.com/2010/09/24/understanding-amazon-ec2-security-groups-and-firewalls/
UPDATE (based on sdolgy's comment)
You get an Elastic IP for you instance, meaning an IP address that remains constant even if e.g. your instance is moved within the AWS data center, the elastic IP remains the same. You can manage elastic IP's via the AWS control panel.