multi-env-deploy VS distroless

Compare multi-env-deploy vs distroless and see what are their differences.

multi-env-deploy

Complete example of deploying complex web apps to AWS using Terraform, Ansible, and Packer (by cogini)

distroless

🥑 Language focused docker images, minus the operating system. (by GoogleContainerTools)
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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
multi-env-deploy distroless
9 122
351 17,749
0.9% 1.2%
5.7 9.4
6 months ago 9 days ago
HCL Starlark
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

multi-env-deploy

Posts with mentions or reviews of multi-env-deploy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-21.
  • AWS Devops tools vs Bitbucket
    2 projects | /r/devops | 21 Sep 2022
    I have used CodePipeline/CodeBuild, CodeDeploy, and CodeCommit quite a bit. You can see an example of it all working together with Terraform here: https://github.com/cogini/multi-env-deploy
  • Running python when building a Docker image on AWS
    2 projects | /r/devops | 17 Jul 2022
    Parameter Store is a good place to store things. ECS can read from it and set variables. This is a complete example of using Terraform to manage infrastructure with EC2 or ECS: https://github.com/cogini/multi-env-deploy Here is an app that runs in ECS: https://github.com/cogini/phoenix_container_example This task file sets env vars based on parameter store: https://github.com/cogini/phoenix_container_example/blob/master/ecs/taskdef.json
  • Ask HN: Who operates at scale without containers?
    7 projects | news.ycombinator.com | 22 Mar 2022
    AWS has a fine stack for deploying "cloud native" apps on top of EC2 instances.

    Build a base AMI using Packer and launch it to an Auto Scaling Group behind a load balancer. Deploy code to the ASG using CodeDeploy. Use RDS for the database.

    This is a good match for languages that have good concurrency like Elixir. They benefit from deploying to big machines that have a lot of CPU cores, and keeping a common in-memory cache on the EC2 instance is more efficient than using an external cache like Elasticache. It also works well for resource-hungry systems with poor concurrency like Ruby on Rails. Putting these kinds of apps into big containers is just a waste of money.

    Here is a complete example of that architecture using Terraform: https://github.com/cogini/multi-env-deploy

    Similarly, bare metal can be really cost-effective. For $115/month, I can get a dedicated server with 24 VCPU cores (2x Intel Hexa-Core Xeon E5-2620 CPU), 64 GB RAM, 4x8 TB SATA, 30 TB traffic (see https://www.leaseweb.com/dedicated-servers#NL). That would be an order of magnitude more expensive on AWS with containers.

  • CodeBuild doesnt have access to Put Objects in S3 bucket after "Block all public access" has been turned on.
    1 project | /r/aws | 13 Mar 2022
    Here is how I did it with Terraform: https://github.com/cogini/multi-env-deploy/blob/master/terraform/modules/iam-codepipeline-app/main.tf
  • Advice on CI/CD at scale from GitHub Enterprise to CodePipeline (TF & CFN) ?
    2 projects | /r/aws | 23 Feb 2022
    The AWS components are managed via Terraform: https://github.com/cogini/multi-env-deploy
  • Do any companies/projects publish their Terraform code publicly?
    8 projects | /r/devops | 6 Feb 2022
  • Does anyone's company have open sourced infrastructure with Terraform/Terragrunt?
    8 projects | /r/devops | 9 Jan 2022
    A fully featured infrastructure using terraform with terragrunt can be found in this repo: https://github.com/cogini/multi-env-deploy/tree/master/terraform
  • Terraform Prerequisites
    1 project | /r/Terraform | 10 Nov 2021
    You might like this full-featured example of using Terraform to set up the infrastructure for an application using EC2 instances in an autoscaling group or ECS containers. https://github.com/cogini/multi-env-deploy
  • Does your team/org create its own modules for production?
    2 projects | /r/Terraform | 7 Feb 2021
    Here is a set of hand-coded modules I wrote that handle deploying real world complex apps to AWS: https://github.com/cogini/multi-env-deploy

distroless

Posts with mentions or reviews of distroless. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-14.
  • Chainguard Images now available on Docker Hub
    3 projects | news.ycombinator.com | 14 Mar 2024
    lots of questions here regarding what this product is. I guess i can provide some information for the context, from a perspective of an outside contributor.

    Chainguard Images is a set of hardened container images.

    They were built by the original team that brought you Google's Distroless (https://github.com/GoogleContainerTools/distroless)

    However, there were few problems with Distroless:

    1. distroless were based on Debian - which in turn, limited to Debian's release cadence for fixing CVE.

    2. distroless is using bazelbuild, which is not exactly easy to contrib, customize, etc...

    3. distroless images are hard to extend.

    Chainguard built a new "undistro" OS for container workload, named Wolfi, using their OSS projects like melange (for packaging pkgs) and apko (for building images).

    The idea is (from my understanding) is that

    1. You don't have to rely on upstream to cut a release. Chainguard will be doing that, with lots of automation & guardrails in placed. This allow them to fix vulnerabilties extremely fast.

  • Language focused Docker images, minus the operating system
    1 project | news.ycombinator.com | 21 Feb 2024
  • Using Alpine can make Python Docker builds 50× slower
    1 project | news.ycombinator.com | 28 Dec 2023
    > If you have one image based on Ubuntu in your stack, you may as well base them all on Ubuntu, because you only need to download (and store!) the common base image once

    This is only true if your infrastructure is static. If your infrastructure is highly elastic, image size has an impact on your time to scale up.

    Of course, there are better choices than Alpine to optimize image size. Distroless (https://github.com/GoogleContainerTools/distroless) is a good example.

  • Smaller and Safer Clojure Containers: Minimizing the Software Bill of Materials
    1 project | /r/Clojure | 7 Dec 2023
  • Long Term Ownership of an Event-Driven System
    4 projects | dev.to | 2 Oct 2023
    The same as our code dependencies, container updates can include security patches and bug fixes and improvements. However, they can also include breaking changes and it is crucial you test them thoroughly before putting them into production. Wherever possible, I recommend using the distroless base image which will drastically reduce both your image size, your risk vector, and therefore your maintenance version going forward.
  • Minimizing Nuxt 3 Docker Images
    2 projects | dev.to | 5 Aug 2023
    # Use a large Node.js base image to build the application and name it "build" FROM node:18-alpine as build WORKDIR /app # Copy the package.json and package-lock.json files into the working directory before copying the rest of the files # This will cache the dependencies and speed up subsequent builds if the dependencies don't change COPY package*.json /app # You might want to use yarn or pnpm instead RUN npm install COPY . /app RUN npm run build # Instead of using a node:18-alpine image, we are using a distroless image. These are provided by google: https://github.com/GoogleContainerTools/distroless FROM gcr.io/distroless/nodejs:18 as prod WORKDIR /app # Copy the built application from the "build" image into the "prod" image COPY --from=build /app/.output /app/.output # Since this image only contains node.js, we do not need to specify the node command and simply pass the path to the index.mjs file! CMD ["/app/.output/server/index.mjs"]
  • Build Your Own Docker with Linux Namespaces, Cgroups, and Chroot
    6 projects | news.ycombinator.com | 26 Jun 2023
    Lots of examples without the entire OS as other comments mention, an example would be Googles distroless[0]

    [0]: https://github.com/GoogleContainerTools/distroless

  • Reddit temporarily ban subreddit and user advertising rival self-hosted platform (Lemmy)
    2 projects | /r/selfhosted | 7 Jun 2023
    Docker doesn't do this all the time. Distroless Docker containers are relatively common. https://github.com/GoogleContainerTools/distroless
  • Why elixir over Golang
    10 projects | /r/elixir | 29 May 2023
    Deployment: https://github.com/GoogleContainerTools/distroless
  • Reviews
    3 projects | /r/golang | 17 May 2023
    Or use distroless image as it includes one, among others. https://github.com/GoogleContainerTools/distroless/blob/main/base/README.md

What are some alternatives?

When comparing multi-env-deploy and distroless you can also consider the following projects:

cloud_workstation - A linux desktop in the cloud - reachable via browser using Apache Guacamole. Deployed automatically via Terraform ( + Ansible ). [Moved to: https://github.com/chadgeary/cloudworkstation]

iron-alpine - Hardened alpine linux baseimage for Docker.

openvpn-aws-tf-ansible - OpenVPN with Terraform and Ansible on AWS

spring-boot-jib - This project is about Containerizing a Spring Boot Application With Jib

govuk-infrastructure - Terraform turnup automation for the EKS Kubernetes clusters that host GOV.UK. See https://github.com/alphagov/govuk-helm-charts for application config.

jib - 🏗 Build container images for your Java applications.

nodejs-leak-env-vars - POC of a vulnerable app leaking environment variables via a compromised NPM package

podman - Podman: A tool for managing OCI containers and pods.

tutorials - DevOps Tutorials

dockerfiles - Various Dockerfiles I use on the desktop and on servers.

Terraform-EKS-Cluster-with-Node-Group - Creating an EKS cluster with node group

docker-alpine - Official Alpine Linux Docker image. Win at minimalism!