LISA18 - Solving All the Problems with systemd
Alvaro Leiva Geisse, Instagram
Abstract:
Often system administrators have to choose one of two options: On one end, traditional service management has a service starting with all privileges, and a full view of your system, and on the other end we have containers, with a restrictive, more controlled view of your system. But, with a modern kernel and systemd, it is no longer one or the other, but you can actually take the best of both approaches and decide which components to apply to your service.
Do you like the concept of packaging dependencies of containers, but also like the idea of sharing the network with your server from a traditional service manager? Do you want to restrict the access to the files on your system from containers, but also want to be able to manage your service from your server like traditional service management allows you? It turns out that you can have it all.
In this presentation I will show all the service techniques to deploy services in Linux that use and abuse systemd, from spinning up a simple service, to actually running your service isolated on a systemd container, and everything in the middle. I'll also show you how to use these features with other traditional techniques, like socket and path activation, service watchdog. scheduling tasks to be executed later on, and what happens when a service goes down.
You already have systemd installed on your server...Why not take full advantage of its capacities?
I love Python, I grew up in a small town in Chile and one weekend, 16 years ago, I had the flu and could not go out. I decided to learn how to code in Python and that was the beginning of the road that would move us all to Northern California so that I could join the Production Engineering team at Instagram. I also like eating and cooking (in that order).
Follow:
@aleivag
Видео LISA18 - Solving All the Problems with systemd канала USENIX
Abstract:
Often system administrators have to choose one of two options: On one end, traditional service management has a service starting with all privileges, and a full view of your system, and on the other end we have containers, with a restrictive, more controlled view of your system. But, with a modern kernel and systemd, it is no longer one or the other, but you can actually take the best of both approaches and decide which components to apply to your service.
Do you like the concept of packaging dependencies of containers, but also like the idea of sharing the network with your server from a traditional service manager? Do you want to restrict the access to the files on your system from containers, but also want to be able to manage your service from your server like traditional service management allows you? It turns out that you can have it all.
In this presentation I will show all the service techniques to deploy services in Linux that use and abuse systemd, from spinning up a simple service, to actually running your service isolated on a systemd container, and everything in the middle. I'll also show you how to use these features with other traditional techniques, like socket and path activation, service watchdog. scheduling tasks to be executed later on, and what happens when a service goes down.
You already have systemd installed on your server...Why not take full advantage of its capacities?
I love Python, I grew up in a small town in Chile and one weekend, 16 years ago, I had the flu and could not go out. I decided to learn how to code in Python and that was the beginning of the road that would move us all to Northern California so that I could join the Production Engineering team at Instagram. I also like eating and cooking (in that order).
Follow:
@aleivag
Видео LISA18 - Solving All the Problems with systemd канала USENIX
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
systemd - The Good PartsTop 10 Linux Job Interview QuestionsSystemd TimersWhat is a kernel - Gary explains8 super heroic Linux commands that you probably aren't usingElon Musk: The future we're building -- and boring | TEDSystemd for Python DevelopersAdvanced Systemd for the Embedded Use-Case - Jeremy Rosen, SmileUse SSH and SCP to Manage Lots of Linux MachinesLearning the Linux File SystemReinventing Home DirectoriesVirtualization: Bridged, NAT, Host-only - Virtual machine connection typesHow and why (not) to use the 127.0.0.53 nameserver, systemd-resolved and resolvctl Or what is syste…The Layman's Guide to Linux: Daemons & Init SystemsSimple SSH Setup for Ubuntu and Linux MintHow a DNS Server (Domain Name System) works.Linux File System/Structure Explained!The Tragedy of systemdsystemd Dependencies & Ordering | systemd on Linux 4