Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Question
In AWS, lets say you created an EC2 instance that you configured a bootstrap script for (i.e. to install some packages, like httpd, when instance first starts), from inside the instance shell, issue command to see the content of that bootstrap script.
Answer

sudo curl http://169.254.169.254/latest/user-data


^^ note that instead of getting just user-data scripts with above command, you can get instance meta-data like public-ipv4 by issuing similar command: sudo curl http://169.254.169.254/latest/meta-data/public-ipv4


Question
In AWS, lets say you created an EC2 instance that you configured a bootstrap script for (i.e. to install some packages, like httpd, when instance first starts), from inside the instance shell, issue command to see the content of that bootstrap script.
Answer
?

Question
In AWS, lets say you created an EC2 instance that you configured a bootstrap script for (i.e. to install some packages, like httpd, when instance first starts), from inside the instance shell, issue command to see the content of that bootstrap script.
Answer

sudo curl http://169.254.169.254/latest/user-data


^^ note that instead of getting just user-data scripts with above command, you can get instance meta-data like public-ipv4 by issuing similar command: sudo curl http://169.254.169.254/latest/meta-data/public-ipv4


Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.