Easily Switch Between Product Types

You can click the drop-down list box to switch between different product types.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Huawei Cloud Flexus_Huawei Cloud Flexus L Instance/ Getting Started/ Setting Up a Website Using the WordPress Application Image

Setting Up a Website Using the WordPress Application Image

Updated on 2025-02-18 GMT+08:00

FlexusL provides a wide range of high-quality application images for you to choose from. This section uses the WordPress application image as an example to describe how to set up a website in three steps.

Procedure

Step

Description

Preparations

Sign up for a HUAWEI ID and enable Huawei Cloud services.

Step 1: Purchase and Configure a FlexusL Instance

Purchase and configure a FlexusL instance, including setting the FlexusL instance password, logging in to the FlexusL instance, and configuring security group rules.

Step 2: Initialize WordPress

Go to the image application dashboard, set the username and password, and install WordPress.

Step 3: Deploy a Website

Access the image application dashboard, design your homepage, install plug-ins, and configure the email address.

Preparations

Before purchasing a FlexusL instance, sign up for a HUAWEI ID and enable Huawei Cloud services. For details, see Signing Up for a HUAWEI ID and Enabling Huawei Cloud Services.

Real-name authentication is required only when you buy or use cloud services provisioned in the Chinese mainland.

Step 1: Purchase and Configure a FlexusL Instance

  1. Purchase a FlexusL instance.
    1. Access the FlexusL console and configure parameters for a FlexusL instance.

      NOTE:

      For details, see Purchasing a 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.

      NOTE:

      By default, all FlexusL instances created by the same account in the same region are located in the same VPC. They can communicate with each other over a private network. FlexusL instances that are created by different accounts or located in different regions cannot communicate with each other over a private network.

      Images

      WordPress

      An application image includes applications, initialization data, runtime environment, and OS. You can use the WordPress application image to quickly set up a website.

      For details, see Images Supported by FlexusL Instances.

      Instance Specifications

      2 vCPUs | 2 GiB and 60 GiB system disk

      You can select instance specifications based on your service requirements. Outbound traffic exceeding the data package is billed.

      For details, see Billing.

      (Optional) Instance Name

      Wordpress-Example

      You can customize your instance name.

      If this parameter is left blank, the instance name is in the default format: image name-region-random number. In a batch creation, a hyphen followed by an incremental number is added to the end of each instance name by default.

      (Optional) Associated Services

      • Data disk: 10 GiB
      • Host security
      • Cloud backup vault: 70 GiB

      You can associate other services (EVS, HSS, and CBR) with your FlexusL instance as needed.

      Required Duration

      • 1 month
      • Auto-renew

      The minimum duration of a purchase is one month and the maximum duration is three years.

      Auto-renew can be enabled, 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. Monthly subscription allows you to renew the subscription for one month every time. The number of renewal times is not limited.

      For more information about auto-renewal rules, see Auto-Renewal Rules.

      Quantity

      1

      Set the number of FlexusL instances to be purchased. One instance is created by default. A maximum of five instances can be created in the same region.

      To increase the quota, submit a service ticket.

    2. Click Buy Now.

      On the displayed page, confirm the order details, read and select the agreement, and click Submit.

    3. Select a payment method and complete the payment.
    4. Go back to the FlexusL console and view the purchased FlexusL instance.

      Check that the instance status is running and go to the next step.

  2. Configure security group rules.
    1. On the FlexusL console, click the purchased instance.
    2. In the navigation pane on the left, choose Cloud Servers and then click the server name.

    3. 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: 22

      0.0.0.0/0

      Remote access to FlexusL instances over SSH, such as CloudShell, is allowed. SSH is a common remote login mode. You are advised to enable this port.

      1

      Allow

      IPv4

      TCP: 80

      0.0.0.0/0

      Access over HTTP is allowed.

      1

      Allow

      IPv4

      TCP: 443

      0.0.0.0/0

      Access over HTTPS is allowed.

      1

      Allow

      IPv4

      TCP: 3306

      0.0.0.0/0

      Access to MySQL databases is allowed.

      1

      Allow

      IPv4

      TCP: 9001

      0.0.0.0/0

      External access to the application dashboard is allowed.

  3. Reset the password and log in to FlexusL.

    This section describes how to log in to a FlexusL instance. A FlexusL instance does not have an initial password. After creating a FlexusL instance, set a password for the FlexusL instance before logging in to it.

    1. Check whether the application preinstalled in the image is up and running. If yes, go to 3.b.
      NOTICE:

      When an application image is being used to install an application, do not restart, start, and stop, the server or reset the password. Otherwise, the installation may fail and you cannot log in to the image application dashboard.

      In the Image area of the FlexusL page, click Access in the Dashboard field

      If the dashboard is normally displayed as shown in the following figure, the application preinstalled in the image is up and running. Otherwise, wait for 1 to 2 minutes and try again later.

    2. In the upper right corner of the page, click and choose Reset Password.

    3. Set and confirm a new password as prompted.

      If you reset the password for a running server, the password change is applied only after the next restart. Auto Restart is selected by default.

    4. Click OK.

      The server status is Restarting. Wait until the status changes to Running and go to the next step.

    5. In the upper right corner of the page, click Remote Login.
    6. Enter the username and password as prompted to log in to the server.

      The username is root, and the password is the one set in 3.b.

Step 2: Initialize WordPress

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.

  1. 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 port 9001 is allowed based on 2.
    • The dashboard is being started. Try again later.
  2. Select a language for WordPress and continue.

  3. Set the website title, WordPress administrator username, password, and email, and click Install WordPress.

    Keep your website administrator username, password, and email secure. If you forgot the password, you can use this email to reset the password.

  4. Enter the administrator username and password and click Log In.

After the WordPress application is initialized, you can operate websites on the application dashboard.

Step 3: Deploy a Website

Log in to the WordPress dashboard and deploy a website based on your service requirements.

  • Set up a website with WordPress.
    1. On the Overview page, click Access in the Dashboard field in the Image area.

    2. Enter the username and password set in step 3 to log in to the dashboard.

      After logging in, design your website using WordPress.

  • Preview the created website page.

    During the website deployment, you can preview the website homepage at any time.

    1. On the Overview page, click Access in the Website Homepage field in the Image area.

Related Information

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback