Proceed to create EC2 instance when there are no and qualified Tags

Proceed to create EC2 instance when there is no and there are Tags that meet the conditions

  1. In this step, we will create EC2 without meeting the tag requirement according to the created ec2-create-tags-existing policy. This will cause instance creation to fail. Then we will modify the tag according to the requirements and create the successful instance.

Check Policy

  1. Try using SAI Resource Tag to check:

    • Key = Name and Value = Example
    • Key = Team and Value = Beta

Check Policy

  1. Use the default configuration t2.micro. Select Keypair

Check Policy

  1. Proceed to configure Network.

    • After the configuration is complete, check again and select Launch instance

Check Policy

  1. On the Launch Status page, we will receive an error as Launch Failed.

    • So the 3rd test has been passed.

Check Policy

  1. Now, we will try to use the RIGHT Resource Tag to test.
    • Select Back to Review Screen.
    • We make correct tag editing.
    • Key = Name and Value = Example
    • Key = Team and Value = Alpha
    • Select Launch instance.

Check Policy

  1. And this time we initialize successfully.

Check Policy