Simplify setup of Docker-based machines #1245
Replies: 11 comments
-
CoreOS is now end of life. It has been (more or less) replaced by Fedora CoreOS after being bought by Red Hat. Unfortunately, there isn't a Fedora CoreOS image in the Azure market place yet. Although they do provide an image that could be uploaded to Azure. |
Beta Was this translation helpful? Give feedback.
-
RancherOS could be an option as a distribution for containers. |
Beta Was this translation helpful? Give feedback.
-
@darenasc Have you had any experience with RancherOS? It's one I've seen as an option on cloud platforms but I've not heard much about it or anyone using it so I've always been (probably unfairly) suspicious of it. |
Beta Was this translation helpful? Give feedback.
-
Sorry, I haven't used RancherOS (but I'd like to) I've only seen it on workshops and talks about it where it seems to be good for monitoring the containers as part of the SO. In Azure I have used its Container Instances (ACI) service to deploy ML models, and it is simple to deploy and monitor images and containers, there is also Azure Kubernetes Services (AKS) but I haven't use it for projects. |
Beta Was this translation helpful? Give feedback.
-
Exploring Fedora CoreOS a little more,
|
Beta Was this translation helpful? Give feedback.
-
HackMD running on Fedora CoreOS in AzureConfiguration file
Notice that I use a 'pod' to allow the two containers to be connected via |
Beta Was this translation helpful? Give feedback.
-
Some podman notes,
|
Beta Was this translation helpful? Give feedback.
-
A Rough plan for using Fedora CoreOS as a drop in replacement for the GitLab and HackMD servers,
|
Beta Was this translation helpful? Give feedback.
-
@JimMadge Could you post a quick summary of the benefits of making this switch? From @jemrobinson's note in the main description, it looks like the goal is improved security? |
Beta Was this translation helpful? Give feedback.
-
If we do this, I'd propose scheduling for just before or after moving the HackMD / GitLab containers' file storage volume to a network file share (I think the GitLab volume is being moved as part of the code ingress review PR (#611). Also worth considering whether we want to consolidate these containerised services to a single VM to support scaling down to a cheaper base cost. |
Beta Was this translation helpful? Give feedback.
-
@martintoreilly Fedora CoreOS is designed for applications like this, from the documentation "Fedora CoreOS is an automatically updating, minimal, monolithic, container-focused operating system, designed for clusters but also operable standalone, optimized for Kubernetes but also great without it." I think there are advantages in a number of dimensions,
I feel the main drawback at the moment is that as it is a fairly new project the documentation/examples are a bit sparse and there is no official image on Azure at this time. |
Beta Was this translation helpful? Give feedback.
-
💻 System information
🚫 Problematic behaviour
We currently run full Ubuntu VMs to run applications in Docker containers. We should consider alternatives
🚂 Possible workarounds, remediations or solutions
CoreOS
There are examples of how to configure machines that only run Docker images using CoreOS on Azure. This would reduce the attack surface of these machines compared to an Ubuntu VM as they have less functionality.
Azure container instances
Azure container instances have been tested and found to work well in the
v4prototype
migration testing.Beta Was this translation helpful? Give feedback.
All reactions