Demo_bob connection parameters to Amazon EC2

For demo_bob and demo_alice do they connect to the FQDN or to the EIP (Elastic IP, like static IP) of the server?

So far as I can tell, the AWS EC2 instance connects well with anveo:

abc*CLI> 
abc*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description                      
anveo/1234567890          xx.x.xxx.xx                                 Yes        Yes            5010     OK (40 ms)                                   
demo_alice                (Unspecified)                            D  Auto (No)  No             0        UNKNOWN                                      
demo_bob                  (Unspecified)                            D  Auto (No)  No             0        UNKNOWN                                      
piter                     (Unspecified)                            D  Yes        Yes            0        UNKNOWN                                      
thufir                    (Unspecified)                            D  Yes        Yes            0        UNKNOWN                                      
5 sip peers [Monitored: 1 online, 4 offline Unmonitored: 0 online, 0 offline]
abc*CLI> 
abc*CLI> sip show registry
Host                                    dnsmgr Username       Refresh State                Reg.Time                 
sip.anveo.com:5010                   N      1234567890         165 Registered           Wed, 11 Jan 2017 10:40:16
1 SIP registrations.
abc*CLI> 
abc*CLI> sip show objects
-= Peer objects: 5 static, 0 realtime, 1 autocreate =-

name: demo_bob
type: peer
objflags: 0
refcount: 1

name: piter
type: peer
objflags: 0
refcount: 1

name: anveo
type: peer
objflags: 0
refcount: 3

name: thufir
type: peer
objflags: 0
refcount: 1

name: demo_alice
type: peer
objflags: 0
refcount: 1

-= Peer objects by IP =-

name: anveo
type: peer
objflags: 0
refcount: 3

-= Registry objects: 1 =-

name: 1234567890:abcdefghij@sip.anveo.com:5010
-= Dialog objects:

name: cb004ab7-8017d201-97e9e23@xx.xxx.xx.xx
type: dialog
objflags: 0
refcount: 2

abc*CLI> 
abc*CLI> sip show peer anveo 


  * Name       : anveo
  Description  : 
  Secret       : <Set>
  MD5Secret    : <Not set>
  Remote Secret: <Not set>
  Context      : from-anveo
  Record On feature : automon
  Record Off feature : automon
  Subscr.Cont. : <Not set>
  Language     : 
  Tonezone     : <Not set>
  AMA flags    : Unknown
  Transfer mode: open
  CallingPres  : Presentation Allowed, Not Screened
  Callgroup    : 
  Pickupgroup  : 
  Named Callgr : 
  Nam. Pickupgr: 
  MOH Suggest  : 
  Mailbox      : 
  VM Extension : asterisk
  LastMsgsSent : 0/0
  Call limit   : 0
  Max forwards : 0
  Dynamic      : No
  Callerid     : "" <>
  MaxCallBR    : 384 kbps
  Expire       : -1
  Insecure     : port,invite
  Force rport  : Yes
  Symmetric RTP: Yes
  ACL          : No
  DirectMedACL : No
  T.38 support : No
  T.38 EC mode : Unknown
  T.38 MaxDtgrm: 4294967295
  DirectMedia  : Yes
  PromiscRedir : No
  User=Phone   : No
  Video Support: No
  Text Support : No
  Ign SDP ver  : No
  Trust RPID   : No
  Send RPID    : No
  Path support : No
  Path         : N/A
  TrustIDOutbnd: Legacy
  Subscriptions: Yes
  Overlap dial : Yes
  DTMFmode     : rfc2833
  Timer T1     : 500
  Timer B      : 32000
  ToHost       : sip.anveo.com
  Addr->IP     : xx.x.xxx.xx:5010
  Defaddr->IP  : (null)
  Prim.Transp. : UDP
  Allowed.Trsp : UDP
  Def. Username: 1234567890
  SIP Options  : (none)
  Codecs       : (ulaw)
  Auto-Framing : No
  Status       : OK (40 ms)
  Useragent    : 
  Reg. Contact : 
  Qualify Freq : 60000 ms
  Keepalive    : 0 ms
  Sess-Timers  : Accept
  Sess-Refresh : uas
  Sess-Expires : 1800 secs
  Min-Sess     : 90 secs
  RTP Engine   : asterisk
  Parkinglot   : 
  Use Reason   : No
  Encryption   : No

abc*CLI> 
abc*CLI>