New Training: Managing AWS Organizations with the AWS Tools for PowerShell
In this 8-video skill, CBT Nuggets trainer Trevor Sullivan utilizes the Boto3 SDK for Python to manage AWS Organizations.
Gain an understanding of managing a hierarchy of AWS accounts and applying Service Control Policies (SCP) to limit what API actions child accounts are able to execute. Watch this new AWS training.
Watch the full course: AWS Cloud Automation
This training includes:
1.4 hours of training
You’ll learn these topics in this skill:
Introduction to AWS Organizations and PowerShell Automation
Configure PowerShell Development Environment for AWS Organizations
Explore the AWS Organizations Module for PowerShell
Gain Access to AWS Organizations Child Accounts via API
Managing Organizational Units in AWS Organizations with PowerShell
Move AWS Accounts Between Organizational Units with PowerShell
Create a Service Control Policy (SCP) in AWS Organizations with PowerShell
Attach a Service Control Policy to an Organizational Unit with PowerShell
How to Use Boto3, AWS Organizations to Create Custom Dashboards
AWS Organizations is a tool to help handle multiple AWS accounts for businesses. It makes sense that AWS would provide such a tool. Large organizations need to be able to give individual developers and development teams access to a business's AWS account but also need to limit access to those accounts. In some cases, organizations may also want to create a custom internal dashboard to manage these additional AWS accounts without having to utilize the AWS web interface. Businesses can utilize a package like Boto3 for Python to build these custom dashboards.
Boto3 is a Python library to integrate the AWS SDK into Python. This allows developers to be able to create things like custom dashboards or automate other aspects of the AWS infrastructure.
Getting started with Boto3 is easy. Developers only need to install the Boto3 package using Python's Pip package manager. Once the Boto3 library is installed, an object needs to be instantiated with the corresponding AWS functions developers need access to. To create an object to control AWS Organizations settings, instantiate an object using the 'organizations' objects ( client = boto3.client('organizations')).
Once that object is created, developers can do things like attach policies to accounts, create accounts, delete accounts, assign privileges, and more.