Metadata Overview
    • PDF

    Metadata Overview

    • PDF

    Article Summary

    Can be used in a VPC environment.

    Summary

    This provides data regarding server instances that can be used for managing the server instances being executed.

    You can also search information about the role assigned to the server instance and get a temporarily issued access key (STS) for the corresponding role.

    The result of calling each path could be a list of subsections by classifying them with line separators (\n),

    or could be the resulting information corresponding to the corresponding path.

    All users who can directly access the server instance and any software running on the server instance can access the metadata. So it requires attention to role settings.

    404 - Not Found HTTP error code is returned if there is no resource.

    This is accomplished through the call of the HTTP method.

    Common settings

    API URL

    GET
    http://169.254.169.254/
    

    Error response

    [root@test-server ~]# curl -i http://169.254.169.254/nonexistent-path
    HTTP/1.1 404 404
    Date: Mon, 21 Dec 2020 23:19:37 GMT
    Server: Apache
    Referrer-Policy: unsafe-url
    Connection: close
    Transfer-Encoding: chunked
    Content-Type: text/plain;charset=UTF-8
    
    Path Not found.
    [root@test-server ~]#
    

    Category

    Call pathDescription
    GET /Search a list of available versions.
    GET /{version}/meta-data/Search information regarding the server instance.
    GET /{version}/meta-data/iamSearch information regarding the role assigned to the server instance.

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.