Skip to main content
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....
coderanger's user avatar
  • 1,197
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 (...
Dan Cornilescu's user avatar
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 ...
Bruce Becker's user avatar
  • 3,613
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.
W.M.'s user avatar
  • 187
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 ...
MLu's user avatar
  • 1,001
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 ...
Adrian Lopez's user avatar
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 ...
Nicholas Saunders's user avatar
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 ...
Richard Slater's user avatar
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.
jdog's user avatar
  • 650
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-...
jdog's user avatar
  • 650
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 ...
Alan-Cugler's user avatar
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 ...
M. Oberauer's user avatar
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 ...
030's user avatar
  • 13.2k

Only top scored, non community-wiki answers of a minimum length are eligible