6
votes
To design a blue green deploy how to publish websocket traffic from live to hot swap server
Websockets don't really have any handling for this per se. You could build your own system but generally the idea for HA is that if anything happens you'll set the client up to automatically reconnect....
5
votes
Accepted
To design a blue green deploy how to publish websocket traffic from live to hot swap server
With a minimally engineered server code (a Google AppEngine application in the example) it's possible to duplicate and forward incoming HTTP traffic received by a production server to a test server (...
2
votes
Accepted
Jmeter simulating traffic and avoiding 429
Given that this is symptomatic of rate limiting in Nginx in this case, the solution is to configure the rate limiting feature of Nginx to allow this
A whitelist could be created in the configuration ...
2
votes
How to make an AWS S3 bucket accessible over HTTP?
One possibility is mounting the bucket as s3fs and serving the root folder as usually done by Nginx.
2
votes
How to make an AWS S3 bucket accessible over HTTP?
Download - yes. Simply set each Object ACL to be publicly readable.
List - sort of. If you set the Bucket ACL to publicly readable anyone can list the content. However it's a rather human-unfriendly ...
1
vote
Ingress ip returns HTTP error DNS_PROBE_FINISHED_NXDOMAIN
There are two main reasons for this issue to happen:
Your dns are not exposed.
Your code is redirecting to a https address (and since you are working in your local machine, most likely you don't have ...
1
vote
Can't access startfile http://localhost/
created with:
docker run -d -p 80:8080 -p 443:8443 jetty
gives a start page as:
Error 404 - Not Found.
No context on this server matched or handled this request.
Contexts known to this server ...
1
vote
Service for hosting native JavaScript ES modules
Have you considered CDNjs.com:
It supports CORS headers, it is dedicated to JavaScript after all.
It supports HTTP/2 as well as SPDY.
The cache duration is 355 days, which is probably plenty long ...
1
vote
How to make an AWS S3 bucket accessible over HTTP?
In addition to Mlu answer, you can put Cloud front in front of the bucket and implement basic auth and probably listing/sorting with a Lambda@edge function.
1
vote
Auto-scaling, how to securely get code from private repo
If the repo is on AWS Codecommit, you should be able to access it via a role setup for each type of instance.
See under IAM role here https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-...
1
vote
Auto-scaling, how to securely get code from private repo
Another option is to use saltstack's product: salt
This Configuration Management System (CMS) can protect sensitive data in three ways.
1) Pillars; these are securely stored and encrypted key:value ...
1
vote
Auto-scaling, how to securely get code from private repo
Option 1:
You could place your private repo in the same VPC as the instance and then pull code from there. Just make sure the repo cannot be accessed from outside the VPC.
Option 2:
Ssh into the new ...
1
vote
Accepted
Nginx /foo and /foo/ redirects
One could replace
rewrite /(.*) /ipns/QmdpoFuwY/$1 break;
with
rewrite ^(.*[^/]) /ipns/QmdpoFuwY/$1 break;
and try again.
The issue was solved by inspecting the logs. If for example one navigated ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
http × 8servers × 2
docker × 1
kubernetes × 1
amazon-web-services × 1
containers × 1
amazon-ec2 × 1
deployment × 1
automation × 1
testing × 1
amazon-s3 × 1
autoscaling × 1
images × 1
ingress × 1
repository × 1
minikube × 1
resilience-testing × 1
cdn × 1
cors × 1
bluegreen × 1