Click or drag to resize

EC2MultiRegionTranslator Class

An IAddressTranslator implementation for multi-region EC2 deployments where clients are also deployed in EC2 in order to optimizes network costs, as Amazon charges more for communication over public IPs.

Its distinctive feature is that it translates addresses according to the location of the server host:

  • Addresses in different EC2 regions (than the client) are unchanged
  • Addresses in the same EC2 region are translated to private IPs
Inheritance Hierarchy
SystemObject
  DseEC2MultiRegionTranslator

Namespace:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.6.0
Syntax
C#
public class EC2MultiRegionTranslator : IAddressTranslator

The EC2MultiRegionTranslator type exposes the following members.

Constructors
  NameDescription
Public methodEC2MultiRegionTranslator
Initializes a new instance of the EC2MultiRegionTranslator class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTranslate
Addresses in the same EC2 region are translated to private IPs and addresses in different EC2 regions (than the client) are unchanged.
Top
See Also

Reference