Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
VPC and Load Balancer
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kenneth  
View profile   Translate to Translated (View Original)
 More options May 24 2012, 3:52 pm
From: Kenneth <kenneth.burge...@gmail.com>
Date: Thu, 24 May 2012 12:52:09 -0700 (PDT)
Local: Thurs, May 24 2012 3:52 pm
Subject: VPC and Load Balancer
Hi all.  I am working on moving all of my EC2 instances into a VPC,
but I am running some general outbound Internet access issues, and was
wondering if anyone else has figured it out...

1) If I create an Instance in a "public" subnet, it can only access
the Internet if it has an Elastic IP address associated with it.  Is
there any way to allow a "public" subnet to access outbound Internet
like a non VPC Instance can, without Elastic IP addresses?

I need outbound internet access to run system updates such as yum, and
communicate with required external 3rd party services.

I tried playing around with a "private" subnet which uses a NAT router
instance, which works for most of our backend/internal servers, but
then you run into two problems: a) routing doesn't seem to work for
Elastic IP assigned addresses in the NATed subnet and b) the load
balancer doesn't appear to work with NATed subnets (which is a problem
for #2).

Elastic IP addresses would seem to help with the "public" subnet, but
with a limit of 5, after you add a NAT, Load Balancer and soon to be
OpenVPN instance my limit is nearly exhausted, which leaves nothing
left for the actual web instances.

2) Which leads to the primary issue - Load Balancer.  If I point the
load balancer to instances in the "public" subnet, they work fine, as
far as load balancer routing and web access, but these instances are
unable to communicate with the external 3rd party online services.
(and I do not have sufficient remaining Elastic IP addresses to cover
these instances for "public" internet access).

If I point the load balancers to instances in the "private" subnet,
where the instances can communicate with the external 3rd party
services fine, it breaks the load balancer's routing back to my client
browser.

I just can't seem to find a combination that will work for this setup.

Thoughts?  Suggestions?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Moore  
View profile   Translate to Translated (View Original)
 More options May 25 2012, 6:32 pm
From: Mike Moore <blowm...@gmail.com>
Date: Fri, 25 May 2012 16:32:41 -0600
Local: Fri, May 25 2012 6:32 pm
Subject: Re: VPC and Load Balancer

What load balancer are you using? We used ELB and only wanted those
instances accessible, so only our ELBs were in the public subnet. Our web,
database, and utility boxes were all in the private subnet(s). We used the
NAT router for all private to external connections. Because ELBs get a
public IP by default it all worked out.

We did have one other server in our public subnet: a SSL bastion that we
could connect to and then connect to the private boxes. So because of our
use of ELB we only needed ElasticIPs for the bastion and the NAT.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »