Actual "infrastructure engineering" (cloud or not) is a different beast. It requires much deeper knowledge and would be akin to changing professions in terms of how much time you'd have to dedicate to know enough to raise about the noise level.
I've been doing this for 22+ years so I'm obviously biased.
I think your suggestions of becoming a JS performance expert is spot on.