Deploy a demo service with no need to prepare in advance, provide code, or use default configuration.
Step 1: Creating a Service
1. Log in to the CloudBase Platform, switch to the designated environment, and select the TCBR service. If the service is not activated, you can choose to activate it. 2. Select Create a Service on the TCBR service page.
3. On the service creation page, configure related options and confirm to create a service.
Service name: Fill in helloworld.
Deployment type: Select container service.
Deployment method: Select upload code package.
Select code package: Download the sample code package, save it locally, and then select the locally downloaded code folder or code package. 4. When using the sample compressed package, other configurations do not need to be adjusted. Upon confirmation, start the service deployment.
5. You can view the deployment calendar to check the deployment status. Wait for the deployment to complete.
Step 2: Accessing the Service
1. Complete the service creation and confirm that the service deployment is complete.
2. Find the service's access domain name in the service details.
3. Click to access the domain name to see the example effect:
If it prompts INVALID_HOST, it means the current domain is still in the process of taking effect. Wait for a while and try accessing again.