EC2 Instance assume role in other accounts


Besides IAM users, some AWS services can also assume roles. Here is the example of granting assume role permission to a EC2 instance. The scenario is that I have two accounts: In account A, I created a role (e.g RoleForB) to trust account B, and add a IAM policy to allow it to perform some read … Continue reading EC2 Instance assume role in other accounts

Generate python script for SCORCH runbook


I wrote a simple script called py4runbook.py to generate python scripts for Microsoft system center orchestrator runbooks. Thanks to the module pyHyperV, it makes my work much easier 🙂 The script can be downloaded from my github repo. It looks like following when it runs. The script needs Python version 3. The generated python scripts … Continue reading Generate python script for SCORCH runbook