Interaction between Docker, AMI and Ansible

This page summarizes the projects mentioned and recommended in the original post on /r/devops

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • kaniko

    Build Container Images In Kubernetes

  • Docker is a tool for building container images and running containers. Normally you'd compose a `Dockerfile` to configure an container image, include that `Dockerfile` at the root of an application repository, then use a CI/CD system to build and deploy that image on to a fleet of servers (possibly, but not necessarily, using Ansible!). You can use Ansible to build Docker images, but the idiomatic way - e.g. the least surprising, most common way - would be to use a `Dockerfile` and `docker` itself (or another builder such as [`Buildah`](https://buildah.io/) or [`kaniko`](https://github.com/GoogleContainerTools/kaniko)).

  • Packer

    Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.

  • An AMI (Amazon Machine Image) contains the OS used by an EC2 instance. Normally you'd use a tool such as [Packer](https://www.packer.io/) to build the image. Ansible can be used as a [provisioner](https://www.packer.io/plugins/provisioners/ansible/ansible) for Packer. I usually just use bash scripts.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • ansible-bender

    ansible-playbook + buildah = a sweet container image

  • (For container images, you'd probably be interested in https://github.com/ansible-community/ansible-bender )

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts