ec2 instance launch failure

Discussion in 'Simplilearn Support' started by _14271, Nov 12, 2017.

  1. _14271

    _14271 Member
    Alumni

    Joined:
    Oct 24, 2017
    Messages:
    6
    Likes Received:
    0
    I got below ec2 instance launch error, what does it mean? Is any resources for AWS error msg checking? Thanks.

    Launch Failed
    You are not authorized to perform this operation. Encoded authorization failure message: ZgdPUvsGQqPFI_OxEGO-92vYb5f3waS0pBDLiE3h0kIfFu5xgPaHMfuKLadTw3mrKfCxNFjEDRn3CrUu7ofl9PK-bAqUhuNZ1O4Wy1sUmoRoz9Z2NX-gMdbDB6nd5O1aETkPZIendaMhv9YOxFWctejJ-awATnpPLFnu_AeDbQo0J6CdhL35hYTtsSSXW1XNElBTJVtdaCXAXNH7ORitlse3jMoIQGuySHHr2JVIaeRQGRMMifP9nKwx10H8LHwEgniyeBcsKoIBRuAI_HuKyFgNnZrVBJQXImgPlNaGHPp3LBreAmRlU9mQqA-EPKwmGv3_bAPfd3d32loXWOvudrilJqEIjPT5RKt4U6YeujW9wQtGXd2ka8FJFbGnGfMYZYWheV2veTkngDjQ9gT096zqZ0GBWdl3dmptjutNReog5xSMp_X19ERESAho4DGM-UB_ExUPdTHUXzIR9pjuFxkb83dZKuHA9U3IccCFC3D2Q3lBEuSmml1u4YQcs4btn8xeZ4p38FF8kmJKoWLESwxpPsni2HWWAqVG7VB0f90rEbgQSa0rWzhfGnPZ1bj4ddc8Sfd3yS2o0O69VV49YC1tCmrCAZt1OTKF2mpVu0cMFTpQcFkFOmMKalYhgsYSZsh0ksbT7XRNBpSGxLfJ83svx_k0UnWs4_odiO8Ty1fZdO-bXDCl77Z-IXYRDhpS1kLk2m8JB_LHBbngstqI1s1ZYEPVXwDfMd9gLDC42xWWjaRY6QjJhnBtFTW0XDgByRMrgUKc79gQT3I
     
    #1
  2. Akansha Chaurasia

    Akansha Chaurasia Well-Known Member
    Simplilearn Support

    Joined:
    Jun 2, 2017
    Messages:
    531
    Likes Received:
    34
    #2
  3. _14271

    _14271 Member
    Alumni

    Joined:
    Oct 24, 2017
    Messages:
    6
    Likes Received:
    0
    But it didn't answer my question. I'm not asking for admin. I'm asking about the error msg itself, what does it mean, and more in general, where do we check for AWS error msg.
     
    #3
  4. Chad_16

    Chad_16 Active Member
    Trainer

    Joined:
    Sep 11, 2017
    Messages:
    17
    Likes Received:
    1
    That encoded error message can actually be decoded, but a lack of permissions means one of the following is true:
    1) the policy document attached to your IAM user (or role) does not have permissions to launch EC2 instances under the circumstances you requested
    2) you didn't provide credentials through a misconfiguration (or were using the wrong credentials)

    If you want to decode the message, use the command line as follows:

    aws sts decode-authorization-message --encoded-message (include error message text here)

    Hope this helps!
     
    #4

Share This Page