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.
目录
相关文章
|
1月前
|
Kubernetes 安全 网络协议
Alibaba-Namek
Alibaba Namek is an enterprise-level container management platform used internally by Alibaba Cloud
36 5
|
JSON 安全 网络协议
Cloud Foundry 3. cf 命令(2)
Cloud Foundry 3. cf 命令(2)
Cloud Foundry 3. cf 命令(2)
|
网络协议 安全 关系型数据库
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?
|
Android开发 Python Java
安装 Alibaba Cloud Toolkit
安装指南
27877 0
Starting Out In Web Hosting: Alibaba Cloud For New Businesses
The web is where the majority of purchases begin, as today's tech-savvy consumers search online for the products they want or need.
19011 0
Starting Out In Web Hosting: Alibaba Cloud For New Businesses
|
网络协议 网络安全 Go
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.
13091 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
|
对象存储
How to Automate Backups with Alibaba Cloud Object Storage Service
In this tutorial, we will explore how we can automatically upload backups to Alibaba Cloud OSS with Minio Client and cronjob.
5279 0
How to Automate Backups with Alibaba Cloud Object Storage Service

热门文章

最新文章