Using Kodbox to Quickly Set Up a Cloud Disk
Application Scenario
Kodbox is an open-source system that integrates online file management, multi-cloud storage, and collaborative office. The Kodbox application image uses the Ubuntu 22.04 and is deployed using Docker. The Kodbox application and the required operating environment have been preconfigured. This section describes how to use the Kodbox application image to quickly set up a cloud disk.
Resource Planning and Costs
Resource |
Configuration |
Description |
---|---|---|
Cloud server |
|
Select appropriate instance specifications based on your service requirements. |
Image |
Kodbox |
Select the Kodbox application image. |
Security group |
Inbound rule:
|
|
Process
Procedure |
Description |
---|---|
Purchase a FlexusL instance and select the Kodbox application image. |
|
Add inbound security group rules to allow traffic from ports 80, 443, 9000, and 9001 to access the application. |
|
The image application dashboard needs to be initialized only when you log in for the first time. |
|
Deploy an application on the visualization application management page. |
Step 1: Purchase FlexusL Instances
- Log in to the FlexusLconsole and click Buy FlexusL.
- Specify required parameters for the FlexusL instance.
Parameter
Example
Description
Region
CN-Hong Kong
For low network latency and quick resource access, select the region nearest to your target users. After a FlexusL instance is created, the region cannot be changed. Exercise caution when selecting a region.
Application Image
Kodbox
Select the Kodbox application image.
Instance Specifications
2 vCPU | 2 GiB | System disk 60 GiB
Select instance specifications as needed.
Instance Name
Kodbox-Example
Customize an instance name that is easy to identify, for example, Kodbox-Example.
(Optional) Associated Service
- Data Disk: 10 GiB
- Host Security
- Cloud Backup Vault: 70 GiB
You can bundle any of EVS, HSS (basic edition), and CBR to your FlexusL instances as needed and set specifications as needed.
Required Duration
1 month
The minimum duration of a purchase is one month and the maximum duration is three years.
Auto-renew is enabled by default, which means the purchased FlexusL instances will be automatically renewed before they expire. If you do not enable auto-renew during the purchase process, you can still enable it later after the instances are created. For more information about auto-renewal rules, see Auto-Renewal Rules.
Quantity
1
Set the number of FlexusL instances to be purchased.
- Click Buy Now and complete the payment as prompted.
- Go back to the FlexusL console and view the purchased FlexusL instance.
Step 2: Configure Security Groups
Add inbound security group rules to allow traffic from ports 80, 443, 9000, and 9001 to access the application.
- Log in to the FlexusL console and click a resource card to go to the instance details page.
- In the navigation pane on the left, choose Cloud Servers. Locate the server and click its name.
- On the Security Groups tab, click Add Rule. In the displayed dialog box, add rules displayed in the following figure and click OK.
The following figure only displays common rules. You can add more rules as needed.
Table 1 Security group rules Priority
Action
Type
Protocol & Port
Source
Description
1
Allow
IPv4
TCP: 80
0.0.0.0/0
Specifies the internal forwarding port of an application.
1
Allow
IPv4
TCP: 443
0.0.0.0/0
Allows HTTPS traffic to FlexusL instances.
1
Allow
IPv4
TCP: 9000
0.0.0.0/0
Allows external access to the application O&M page.
1
Allow
IPv4
TCP: 9001
0.0.0.0/0
Allows external access to the application dashboard.
Step 3: Initialize Kodbox.
Application images use code-based Ubuntu. They provide graphical user interfaces to make your operations easier. You need to initialize the application dashboard upon the first login. Then you can directly log in to the dashboard from the FlexusL console afterwards.
- On the Overview page, click Access in the Dashboard field in the Image area.
NOTE:
If the dashboard is not properly displayed, check the following causes:
- The port for accessing the dashboard is not allowed. Check whether the port is allowed based on Step 2: Configure Security Groups.
- The dashboard is being started. Try again later.
- Set the account and password for logging in to the dashboard and click OK.
Kodbox does not have a default username or password. Set a usename and password that are easy to remember.
- Enter the username and password for logging in to the dashboard, and click Log in.
- Check the application dashboard.
After logging in to the application management page, information similar to the following is displayed.
After the Kodbox application is initialized, you can deploy your applications on the dashboard.
Step 4: Deploy a Cloud Disk
For details about how to deploy a Kodbox cloud disk, see Kodbox Service Support.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot