Can’t delete IAM role because policies are attached · Harder to remove IAM than to create it

Views: 757I am trying to uninstall a role , policy and profile in AWS command line. I made a script that creates the role, etc but need to make an uninstall script. ~/.local/bin/aws iam create-role –role-name CharmingMachineBashRole –assume-role-policy-document file:///usr/local/sbin/AllowSecGroupCreate.json ~/.local/bin/aws iam attach-role-policy –role-name CharmingMachineBashRole –policy-arn arn:aws:iam::aws:policy/AmazonEC2FullAccess ~/.local/bin/aws iam create-instance-profile –instance-profile-name CharmingMachineBash-Instance-Profile ~/.local/bin/aws iam add-role-to-instance-profile –role-name …

Recommended Network ACL Rules for Your #VPC – @Amazon Virtual Private Cloud – Be sure to use correct Region

Use NACL on AWS VPC as a firewall

Views: 751Easy way to block simple attacks from a single IP address or a a few on the same network. Until I automate the a block script, I did this manually, but first I was connected to the wrong region. There are really intelligent hacks, then there are medium intelegence hacks, and there are just …