Questions tagged [infrastructure]

393 questions
10
votes
2 answers

Ideal terraform workspace project structure

I'd like to setup Terraform to manage dev/stage/prod environments. The infrastructure is the same in all environments, but there are differences in the variables in every environment. What does an ideal Terraform project structure look like now that…
mark
  • 1,953
  • 1
  • 24
  • 47
10
votes
4 answers

Ansible windows client or host with Ansible linux server? Possible?

I am using Ansible for some infrastructure management problem for my project. I achieved this task using a Linux client like say to copy a bin file from Ansible server and install it on a client machine. This involves tasks in my playbooks using…
Googler
  • 525
  • 3
  • 12
  • 30
9
votes
1 answer

Writing a 'Chaos Monkey' to increase resilience

Apologies for the rather open nature of the question, but I think its a very valuable area of discussion. Following the recent AWS outage and the huge number of horror stories that followed it, I was really impressed by the Chaos Monkey 'technique'…
isNaN1247
  • 17,793
  • 12
  • 71
  • 118
8
votes
3 answers

Terraform with existing production resources

I’m new to Terraform, I’d like to eventually have a Terraform template of my production resources so I can easily deploy to multi-regions and for disaster recovery. How can I do this if my resources on AWS (EC2, S3,VPC, etc) are already deployed?
J. Thomas
  • 81
  • 1
  • 4
7
votes
4 answers

How to set up SSL in a load balanced environment?

Here is our current infrastructure: 2 web servers behind a shared load balancer dns is pointing to the load balancer web app is done in asp.net, with wcf services My question is how to set up the SSL certificate to support https connection. Here…
ronaldwidha
  • 1,345
  • 2
  • 12
  • 24
7
votes
1 answer

Does a simple monolith application need kubernetes to manage

I'm very new to the infrastructure so I built a simple monolith application and I use docker for building a container and deploy it on my linux server. My question is, do I need to install kubernetes for a single container and if no how can I scale…
Patrick
  • 734
  • 11
  • 26
7
votes
1 answer

Running Django migrations in a multi-container Docker setup

Is it safe to allow multiple instances of a Django application to run the same database migration at the same time? Scenario description This is a setup where a multiple instances of a Django application are running behind a load balancer. When an…
Gunther
  • 2,474
  • 4
  • 31
  • 45
7
votes
1 answer

Verbose cmake: How to get more diagnostics?

I am getting some strange error from cmake : loading initial cache file ../../Tweaks/compiler-rt/arm.txt -- Performing Test COMPILER_RT_HAS_FPIE_FLAG CMake Error at CMakeLists.txt:2 (set): Syntax error in cmake code at …
Serge Rogatch
  • 13,865
  • 7
  • 86
  • 158
7
votes
2 answers

Ansible - Automation remote or local?

If running an automation tool like Ansible to build your infrastructure stack in the cloud (e.g. AWS), is it enough to have your automation tool and build stack in separate regions/VPCs in the cloud, or does it make more sense to have your…
7
votes
3 answers

Cloud Database Service Latency/Performance

I am running a heavy traffic site and our server is beginning to get to its limits, at the moment the entire LAMP stack is on one box (not ideal). I would like to move the database onto it's own box or onto a cloud service, but from my previous…
Gcoop
  • 3,372
  • 4
  • 26
  • 35
7
votes
2 answers

What is the minimum set of types required to compile `async` code?

Out of curiosity, I'm trying to get some simple async/await code to compile under .NET 3.5 Client Profile: async void AwaitFoo() { await new Foo(); } class Foo { public IFooAwaiter GetAwaiter() { … } } interface IFooAwaiter :…
stakx - no longer contributing
  • 83,039
  • 20
  • 168
  • 268
7
votes
1 answer

atomic hadoop fs move

While building an infrastructure for one of my current projects I've faced the problem of replacement of already existing HDFS files. More precisely, I want to do the following: We have a few machines (log-servers) which are continuously generating…
Mikhail Shevelev
  • 408
  • 5
  • 12
6
votes
1 answer

Azure Regions - What does "Stage" mean?

When observing the available regions for Azure using: az account list-locations -o table There are several regions with a stage suffix (e.g. eastusstage) - often the same region also exists without the suffix (e.g. eastus). What does the stage…
krsche_
  • 178
  • 1
  • 8
6
votes
0 answers

Multiple web-sockets in a front-end application

This is a "design" or a "best-practices" theoretical question. Most commonly web apps that use websocket connections use at most one websocket connection. However, there are no limitations for a web app to use more e.g. 10. More websocket…
Laimonas Sutkus
  • 3,247
  • 2
  • 26
  • 47
6
votes
0 answers

Sending AWS ALB traffic from one account to another

I am trying to set up a multi-account organisation on AWS, where the root account acts as a landing zone, and the other accounts are split between our deployment environments (staging/production). One of my challenges is that we have our SSL…
1
2
3
26 27