Windows instance gets a private IP address

A Windows instance receives a private IP address (169.254.x.x).

Cause

There are two scenarios that may cause this: