You may also need to set IMDSv2 to optional. This is under actions-instance settings-modify instance metadata options