Help Center/ ServiceStage/ FAQs/ Application Management/ How Do I Use a Fixed Application Component IP?
Updated on 2024-08-13 GMT+08:00

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.