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.

Deployment is the activity of making a system or part of a system available for use in a target environment.

It is worth noting the DevOps Practice of Continuous Deployment seeks to separate release from deployment:

For most organizations releasing and deploying are the same thing while in fact, these are 2 separate things:

  • Deployment: A technical handling where a new version of the software is deployed to a specific environment
  • Release: A business handling where the customers are informed that a new version of the software is available and can be used
163 questions
19
votes
4 answers

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 makes some good arguments for using a deb package…
avi
  • 1,279
  • 1
  • 13
  • 32
15
votes
1 answer

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 the codebase across several VCS repositories, each…
Michaël Le Barbier
  • 2,670
  • 1
  • 16
  • 27
15
votes
2 answers

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 sync with the previous prod blue environment. I…
Scott Stensland
  • 479
  • 3
  • 15
14
votes
2 answers

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? Another way to ask the question might be, “I used to…
Greg
  • 141
  • 2
14
votes
2 answers

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 from somewhere to use services it depends on. These…
Evgeny Zislis
  • 9,023
  • 5
  • 39
  • 72
13
votes
2 answers

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 wondering if there are other techniques for…
Fabian Schmengler
  • 485
  • 1
  • 4
  • 11
13
votes
2 answers

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: everytime a backend engineer creates a PR on bitbucket, I…
abbood
  • 473
  • 4
  • 13
13
votes
1 answer

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 an auto-scaling group of size 1. When I see that…
12
votes
5 answers

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 response was to post a link to Noah Gibbs' article "Do…
Richard Slater
  • 11,747
  • 7
  • 43
  • 82
12
votes
4 answers

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 resolving the differences. In Salt Stack those bits…
JackLeo
  • 223
  • 1
  • 6
11
votes
2 answers

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 have a default value and be able to change this…
11
votes
2 answers

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 not a tagged commit. Is there any way to deploy on…
kenorb
  • 8,011
  • 14
  • 43
  • 80
10
votes
2 answers

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) or Ruby (e.g. Capistrano, Chef). However, in my…
Henry
  • 211
  • 1
  • 8
10
votes
1 answer

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. After the creation of the docker image, I am…
Kyu96
  • 145
  • 3
  • 17
9
votes
3 answers

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 version 2.0. How to make sure the user service is…
Kaymaz
  • 355
  • 2
  • 8
1
2 3
10 11