Forum: Mongrel amazon ec2

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Carl Dubois (Guest)
on 2010-07-23 18:27
(Received via mailing list)
Hi All,

How can I resolve http using a Amazon EC2 instance?

The instance used the mongrel web server for rails.

Do I need to modify a mongrel configuration to use the externally

Currently resolves to by default.

István (Guest)
on 2010-07-24 11:00
(Received via mailing list)
I guess your question is where to bind mongrel and the answer is to the
local ip since the external ip is not bound to you box by any mean,
the traffic is routed to you instance belong to that public ip(som magic
happens with the headers).

Here is the definition for public/private ips in ec2

   - EC2 Private IP Address: The internal RFC 1918 address of an
   that is only routable within the EC2 Cloud. Network traffic
   outside the EC2 network cannot route to this IP, and must use the
Public IP
   or Elastic IP Address mapped to the instance.

   - EC2 Public IP Address: Internet routable IP address assigned by the
   system for all instances. Traffic routed to the Public IP is
translated via
   1:1 Network Address Translation (NAT) and forwarded to the Private IP
   address of an instance. The mapping of a Public IP to Private IP of
   instance is the default launch configuration for all instance types.
   IP Addresses are no longer usable upon instance termination.

I hope that helps.


On Fri, Jul 23, 2010 at 4:40 PM, Carl Dubois <>

> Currently resolves to by default.
> Thanks
> _______________________________________________
> Mongrel-users mailing list

the sun shines for all
This topic is locked and can not be replied to.