Last active
September 6, 2020 10:04
-
-
Save Tharwat96/944e768eab9f67a3d387b53038c041a5 to your computer and use it in GitHub Desktop.
Revisions
-
Tharwat96 revised this gist
Sep 6, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # describe ec2 instance aws ec2 --region us-east-1 describe-instances --instance-ids i-xxxxxxxxxxx # associate iam instance profile to running instance aws ec2 associate-iam-instance-profile --instance-id i-xxxxxxxxxxx --iam-instance-profile Name=xxxxxxxxx -
Tharwat96 created this gist
Sep 6, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ # describe ec2 instance aws ec2 --region us-east-1 describe-instances --instance-ids i-0c604943aa8ffe2ad # associate iam instance profile to running instance aws ec2 associate-iam-instance-profile --instance-id i-xxxxxxxxxxx --iam-instance-profile Name=xxxxxxxxx