Questions tagged [deployment]

Deployment is all of the activities that make a software system available for use. Questions relating to deploying software go under this tag.

Filter by
Sorted by
Tagged with
2
votes
1answer
23 views

Separating different deployment stages into different projects on Google Cloud Platform

I'm working on a project that we will deploy to Google Cloud Platform. The services we want to use include cloud run, SQL, and cloud storage. We will use several deployments for different phases of ...
1
vote
2answers
59 views

How do I maintain configuration in the case of multiple test environments and application instances

What's the best practice for maintaining app configuration for multiple test environments, (and production)? At the moment I am keeping all the config in the code repo (a bitbucket server). Configs ...
0
votes
0answers
25 views

When should I run my database migrations on a multi-server php app deployment thas uses a legacy database that previously had no migrations?

I have a multi-server laravel php application running behind a load balancer and I deploy the code using aws codebuild and codepipeline. The approach is to deploy my application one server at the ...
-1
votes
1answer
68 views

Do publishing and deployment mean the same?

https://docs.microsoft.com/en-us/dotnet/core/tutorials/publishing-with-visual-studio In Create a Hello World application with .NET Core in Visual Studio, you built a Hello World console application....
3
votes
2answers
99 views

For Evolutionary Database Tools like Flyway or LiquidBase, it is better to integrate the tool or left it as a stand alone step in the CI process?

Although I believe my question is language and DB agnostic, I will provide the specifics technologies in this case study because it might help understanding my question (sorry for my English). It's ...
3
votes
0answers
90 views

How to deploy new versions of software applications while allow old versions running?

Let me use Wine as an example. Wine on Ubuntu uses the server-client architecture. While I am using wine on Ubuntu to run some .exe programs, I upgrade wine. While I am able to continuously running ...
-3
votes
1answer
69 views

How to understand two-tier and three-tier solutions for web applications?

From Distributed Systems by Coulouris: Tiered architectures are complementary to layering. Whereas layering deals with the vertical organization of services into layers of abstraction, ...
5
votes
4answers
300 views

Does the size of a project make it riskier to deploy?

I was arguing this point with my boss the other day. He claims that the larger the code base the riskier the deployment. I argued that this is not true, though I see why he might think that. In my ...
-2
votes
1answer
76 views

Where do presentation, business logic, and data access layers and MVC components run: server side or client side?

I have some difficulty, when trying to understand about the architecture (presentation i.e. UI layer, business logic layer, and data access layer, and MVC) and deployment (which part runs on client or ...
0
votes
0answers
19 views

Canary Deployment by user with HA Proxy

I've got an app that uses HA Proxy as reverse proxy in order to route external calls to internal services within it. There would be the need to implement a canary deployment with a fine selection of ...
2
votes
1answer
203 views

How can I accurately estimate the minimum resources my application needs?

For an application that is starting out I do not want to over pay for servers and resources that will not be used since the budget is very limited at this point. This will be a for an iOS and Android ...
0
votes
0answers
20 views

Concurrent release versions on Repos + ClickOnce, what to anticipate?

I publish COM addins for Office via ClickOnce. At the moment, I have only one main branch on the Repos tree (using Azure DevOps), and each time I publish, all the users are automatically updated. Now,...
1
vote
2answers
337 views

Which artifact should I deploy to prod when using Git Flow?

Suppose I have the following series of commits when using Git Flow We have said that no new features will be included in the next release and have created a release branch (D). QA has started testing ...
1
vote
0answers
165 views

How to handle different XML configurations for different deployments

I am a software developer facing the following problem. Normally, I develop software and put client specific settings in a separate place (config file, database etc.). A new version of the software ...
0
votes
1answer
524 views

How to maintain and configure properties files for different environments in Java maven project?

A Java project with maven as build tool needs to be deployed to different environments, such as ci, dev, test, prod etc. Each environment has a properties file with the same set of properties such as: ...
3
votes
3answers
217 views

How to prevent bugs in business-level configurations with similar discipline as in source code?

We have a system that allows our clients to coordinate people (shoppers) so that they can delivery groceries within 45 minutes from the order creation. Each client has a set of stores where the ...
0
votes
2answers
218 views

Interface/Contracts in separate assembly?

Say I have BusinessService & domain logic as part of MyProj.MiddleTier csproj which connects to MyProj.DAL DataRepository via interface IDataRepository. I am using IOC unity container to build my ...
2
votes
0answers
23 views

Deployment pipeline as a component of an application

I am writing a serverless application using AWS SAM. I am wondering, would it be a good idea to include in my template a definition of a CodePipeline (and CodeBuild for that matter) for deploying that ...
5
votes
2answers
419 views

Terminology: Blue-Green deployment

Let's say your organization uses a blue-green deployment model. Simple question: After Blue has gone live, do you rename it to Green, and the server(s) formerly known as Green now becomes Blue? Or ...
2
votes
0answers
190 views

Blue-Green Deployment: how to synchronize and maintain data consistency after migration?

To provide zero downtime upgrades of my highload service I use blue green deployment strategy. Every moment data changing happens, so how to migrate all data consistently? In the moment I switch ...
1
vote
1answer
50 views

How to be more productive with CloudFormation? [closed]

When using Terraform instead of Cloudformation on AWS, I usually get immediate feedback on the terminal, which makes the work very productive. With CloudFormation, however, I tend to edit the file in ...
1
vote
2answers
163 views

API Microservices bundle multiple services as one deployment Vs separate deployable for each service

So I am going to be developing atleast 5-6 Res end points . ( all distinct and stateless ) Now I am debating on the following: Should they be combined as single war / ear or deploy each service ...
0
votes
0answers
35 views

How to restrict API endpoints which are deployed in AWS Application Load Balancer?

I created one webapi application which includes few modules like account, user etc and overall includes 10 or more endpoints. I deployed this in EC2 instances and configured in application load ...
1
vote
2answers
49 views

Best approach to deploying new features across multiple environments

We currently have four environments in AWS, development, test, beta and production. Previously, we released from develop to beta at the end of each sprint (2 weeks). We would create feature branches ...
1
vote
3answers
85 views

Do I need to 'deploy' my web project when I can just keep a recent clone of the Master-branch in public_html?

We have git installed on our webserver (via cpanel), but unfortunately no CI- / Deployment-Tools. Would it be good practice just initialise our repository in /public_html/ and push our local Dev-...
0
votes
1answer
115 views

equivalent of a JAR file for webassembly?

Are there any published standards of archive files to hold webassembly (multiple files) with a metadata file that defines the entry point? I'm thinking of something similar to JAR or APK.
5
votes
1answer
2k views

Blue Green Deployment With Single Database

I am trying to analyze blue green deployment strategy to provide zero downtime upgrades for our customers. We have an enterprise java based monolithic web application that uses Oracle as the data ...
0
votes
1answer
210 views

Distributing C# Dlls to Customers on Application Install

I am currently working on a software library that will be used to develop Class Libraries. These class libraries can be run by our application running on the user's machine The application uses the ...
0
votes
1answer
127 views

Why do we need nginx server on top of linux server?

Recently, I tried to deploy a web project to a virtual machine. I used the Ubuntu server as my OS, but while following along some tutorials I came to the fact which was very confusing for the beginner ...
0
votes
1answer
70 views

Python deployment to corporate shared filesystem

We are developing some Python applications (mostly CLI) for use only internally in the company. Hundreds of machines on which the applications may run. Instead of installing the apps on each machine, ...
0
votes
1answer
104 views

Git branching model for teams with develop, test and deploy phases

A developed piece of code goes these phases in our team: Developers write the code Then they send it to testers If tests pass, then testers send the change/new feature/bugfix to operations team for ...
1
vote
1answer
116 views

Sould i tag a hotfix release in production using GIT scm

We have weekly planned release cycle. Following standard semantic versioning system. Like first week V3.0.0, next V3.0.1 patch release, next week V3.1.0 minor release. Apart from the above planned ...
2
votes
1answer
585 views

Why place Composer in separate docker container?

Note: this question is not strictly PHP-oriented, since both Docker and Composer can be easily used outside of the PHP ecosystem (although such cases would be rather rare IMO). In one of the projects ...
0
votes
3answers
251 views

Does a change to a monolith require the whole application to be deployed?

In the book Building Microservices by Sam Newman, on chapter one in the section Ease of Deployment there's a sentence that has left me bothered: "A one-line change to a million-line-long monolithic ...
7
votes
1answer
842 views

What is the origin of “deployment environments” (dev/test/staging/prod)?

When reading about software deployment/release, I see many people referring to an idea that Wikipedia calls "deployment environments". The deployment environments of Development, Test, Acceptance and ...
2
votes
3answers
902 views

Using SPA ( Single-page-application) in production with separate configuration file/module

Problem statement dev team Dev team wants to pre-build the SPA's (Angular App & React App) and provide single package containing JS, CSS, & HTML file. There's no server-side rendering / lazy ...
2
votes
1answer
58 views

Where should this component be in Deployment Diagram

I have a quick question. Imagine this scenario: There is a webapp in server X. There is also another component (file) in server Y. In the webapp, starting, it does: <script src="component from ...
0
votes
2answers
132 views

Referencing custom Python modules and data files

I'd want to deploy my Python code and relevant static files such that only a copy of a folder is needed. That is, all the paths inside are relative. The release is to a web server, which calls scripts ...
0
votes
1answer
267 views

How cross platform and different programming languages deployment is done?

I'm interested to know how software deployment for cross platforms as well as different programming languages happen. Like, Customers is on - linux and Windows Languages - Java, .Net, Ruby and ...
0
votes
1answer
257 views

Make Docker-based SPA configurable

I have a single page app (Vue JS) that is built and released as docker image. The docker image is based on the official Nginx Docker image and serves the SPA as static content. Until now, there was ...
0
votes
2answers
95 views

How often should I push CRM solutions from Dev to Test in 3 week sprints?

I'm on a new CRM dev team. And simply put, I haven't seen sprint execution such a mess in my whole professional career. I have a deployment plan moving forward. I have an idea how I want continuous ...
2
votes
3answers
502 views

Database migrations and Code deployment

Should Database migrations be in included in the same deployment project as the code? If they are not included in the same deployment, the Database deployment package and the Code deployment package ...
1
vote
4answers
320 views

Dealing with settings that will change on a per-environment basis?

We have a bunch of appSettings in our ASP.NET web application, not to mention connection strings, that change on a per-environment basis. Not just for different environments to which the web ...
1
vote
1answer
92 views

How to divert IP traffic of 1 site to test new code before deploying

We have a number of IoT devices that communicate over TCP/IP to a server. Once connected, the server can then talk to the device, get data or send down commands. The server accepts incoming ...
6
votes
2answers
159 views

Distinction between continuous delivery and continuous deployment to production

According to Jez Humble, Continuous Delivery involves "ensuring our code is always in a deployable state" [1], and according to Humble's Thoughtworks colleage Martin Fowler "the key test is that a ...
7
votes
1answer
1k views

How to apply environment specific changes within the classic Git branching model?

I understand classic branching and deployment model as saying (in some small variant of the below): makes the changes on dev branch merge dev > staging branch, deploy to staging server, test it out ...
2
votes
3answers
935 views

Manual testing in the deployment pipeline

Our company still uses a lot of manual testing of software (and this will not change in the coming years). We try to improve our build and deployment process by using a deployment pipeline which ...
26
votes
7answers
7k views

Is it best practice to deploy a project to the server file by file manually?

The company I work for now doesn't implement continuous delivery yet. We still deploy the project manually to server, file by file. Which is best practice: to manually deploy one project artifact for ...
1
vote
1answer
81 views

How to handle regional versions of a website

The site I'm building currently has three different regional versions (Australia, Germany, rest-of-world). These will be deployed to seperate urls. It's a static site, hosted on s3 using react. The ...
1
vote
1answer
84 views

How to manage development credentials vs generic (example) ones?

I am an amateur developper and would like to share some of my code via GitHub or GitLabs. The problem I am trying to resolve is that I have a configuration file with my real credentials (used during ...