Using HTTP(s)/Network load balancer to split traffic between versions

353 views
Skip to first unread message

Niklas B

unread,
Nov 18, 2015, 2:55:14 PM11/18/15
to gce-discussion
Hi,

I would like to use a similar function as GAE's traffic splitting. This would allow us to route X% of the traffic to one version of the site, and X% to another and gradually move more and more traffic to the new version.

However I can't find any documentation on how one might do this, specially since it should preferably be "sticky" (but the network load balancer can help with stickiness.

I realize I can use Nginx split traffic module, but I will need to do this across quite a few instances, applications and even google compute engine projects - thus manually editing config files is out I'm afraid.

Regards,
Niklas

George

unread,
Nov 19, 2015, 10:51:28 AM11/19/15
to gce-discussion
Hello Niklas,

You can distribute traffic to different instances based on the incoming URL, by configuring the Load Balancer to do so. You can have more information about this matter, in this Help Center article.

I hope this helps.

Sincerely,
George

Niklas B

unread,
Nov 19, 2015, 11:28:58 AM11/19/15
to gce-discussion
Hi George,

Very true - however for my case it's a user facing website which has the same URL regardless of version :/


Regards,

Niklas

George

unread,
Nov 20, 2015, 10:55:38 AM11/20/15
to gce-discussion
Hello Niklas,

In this case using Nginx as you mentioned is a valid workaround. I was able to find this post that can help you accomplish your configuration.

As this feature is not available on GCE, I would highly recommend you to file a feature request that you can submit on this specific forum.

Thank you for your understanding.

Sincerely,
George

Niklas B

unread,
Nov 21, 2015, 9:40:22 AM11/21/15
to George, gce-discussion
Great, thank you. For someone else wondering/wanting the same thing I've added a feature request on https://code.google.com/p/google-compute-engine/issues/detail?id=268
--
© 2014 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
 
Email preferences: You received this email because you signed up for the Google Compute Engine Discussion Google Group (gce-dis...@googlegroups.com) to participate in discussions with other members of the Google Compute Engine community and the Google Compute Engine Team.
---
You received this message because you are subscribed to a topic in the Google Groups "gce-discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gce-discussion/egVyn43cviM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gce-discussio...@googlegroups.com.
To post to this group, send email to gce-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gce-discussion/f41bd859-224f-4e4c-8218-43cbcac38e48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages