feat(ami-cloudinit): refactor to use cloudinit

still supports c10n!