Alternatives to Fedora logo

Alternatives to Fedora

CentOS, Debian, openSUSE, Ubuntu, and Linux Mint are the most popular alternatives and competitors to Fedora.
596
502
+ 1
89

What is Fedora and what are its top alternatives?

Fedora is a popular Linux distribution known for its cutting-edge technology and commitment to open source. Key features of Fedora include frequent updates, a wide range of software packages, and a strong focus on security. However, some users may find the rapid release cycle and bleeding-edge nature of Fedora to be challenging, especially for stability-critical environments.

  1. Ubuntu: Ubuntu is a user-friendly Linux distribution known for its ease of use and large community support. Key features include long-term support (LTS) releases, extensive software availability, and a focus on user experience. Pros of Ubuntu include stability and widespread adoption, while cons include occasional software compatibility issues.
  2. Debian: Debian is a stable and versatile Linux distribution that prioritizes free software principles. Key features include a large software repository, package management system, and strong emphasis on security. Pros of Debian include stability and reliability, while cons include slower release cycles and potentially outdated software versions.
  3. CentOS: CentOS is a community-driven Linux distribution known for its compatibility with Red Hat Enterprise Linux (RHEL). Key features include long-term support, enterprise-grade stability, and seamless integration with Red Hat products. Pros of CentOS include robust security features and reliability, while cons include limited desktop usability and slower software updates.
  4. openSUSE: openSUSE is a flexible Linux distribution suitable for various use cases, including desktop and server environments. Key features include YaST configuration tool, advanced package management with Zypper, and multiple desktop environment choices. Pros of openSUSE include ease of installation and strong community support, while cons may include complex configuration options for beginners.
  5. Arch Linux: Arch Linux is a lightweight and customizable Linux distribution designed for more experienced users. Key features include rolling release model, minimalistic design, and extensive documentation. Pros of Arch Linux include flexibility and control over system components, while cons may include steep learning curve and potential instability due to frequent updates.
  6. Mageia: Mageia is a continuation of the Mandriva Linux distribution known for its user-friendly approach and community-driven development. Key features include a broad range of software packages, extensive control center for system configuration, and commitment to free software ideals. Pros of Mageia include ease of use and strong community support, while cons may include occasional software bugs and slower update frequency.
  7. Manjaro: Manjaro is a user-friendly Linux distribution based on Arch Linux, offering a balance between stability and cutting-edge software. Key features include intuitive package management with Pacman and user-friendly desktop environments. Pros of Manjaro include easy installation process and access to Arch Linux packages, while cons may include potential issues with software compatibility and fewer customization options compared to Arch Linux.
  8. Linux Mint: Linux Mint is a popular Linux distribution known for its focus on user experience and usability. Key features include Cinnamon desktop environment, update manager for system maintenance, and multimedia codecs out of the box. Pros of Linux Mint include user-friendly interface and stability, while cons may include slower adoption of new features compared to other distributions.
  9. Fedora Silverblue: Fedora Silverblue is an immutable Linux distribution based on Fedora Workstation, offering a containerized approach to system management. Key features include Atomic Workstation for system stability, Flatpak support for software distribution, and OSTree-based updates. Pros of Fedora Silverblue include enhanced security and simplified rollback capabilities, while cons may include learning curve for traditional Fedora users and limited package availability.
  10. Solus: Solus is an independent Linux distribution known for its curated software selection, desktop optimization, and user-focused development. Key features include Budgie desktop environment, independent software repository, and rolling release model. Pros of Solus include desktop performance and hardware compatibility, while cons may include smaller package repository compared to more established distributions.

Top Alternatives to Fedora

  • CentOS
    CentOS

    The CentOS Project is a community-driven free software effort focused on delivering a robust open source ecosystem. For users, we offer a consistent manageable platform that suits a wide variety of deployments. For open source communities, we offer a solid, predictable base to build upon, along with extensive resources to build, test, release, and maintain their code. ...

  • Debian
    Debian

    Debian systems currently use the Linux kernel or the FreeBSD kernel. Linux is a piece of software started by Linus Torvalds and supported by thousands of programmers worldwide. FreeBSD is an operating system including a kernel and other software. ...

  • openSUSE
    openSUSE

    The openSUSE project is a worldwide effort that promotes the use of Linux everywhere. openSUSE creates one of the world's best Linux distributions, working together in an open, transparent and friendly manner as part of the worldwide Free and Open Source Software community. ...

  • Ubuntu
    Ubuntu

    Ubuntu is an ancient African word meaning ‘humanity to others’. It also means ‘I am what I am because of who we all are’. The Ubuntu operating system brings the spirit of Ubuntu to the world of computers. ...

  • Linux Mint
    Linux Mint

    The purpose of Linux Mint is to produce a modern, elegant and comfortable operating system which is both powerful and easy to use. ...

  • Manjaro
    Manjaro

    It is an accessible, friendly, open-source Linux distribution and community. Based on Arch Linux, it provides all the benefits of cutting-edge software combined with a focus on getting started quickly, automated tools to require less manual intervention, and help readily available when needed. ...

  • JavaScript
    JavaScript

    JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles. ...

  • Git
    Git

    Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. ...

Fedora alternatives & related posts

CentOS logo

CentOS

13.6K
8.9K
53
The Community ENTerprise Operating System
13.6K
8.9K
+ 1
53
PROS OF CENTOS
  • 16
    Stable
  • 9
    Free to use
  • 9
    Reliable
  • 6
    Has epel packages
  • 6
    Good support
  • 5
    Great Community
  • 2
    I've moved from gentoo to centos
CONS OF CENTOS
  • 1
    Yum is a horrible package manager

related CentOS posts

Marcel Kornegoor

Since #ATComputing is a vendor independent Linux and open source specialist, we do not have a favorite Linux distribution. We mainly use Ubuntu , Centos Debian , Red Hat Enterprise Linux and Fedora during our daily work. These are also the distributions we see most often used in our customers environments.

For our #ci/cd training, we use an open source pipeline that is build around Visual Studio Code , Jenkins , VirtualBox , GitHub , Docker Kubernetes and Google Compute Engine.

For #ServerConfigurationAndAutomation, we have embraced and contributed to Ansible mainly because it is not only flexible and powerful, but also straightforward and easier to learn than some other (open source) solutions. On the other hand: we are not affraid of Puppet Labs and Chef either.

Currently, our most popular #programming #Language course is Python . The reason Python is so popular has to do with it's versatility, but also with its low complexity. This helps sysadmins to write scripts or simple programs to make their job less repetitive and automating things more fun. Python is also widely used to communicate with (REST) API's and for data analysis.

See more
Shared insights
on
UbuntuUbuntuOpenStackOpenStackCentOSCentOS
at

Hello guys

I am confused between choosing CentOS7 or centos8 for OpenStack tripleo undercloud deployment. Which one should I use? There is another option to use OpenStack, Ubuntu, or MicroStack.

We wanted to use this deployment to build our home cloud or private cloud infrastructure. I heard that centOS is always the best choice through a little research, but still not sure. As centos8 from Redhat is not supported for OpenStack tripleo deployments anymore, I had to upgrade to CentosStream.

See more
Debian logo

Debian

15.7K
10.9K
164
The Universal Operating System
15.7K
10.9K
+ 1
164
PROS OF DEBIAN
  • 54
    Massively supported
  • 50
    Stable
  • 21
    Reliable
  • 9
    Aptitude
  • 8
    Customizable
  • 8
    It is free
  • 8
    Turnkey linux use it
  • 6
    Works on all architectures
CONS OF DEBIAN
  • 10
    Old versions of software
  • 2
    Can be difficult to set up on vanilla Debian

related Debian posts

Labinator Team

At labinator.com, we use HTML5, CSS 3, Sass, Vanilla.JS and PHP when building our premium WordPress themes and plugins. When writing our codes, we use Sublime Text and Visual Studio Code depending on the project. We run Manjaro and Debian operating systems in our office. Manjaro is a great desktop operating system for all range of tasks while Debian is a solid choice for servers.

WordPress became a very popular choice when it comes to content management systems and building websites. It is easy to learn and has a great community behind it. The high number of plugins as well that are available for WordPress allows any user to customize it depending on his/her needs.

For development, HTML5 with Sass is our go-to choice when building our themes.

Main Advantages Of Sass:

  • It's CSS syntax friendly
  • It offers variables
  • It uses a nested syntax
  • It includes mixins
  • Great community and online support.
  • Great documentation that is easy to read and follow.

As for PHP, we always thrive to use PHP 7.3+. After the introduction of PHP 7, the WordPress development process became more stable and reliable than before. If you a developer considering PHP 7.3+ for your project, it would be good to note the following benefits.

The Benefits Of Using PHP:

  • Open Source.
  • Highly Extendible.
  • Easy to learn and read.
  • Platform independent.
  • Compatible with APACHE.
  • Low development and maintenance cost.
  • Great community and support.
  • Detailed documentation that has everything you need!

Why PHP 7.3+?

  • Flexible Heredoc & Nowdoc Syntaxes - Two key methods for defining strings within PHP. They also became easier to read and more reliable.
  • A good boost in performance speed which is extremely important when it comes to WordPress development.
See more
Jason Martin
Senior PHP Developer at Orange · | 14 upvotes · 84K views
Shared insights
on
LaravelLaravelMySQLMySQLDebianDebian

For your purposes, I recommend @Laravel, or even @Symfony or @Yii, or whatever. In your use case, a framework is 100% indicated, because it will cut your boilerplate in half or more, and you'll have a pre-fab organization for files, classes and so on. Personally, I am not a fan of Frameworks, because they tend to take over your project like cancer and trap you. But for an internal app to manage stuff, it's probably the best idea to use one (preferably one you like).

When doing internal apps, your best bet is to stick the essentials and basics, try Laravel with MySQL on a nice Debian virtual machine. Can't go wrong.

See more
openSUSE logo

openSUSE

108
157
13
The makers' choice for sysadmins, developers and desktop users
108
157
+ 1
13
PROS OF OPENSUSE
  • 4
    Stable
  • 3
    Lightweight for server
  • 2
    Snapshot
  • 2
    Rolling release
  • 2
    Reliable
CONS OF OPENSUSE
    Be the first to leave a con

    related openSUSE posts

    Ubuntu logo

    Ubuntu

    77.5K
    57K
    468
    The leading OS for PC, tablet, phone and cloud
    77.5K
    57K
    + 1
    468
    PROS OF UBUNTU
    • 230
      Free to use
    • 96
      Easy setup for testing discord bot
    • 57
      Gateway Linux Distro
    • 54
      Simple interface
    • 9
      Don't need driver installation in most cases
    • 6
      Open Source
    • 6
      Many active communities
    • 3
      Software Availability
    • 3
      Easy to custom
    • 2
      Many flavors/distros based on ubuntu
    • 1
      Lightweight container base OS
    • 1
      Great OotB Linux Shell Experience
    CONS OF UBUNTU
    • 5
      Demanding system requirements
    • 4
      Adds overhead and unnecessary complexity over Debian
    • 2
      Snapd installed by default
    • 1
      Systemd

    related Ubuntu posts

    CDG

    I use Laravel because it's the most advances PHP framework out there, easy to maintain, easy to upgrade and most of all : easy to get a handle on, and to follow every new technology ! PhpStorm is our main software to code, as of simplicity and full range of tools for a modern application.

    Google Analytics Analytics of course for a tailored analytics, Bulma as an innovative CSS framework, coupled with our Sass (Scss) pre-processor.

    As of more basic stuff, we use HTML5, JavaScript (but with Vue.js too) and Webpack to handle the generation of all this.

    To deploy, we set up Buddy to easily send the updates on our nginx / Ubuntu server, where it will connect to our GitHub Git private repository, pull and do all the operations needed with Deployer .

    CloudFlare ensure the rapidity of distribution of our content, and Let's Encrypt the https certificate that is more than necessary when we'll want to sell some products with our Stripe api calls.

    Asana is here to let us list all the functionalities, possibilities and ideas we want to implement.

    See more
    Tassanai Singprom

    This is my stack in Application & Data

    JavaScript PHP HTML5 jQuery Redis Amazon EC2 Ubuntu Sass Vue.js Firebase Laravel Lumen Amazon RDS GraphQL MariaDB

    My Utilities Tools

    Google Analytics Postman Elasticsearch

    My Devops Tools

    Git GitHub GitLab npm Visual Studio Code Kibana Sentry BrowserStack

    My Business Tools

    Slack

    See more
    Linux Mint logo

    Linux Mint

    277
    383
    69
    The most popular desktop Linux distribution and the 3rd most widely used home operating system behind Microsoft Windows...
    277
    383
    + 1
    69
    PROS OF LINUX MINT
    • 15
      Simple, Fast, Comfort and Easy to Use
    • 14
      Stable
    • 12
      Elegant
    • 11
      Good for beginners
    • 10
      Free to use
    • 3
      Out of the box
    • 3
      Reliable
    • 1
      Good software support
    CONS OF LINUX MINT
    • 3
      Easy to mess up with a few settings (like the panel)
    • 2
      Security breaches
    • 1
      Idiots can break it because it is open source

    related Linux Mint posts

    I can't get xdebug to work properly with Visual Studio Code in Linux Mint. Please help me out. I have already tried the main steps but the debugger won't stop at breakpoints or show any error message. I cant do stepping or anything proper of a debugger. The extension is installed, and the firefox helper too. The xdebug.so is in the correct directory and php.ini has the entries according to the manual. What else can I do?

    See more
    Manjaro logo

    Manjaro

    155
    190
    35
    An open-source Linux distribution
    155
    190
    + 1
    35
    PROS OF MANJARO
    • 9
      Good for beginners
    • 8
      AUR is huge
    • 6
      Very stable
    • 5
      Friendly community
    • 3
      Pacman is very fast
    • 2
      Highly customizable
    • 2
      Nice-looking bootloader
    CONS OF MANJARO
    • 6
      Would you give your grandma linux?
    • 3
      Occasional freezes if wrongly configured
    • 2
      Not highly stable
    • 1
      High data requirement frequently

    related Manjaro posts

    Labinator Team

    At labinator.com, we use HTML5, CSS 3, Sass, Vanilla.JS and PHP when building our premium WordPress themes and plugins. When writing our codes, we use Sublime Text and Visual Studio Code depending on the project. We run Manjaro and Debian operating systems in our office. Manjaro is a great desktop operating system for all range of tasks while Debian is a solid choice for servers.

    WordPress became a very popular choice when it comes to content management systems and building websites. It is easy to learn and has a great community behind it. The high number of plugins as well that are available for WordPress allows any user to customize it depending on his/her needs.

    For development, HTML5 with Sass is our go-to choice when building our themes.

    Main Advantages Of Sass:

    • It's CSS syntax friendly
    • It offers variables
    • It uses a nested syntax
    • It includes mixins
    • Great community and online support.
    • Great documentation that is easy to read and follow.

    As for PHP, we always thrive to use PHP 7.3+. After the introduction of PHP 7, the WordPress development process became more stable and reliable than before. If you a developer considering PHP 7.3+ for your project, it would be good to note the following benefits.

    The Benefits Of Using PHP:

    • Open Source.
    • Highly Extendible.
    • Easy to learn and read.
    • Platform independent.
    • Compatible with APACHE.
    • Low development and maintenance cost.
    • Great community and support.
    • Detailed documentation that has everything you need!

    Why PHP 7.3+?

    • Flexible Heredoc & Nowdoc Syntaxes - Two key methods for defining strings within PHP. They also became easier to read and more reliable.
    • A good boost in performance speed which is extremely important when it comes to WordPress development.
    See more
    JavaScript logo

    JavaScript

    351.6K
    267.7K
    8.1K
    Lightweight, interpreted, object-oriented language with first-class functions
    351.6K
    267.7K
    + 1
    8.1K
    PROS OF JAVASCRIPT
    • 1.7K
      Can be used on frontend/backend
    • 1.5K
      It's everywhere
    • 1.2K
      Lots of great frameworks
    • 897
      Fast
    • 745
      Light weight
    • 425
      Flexible
    • 392
      You can't get a device today that doesn't run js
    • 286
      Non-blocking i/o
    • 237
      Ubiquitousness
    • 191
      Expressive
    • 55
      Extended functionality to web pages
    • 49
      Relatively easy language
    • 46
      Executed on the client side
    • 30
      Relatively fast to the end user
    • 25
      Pure Javascript
    • 21
      Functional programming
    • 15
      Async
    • 13
      Full-stack
    • 12
      Setup is easy
    • 12
      Future Language of The Web
    • 12
      Its everywhere
    • 11
      Because I love functions
    • 11
      JavaScript is the New PHP
    • 10
      Like it or not, JS is part of the web standard
    • 9
      Expansive community
    • 9
      Everyone use it
    • 9
      Can be used in backend, frontend and DB
    • 9
      Easy
    • 8
      Most Popular Language in the World
    • 8
      Powerful
    • 8
      Can be used both as frontend and backend as well
    • 8
      For the good parts
    • 8
      No need to use PHP
    • 8
      Easy to hire developers
    • 7
      Agile, packages simple to use
    • 7
      Love-hate relationship
    • 7
      Photoshop has 3 JS runtimes built in
    • 7
      Evolution of C
    • 7
      It's fun
    • 7
      Hard not to use
    • 7
      Versitile
    • 7
      Its fun and fast
    • 7
      Nice
    • 7
      Popularized Class-Less Architecture & Lambdas
    • 7
      Supports lambdas and closures
    • 6
      It let's me use Babel & Typescript
    • 6
      Can be used on frontend/backend/Mobile/create PRO Ui
    • 6
      1.6K Can be used on frontend/backend
    • 6
      Client side JS uses the visitors CPU to save Server Res
    • 6
      Easy to make something
    • 5
      Clojurescript
    • 5
      Promise relationship
    • 5
      Stockholm Syndrome
    • 5
      Function expressions are useful for callbacks
    • 5
      Scope manipulation
    • 5
      Everywhere
    • 5
      Client processing
    • 5
      What to add
    • 4
      Because it is so simple and lightweight
    • 4
      Only Programming language on browser
    • 1
      Test
    • 1
      Hard to learn
    • 1
      Test2
    • 1
      Not the best
    • 1
      Easy to understand
    • 1
      Subskill #4
    • 1
      Easy to learn
    • 0
      Hard 彤
    CONS OF JAVASCRIPT
    • 22
      A constant moving target, too much churn
    • 20
      Horribly inconsistent
    • 15
      Javascript is the New PHP
    • 9
      No ability to monitor memory utilitization
    • 8
      Shows Zero output in case of ANY error
    • 7
      Thinks strange results are better than errors
    • 6
      Can be ugly
    • 3
      No GitHub
    • 2
      Slow

    related JavaScript posts

    Zach Holman

    Oof. I have truly hated JavaScript for a long time. Like, for over twenty years now. Like, since the Clinton administration. It's always been a nightmare to deal with all of the aspects of that silly language.

    But wowza, things have changed. Tooling is just way, way better. I'm primarily web-oriented, and using React and Apollo together the past few years really opened my eyes to building rich apps. And I deeply apologize for using the phrase rich apps; I don't think I've ever said such Enterprisey words before.

    But yeah, things are different now. I still love Rails, and still use it for a lot of apps I build. But it's that silly rich apps phrase that's the problem. Users have way more comprehensive expectations than they did even five years ago, and the JS community does a good job at building tools and tech that tackle the problems of making heavy, complicated UI and frontend work.

    Obviously there's a lot of things happening here, so just saying "JavaScript isn't terrible" might encompass a huge amount of libraries and frameworks. But if you're like me, yeah, give things another shot- I'm somehow not hating on JavaScript anymore and... gulp... I kinda love it.

    See more
    Conor Myhrvold
    Tech Brand Mgr, Office of CTO at Uber · | 44 upvotes · 10.7M views

    How Uber developed the open source, end-to-end distributed tracing Jaeger , now a CNCF project:

    Distributed tracing is quickly becoming a must-have component in the tools that organizations use to monitor their complex, microservice-based architectures. At Uber, our open source distributed tracing system Jaeger saw large-scale internal adoption throughout 2016, integrated into hundreds of microservices and now recording thousands of traces every second.

    Here is the story of how we got here, from investigating off-the-shelf solutions like Zipkin, to why we switched from pull to push architecture, and how distributed tracing will continue to evolve:

    https://eng.uber.com/distributed-tracing/

    (GitHub Pages : https://www.jaegertracing.io/, GitHub: https://github.com/jaegertracing/jaeger)

    Bindings/Operator: Python Java Node.js Go C++ Kubernetes JavaScript OpenShift C# Apache Spark

    See more
    Git logo

    Git

    290.4K
    174.5K
    6.6K
    Fast, scalable, distributed revision control system
    290.4K
    174.5K
    + 1
    6.6K
    PROS OF GIT
    • 1.4K
      Distributed version control system
    • 1.1K
      Efficient branching and merging
    • 959
      Fast
    • 845
      Open source
    • 726
      Better than svn
    • 368
      Great command-line application
    • 306
      Simple
    • 291
      Free
    • 232
      Easy to use
    • 222
      Does not require server
    • 27
      Distributed
    • 22
      Small & Fast
    • 18
      Feature based workflow
    • 15
      Staging Area
    • 13
      Most wide-spread VSC
    • 11
      Role-based codelines
    • 11
      Disposable Experimentation
    • 7
      Frictionless Context Switching
    • 6
      Data Assurance
    • 5
      Efficient
    • 4
      Just awesome
    • 3
      Github integration
    • 3
      Easy branching and merging
    • 2
      Compatible
    • 2
      Flexible
    • 2
      Possible to lose history and commits
    • 1
      Rebase supported natively; reflog; access to plumbing
    • 1
      Light
    • 1
      Team Integration
    • 1
      Fast, scalable, distributed revision control system
    • 1
      Easy
    • 1
      Flexible, easy, Safe, and fast
    • 1
      CLI is great, but the GUI tools are awesome
    • 1
      It's what you do
    • 0
      Phinx
    CONS OF GIT
    • 16
      Hard to learn
    • 11
      Inconsistent command line interface
    • 9
      Easy to lose uncommitted work
    • 7
      Worst documentation ever possibly made
    • 5
      Awful merge handling
    • 3
      Unexistent preventive security flows
    • 3
      Rebase hell
    • 2
      When --force is disabled, cannot rebase
    • 2
      Ironically even die-hard supporters screw up badly
    • 1
      Doesn't scale for big data

    related Git posts

    Simon Reymann
    Senior Fullstack Developer at QUANTUSflow Software GmbH · | 30 upvotes · 9.6M views

    Our whole DevOps stack consists of the following tools:

    • GitHub (incl. GitHub Pages/Markdown for Documentation, GettingStarted and HowTo's) for collaborative review and code management tool
    • Respectively Git as revision control system
    • SourceTree as Git GUI
    • Visual Studio Code as IDE
    • CircleCI for continuous integration (automatize development process)
    • Prettier / TSLint / ESLint as code linter
    • SonarQube as quality gate
    • Docker as container management (incl. Docker Compose for multi-container application management)
    • VirtualBox for operating system simulation tests
    • Kubernetes as cluster management for docker containers
    • Heroku for deploying in test environments
    • nginx as web server (preferably used as facade server in production environment)
    • SSLMate (using OpenSSL) for certificate management
    • Amazon EC2 (incl. Amazon S3) for deploying in stage (production-like) and production environments
    • PostgreSQL as preferred database system
    • Redis as preferred in-memory database/store (great for caching)

    The main reason we have chosen Kubernetes over Docker Swarm is related to the following artifacts:

    • Key features: Easy and flexible installation, Clear dashboard, Great scaling operations, Monitoring is an integral part, Great load balancing concepts, Monitors the condition and ensures compensation in the event of failure.
    • Applications: An application can be deployed using a combination of pods, deployments, and services (or micro-services).
    • Functionality: Kubernetes as a complex installation and setup process, but it not as limited as Docker Swarm.
    • Monitoring: It supports multiple versions of logging and monitoring when the services are deployed within the cluster (Elasticsearch/Kibana (ELK), Heapster/Grafana, Sysdig cloud integration).
    • Scalability: All-in-one framework for distributed systems.
    • Other Benefits: Kubernetes is backed by the Cloud Native Computing Foundation (CNCF), huge community among container orchestration tools, it is an open source and modular tool that works with any OS.
    See more
    Tymoteusz Paul
    Devops guy at X20X Development LTD · | 23 upvotes · 8.6M views

    Often enough I have to explain my way of going about setting up a CI/CD pipeline with multiple deployment platforms. Since I am a bit tired of yapping the same every single time, I've decided to write it up and share with the world this way, and send people to read it instead ;). I will explain it on "live-example" of how the Rome got built, basing that current methodology exists only of readme.md and wishes of good luck (as it usually is ;)).

    It always starts with an app, whatever it may be and reading the readmes available while Vagrant and VirtualBox is installing and updating. Following that is the first hurdle to go over - convert all the instruction/scripts into Ansible playbook(s), and only stopping when doing a clear vagrant up or vagrant reload we will have a fully working environment. As our Vagrant environment is now functional, it's time to break it! This is the moment to look for how things can be done better (too rigid/too lose versioning? Sloppy environment setup?) and replace them with the right way to do stuff, one that won't bite us in the backside. This is the point, and the best opportunity, to upcycle the existing way of doing dev environment to produce a proper, production-grade product.

    I should probably digress here for a moment and explain why. I firmly believe that the way you deploy production is the same way you should deploy develop, shy of few debugging-friendly setting. This way you avoid the discrepancy between how production work vs how development works, which almost always causes major pains in the back of the neck, and with use of proper tools should mean no more work for the developers. That's why we start with Vagrant as developer boxes should be as easy as vagrant up, but the meat of our product lies in Ansible which will do meat of the work and can be applied to almost anything: AWS, bare metal, docker, LXC, in open net, behind vpn - you name it.

    We must also give proper consideration to monitoring and logging hoovering at this point. My generic answer here is to grab Elasticsearch, Kibana, and Logstash. While for different use cases there may be better solutions, this one is well battle-tested, performs reasonably and is very easy to scale both vertically (within some limits) and horizontally. Logstash rules are easy to write and are well supported in maintenance through Ansible, which as I've mentioned earlier, are at the very core of things, and creating triggers/reports and alerts based on Elastic and Kibana is generally a breeze, including some quite complex aggregations.

    If we are happy with the state of the Ansible it's time to move on and put all those roles and playbooks to work. Namely, we need something to manage our CI/CD pipelines. For me, the choice is obvious: TeamCity. It's modern, robust and unlike most of the light-weight alternatives, it's transparent. What I mean by that is that it doesn't tell you how to do things, doesn't limit your ways to deploy, or test, or package for that matter. Instead, it provides a developer-friendly and rich playground for your pipelines. You can do most the same with Jenkins, but it has a quite dated look and feel to it, while also missing some key functionality that must be brought in via plugins (like quality REST API which comes built-in with TeamCity). It also comes with all the common-handy plugins like Slack or Apache Maven integration.

    The exact flow between CI and CD varies too greatly from one application to another to describe, so I will outline a few rules that guide me in it: 1. Make build steps as small as possible. This way when something breaks, we know exactly where, without needing to dig and root around. 2. All security credentials besides development environment must be sources from individual Vault instances. Keys to those containers should exist only on the CI/CD box and accessible by a few people (the less the better). This is pretty self-explanatory, as anything besides dev may contain sensitive data and, at times, be public-facing. Because of that appropriate security must be present. TeamCity shines in this department with excellent secrets-management. 3. Every part of the build chain shall consume and produce artifacts. If it creates nothing, it likely shouldn't be its own build. This way if any issue shows up with any environment or version, all developer has to do it is grab appropriate artifacts to reproduce the issue locally. 4. Deployment builds should be directly tied to specific Git branches/tags. This enables much easier tracking of what caused an issue, including automated identifying and tagging the author (nothing like automated regression testing!).

    Speaking of deployments, I generally try to keep it simple but also with a close eye on the wallet. Because of that, I am more than happy with AWS or another cloud provider, but also constantly peeking at the loads and do we get the value of what we are paying for. Often enough the pattern of use is not constantly erratic, but rather has a firm baseline which could be migrated away from the cloud and into bare metal boxes. That is another part where this approach strongly triumphs over the common Docker and CircleCI setup, where you are very much tied in to use cloud providers and getting out is expensive. Here to embrace bare-metal hosting all you need is a help of some container-based self-hosting software, my personal preference is with Proxmox and LXC. Following that all you must write are ansible scripts to manage hardware of Proxmox, similar way as you do for Amazon EC2 (ansible supports both greatly) and you are good to go. One does not exclude another, quite the opposite, as they can live in great synergy and cut your costs dramatically (the heavier your base load, the bigger the savings) while providing production-grade resiliency.

    See more