load-balancing

Any way to configure AWS security group to allow private instances to access a public-facing Load Balancer?

回眸只為那壹抹淺笑 提交于 2019-12-04 04:52:34
问题 I have a web application with two different sites. Each can be accessed via HTTP. When you access Site #1, it will serve that site directly. When you access site #2, it will actually connect to site #1 behind the scenes via REST API calls. This architecture is shown in the diagram below. All instances shown (in blue) have ONLY private IP addresses. Both Load Balancers are internet-facing because people from outside the VPC need to access the application. Each autoscale group has an associated

load balancing WCF with wsHttpBinding and Message Security with client credentials type windows

空扰寡人 提交于 2019-12-04 04:10:37
We have got a normal WCF service which has a binding that looks like this: <wsHttpBinding> <binding name="ServiceBinding" receiveTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxReceivedMessageSize="20971520" messageEncoding="Mtom" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"> <security mode="Message"> <message clientCredentialType="Windows" negotiateServiceCredential="true" establishSecurityContext="false" /> </security> </binding> </wsHttpBinding> this service sits in 2 servers

Log client's “real” IP address in Docker Swarm 1.12 when accessing a service

时光怂恿深爱的人放手 提交于 2019-12-04 03:58:07
I have nginx container running as a service in Docker Swarm inside user created overlay network. Both created with: docker network create --driver overlay proxy docker service create --name proxy --network proxy -p 80:80 nginx When accessing nginx site through a browser, in nginx access log remote address is logged as 10.255... formatted address, what I presume to be the Swarm load balancer address. The question is how to know/log the address of the end client accessing the site and not the load balancer address. Good catch!, Most people analyzing the nginx access.log and client ip is

AWS autoscale ELB status checks grace period

旧城冷巷雨未停 提交于 2019-12-04 03:32:58
I'm running servers in a AWS auto scale group. The running servers are behind a load balancer. I'm using the ELB to mange the auto scaling groups healthchecks. When servers are been started and join the auto scale group they are currently immediately join to the load balancer. How much time (i.e. the healthcheck grace period) do I need to wait until I let them join to the load balancer? Should it be only after the servers are in a state of running? Should it be only after the servers passed the system and the instance status checks? There are two types of Health Check available for Auto

How do I update multiple EC2 instances that are load-balanced? [closed]

淺唱寂寞╮ 提交于 2019-12-04 03:16:38
So, I have been playing around with Amazon Cloud (AWS) and I am trying to figure out how to get files on to all server's if they are load balanced. At first I thought I could tie 3 different instances to a load-balancer and then have each instance utilize the same volume. That way all I would have to do is update the one volume with the recent build of the site and each instance would then access that. However, I have read that you can't share volumes across instances. So what is the solution? Would I have to have the three instances all with the same data, and a forth that I could update?

AWS Elastic Load Balancer and multiple availability zones

半腔热情 提交于 2019-12-04 02:18:36
I want to understand how ELB load balances between multiple availability zones . For example, if I have 4 instances ( a1, a2, a3, a4 ) in zone us-east-1a and a single instance d1 in us-east-1d behind an ELB, how is the traffic distributed between the two availability zones? i.e., would d1 get nearly 50% of all the traffic or 1/5th of the traffic? If you enable ELB Cross-Zone Load Balancing , d1 will get 20% of the traffic. Here's what happen without enabling Cross-Zone Load Balancing: D1 would get nearly 50% of the traffic. This is why Amazon recommends adding the same amount of instances from

WebSockets and Load Balancing, a bottleneck?

那年仲夏 提交于 2019-12-04 01:59:48
When having a bunch of systems that act as WebSocket drones and a Load Balancer in front of those drones. When a WebSocket request comes into the LB it chooses a WebSocket drone, and the WebSocket is established. (I use AWS ELB tcp SSL-terminated at ELB) Question: Now does the created WebSocket go through the LB, or does the LB forward the WebSocket request to a WebSocket drone and thus there is a direct link between client and a WebSocket drone? If the WebSocket connection goes through the LB, this would make the LB a huge bottleneck. Removing the LB and handing clients a direct IP of a

Difference between “SOCK”, “PVM”, “MPI”, and “NWS” for the R SNOW package

隐身守侯 提交于 2019-12-04 01:24:54
The makeCluster function for the SNOW package has the different cluster types of " SOCK ", " PVM ", " MPI ", and " NWS " but I'm not very clear on the differences among them, and more specifically which would be best for my program. Currently I have a queue of tasks of different length going into a load balancing cluster with clusterApplyLB and am using a 64bit 32-core Windows machine. I am looking for a brief description of the differences among the four cluster types, which would be best for my use and why. Welcome to parallel programming. You may want to peruse the vignette of the excellent

Is it legitimate to use dropbox as file storage for my site?

 ̄綄美尐妖づ 提交于 2019-12-04 00:14:28
I am approaching the limits of my hosting plan. I doubled it once from 2 to 4 GB and my site (a popular woodworking community in Hebrew) is getting close to using the disk space available for the images people are uploading. I was wondering if it were a legitimate use of DropBox (or any of the other free cloud hosts), to serve the files of it as public files... i.e. whenever someone uploads a file to my server it will be instead uploaded using the DropBox API to the DropBox servers, and the Public LINK to the file will be stored in my DB and served to the users. Another option would be to

How to tell AWS application load balancer to not forward the path pattern?

梦想与她 提交于 2019-12-03 22:55:49
I have configured my AWS application load balancer to have the following rules: /images/* forward to server A ( https://servera.com ) /videos/* forward to server B ( https://serverb.com ) And this is correctly forwarding to the respective servers. However, I don't want the load balancer to forward the request as https://servera.com/images & https://serverb.com/videos . I just want the respective servers to be hit without the path pattern as https://servera.com & https://serverb.com (without the path patterns in the request). I don't want to modify my request parameters or change my server side