Bu sayfa henüz yerel dilinizde mevcut değildir. Daha fazla dil seçeneği eklemek için yoğun bir şekilde çalışıyoruz. Desteğiniz için teşekkür ederiz.

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

Preparations

Updated on 2024-12-16 GMT+08:00

Spring Boot is an open-source application development framework based on the Spring framework. It helps you quickly build production-level applications that can run independently.

This best practice uses the sample code provided by Spring to help you quickly deploy, access, and upgrade Spring applications on ServiceStage.

Preparing Resources

To facilitate subsequent operations, ensure that:

  1. Create a VPC. For details, see Creating a VPC.
  2. Create a CCE cluster. In a trial scenario, set Cluster Scale to 50 nodes and Master Nodes to Single. For details, see Buying a Cluster.
    • The VPC to which the CCE cluster belongs is the one created in 1.
    • The cluster contains at least one ECS node with 8 vCPUs and 16 GB memory or two ECS nodes with 4 vCPUs and 8 GB memory, and is bound to an EIP. For details, see Creating a Node.
    • The CCE cluster cannot be bound to other environments.
  3. You have registered and obtained a public domain name from the domain name provider. For details, see Creating a Public Zone.

Registering a GitHub Account and Forking the Source Code

  1. Register a GitHub account.
  2. Log in to GitHub.
  3. Go to the source code repository.

  4. Fork the source code repository to your account. For details, see Forking a repository.

Setting GitHub Repository Authorization

You can set GitHub repository authorization so that build projects and application components can use the authorization information to access the GitHub source code repository.

  1. Log in to ServiceStage.
  2. Choose Continuous Delivery > Repository Authorization > Create Authorization.
  3. Retain the default authorization name.
  4. Set Repository Authorization.

    1. Select GitHub.
    2. Select OAuth for Method.
    3. Click Use OAuth Authorization.
    4. After reading the service statement, select I understand that the source code building function of the ServiceStage service collects the information above and agree to authorize the collection and use of the information.
    5. Click OK.
    6. Enter your GitHub account and password to log in to GitHub for identity authentication. Wait until the authorization is complete.

  5. Click OK. You can view the created authorization in the repository authorization list.

Creating an Organization

  1. Choose Deployment Source Management > Organization Management.
  2. Click Create Organization. On the displayed page, specify Organization Name. For example, org-test.
  3. Click OK.

    Figure 1 Creating an organization

Creating an Environment

  1. Choose Environment Management > Create Environment. Then set required environment parameters by referring to the following table, and retain the default values for other parameters.

    Parameter

    Description

    Environment

    Enter an environment name, for example, env-test.

    Enterprise Project

    default is selected by default.

    Enterprise projects let you manage cloud resources and users by project.

    It is available after you enable the enterprise project function.

    Environment Type

    Select Kubernetes.

    HA Environment

    Select No.

    VPC

    Select the VPC prepared in Preparing Resources.

    NOTE:

    The VPC cannot be modified after the environment is created.

    Configuration Mode

    Select Resource management.

    Figure 2 Configuring an environment

  2. Click Create Now.
  3. Choose Clusters under Compute and click Bind now.
  4. In the dialog box that is displayed, select the CCE cluster created in Preparing Resources and click OK.

Creating an Application

  1. Click in the upper left corner to return to the Environment Management page.
  2. Choose Application Management > Create Application and set basic application information.

    1. Name: Enter an application name, for example, springGuides.
    2. Enterprise Project: default is selected by default. Enterprise projects let you manage cloud resources and users by project.

      It is available after you enable the enterprise project function.

  3. Click OK.

    Figure 3 Creating an application

Sitemizi ve deneyiminizi iyileştirmek için çerezleri kullanırız. Sitemizde tarama yapmaya devam ederek çerez politikamızı kabul etmiş olursunuz. Daha fazla bilgi edinin

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback