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

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.

主站蜘蛛池模板: 衡山县| 锡林浩特市| 柯坪县| 舒兰市| 金川县| 玉环县| 略阳县| 五家渠市| 丽水市| 竹山县| 三穗县| 乌拉特中旗| 蓝山县| 花莲市| 五台县| 青阳县| 潼南县| 江华| 都昌县| 蓬安县| 萨迦县| 柯坪县| 比如县| 湄潭县| 天镇县| 石林| 仁怀市| 福泉市| 阜南县| 奉贤区| 印江| 江川县| 定陶县| 双柏县| 山东省| 维西| 陆河县| 铜山县| 惠东县| 武宁县| 马尔康县|