makeporngreatagain.pro
yeahporn.top
hd xxx

Working with Meta-data

536
  • In previous Lab 4.11, we created an instance with user-data or bash script to install apache server over it
  • Now to check what bootstrap script was passed into the instance we can run command in Linux instance, command:
    curl http://169.254.169.254/latest/user-data
  • This command will return the script which passed into it during boot-up:
  • Similarly,with help on meta-data command we can find instance details such as:
    ami-id
    ami-launch-index
    ami-manifest-path
    block-device-mapping/
    events/
    hostname
    instance-action
    instance-id
    instance-type
    local-hostname
    local-ipv4
    mac
    metrics/
    network/
    placement/
    profile
    public-hostname
    public-ipv4
    public-keys/
    reservation-id
    security-groups
    services/
  • For running meta-data command, we need to run[code]curl http://169.254.169.254/latest/meta-data/parameter you wanna find[/code]
  • For example, I wanna find sercurity group of this instance, meta-data command would be
    curl http://169.254.169.254/latest/meta-data/security-groups

  • That’s it for this Lab, don’t delete the instance we need it in this lab
Leave A Reply

Your email address will not be published.

baseofporn.com https://www.opoptube.com
Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.