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
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

Getting Started

Updated on 2023-06-13 GMT+08:00

(Optional) Modifying Security Group Rules

NOTICE:
  • This solution uses port 50000 to communicate with the Jenkins master node. By default, the VPC subnet created in this solution allows access from port 50000. Configure an IP address whitelist by referring to Modifying a Security Group Rule.

A security group is a collection of access control rules for cloud resources, such as cloud servers, containers, and databases, to control inbound and outbound traffic. Cloud resources associated with the same security group have the same security requirements and are mutually trusted within a VPC.

You can modify the security group policy, for example, by adding, modifying, or deleting a TCP port, as follows:

  • Adding a security group rule: Add an inbound rule and enable a TCP port if needed.
  • Modifying a security group rule: Inappropriate security group settings can be a serious security risk. You can modify security group rules to ensure the network security of your ECSs.
  • Deleting a security group rule: If the source or destination IP address of an inbound or outbound security group rule changes, or a port does not need to be enabled, you can delete the security group rule.

Accessing Gerrit and Creating a Code Repository

  1. On the Outputs tab of the stack, copy the Gerrit access address.

    Figure 1 Gerrit access address

  1. Paste the Gerrit access address to the address bar of a browser and click Sign in.

    Figure 2 Accessing Gerrit

  2. Click Sign in with a Launchpad ID.

    Figure 3 Signing in to Gerrit (1)

  3. On the Ubuntu One page, enter an email address and password to log in. (If you do not have an account, click Log in or Create account in the upper right corner to create an account.)

    Figure 4 Signing in to Gerrit (2)

  4. On the displayed page, click Yes, log me in.

    Figure 5 Signing in to Gerrit (3)

  5. Choose BROWSE > Repositories > CREATE NEW, specify Repository name and Default Branch, and click CREATE.

    Figure 6 Creating a code repository

Accessing Jenkins and Configuring Plugins

  1. On the Resources tab of the stack, click the created Jenkins server.

    Figure 7 Accessing the Jenkins server

  2. Click Remote Login. In Other Login Modes area, click Log In. For more login modes, see ECS Help Center.

    Figure 8 Logging in to the Jenkins server

  3. Run cat /app/jenkins_home/secrets/initialAdminPassword to obtain the login password of user admin and copy the password.

    Figure 9 Obtaining the password of user admin for logging in to the Jenkins server

  4. On the Outputs tab of the stack, copy the Jenkins access address.

    Figure 10 Jenkins access address

  5. Paste the Jenkins access address into the address bar of a browser, enter the password obtained in 3, and click Continue.

    Figure 11 Logging in to Jenkins

  6. Install plugins by selecting, for example, Install suggested plugins.

    Figure 12 Customize Jenkins
    Figure 13 Installing plugins

  7. Wait until the plugins are installed. Then create an admin user or click Skip and continue as admin. In this example, we click Skip and continue as admin.

    Figure 14 Continue as an admin

  8. On the Instance Configuration page, configure the Jenkins URL and click Save and Finish.

    Figure 15 Configuring the Jenkins URL

  9. Wait until the Jenkins setup is complete and click Start using Jenkins.

    Figure 16 Jenkins setup completed
    Figure 17 Accessing Jenkins

  10. Configure the HuaweiCloud ECS plugin to automatically create Huawei Cloud ECSs as the slave nodes of the Jenkins cluster.

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