I want to use the same keypair from one availability zone in another but I cannot import it. If I generate a new key I get the same error.
See AWS console > Newtwork and Security > Key pairs > Import key pair then choose an existing EC2 keypair and I get the following error:
Value (LS0tL...tLS0t) for parameter PublicKeyMaterial is invalid. Length exceeds maximum of 1024
Why would imported public key pairs have to be smaller than the key pairs AWS generates?