Ansible vs Docker vs Kubernetes

Need advice about which tool to choose?Ask the StackShare community!

Ansible

14.1K
11.2K
+ 1
1.3K
Docker

115.2K
91.6K
+ 1
3.8K
Kubernetes

39K
33K
+ 1
628
Advice on Ansible, Docker, and Kubernetes
Eddy Kapelczak [PHARMDs]
Pharmacist | CEO | Student at Prescripz TeleHealth · | 9 upvotes · 13.6K views
Needs advice
on
DockerDocker
and
AnsibleAnsible

I am looking for an easy to use platform or VPS hosting service that will allow me to deploy additional VPS at will and quickly install the OS as well.

I am also looking for a backend software that allows team messaging (chat service, video, and audio) that can be self-hosted and is free. Also, an easy to use webRTC library would be great too!

See more
Replies (6)

I would recommend DigitalOcean for quick VPS creation. But it worth to consider Kubernetes or at least Docker. Once I did a project with DigitalOcean. They were guarantee kind of 90 seconds for creation of new VPS from a predefined template. But if you will decide to use Kubernetes (you can use DigitalOcean for that too, or other clouds, like Google, Azure, Amazon) - the deployment would be even much quicker than 90 seconds.

See more
Anibal Ardid
Recommends
PleskPlesk

Do you referred about hosting or about tool/software to use in it ? About soft managing vps/dedicated server ... I tried manual lamp installation, cyperpanel, cpanel, plesk, webmin, etc.

Now, in my opinion, plesk offers the best solution.

I installed on Arsys web hosting (cloud vps) as free, and I pay official plesk support ($10/month). I could create domains, different accounts, etc.

I do that via cli (command line , bash commands), but you could do via web .

If you have any doubt askme ;)

See more
Recommends
Amazon EC2Amazon EC2

Use Amazon EC2 for your infrastructure (including the OS, Networking, Storage, Compute, etc.). Create an AWS account for free here.

Use Ansible to configure your Operating Systems, deploy software, and manage the configurations on your servers in AWS. Puppet and Chef are other options too, but those require an agent run on your servers. Ansible just requires an SSH connection to your servers and you push out playbook runs across your servers whenever you need. It's idempotent so it only pushes changes that it determines are new to the remote systems.

I think Slack has a free version you can use if you want. That's what I've always used for Business chat.

Use Docker for you applications. You never have to manage dependencies on your servers when you deploy your applications using docker containers. You might have to manage things like versions of python and other OS centric software libraries, but nothing that would be a specific dependency for your applications. Everything is built into the container.

See more
Sharath Vutpala
Site Reliability Engineer at Axelerant · | 3 upvotes · 6.9K views

I would suggest using Terraform to maintain your infrastructure as code. You can easily manage the underlying Virtual machines with the help of Terraform. I would also suggest to leverage the benefits of cloud computing by using something like AWS EC2 for as your VPS. I will also suggest RocketChat for your team communication. You can simply set this up using Docker. I am attaching the link on how to set-up Rocketchat with the help of Docker.

See more
Juan Ignacio Borda
Technical Leader at Flux IT · | 1 upvotes · 5.7K views

you can achive all that using AWS EC2 instances (virtual machines) For chat and messaging We use mattermost (which you can install even with docker AWS fargate)

See more
Recommends
RocketChatRocketChat

Hello

I would recommend rocketchat for team messaging, video, files sharing etc.... It's awesome and self hosted.

We've been using it for 5 years and no worries

See more
Needs advice
on
Puppet LabsPuppet LabsChefChef
and
AnsibleAnsible

I'm just getting started using Vagrant to help automate setting up local VMs to set up a Kubernetes cluster (development and experimentation only). (Yes, I do know about minikube)

I'm looking for a tool to help install software packages, setup users, etc..., on these VMs. I'm also fairly new to Ansible, Chef, and Puppet. What's a good one to start with to learn? I might decide to try all 3 at some point for my own curiosity.

The most important factors for me are simplicity, ease of use, shortest learning curve.

See more
Replies (2)
Recommends
AnsibleAnsible

I have been working with Puppet and Ansible. The reason why I prefer ansible is the distribution of it. Ansible is more lightweight and therefore more popular. This leads to situations, where you can get fully packaged applications for ansible (e.g. confluent) supported by the vendor, but only incomplete packages for Puppet.

The only advantage I would see with Puppet if someone wants to use Foreman. This is still better supported with Puppet.

See more
Gabriel Pa
Recommends
KubernetesKubernetes
at

If you are just starting out, might as well learn Kubernetes There's a lot of tools that come with Kube that make it easier to use and most importantly: you become cloud-agnostic. We use Ansible because it's a lot simpler than Chef or Puppet and if you use Docker Compose for your deployments you can re-use them with Kubernetes later when you migrate

See more
Decisions about Ansible, Docker, and Kubernetes
Simon Reymann
Senior Fullstack Developer at QUANTUSflow Software GmbH · | 28 upvotes · 3.2M 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
Florian Sager
IT DevOp at Agitos GmbH · | 2 upvotes · 207.2K views
Chose
LXDLXD
over
DockerDocker

lxd/lxc and Docker aren't congruent so this comparison needs a more detailed look; but in short I can say: the lxd-integrated administration of storage including zfs with its snapshot capabilities as well as the system container (multi-process) approach of lxc vs. the limited single-process container approach of Docker is the main reason I chose lxd over Docker.

See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Ansible
Pros of Docker
Pros of Kubernetes
  • 276
    Agentless
  • 204
    Great configuration
  • 195
    Simple
  • 173
    Powerful
  • 151
    Easy to learn
  • 66
    Flexible
  • 54
    Doesn't get in the way of getting s--- done
  • 34
    Makes sense
  • 29
    Super efficient and flexible
  • 27
    Powerful
  • 11
    Dynamic Inventory
  • 8
    Backed by Red Hat
  • 7
    Works with AWS
  • 6
    Cloud Oriented
  • 6
    Easy to maintain
  • 4
    Because SSH
  • 4
    Multi language
  • 4
    Easy
  • 4
    Simple
  • 4
    Procedural or declarative, or both
  • 4
    Simple and powerful
  • 3
    Consistency
  • 3
    Vagrant provisioner
  • 2
    Fast as hell
  • 2
    Masterless
  • 2
    Well-documented
  • 2
    Merge hash to get final configuration similar to hiera
  • 2
    Debugging is simple
  • 1
    Work on windows, but difficult to manage
  • 1
    Certified Content
  • 821
    Rapid integration and build up
  • 688
    Isolation
  • 517
    Open source
  • 505
    Testa­bil­i­ty and re­pro­ducibil­i­ty
  • 459
    Lightweight
  • 217
    Standardization
  • 182
    Scalable
  • 105
    Upgrading / down­grad­ing / ap­pli­ca­tion versions
  • 86
    Security
  • 84
    Private paas environments
  • 33
    Portability
  • 25
    Limit resource usage
  • 15
    I love the way docker has changed virtualization
  • 15
    Game changer
  • 12
    Fast
  • 11
    Concurrency
  • 7
    Docker's Compose tools
  • 4
    Fast and Portable
  • 4
    Easy setup
  • 4
    Because its fun
  • 3
    Makes shipping to production very simple
  • 2
    It's dope
  • 1
    Highly useful
  • 1
    MacOS support FAKE
  • 1
    Its cool
  • 1
    Docker hub for the FTW
  • 1
    Very easy to setup integrate and build
  • 1
    Package the environment with the application
  • 1
    Does a nice job hogging memory
  • 1
    Open source and highly configurable
  • 1
    Simplicity, isolation, resource effective
  • 159
    Leading docker container management solution
  • 124
    Simple and powerful
  • 101
    Open source
  • 75
    Backed by google
  • 56
    The right abstractions
  • 24
    Scale services
  • 18
    Replication controller
  • 9
    Permission managment
  • 7
    Simple
  • 7
    Supports autoscaling
  • 6
    Cheap
  • 4
    Self-healing
  • 4
    Reliable
  • 4
    No cloud platform lock-in
  • 3
    Open, powerful, stable
  • 3
    Scalable
  • 3
    Quick cloud setup
  • 3
    Promotes modern/good infrascture practice
  • 2
    Backed by Red Hat
  • 2
    Runs on azure
  • 2
    Cloud Agnostic
  • 2
    Custom and extensibility
  • 2
    Captain of Container Ship
  • 2
    A self healing environment with rich metadata
  • 1
    Golang
  • 1
    Easy setup
  • 1
    Everything of CaaS
  • 1
    Sfg
  • 1
    Expandable
  • 1
    Gke

Sign up to add or upvote prosMake informed product decisions

Cons of Ansible
Cons of Docker
Cons of Kubernetes
  • 5
    Dangerous
  • 5
    Hard to install
  • 3
    Bloated
  • 3
    Backward compatibility
  • 2
    Doesn't Run on Windows
  • 2
    No immutable infrastructure
  • 7
    New versions == broken features
  • 5
    Documentation not always in sync
  • 5
    Unreliable networking
  • 3
    Moves quickly
  • 2
    Not Secure
  • 13
    Poor workflow for development
  • 11
    Steep learning curve
  • 5
    Orchestrates only infrastructure
  • 2
    High resource requirements for on-prem clusters

Sign up to add or upvote consMake informed product decisions

What is Ansible?

Ansible is an IT automation tool. It can configure systems, deploy software, and orchestrate more advanced IT tasks such as continuous deployments or zero downtime rolling updates. Ansible’s goals are foremost those of simplicity and maximum ease of use.

What is Docker?

The Docker Platform is the industry-leading container platform for continuous, high-velocity innovation, enabling organizations to seamlessly build and share any application — from legacy to what comes next — and securely run them anywhere

What is Kubernetes?

Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Ansible?
What companies use Docker?
What companies use Kubernetes?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Ansible?
What tools integrate with Docker?
What tools integrate with Kubernetes?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

Kubernetesetcd+2
2
1022
Dec 8 2020 at 5:50PM

DigitalOcean

GitHubMySQLMongoDB+11
2
1858
PythonDockerKubernetes+7
3
696
May 21 2020 at 12:02AM

Rancher Labs

KubernetesAmazon EC2Grafana+12
3
1229
Apr 16 2020 at 5:34AM

Rancher Labs

KubernetesRancher+2
2
782
PythonDockerKubernetes+14
11
2110
What are some alternatives to Ansible, Docker, and Kubernetes?
Puppet Labs
Puppet is an automated administrative engine for your Linux, Unix, and Windows systems and performs administrative tasks (such as adding users, installing packages, and updating server configurations) based on a centralized specification.
Chef
Chef enables you to manage and scale cloud infrastructure with no downtime or interruptions. Freely move applications and configurations from one cloud to another. Chef is integrated with all major cloud providers including Amazon EC2, VMWare, IBM Smartcloud, Rackspace, OpenStack, Windows Azure, HP Cloud, Google Compute Engine, Joyent Cloud and others.
Salt
Salt is a new approach to infrastructure management. Easy enough to get running in minutes, scalable enough to manage tens of thousands of servers, and fast enough to communicate with them in seconds. Salt delivers a dynamic communication bus for infrastructures that can be used for orchestration, remote execution, configuration management and much more.
Terraform
With Terraform, you describe your complete infrastructure as code, even as it spans multiple service providers. Your servers may come from AWS, your DNS may come from CloudFlare, and your database may come from Heroku. Terraform will build all these resources across all these providers in parallel.
Jenkins
In a nutshell Jenkins CI is the leading open-source continuous integration server. Built with Java, it provides over 300 plugins to support building and testing virtually any project.
See all alternatives