All Questions

Filter by
Sorted by
Tagged with
8
votes
1answer
339 views

How do I automate deployment to Docker with CircleCI?

My circle.yml file and my CircleCI account are set up to use Docker for testing already, but I'd like to move to continuous deployment upon a successful build. Here's what I have so far in circle.yml:...
15
votes
2answers
4k views

How do I run ansible on one host at a time and break on a failure

I've got an Ansible playbook where I want to update a number of flaky devices in sequence. I can use serial:1, but I want to stop the playbook altogether if I get a failure so I can fix it before ...
12
votes
1answer
3k views

Is it possible to trigger an AWS Lambda function directly from CloudWatch alarm?

Currently, for triggering a lambda function in response to a CloudWatch alarm, I need to route the alarm via SNS, like this: AWS CloudWatch Alarm --> Send to a topic in SNS --> SNS topic ...
4
votes
2answers
248 views

Would choosing the integration branch strategy be part of DevOps?

In a mature DevOps organisation would choosing a product/product line integration branch strategy be part of DevOps? What do I mean by integration branch strategy? For example a product team has to ...
7
votes
1answer
611 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-...
7
votes
2answers
353 views

What branching strategies/workflows are available for Git repositories?

I'm looking for a high-level, summary description of the recommended branching strategies/workflows primarily applicable with Git, which would serve as a guide for navigating this environment. ...
21
votes
4answers
3k views

How to get rid of develop branch for simplified Git flow

In a continuously developed web project (not a product) we currently have the following branching strategy, roughly based on git flow: develop branch: latest working version master branch: version to ...
13
votes
1answer
618 views

How do you manage your inventory of spot instances on AWS with Ansible

I am new to Ansible, with some experience in Chef. I am considering learn and use Ansible to manage environments. I was wondering, what would be the best practice to manage inventory of AWS spot ...
33
votes
3answers
510 views

Is DevOps compatible with ITIL?

In my career, I have been both a software developer and ITIL practitioner in an operations role. Thus DevOps was a natural progression for me. However, I have always struggled with the highly ...
20
votes
2answers
810 views

What is Value Stream Mapping?

I have heard a lot about Value Stream Mapping and how it can be used to analyse the value stream of manufacturing processes including the process of delivering software. I have never seen it ...
12
votes
1answer
589 views

How to deterministic and reproducibly assign increasing port numbers in Ansible?

I am new to Ansible, but I have to maintain a set of playbooks, which correspond to services to be setup in a given environment. They need to be assigned a port, certificates, etc. This results in ...
12
votes
2answers
298 views

How to implement the immutable server pattern without loosing the ability to do post-mortems?

The immutable server pattern is a deployment discipline favouring the reproducibility of deployments. It is characterised by the fact that “a server that once deployed, is never modified, merely ...
19
votes
2answers
5k views

Is it possible to set CloudWatch alarm for a combination of metrics?

For example, I want to trigger a CloudWatch alarm for the following: Number of messages sent - Number of messages deleted >= 6 The above is for AWS SQS metrics. And I want that metric to trigger AWS ...
8
votes
1answer
512 views

Vagrantfile change with Ansible playbook to control file permission on Vagrant synced folder for Trellis

I use Trellis for my WordPress development. It works great, except I'm finding it hard to change file (or directory) permission within the synced folder. Generally I'm OK with the default permission ...
6
votes
2answers
157 views

How to find the constraint in a software development shop?

Let us define a constraint as anything that prevents the system from achieving its goal and then look at the goal of DevOps in an organization. A good definition is "DevOps enables a fast flow of ...
9
votes
1answer
1k views

What steps could be taken to inherit and override some parts of a Chef cookbook?

With 3200+ cookbooks available in Chef supermarket, often there is already a cookbook that covers the need I need to solve. Almost every time there is some change required to a template, or a ...
13
votes
2answers
3k 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 ...
14
votes
5answers
8k views

What's the difference between checkin and checkout?

When teaching SCM classes to students that are new to Software Configuration Management, it happens that a question comes up like "What's the difference between checkin and checkout?". And a ...
4
votes
1answer
2k views

What are HiveQL limitations compared to SQL? [closed]

I'm aware that Apache Hive provides SQL-like interface to query stored data. So I would like to ask, what are the main limitation of Hive-based SQL-like compared to other relational SQL query ...
8
votes
1answer
1k views

How to manage Consul and its quorum in auto-scaling environments?

We have auto-scaling Docker environments in which we use Consul for service discovery. These environments can add or remove one instance every few minutes. Our early Consul testing showed that it was ...
5
votes
2answers
501 views

How efficiently does GlusterFS deal with failures?

What happens when one of the storage bricks goes down (HDD failure), how does GlusterFS deal with data recover? Is the stored data still safe?
9
votes
2answers
11k views

How to rebuild multiple jobs at the same time in Jenkins?

I'm using Jenkins Rebuild Plugin to execute a parametrized builds with a single Rebuild button. However when I need to rerun dozens of parametrized jobs (either selected, or from the same folder), it'...
13
votes
2answers
14k views

How to check Jenkins build executor free memory?

In Jenkins when clicking on Build Executor Status I can only see free disk space related statistics (URI: /computer). How I can monitor free system memory (RAM) in Jenkins? I'm asking, because ...
15
votes
1answer
178 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 ...
5
votes
1answer
339 views

How to automate TeamCity installation using docker?

JetBrains TeamCity docker image describe build steps for already installed TeamCity. Is there any way to automate installation of TeamCity it-self? For example creating the admin account, enabling ...
15
votes
3answers
1k views

How to use feature flag toggles?

What are the different ways to use feature flag toggles in applications? If you were to explain to a developer the exact things that should be done in order to get from nothing to a full feature-flag-...
47
votes
6answers
10k views

What is the difference between Sysadmin and DevOps Engineer?

When applying for a job, usually you can find two types of similar jobs: Sysadmin Engineer and DevOps Engineer. Both of them deal with server configuration and ensure the reliable operation of ...
13
votes
3answers
7k views

How do I troubleshoot missing data in my Prometheus database?

I have been gradually integrating Prometheus into my monitoring workflows, in order to gather detailed metrics about running infrastructure. During this, I have noticed that I often run into a ...
14
votes
4answers
7k views

How to increase the size of a disk on a running instance on Amazon EC2

I got a running instance of a EC 2 server setup with Ubunto. What's the best way to increase the disk size without any downtime and minimal risk? Reading through the guides, one way would be to ...
10
votes
2answers
2k views

Can you use `aws-sdk` to store objects in Google Storage?

Google Storage claims they support interoperability in their solution with Amazon AWS S3 and Eucalyptus Systems APIs. source: https://cloud.google.com/storage/docs/interoperability Can the aws-sdk ...
9
votes
1answer
700 views

Is there any way I can rotate AWS KMS keys every time interval < 1 year?

According AWS KMS, keys can be rotated once every year. However, there is no way I can define a custom time period for that. However, I can keep changing the same in the bucket's policy manually. So,...
9
votes
2answers
303 views

What CIs could build libraries written in C++/VBA and .NET (C#) projects?

I work in the IT department of automation/dev company and we are just about to implement/add CI into our set of tools. And we are having difficulties to choose the one. At the moment we've been ...
19
votes
2answers
3k views

Is cross-region replication 100% fool-proof for S3 region outages? [duplicate]

Amazon S3 has an option of cross-region replication which should be pretty fault-tolerant against region/zone outages. Does that mean those who are ranting about the outage did not make use of this ...
27
votes
5answers
674 views

Is DevOps restricted to companies with SaaS products?

The practices describing DevOps, such as continuous delivery, automation, etc. are relevant to products that provide continuous service, such as SaaS products. For example, a software development ...
9
votes
1answer
558 views

How can I manage changes in desired capacity due to scaling policies in AutoScaling Group state?

How can I manage changes in desired capacity due to scaling policies in AutoScaling Group state in terraform? Specifically, suppose I provision an aws_autoscaling_group resource with terraform with a ...
21
votes
1answer
460 views

How do I work around the fact that AWS SQS is not HIPAA compliant?

I have a use case where data from S3 is queued into AWS SQS, which is in turn connected to CloudWatch, whose metrics will be triggering AWS Lambda. However, I want the architecture to be HIPAA ...
15
votes
4answers
341 views

How to transition from a complex branching reality to a single-branch model?

In large organisations, using the waterfall methodology typically results in very complex branching structures (aka branch spagetti). What branching strategies can be used to transition from a ...
13
votes
2answers
502 views

What role do Configuration Managment tools play in immutable infrastructure?

If I'm using immutable servers/containers, do I need tools like Chef, Puppet, Ansible, or Salt? Those config management tools are designed to establish a configuration and then maintain it. If I'm ...
14
votes
2answers
675 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 ...
20
votes
1answer
619 views

Git clean/smudge filters for ansible vault secrets

I am trying to setup clean/smudge filter in git to have automatic encrypting and decrypting of files containing secrets thru ansible-vault command. Peculiarity of the ansible-vault command is that it ...
8
votes
1answer
271 views

Ansible playbook for configuring runit to supervise an uberjar?

We are using Ansible 1.9 for deploying Spring Boot microservices. We are using CentOS 6 and the services are packaged as rpms. We intend to configure the executable jar files to be supervised by ...
11
votes
1answer
355 views

How to upgrade job-dsl files to Jenkins 2 pipelines?

Is there a common practice for migrating a large repository of Jenkins job-dsl to Jenkins2 pipelines? I am looking for ways to test the behaviour of builds, that go a little further than comparison of ...
35
votes
5answers
5k views

How to test provisioning and configuration in Ansible setup?

Looking at trying to build some resilience into our Ansible setup which deals with provisioning and configuration. I understand a few methods of testing on the configuration side of things but I'm ...
8
votes
2answers
272 views

What is “black box” testing? [closed]

What is "black box" testing and how it is different from ordinary testing? For example black box tests prior to deploying to production. Note: "black box" testing is a common requirement when ...
6
votes
2answers
895 views

How does Cacti compare to Nagios?

So far I have been using the Nagios monitoring system. However, I'm not familiar with Cacti. How does Cacti compare to Nagios?
4
votes
1answer
451 views

How to terminate EC2 instance in Jenkins via Vagrant when job is stopped manually?

I've freestyle jobs which aims to run EC2 instances via Vagrant (vagrant up), however when I cancel the job manually (by clicking X button), the instances on EC2 are still running. How can I make sure ...
61
votes
4answers
7k views

What is the difference between SRE and DevOps?

What is the difference between SRE and DevOps? Site Reliability Engineering and Development Operations seem to overlap a lot in detail. How do I know which group is responsible for what, and how do I ...
33
votes
2answers
584 views

What is a good strategy to keep my site online when S3 goes offline?

What is a good strategy to keep my site online when S3 goes offline? If S3 US East 1 goes offline, how should I have my app configured/structured to prevent that taking my entire site offline? What ...
52
votes
6answers
19k views

How can I manage secrets in .tf and .tfstate?

I would like to use the Terraform MySQL Provider to keep a list of mysql users and grants handy for creating new test environments. The .tf and .tfstate files both seem to want to store the MySQL ...
0
votes
2answers
496 views

What is the origin of “Release early and often”?

Where does the origin of the Release Early, Release Often (RERO) principle come from?

15 30 50 per page