官术网_书友最值得收藏!

Namespaces and cgroups

Users logged into a Linux system have a transparent view of various system entities such as global resources, processes, kernel, and users. For instance, a valid user can access PIDs of all running processes on the system (irrespective of the user to which they belong). Users can observe the presence of other users on the system, and they can run commands to view the state of global system global resources such as memory, filesystem mounts, and devices. Such operations are not deemed as intrusions or considered security breaches, as it is always guaranteed that one user/process can never intrude into other user/process.

However, such transparency is unwarranted on a few server platforms. For instance, consider cloud service providers offering PaaS (platform as a service). They offer an environment to host and deploy custom client applications. They manage runtime, storage, operating system, middleware, and networking services, leaving customers to manage their applications and data. PaaS services are used by various e-commerce, financial, online gaming, and other related enterprises.

For efficient and effective isolation and resource management for clients, PaaS service providers use various tools. They virtualize the system environment for each client to achieve security, reliability, and robustness. The Linux kernel provides low-level mechanisms in the form of cgroups and namespaces for building various lightweight tools that can virtualize the system environment. Docker is one such framework that builds on cgroups and namespaces.

Namespaces fundamentally are mechanisms to abstract, isolate, and limit the visibility that a group of processes has over various system entities such as process trees, network interfaces, user IDs, and filesystem mounts. Namespaces are categorized into several groups, which we will now see.

主站蜘蛛池模板: 萍乡市| 汽车| 金湖县| 渑池县| 宁阳县| 霍林郭勒市| 河间市| 刚察县| 中方县| 中西区| 阜新市| 泸溪县| 磴口县| 封开县| 观塘区| 体育| 抚顺县| 定西市| 平乡县| 阿拉善左旗| 哈巴河县| 赤峰市| 张北县| 太谷县| 保定市| 祁门县| 曲沃县| 应城市| 崇礼县| 福建省| 奇台县| 枣强县| 石首市| 额尔古纳市| 伊宁县| 哈巴河县| 肥城市| 墨竹工卡县| 南平市| 镶黄旗| 中超|