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.
目录
相关文章
|
存储 负载均衡 网络性能优化
SAP cloud platform 504 gateway time out Cloud connector
SAP cloud platform 504 gateway time out Cloud connector
132 0
SAP cloud platform 504 gateway time out Cloud connector
|
Kubernetes 容器
Getting Started with Knative on Alibaba Cloud Container Service Kubernetes
Knative Serving builds on Kubernetes and Istio to support deploying and serving of serverless applications and functions.
1257 0
|
Web App开发 负载均衡 网络协议
Alibaba Cloud Provider简介
Alibaba Cloud Provider简介 CloudProvider 提供kubernetes与云厂商基础服务的对接能力,由 cloud-controller-manager组件实现。 通过这个组件,可以让用户在创建k8s LoadBalancer 类型的service的时候自动的为用户创.
8794 0
|
网络协议 网络安全 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.
12997 0
Version Control with GitLab on Alibaba Cloud
|
安全 数据库
New Product Launch: Alibaba Cloud ElasticSearch
Stay ahead of Big Data to discover the expected and uncover the unexpected with Alibaba Cloud ElasticSearch
9988 0
New Product Launch: Alibaba Cloud ElasticSearch
|
分布式计算 关系型数据库 数据库
New Product Launch: Alibaba Cloud Data Integration
Support online real-time & offline data exchange between all data sources, networks and locations with Alibaba Cloud Data Integration.
14538 0
New Product Launch: Alibaba Cloud Data Integration
|
对象存储
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.
5223 0
How to Automate Backups with Alibaba Cloud Object Storage Service
|
容器
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.
1172 0
Introduction to Alibaba Cloud Container Service
|
网络协议 安全 关系型数据库
Using Mautic Automated Marketing on an Alibaba Cloud Instance with DirectMail
In this tutorial, we will install Mautic on a LEMP stack, using the Webinoly Optimized server automation tool.
3628 0
Using Mautic Automated Marketing on an Alibaba Cloud Instance with DirectMail