This document describes how to deploy a JAR package of the JAVA Demo sample application on Tencent Cloud Elastic Microservice and enable its public network access.
Please make sure that you have read and completed the preparations before starting to deploy your application.
This document uses the demo application developed in Java Spring Boot as an example. Click here to download the JAR package.
Select the application deployment region at the top of the Application Management page in the TEM console.
Click Create to access the New application page and enter the application information.
Select Programming Language and Package Upload Method for your application.
If you have not configured Tencent Container Registry, or an error occurs after you click Next, activate the TCR service.
Click Submit and then click OK in the pop-up window to go to the application deployment page.
On the Deploy Application page, configure the relevant parameters as needed.
After your application is deployed successfully, you need to create an access configuration for it, so that it can be accessed over the public network.
Select the application deployment region at the top of the Environment page in the TEM console.
Click the environment where your application is deployed to enter the details page and select Access Configuration at the top.
Click Create to access the Create Access Configuration page to configure the access information.
Click OK to complete the new access configuration. Then you can view the public network access IP of the application under the Access Configuration section of the environment details page.
Enter the public network access IP in a browser. If the following result is returned, the application has been successfully deployed.