Skip to main content
Share Your Experience: Take the 2024 Developer Survey
29 votes
Accepted

What is a good strategy to keep my site online when S3 goes offline?

In March 2015, Amazon AWS announced they support S3 replication across regions. When a certain region in S3 goes offline, you can serve files from your mirror in another region. source: https://aws....
Evgeny Zislis's user avatar
11 votes

What is a good strategy to keep my site online when S3 goes offline?

What you are asking for is, basically, high-availability. In order to make a system highly available, you need three things: Eliminate single points of failure A mechanism to switch from an endpoint ...
Alexandre's user avatar
  • 1,965
11 votes
Accepted

Is cross-region replication 100% fool-proof for S3 region outages?

The drawback when there's replication come from the note below: Amazon S3 routes any virtual hosted–style requests to the US East (N. Virginia) region by default if you use the US East (N. ...
Tensibai's user avatar
  • 11.4k
10 votes

Is cross-region replication 100% fool-proof for S3 region outages?

Many big companies would be at fault for not using this feature. It does add additional cost, and historically any kind of real disaster recovery solution is untested even if implemented. Other than ...
Evgeny Zislis's user avatar
5 votes
Accepted

How to handle availability zones and failover with ansible? Is it even within the scope of ansible?

What your are describing can typically be addressed with a correct inventory design. [zone1] serverA serverB serverC [zone2] server1 server2 server3 [zone3] serverX serverY serverZ [jenkins_master]...
Zeitounator's user avatar
5 votes

How can I simulate failure of an AWS Availability Zone?

This (slightly old in cloud years) question on Hacker News provides a few suggestions: Remove the security groups from all instances in one zone, which should technically make them all appear 'down' ...
Tim Malone's user avatar
  • 1,225
5 votes
Accepted

Does HA-git exist?

So, I know I’ve praised GitLab in my other answer to your questions before, but it really is awesome. They have a an HA solution called GitLab Geo. It’s primarily meant to speed up GitLab usage for ...
BoomShadow's user avatar
  • 1,472
4 votes

How can I simulate failure of an AWS Availability Zone?

This lab from AWS Well-Architected will show you how to implement an AWS AZ failure simulation using Bash, Java, Python, C#, or PowerShell https://wellarchitectedlabs.com/reliability/300_labs/...
Seth E's user avatar
  • 141
3 votes
Accepted

Is making kubernetes masters schedulable a really bad idea?

https://kubernetes.io/docs/tasks/administer-cluster/highly-available-master/ Best practices for replicating masters for HA clusters Try to place master replicas in different zones. During a ...
030's user avatar
  • 13.2k
3 votes

Does HA-git exist?

Take a look at Gitea, https://gitea.io/en-US/, much easier to host yourself than Gitlab and you are in control if things go down. I think that by making the database backend HA you could roll out more ...
Elvar's user avatar
  • 131
3 votes

How to create high availability databases?

There are docker images for running opensource databases in high availability mode such as https://info.crunchydata.com/blog/an-easy-recipe-for-creating-a-postgresql-cluster-with-docker-swarm You can ...
simbo1905's user avatar
  • 1,172
2 votes

Mysql with Kubernetes

I would suggest to only run stateless apps in k8s. One should run statefull apps like databases in dedicated database solutions like AWS RDS.
030's user avatar
  • 13.2k
2 votes
Accepted

If we are using Kubernetes do we need to implement HA on both the infrastructure and application level?

Your application requirements really do influence your options here, maybe add more detail about the app because this subject is very much about your application architecture too. The application ...
spaceshipdev's user avatar
2 votes

What are vertical scalability limits of JFrog Artifactory Pro?

As @XiongChiamiov mentioned, it's a very hard question to answer, but here's a clue: Artifactory is a network-bond server. It means given enough storage, CPU and memory, it will max out your network ...
JBaruch's user avatar
  • 383
2 votes
Accepted

How can I set up Deployment to run at least one pod on each node?

You can use topologySpreadConstaints for spreading Deployment pods evenly across nodes, regardless of the number of pods. Kubernetes documentation contains multiple examples, as well as following ...
David Lukac's user avatar
1 vote
Accepted

Load balancing while deployment

Your load balancer usually offers this as configuration. Using HAProxy as an example (this is similar for most load balancers) you can change: Whether a server is in balance or not What proportion of ...
Fenton's user avatar
  • 323
1 vote

When do I scale services on Azure DevOps?

Azure DevOps is already replicated across multiple Azure Data Centers. They did this after the south east data center hosting Azure Devops (then VSTS) went down for a few days, bringing down the ...
xtreampb's user avatar
  • 433
1 vote
Accepted

Recommended Design - Communication among Jenkins + Vault + App

My choice would be design B. It's true that the availability of the Vault would be crucial, but Jenkins' availability would similarly be crucial in design A. So from this perspective the decision ...
Dan Cornilescu's user avatar
1 vote
Accepted

When should an application be copied to a new region?

First a primer on regions and availability zones Regions are physical places where the AWS resources are located. As such different regions may offer different resources. This is also important ...
Wesley Rolnick's user avatar
1 vote
Accepted

When setting up HashiCorp Vault in HA mode, is it normal that you have to unseal each Vault node?

According to this documentation, each vault has to be unsealed in a HA setup. Now you need to initializing and unsealing each Vault instance. # Initialize vault_s1 $ vault operator init # Unseal ...
030's user avatar
  • 13.2k
1 vote

Measure service unavailability during upgrade

What you suggest might be the simplest way to collect the data, but you will have to do quite a bit of work to extract the availability over certain periods. I think it's fair to say that if you ...
Bruce Becker's user avatar
  • 3,603
1 vote

What are best practices for running Hashicorp's Vault in terms of high availability?

Well, the first step is to use a backend which supports HA. Consul, for example, supports HA. If you are not an enterprise customer, you may have to run a shell script via cron to upload consul ...
pichekistha's user avatar
1 vote
Accepted

What are best practices for running Hashicorp's Vault in terms of high availability?

According to this documentation two vault servers have to be run. One of them has to be active and the other passive. In order to run such a setup both vault servers need to be unsealed.
030's user avatar
  • 13.2k

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