Fixes #5999 - Support assigning public IP to Amazon EC2 host

This is a shot in the dark, hopefully it hits the mark.

/cc @karaaie @KrisBuytaert