Running RancherOS on Alibaba Cloud

简介: RancherOS is one of the most popular container management platform used for running Docker.

Introduction_to_BaaS

RancherOS is one of the most popular container management platform used for running Docker. It runs Docker directly on top of the kernel and delivers Linux services as containers. Its popularity draws from its features that offer numerous advantages to its users, which include convenient usability, enterprise capabilities, and a holistic container management platform.

RancherOS Architecture

Let us look at the RancherOS Architecture now.

The primary elements that form RancherOS are Docker containers. Such feature is possible by launching two instances of Docker. The first being System Docker, which is also the first process on the system. All other system services, like ntpd, syslog, and console run simultaneously in the Docker containers. Additionally, System Docker replaces traditional init systems such as systemd, and can be used to launch additional system services.

Moreover, System Docker runs a special container called User Docker, which is responsible for managing all the containers. The User Docker is the destination for running all the containers launched. This creates isolation from the System Docker containers and ensures standard user commands have no impact on the system services.

1

Moving forward, below are the steps that should help you run RancherOS on Alibaba Cloud.

Running RancherOS on Alibaba Cloud ECS

Step 1: Download RancherOS ISO and convert it to VHD format

The commonly used tools for image conversion to Alibaba Cloud include Alip2v, Disk2VHD, DD, etc. There are several image format conversion tools such as XenConvert, StarWindConverter, and qemu-img. You can use these tools in conjunction with each other as per your requirement and convenience.

Step 2: Upload RancherOS VHD image onto OSS

Next, you have to upload the RancherOS VHD image to Alibaba Cloud's image center. For this, you require Alibaba Cloud OSS. If you have not activated the OSS service yet, make sure to activate it so that you can upload the image.
Once you have completed uploading the image to OSS, authorize the ECS to import the image through a ticket within the Alibaba Cloud console. Next, initiate authorization of the OSS access permission to the ECS official service account.
Then proceed to the Alibaba Cloud ECS console to import the image. Before executing the import process, you need to fill in the information form of the imported image. Make sure that the image information is correct.

2

Step 3: Import into ECS image from OSS.

You can now proceed towards the Alibaba Cloud ECS console to create an instance based on the uploaded image. Choose a user-defined image when selecting an image source. You should be able to view the imported image in the user-defined image list.

3

Step 4:

Once you have completed step 3 and step 4 (uploading and importing the image) you should be able to see the RancherOS on the ECS purchase page. Your screen should look like this:

4

Conclusion:

RancherOS is the simplest way to run Docker in production. Docker manages all the aspects in RancherOS. A point worth noting is that RancherOS is much smaller as compared to other traditional operating systems. By eliminating unnecessary libraries and services, one ensures a significant minimization of the requirements for security patches and other maintenance needs. This is made possible with Docker's ability to contain all necessary libraries as packages.
目录
打赏
0
0
0
0
45
分享
相关文章
Alibaba-Namek
Alibaba Namek is an enterprise-level container management platform used internally by Alibaba Cloud
37 5
ACS(Alibaba Cloud
容器计算服务 ACS(Alibaba Cloud Container Compute Service)是阿里云提供的一种基于容器技术的计算服务,它以 Kubernetes 为使用界面,提供符合容器规范的算力资源,采用 Serverless 形态的算力交付模式。ACS 的主要目标是降低 Kubernetes 的使用和运维复杂度,解决资源和容器割裂的问题,帮助客户更好地利用云所带来的技术红利。
250 1
Manage Customer Relations with SuiteCRM on Alibaba Cloud
By Jeff Cleverley, Alibaba Cloud Tech Share Author. Tech Share is Alibaba Cloud's incentive program to encourage the sharing of technical knowledge and best practices within the cloud community.
10137 3
Manage Customer Relations with SuiteCRM on Alibaba Cloud
How Does Alibaba Cloud Power the Biggest Online Shopping Festival?
Have you ever wondered what the underlying technology behind Alibaba Single’s Day Shopping Festival (also known as 11-11) is like?
3366 0
How Does Alibaba Cloud Power the Biggest Online Shopping Festival?
Version Control with GitLab on Alibaba Cloud
In this tutorial, we will be installing the open source GitLab Community Edition on an Alibaba Cloud Elastic Compute Service (ECS) instance.
13092 0
Version Control with GitLab on Alibaba Cloud
Cloud Foundry Now Available on Alibaba Cloud
Alibaba Cloud also joins Cloud Foundry Foundation as Gold member, opening up China and beyond to Cloud Foundry.
2052 0
Cloud Foundry Now Available on Alibaba Cloud
Introduction to Alibaba Cloud Container Service
In this whitepaper, we will take a look at the technologies and origins of containerization, as well as its benefits and challenges.
1234 0
Introduction to Alibaba Cloud Container Service
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等