Hot answers tagged

38 votes
Accepted

Who is this Chaos Monkey and why did he crash my server?

TL;DR: Chaos Monkey was developed in 2010 at Netflix and released into wild in 2012 is part of the Simian Army, wildly popular among devoted followers. Built on principles of chaos engineering, the ...
user avatar
  • 5,627
16 votes
Accepted

What are the pro and cons of SnowFlakes Servers, Phoenix Servers and Immutable Servers?

The term Phoenix Server was coined by a fellow of Martin Fowler, and all three terms described in short articles on Martin's bliki. Snowflake Server Phoenix Server Immutable Server The pros and cons ...
user avatar
10 votes

Does Docker allow containers to be OS agnostic?

Does the Docker engine abstract away the OS such that this configuration will run both apps? No, it does not. Docker uses containerisation as a core technology, which relies on the concept of sharing ...
user avatar
  • 1,345
9 votes

What are the pro and cons of SnowFlakes Servers, Phoenix Servers and Immutable Servers?

As I was more thinking of a listing of advantages and drawbacks of each type, here's is my view (not exhaustive, it's the important operational ones in my opinion): Snowflakes Servers What they are: ...
user avatar
  • 11.1k
9 votes

Who is this Chaos Monkey and why did he crash my server?

Some additions to your own answer to this question ... Additional monkeys The article about "How chaos boosts performance" describes a few more of these monkeys, i.e.: 10-18 Monkey: finds ...
user avatar
  • 6,963
5 votes
Accepted

How to serve a custom index.html using the stock nginx docker image?

The "official" nginx image has a specific path where it looks for files. You can either copy a file into the image by creating a new image from it or mount your files into this path as a ...
user avatar
5 votes

Reverse Proxy and TCP Optimization Inside the Network

Tuning the parameters you have identified will certainly have an effect - to degrade performance. For example, net.ipv4.tcp_window_scaling is an on or off option. Similarly, net.ipv4.tcp_sack is ...
user avatar
  • 3,674
4 votes
Accepted

Teaching an old dog new tricks: Finally adopting the micro-service architecture

In your approach I see a few scalability problems - I'm judging from a Google App Engine (GAE) context, where scalability is achieved via breakdown of the work in small tasks/work items and strict ...
user avatar
3 votes
Accepted

How do you hide sensitive information held in variables on a docker-compose file

Use environment variables on your host that are read by your docker-compose.yml file. There are a couple ways to accomplish this. One way is to create a .env file on the host that contains your ...
user avatar
  • 718
3 votes
Accepted

What are the advantages of using AWS nameservers as opposed to servers provided by other registrars?

There are two parts to owning a domain. The registration, and the hosting of the DNS entries. As you are transferring the domain registration, AWS needs to know whose service do you want to use for ...
user avatar
3 votes

Who is this Chaos Monkey and why did he crash my server?

One Server to rule them all, One Server to find them, One Server to bring them all and in the outage bind them You, Sauron, forged this One Server, in the Darkness of Mount Doom your Datacenter in ...
user avatar
  • 11.1k
3 votes
Accepted

VM Hosts: Single Large Host or Few Smaller Hosts?

A good rule of thumb is to try and avoid using one bit of logical kit (be it a single VM or a single physical host) for more than one thing. If a physical server is going to be a VM host then that's ...
user avatar
  • 1,634
2 votes

What are the pro and cons of SnowFlakes Servers, Phoenix Servers and Immutable Servers?

All three are patterns of sorts, it isn't is a case of picking and choosing which to use in any specific circumstance but a case of knowing when to recognise the patterns that can help or hurt you. ...
user avatar
2 votes

Any site to host my little utility script?

Have you considered running this on AWS Lambda. It will probably forever free under free tier. There may be a couple of cents cost on API Gateway. Otherwise you can rent outdated servers for cents per ...
user avatar
  • 650
2 votes

Using tmux to host a server

What you want can be done. I've seen it done with GNU screen when Tmux wasn't around yet. However, I would not consider it good style to do it. There are better ways to do this. Daemons are simply "...
user avatar
2 votes

What is the DevOps Best Practices for Hybrid environments?

There may be a significant speed difference between provisioning an environment and bringing up that environment. Especially when it comes to what you mentioned: IaaS and hybrid environments - those ...
user avatar
2 votes
Accepted

Hacking attempts to our server - what does this code do?

This is a backdoor type script attempting to get information about global php configuration settings. $alphabet holds (in obfuscated form) the string "base64_decode". base64_decode is a function to ...
user avatar
  • 136
2 votes

Does Docker allow containers to be OS agnostic?

Yeah go nuts, you can run whatever you want in the container so long as the host supports virtualisation and can run the docker binary!
user avatar
  • 1,082
1 vote
Accepted

What would be the monthly hosting cost for eSchool Smart System

It depends on how much storage your school needs for storing files and concurrent requests that come from your web and mobile application users. You can use infracost to estimate cost on different ...
user avatar
  • 36
1 vote

How to ensure data protection on remote server?

First of all, all data you can compile can be decompiled if you really want its a question about time, so you are correct here. I did not know where in the world you are, but I will recommend AWS, ...
user avatar
1 vote

How to mitigate issues in an IIS on-prem application calling an unreliable cloud vendor API?

I'd make the invocation safe, use some try/catch on the invocation itself. That way, if the API is unreachable or HTTP error code is returned - the app can handle it and present the "error" ...
user avatar
1 vote

What are the cost effective ways to deploy services using Kubernetes on multiple deployment environments?

Based on my experience I'd suggest following scenario: First you should make your apps deployment process similar for all environments, so same tool and set of files will be responsible for this part. ...
user avatar
1 vote

How to serve a custom index.html using the stock nginx docker image?

running and copying files into the container: root@mordor:~# root@mordor:~# sudo docker run --name docker-nginx -p 80:80 -d nginx 29b4280504c2d46c10b8459de0844ba30bce0c1bc97b70521c3f812f29d17c27 root@...
user avatar
1 vote
Accepted

How to navigate to an index.html with nginx?

Did you only try to reach localhost? Or even 0.0.0.0 or 127.0.0.1? Depending on the operating system, docker config and the internal networking setup, some problem can occurs to reach the docker ...
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 ...
user avatar
1 vote
Accepted

WIndows or Ubuntu server when developing on windows?

I dont see downsides of using your Windows laptop. Its a matter of preference. If you know how to deal with Windows Environment variables, paths, EOL characters, you should be good. Many developers ...
user avatar
1 vote

Jenkins SSH connection on remote server immediately closes after login

Check to see if the home directory for Jenkins was created? /home/jenkins
user avatar
  • 176
1 vote
Accepted

Maximally-self-managed hosting-platforms and OS-and-above containerizators (like Vagrant)

Yes, there are plenty of providers which make the first step redundant; i.e. they give you a working, optimized, running Linux box just by clicking a button, without you having to care how it works. ...
user avatar
  • 4,716
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 ...
user avatar
  • 12.6k
1 vote

VM Hosts: Single Large Host or Few Smaller Hosts?

As I see it, the basic problem you have is that you aren't looking at the Total Cost of Ownership (TCO). While you may eventually save on the hardware costs, this is costing you in man-hours - either ...
user avatar
  • 3,674

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