Preparations
Preparing Resources
- Create a VPC. For details, see Creating a VPC.
- Create an elastic load balancer and bind it to an EIP. For details, see Creating a Shared Load Balancer.
The VPC to which the load balancer belongs has been created.
- Create a CCE standard cluster. Set Cluster Scale to 50 nodes and Master Nodes to Single.
For details, see Buying a CCE Standard/Turbo Cluster.
- The cluster must contain at least one ECS node with 8 vCPUs and 16 GB memory or two ECS nodes with 4 vCPUs and 8 GB memory.
For details about how to add nodes to a CCE cluster, see Creating a Node .
- The VPC to which the cluster belongs has been created.
- The cluster must contain at least one ECS node with 8 vCPUs and 16 GB memory or two ECS nodes with 4 vCPUs and 8 GB memory.
- Create a DCS instance. For details, see Buying a DCS Redis Instance.
- Create a bucket for storing software packages. For details, see Creating a Bucket.
Obtaining and Uploading the Component Template Package
- Download the component template package template-package-demo.zip.
- Upload the package to the OBS bucket prepared in Preparing Resources.
For details, see Streaming Upload (PUT).
Obtaining the Download Address of the Uploaded Image Package
- Download the image package demo-app.tar.
- Upload the package to the SWR image repository.
For details, see Uploading an Image.
- Obtain the image package download address. For details, see Obtaining an Image Pull Address.
Creating an Environment
- Log in to ServiceStage.
- Choose Environment Management > Create Environment. Then set required environment information by referring to the following table, and retain the default values for other parameters.
Parameter
Description
Environment
Enter an environment name, for example, template-demo-env.
Enterprise Project
Enterprise projects let you manage cloud resources and users by project.
For details, see Enabling the Enterprise Project Function.
Environment Type
Select Kubernetes.
HA Environment
Select No.
VPC
Select the VPC prepared in Preparing Resources.
The VPC cannot be modified after the environment is created.
Configuration Mode
Select Resource Management.
- Click Create Now.
- Choose Clusters under Compute and click Bind now.
- For Cluster, select the CCE cluster created in Preparing Resources.
- Set Namespace to default.
- Click OK.
- Choose Load Balancers under Networking. Then click Manage Resource.
- In the dialog box that is displayed, select the ELB resource created in Preparing Resources and click OK.
- Choose Distributed Cache Service under Middleware and click Manage Resource.
- In the dialog box that is displayed, select the DCS resource created in Preparing Resources and click OK.
Creating an Application
- Click
in the upper left corner to return to the Environment Management page.
- Choose Application Management > Create Application and configure the application by referring to the following table.
Parameter
Description
Name
Enter an application name, for example, template-demo-app.
Enterprise Project
default is selected by default.
Enterprise projects let you manage cloud resources and users by project.
For details, see Enabling the Enterprise Project Function.
- Click OK.
Creating an Organization
- Choose Deployment Source Management > Organization Management.
- Click Create Organization.
- Enter an organization name, for example, org-test.
- Click OK.
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