Purchase a Linux Instance and Deploy BT Panel from the Console

更新时间:
复制 MD 格式

BT Panel is a graphical server management tool. Purchase a Linux ECS instance through Custom Launch, deploy BT Panel, install LNMP with one click, and verify web service access.

Procedure

Before you begin, make sure you have completed real-name verification, and that the total balance of your Alibaba Cloud account (cash balance plus vouchers) is at least 100.00 CNY.

Important

New ECS users who have completed real-name verification can try ECS free for 3 months. For details, see Elastic Compute Service (ECS) free trial guide.

Step 1: Create an ECS instance

  1. Go to the ECS console - Instance page, click Create Instance.

  2. Choose Custom Launch and configure the instance.

    Configure the instance with the following example settings. Keep the defaults for any settings not listed here.

    Configuration item

    Example value

    Billing Method

    Pay-as-you-go

    Region

    China (Heyuan)

    Network and Zone

    VPC: Default VPC

    vSwitch: Select the default vSwitch in Availability Zone B.

    Instance

    ecs.e-c1m1.large

    We recommend at least 2 vCPU and 2 GiB of memory for a smooth experience.

    Images

    Select Alibaba Cloud Linux 3.2104 LTS 64bit under Public Images.

    System Disk

    Type:  ESSD Entry Disk

    Capacity: 40 GiB

    Public IP Address

    Select Assign Public IPv4 Address

    Bandwidth Billing Method

    Pay-by-traffic

    We recommend selecting Upgrade to CDT for Data Transfer Billing. This provides 220 GB/month of free public traffic after upgrade: 20 GB/month for Chinese mainland regions, 200 GB/month for regions outside.

    Security Group

    Select New Security Group

    Logon Credential

    Select Set Later

  3. Review the estimated cost, read and accept the terms of service, and click Create Order.

Step 2: Connect to the ECS instance

  1. Return to the instance list. Wait until the instance status shows Running and Health Status shows Normal, then click Connect in the Actions column.

  2. In the dialog box, click Sign in now.

  3. Select Password-Free and click Log In.

    A remote connection session stays active for up to 6 hours. If idle for more than 6 hours, the session disconnects automatically and you must reconnect.

A command-line prompt indicates a successful connection.

Step 3: Install BT Panel

  1. Install BT Linux Panel.

    The following example installs BT Linux Panel 9.0.0.
    url=https://download.bt.cn/install/install_lts.sh;if [ -f /usr/bin/curl ];then curl -sSO $url;else wget -O install_lts.sh $url;fi;bash install_lts.sh ed8484bec

    When prompted, type y and press Enter to confirm.

  2. Get the BT Panel login information.

    After installation, the terminal displays the panel login details:

    • External panel URL: Format is https://<Public IP>:<Port>/<Security Entry>. Note the port number — you will need it to configure the security group.

    • username: Panel username.

    • password: Panel password.

Step 4: Allow the BT Panel port

  1. Return to the instance list and click the target instance ID to open the instance details page.

  2. Click the Security Groups tab, then click the security group ID.

  3. On the Inbound tab, click Add Rule.

    Configuration item

    Value

    Action

    Allow

    Priority

    1

    Protocol

    Custom TCP

    Source

    Enter the public IP address you want to allow.

    Important

    Using 0.0.0.0/0 allows any IP address to access the port, which poses a security risk. Use it with caution.

    Destination (Current Instance)

    The panel port from step 3.

  4. Click Submit.

Step 5: Log in to BT Panel and install a web service

This example uses BT Panel for Linux 9.0.0.
  1. Log in to BT Panel.

    1. Open a browser and go to the external panel URL from Step 3.

      On the first visit, the browser will warn that the connection is not private. Click Advanced and proceed.

    2. Enter the username and password, then click Log In.

    3. Read and accept the agreement, then click Enter Panel.

    4. Bind your BT official account. If you do not have one, register first.

      This account is for the BT member center and cannot be used to log in to the panel.
    5. After binding, choose a software stack from the recommended installation kits.

  2. Install and verify the web service.

    The following example uses LNMP.

    1. Click One-Click Install in the LNMP section.

    2. After installation completes, go to Website in the left navigation pane and click Add Site. Enter the ECS public IP address as the domain name. Keep the other settings as default and click OK.

      You can find the ECS public IP in the IP Address column of the instance list.
    3. Follow Step 4 to allow port 80 in the security group.

    4. On your local computer, open a browser and go to http://<ECS Public IP>. If the page displays a success message, the deployment is complete.

Billing

Billable items

  • System disk: 40 GiB (disk capacity) × disk unit price × billing duration

  • Public bandwidth (pay-by-traffic): Outbound traffic × per-GB price.

    After upgrade to CDT for Data Transfer Billing, you will receive 220 GB/month of public network traffic (20 GB/month for Chinese mainland regions, 200 GB/month for regions outside).
  • Compute resources: Instance type unit price × billing duration

Use the Pricing Calculator for a detailed price estimate.

View billing details

Log on to the Expenses and Costs, and then choose Billing > Bill Details. Filter by Product Name and select Elastic Compute Service to view detailed charges.

Clean up resources

Release the instance when you no longer need it to stop incurring charges.

Important

Releasing an instance permanently deletes all its data. This action cannot be undone.

  1. In the instance list, click image > Instance Status > Release in the Actions column for the target instance.

  2. Choose Release Now and click Next.

  3. Confirm that no associated resources need to be retained, and click OK.

Related information