As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [environments]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
0 answers
21 views

AWS Cloudformation - managing multiple stages versioning and deployment

I'm working on a simple cloudformation stack for a web app (some lambda functions, api gateway, cloudfront distribution, etc). The cloudformation stack template is currently versioned on a gitlab ...
fudo's user avatar
  • 141
0 votes
0 answers
30 views

Preparing docker images containing different sets of preinstalled windows applications - possible?

I'm looking for a solution that allows to provide the predefined environments for developer work. Each environment should contain preinstalled 3rd party applications - most of them are GUI ...
VillageTech's user avatar
0 votes
1 answer
27 views

Local dev, online test/prod - best approach?

My teams develop on their laptops (using the wonderful K3D) with a local repo. But, the test and prod environments are in Azure. Locally we configure a docker image repository (using k3d), and in ...
Software Engineer's user avatar
1 vote
1 answer
26 views

Deploying environment secrets to services

I know I can use CD pipelines to deploy an app to a given environment (dev/stage/prod) Given that each environment should have its own environment variables/secrets for each app, how can I streamline ...
Jordan Renaud's user avatar
0 votes
0 answers
9 views

Managing environments on Google Cloud Services

On our Google Cloud, we are running a K8 cluster for our main services, as well as Lambda functions and a Pub/Sub service. Managing environments on K8 is easy, and done through namespaces. But the Pub/...
Mike M's user avatar
  • 143
1 vote
1 answer
67 views

How to put production-like data into version control

One goal of DevOps is to create reproducible, production-like environments from source-code repositories. To achieve this, I believe it's necessary to also restore all the data that is needed to setup ...
ggradnig's user avatar
  • 113
0 votes
0 answers
8 views

Environment configuration with tabular data

I keep environment-specific configuration for my system in Consul KV. For a while I'm maintaining those values directly using Consul API/UI, but looking forward to create a dedicated config repo, ...
Kombajn zbożowy's user avatar
2 votes
2 answers
31 views

Growing local development environment issues

Where I work we've been adding microservices for different purposes and the local development environment is becoming difficult to setup. Services have too many environment variables to configure and ...
David Montaño's user avatar
3 votes
3 answers
134 views

Should I shut down the staging environment when the deployment test ends?

I have a small application deployed on an EC2 instance. I need a staging environment so I've thought of two choices: Deploy the same app again on the same instance, and that would be a staging ...
mr L's user avatar
  • 131
1 vote
3 answers
138 views

Best Practice for Kubernetes Development Environment

When using kubernetes with minkube locally, what is best practice for a development environment? When using docker, in development I have mounted a volume with the source code, so I can modify code ...
Aaron's user avatar
  • 111
1 vote
1 answer
34 views

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

We are converting a traditional docker-compose based service stack to a Kubernetes based services Before the conversion we had three deployment environments Local : Basically this is the developer's ...
inckka's user avatar
  • 141
3 votes
1 answer
1k views

What approach should I take to store environment variables for a repo?

I am setting up a new infrastructure as code repository for a small to medium size project. The problem I am currently trying to solve is how to store my environment variables such that they can be ...
Savvly's user avatar
  • 33
0 votes
1 answer
44 views

How to handle resource creation?

We're moving from a .NET monolithic application to a microservices architecture hosted on Azure. Until now, we only had one build definition on TFS and a release definition for each environment (...
empz's user avatar
  • 67
1 vote
1 answer
172 views

How to manage images versions via docker-compose with Ansible

I planned to use docker-compose and a few scripts to manage the deployment of my app on staging and production. My idea was to use one docker-compose.yml with one .env file for each environment. In ...
gervais.b's user avatar
  • 155
1 vote
2 answers
292 views

GUI over GitLab CI Environment Deployments With Multiple Instances?

Let's say I have a SaaS style project (similar to Databricks). We may make release 2.0.0 of this project, have automated testing and deployment to dev, automated promotion to nonprod, etc. In ...
John Humphreys's user avatar
1 vote
1 answer
299 views

Build Docker Images with Ansible + Vagrant

So I am working on a research project and I am trying to automatically generate specific environments on different virtualization techniques. So, first I made a Vagrantfile that pulls an Ubuntu ...
Kyu96's user avatar
  • 105
2 votes
1 answer
135 views

Preventing accidental production deployments in ansible

Last night I ran a playbook from a wrong branch that referenced an old inventory file with old IPs for each server, and deployed a dev build to a production machine. What would be a a good practice to ...
JavaHead's user avatar
  • 123
2 votes
1 answer
1k views

How to approach dynamic environments per Git feature branch workflow?

Our system consists of 2 frontend applications A and B (both in JavaScript/Angular), 3 backend applications C, D and E (main API and two microservices all in Go) MongoDB as F Our team grows bigger, ...
Marian Kostko's user avatar
1 vote
1 answer
2k views

How to setup multiple build environments in Azure DevOps/TFS2018?

So I have an application that contains an ASP.NET Core backend and a React frontend (pure static). In our TFS 2018, we have created a Build that does the following: Get sources from the repo Get ...
empz's user avatar
  • 67
3 votes
1 answer
24 views

What's the best way to restrict an environment to a specific CDN?

We have had problems a couple times now where the links to the CDN in our components don't get properly updated between the team, QA, and staging environments. Is there a way to force an error if the ...
avi's user avatar
  • 1,269
10 votes
2 answers
251 views

Deploying VMs using roles and hosts in Ansible based on operating system

I'm having issues working out how to best apply hosts/roles to different operating systems in Ansible. I'm currently using Ansible to generate Windows/Mac/Linux VMs, and each of the VMs have ...
Rekovni's user avatar
  • 933
6 votes
2 answers
231 views

How to reconcile Infrastructure as Code and not storing env config in code?

When developing a Web App, and trying to adhere to what is generally considered best practice, e.g. The 12 factor app methodology etc. One key concept is to keep configuration and sensitive data out ...
George Edwards's user avatar
4 votes
2 answers
308 views

VM Hosts: Single Large Host or Few Smaller Hosts?

First, I apologize if this is the wrong forum to ask this question. I was wondering if this is a ServerStack or DevOps question. In either case here it goes: I am building a small software shop and I ...
bleepzter's user avatar
  • 163
2 votes
1 answer
235 views

Where to Store Container Configuration

(I reviewed this question but the one answer doesn't offer practical solutions.) The general wisdom when it comes to containers appears to be: "Make them immutable and identical." I take this to ...
Dave Swersky's user avatar
  • 4,033
8 votes
2 answers
1k views

How to synchronize deployments (especially of database object changes) on multiple environments [duplicate]

I am the DevOps engineer and a software engineer in a team where months back, the developers moved from having a central Oracle DB to having the DB on a CentOS VM on their individual laptops. The move ...
user1063's user avatar
4 votes
2 answers
4k views

How does 'Environment Management' work in a DevOps world?

I've had some very interesting conversations today about the role of Environment Management within teams that follow DevOps practices. The traditional role of an Environment Manager was someone who: ...
Richard Slater's user avatar