How Do I Use a Fixed Application Component IP?
Symptom
If TCP/UDP Route Configuration is not set during application component deployment, the access IP address of the application changes when the container restarts. This may create difficulties in your configuration.
Solution
Set TCP/UDP Route Configuration when creating or deploying an application component. You can solve the problem using any of the following methods:
- Intra-cluster access: An application can be accessed by other applications in the same cluster using an internal domain name.
- Intra-VPC access: An application can be accessed by other applications in the same VPC using the IP address of a cluster node or the IP address of an ELB service in a private network.
- External access: An EIP is used to access applications from a public network. This access mode is applicable to services that need to be exposed to a public network in the system. In this access mode, EIP must be bound to any node in the cluster and a port mapped to the node must be configured.
Application Management FAQs
- How Do I View the Causes of Application Component Deployment Failures?
- What Should I Do If I Don't See the VM Agent After Installing It?
- What Should I Do If the VM Agent Is Offline?
- What If an Instance Is Being Created for a Long Time?
- How Do I Solve the Dependency Problem When a Node Program Runs in Docker?
- How Do I Customize a Tomcat Context Path?
- How Do I Use a Fixed Application Component IP?
- What Should I Do If an ECS Error Occurs When I Create and Deploy a Component on a VM?
- What Should I Do If I Cannot Access the Port When I Create and Deploy a Component on a VM?
- Which Directories Do I Use to Write Files for VM-Deployed Application Components?
- What Should I Do If "host status is not active" Is Reported When a VM-Deployed Component Fails to Be Deleted?
- How Do I Use the ServiceStage Source Code Deployment Function?
- What Should I Do If Components Fail to Be Upgraded in ServiceStage Dark Launch?
- How Do I Mount Items to Modify the Configuration File of a Container-based Component?
- What Should I Do If the Application Name Displayed on Microservice Governance Is Different from That Displayed on ServiceStage Application Management After an Application Component Is Connected to a Microservice Engine?
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.
Chatbotmore