Skip to main content

Questions tagged [deployment]

Use this tag for questions about deployment, which is about all the activities to make (part of) a system available for use in some target environment.

Filter by
Sorted by
Tagged with
19 votes
4 answers
4k views

Are there any drawbacks of using a deb package as if it was a container to deploy an application?

My team is currently trying to decide if we should deploy our Nodejs app as a deb package instead of trying to run it in a container such as Docker. I got this idea from reading this blog here which ...
avi's user avatar
  • 1,279
15 votes
2 answers
6k views

How to store credentials that are required by an application?

Everyone is saying that storing credentials in version control (git) is a bad thing. So there must be other ways to store credentials which are much better. An application must receive credentials ...
Evgeny Zislis's user avatar
15 votes
2 answers
1k views

To design a blue green deploy how to publish websocket traffic from live to hot swap server

A blue green deploy involves pumping live prod data flows (blue) into a hot swap non prod environment (green) in preparation to deploy to live the green environment, such that the green has full data ...
Scott Stensland's user avatar
15 votes
1 answer
220 views

How to achieve a smooth transition from “the one big VCS repository for all products” organisation model to the “many small VCS repositories” model?

It is a common scenario that the codebase of a product held by a repository in some VCS system evolves to a point where that codebase can arguably be seen as containing several products. Splitting ...
Michaël Le Barbier's user avatar
14 votes
2 answers
784 views

How do I automate deployments with Kubernetes?

Assuming I have Kubernetes deployed via Rancher and Jenkins is building new images and pushing them to DockerHub upon check-in of new code to GitHub, how do I automate getting new images deployed? ...
Greg's user avatar
  • 141
13 votes
1 answer
2k views

How to support releasing new versions of the code, running in parallel with the last stable release?

I have one service in production (on AWS), which follows the immutable server pattern. Its deployment looks like this: Create a new AMI with Packer. Create a new CloudFormation stack, starting with ...
Philipp Claßen's user avatar
13 votes
2 answers
459 views

Which ways are there to decouple deployment from release?

One method of continuous deployment is to decouple deployment from release, i.e. deploy updates without activating the changes immediately. I know that feature-toggles can be used for this, but I'm ...
Fabian Schmengler's user avatar
13 votes
2 answers
3k views

how to automatically create a subdomain for every pull request

Background I got a team of untechnical QA's who have to do testing on iOS/android apps for every Pull Request (PR) that gets created by my backend team. Question This is what I want to do: ...
abbood's user avatar
  • 473
12 votes
5 answers
2k views

Are configuration management tools appropriate to use as deployment tools?

Off the back of my answer to the question: How can DevOps help to improve Software Escrow procedures? Tensibai had the question: What would necessitate Capistrano on top of puppet or chef? My ...
Richard Slater's user avatar
12 votes
4 answers
946 views

Infrastructure as code and TDD

Infrastructure as code tells us to use tools that automate your builds. Great. Tools like ansible, chef, puppet, salt stack and others push us towards writing how infrastructure looks like, while ...
JackLeo's user avatar
  • 223
11 votes
2 answers
1k views

Is it possible to autodeploy on every commit in a specific branch using Travis CI and GitHub?

I'd like to deploy files using Travis CI and it only works for a tagged commit. When committing to the branch, there is a warning: Skipping a deployment with the releases provider because this is ...
kenorb's user avatar
  • 7,921
11 votes
2 answers
2k views

Tool for storing per environment configuration

I have a requirement to store configuration information on a per environment basis in a tool. This is a tool with a GUI for adding/updating configuration values (e.g connection strings). This should ...
tim's user avatar
  • 111
10 votes
2 answers
1k views

Javascript based alternative to Fabric

Is there a similar DevOps tool to fabric with JavaScript as its scripting language? I'm specifically interested in the remote execution side. Most of the tools I've found rely on python (e.g fabric) ...
Henry's user avatar
  • 211
10 votes
1 answer
1k views

Automate custom docker image deployment on AWS

This question is related to my previous one - but a bit more descriptive. I am trying to build automate the generation and deployment of a docker container. The docker container is created with packer....
Kyu96's user avatar
  • 145
9 votes
3 answers
2k views

How to deploy multiple dependent micro services

We want to deploy multiple microservices on AWS ECS. The issue that we need to solve is how to deploy them in an atomic way: Let says we have the front-end services which requires the user service ...
Kaymaz's user avatar
  • 355
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
8 votes
2 answers
2k views

Blue Green Deployment DB transactions management

Imagining I have 2 sets of environment(Blue and Green) + | | | v +-------+---------+ | Proxy/LB | | | +--+----...
Veerendra K's user avatar
8 votes
2 answers
7k views

What is the difference between packages and artifacts?

I would like to understand the difference between package and artifact. Also In what context we should use these terms.
Shash's user avatar
  • 183
8 votes
1 answer
144 views

Strategy for deploying/hosting javascript-based static websites in containers

This comes up from time to time in several of our dev teams, without us having figured out the "right" way: We use a lot of react-based webapplications that "compile" into static websites that are ...
Trondh's user avatar
  • 381
8 votes
2 answers
2k views

Encrypting docker images (end to end); transporting over offline channels

We are developing and building docker images in our intranet, and need to deploy them to several hosts belonging to us (developers, internal testing, external testing and so on). Some of these are in ...
AnoE's user avatar
  • 4,896
7 votes
1 answer
852 views

How to implement Continuous Deployment in Angular, PHP API and Ansible projects?

I am working on an Angular2 project with Yii2 (PHP/MySQL) as its API point. We will need to deploy the Angular app in different languages for different customers (using AOT compilation from angular-...
axtho's user avatar
  • 93
7 votes
3 answers
693 views

Continuous Deployment best practices for managing application configuration

My CD pipeline: Get Docker image (created and pushed during CI stage). Copy docker-compose .yml template to target server. Run the app. Let's go straight to the 3rd point. I can run the app using ...
CryptoNewbie's user avatar
6 votes
1 answer
2k views

Where does the string docker.example.com in my GitLab CI job come from?

I am trying to have a Docker image deployed to my server by GitLab CI, but it only worked once¹ and then dies with the error message below. Here is the .gitlab-ci.yml snippet: deploy-image: image: ...
mcnesium's user avatar
  • 375
6 votes
2 answers
6k views

Kubernetes configuration with yaml anchors

I have a deployment.yaml file and want to reuse the environment for all my deployments like this: apiVersion: apps/v1 kind: Deployment metadata: name: beat spec: selector: matchLabels: ...
Most Wanted's user avatar
6 votes
2 answers
80 views

Handle OS and Software maintenance/updates on Hardware distributed to Customers

In the last weeks I have tried to find a solution to the following scenario assuming that someone else had similar requirements and documented his solution but all my searches were unsuccessful. So ...
Stefan Podskubka's user avatar
6 votes
3 answers
2k views

How to do blue-green deployment with PL/SQL code?

Is it possible to do blue-green deployment when your software is mostly a set of PL/SQL packages? I don't really want to duplicate the database, the financial risks in case of any desyncs are too big....
Alexey's user avatar
  • 161
6 votes
1 answer
1k views

Re-using Python virtual environment vs Re-building it

Currently, we build our application on a build server where we create a virtual environment using virtualenv command, install all the Python dependencies into it, then "patch" it using the following ...
alecxe's user avatar
  • 849
5 votes
1 answer
220 views

How to keep many servers (5000+) up-to-date?

Initially asked here: https://stackoverflow.com/questions/60674502/how-to-keep-many-servers-5000-up-to-date-with-git-and-its-rate-limits The initial post: We're making a php service that will run on ...
patrick_vane's user avatar
5 votes
2 answers
15k views

Helm install or upgrade release failed on Kubernetes cluster: the server could not find the requested resource or UPGRADE FAILED: no deployed releases

Using helm for deploying chart on my Kubernetes cluster, since one day, I can't deploy a new one or upgrading one existed. Indeed, each time I am using helm I have an error message telling me that it ...
french_dev's user avatar
5 votes
1 answer
5k views

What is difference between release and deployment?

What is the basic difference between software release and deploy? What is the relation between software release management and continuous deployment?
rohit.dagur's user avatar
5 votes
1 answer
205 views

Methodology for software development and deploy in fast-paced agency

Background: Three months ago I was called to do a freelance job for a rather big agency, with 40~50 employees. Things were chaotic when I got here. The entire development team had been hired by ...
Lucas Bustamante's user avatar
5 votes
1 answer
171 views

Deployment custom App in Microsoft Teams

I am developing a chatbot Azure service, which I want to integrate within Microsoft Teams. So far everything is working but the "re-install" of the package in the Microsoft Teams. I created ...
blfuentes's user avatar
  • 171
5 votes
0 answers
611 views

Does the GitHub Container Registry provide something like a Deploy Key?

Currently I push to the GitHub Container Registry (GHCR) with my Personal Access Token. Is there a method to deploy a PRIVATE project "GitHub Container Registry" such that a token will only ...
Evan Carroll's user avatar
  • 2,251
4 votes
4 answers
266 views

DevOps tools and automation of manual processes

This is a general question, but couldn't find a better place to ask. I'm a new DevOps member in a company, and I've been ask to "update" our DevOps technologies. Generally speaking, in what areas do ...
Tina J's user avatar
  • 151
4 votes
4 answers
10k views

Is it possible to mount an s3 bucket as a point in a docker container?

I have a Java EE packaged as war file stored in an AWS s3 bucket. I will like to mount the folder containing the .war file as a point in my docker container. I have managed to do this on my local ...
christian Martin's user avatar
4 votes
1 answer
4k views

What's the term for moving/promoting code between deployment environments

I'm looking for a term that unambiguously describes the process of promoting a "deployment bundle" (for lack of a more accurate/technical term) from one deployment environment to another, from ...
Patrick Nemenz's user avatar
4 votes
1 answer
94 views

Passing in a file with configuration

One of the steps in our deployment process requires a configuration file that we don't want to commit to the repository and rather have it passed in by the Bamboo itself. Is there some sort of task/...
DemoBytom's user avatar
  • 141
4 votes
1 answer
3k views

How to deploy docker-compose to a remote host

I am new to the docker ecosystem and I am trying to figure out a proper deployment infrastructure for a system I am working on. Imagine a following scenario: a system consists of three microservices ...
Adam Wolski's user avatar
4 votes
1 answer
351 views

What is a glob in salt-stack?

I was going through targeting minions in salt. There I came across a term called glob. Can someone explain with an example what is a glob in Salt-Stack?
Dheeraj Chelaramani's user avatar
4 votes
1 answer
158 views

Limits of, or preconditions for of Blue-Green deployment?

I find a lot information about the blue green deployment pattern but maybe miss a point. Please help me to understand. Could it be scenarios where you can't successfully duplicate the information ...
Ta Mu's user avatar
  • 6,782
4 votes
1 answer
1k views

Is GitLab flow (or GitHub flow, etc) anti build-once deploy-everywhere?

Historically, especially in the Java world, build-once, deploy everywhere has been a very big thing for deployments. Artifacts should be built exactly one time when a release is made and stored ...
John Humphreys's user avatar
4 votes
2 answers
13k views

How to start a VPN connection using Jenkins?

I'm on a Windows Server and I want to have a pipeline project on Jenkins that basically does this: SVN update Build Deploy As the deploy target machine is on a different network, I want to know how ...
Guilherme Castro's user avatar
4 votes
1 answer
55 views

I need a good tool for running a series of Spring Boot based tools on Docker, where each needs a web page and a database connection

These are pretty much just tools our support and ops departments need to solve small tasks which crop up as a routine sideeffect of our main business operation. They might need to find all instances ...
tofagerl's user avatar
4 votes
1 answer
99 views

Process guidance for new development team leader

I've just recently taken over leadership of a small team of developers within our group. The previous Team Leader was very much into micro-management and ran the development stream in a six week ...
philcart's user avatar
4 votes
1 answer
2k views

How can I share a (global) variable between salt states?

I am using Salt for deployment and configuration management. In order to attach to a FreeIPA server, I need to randomly generate an OTP token and then use it to attach to IPA. How can I share a ...
James Shewey's user avatar
  • 3,732
4 votes
1 answer
82 views

What are best practices for over-committing resources in a staging environment?

Suppose there is a staging environment very strapped for resources as new development, data workloads and other applications grow. Ideally one would like to maintain production parity, even at the ...
user avatar
3 votes
3 answers
222 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
3 votes
2 answers
545 views

Automating creation of new VM and pushing code to server

Automating creating of new VM and pushing code to server Hi all, I am writing a integration test for a client-server application. To simulate the production server setup, and to update the code, I ...
alpha_989's user avatar
  • 131
3 votes
2 answers
256 views

K8s cluster not deploying deployments across all the nodes

I am a beginner in kubernetes. I have a cluster running with 4 nodes. All the nodes are currently running fine. They are not tainted, or drained. Every time I deploy a deployment it will only deploy ...
hxugox97's user avatar
3 votes
2 answers
272 views

What is the most used tool for Cloud Infrastructure deployment Ansible vs Puppet vs Terraform?

I have some time for research at work right now, and I was thinking on expanding my knowledge on my favorite subject, which is DevOps (love you all). I have some advanced experience with Ansible, as ...
jasper's user avatar
  • 55