Difference between revisions of "AWS"

From Ever changing code
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
= EC2 Meta-data =
{{Special:PrefixIndex/AWS/}}
Methods of retrieving instance meta-data:
 
*Instance information: <tt><nowiki>http://169.254.169.254/latest/meta-data/</nowiki></tt>
 
GET <nowiki>http://169.254.169.254/latest/meta-data/</nowiki>
Tools
curl <nowiki>http://169.254.169.254/latest/meta-data/</nowiki>
*[https://bash-my-aws.org bash-my-aws.org]
*User information: <tt><nowiki>http://169.254.169.254/latest/user-data</nowiki></tt>
*[https://github.com/toniblyx/prowler Prowler] AWS CIS Benchmark Tool
curl <nowiki>http://169.254.169.254/latest/user-data</nowiki>
 
*Dynamic information: <tt><nowiki>http://169.254.169.254/latest/dynamic/</nowiki></tt>
 
GET <nowiki>http://169.254.169.254/latest/dynamic/document</nowiki>
List all AWS service
= References =
<source lang=bash>
*[https://help.ubuntu.com/community/CloudInit CloudInit] by Ubuntu
curl -s https://awspolicygen.s3.amazonaws.com/js/policies.js | sed '1s/[^=]*=//' | jq . | grep -B1 StringPrefix | grep -v StringPrefix | sed 's/\"//g;s/\-//g;s/: {//g' | grep -v "^$" | sort
*[http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AESDG-chapter-instancedata.html Instance Metadata and User Data] AWS Documentation
    Alexa for Business
    Amazon API Gateway
...
# 219 as of 11/01/2020
</source>
 
[[Category:aws]]
[[Category:aws]]

Latest revision as of 10:15, 17 July 2020


Tools


List all AWS service

curl -s https://awspolicygen.s3.amazonaws.com/js/policies.js | sed '1s/[^=]*=//' | jq . | grep -B1 StringPrefix | grep -v StringPrefix | sed 's/\"//g;s/\-//g;s/: {//g' | grep -v "^$" | sort
    Alexa for Business
    Amazon API Gateway
...
# 219 as of 11/01/2020