I suggest having a solid white light for cloud-connected, and a flashing white or blue light for when it is not connected to or connecting to the cloud.
Color is useful, but pairing each state with a distinct blink pattern would make it clearer and accessible for colorblind users. For example: solid = connected, slow blink = connecting, fast blink = offline, double-blink = firmware update. If the hardware only has a single-color LED, patterns may be the only option; if it is RGB, color plus pattern gives the clearest status without requiring customers to memorize a color chart.