When configuring an EC2 cloud using CasC, one must explicitly set mode so that the Cloud actually is usable.
Here is the working yaml
If mode is not specified, it should default to NORMAL. Or if really we want to make it required, this should fail fast when absent, not stay null and make the whole settings broken.
I had to run the code through a debugger to actually understand what was going on.