Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
aws [2019/06/27 13:31]
jdx
aws [2019/08/09 17:22] (current)
jdx
Line 21: Line 21:
 <​code>​ <​code>​
 curl http://​169.254.169.254/​latest/​user-data curl http://​169.254.169.254/​latest/​user-data
 +</​code>​
 +
 +===== Relaunch userdata script on the current EC2 =====
 +<​code>​
 +bash <(curl http://​169.254.169.254/​latest/​user-data)
 +</​code>​
 +
 +===== See logs of the userdata script the current EC2 =====
 +<​code>​
 +tail -f /​var/​log/​messages -n1000 | grep cloud-init
 </​code>​ </​code>​
  
Line 32: Line 42:
 aws sts get-caller-identity --output text --query '​Account'​ aws sts get-caller-identity --output text --query '​Account'​
 </​code>​ </​code>​
 +
 +===== Get the available engines versions provisioned on RDS =====
 +<​code>​
 +aws rds describe-db-engine-versions --engine aurora-postgresql --query '​DBEngineVersions[?​contains(SupportedEngineModes,​`provisioned`)].EngineVersion'​
 +</​code>​
 +
 +
 +
  • aws.1561635109.txt.gz
  • Last modified: 2019/06/27 13:31
  • by jdx