Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

Contents:


About AWS Organizations


AWS Organizations is a Policy-based management for multiple AWS accounts. AWS Organizations offers policy-based management for multiple AWS accounts. With Organizations, you can create groups of accounts, automate account creation, apply and manage policies for those groups. Organizations enables you to centrally manage policies across multiple accounts, without requiring custom scripts and manual processes.

Using AWS Organizations, you can create Service Control Policies (SCPs) that centrally control AWS service use across multiple AWS accounts. You can also use Organizations to help automate the creation of new accounts through APIs. Organizations helps simplify the billing for multiple accounts by enabling you to setup a single payment method for all the accounts in your organization through consolidated billing. AWS Organizations is available to all AWS customers at no additional charge.
More information can be found here



Benefits Of Using AWS Organizations In CloudAware


  1. No need to manually add every AWS account

  2. Automate on-boarding of your AWS Accounts into CloudAware

  3. Ability to see which AWS Organizational Accounts exist but are not in CloudAware CMDB as AWS Accounts.

Requirements


  1. AWS Organization Master Account has been added to CloudAware CMDB.
  2. CloudAware has the following IAM permissions on AWS Organizations Master Account:
organizations:DescribeOrganization
organizations:ListRoots
organizations:ListOrganizationalUnitsForParent
organizations:ListAccountsForParent

Overview Checklist


  1. Ensure AWS Organizations Master Account has a green status indicator in the Admin panel.
  2. Deploy the CloudAware CloudFormation template to all AWS Organizational Accounts
  3. Request auto-adding of all AWS Organizational Accounts to CloudAware CMDB
  4. AWS Organizational Accounts are now visible as AWS Account objects.


STEP 1. CloudAware Access To AWS Organizations Master Account


1. Log in to your CloudAware account and navigate to AWS Organizations.


2. You should see at least one AWS Organization and N number of AWS Organizational Accounts.

 


If you do not see any AWS Organizations, there are two possible reasons:

  1. Insufficient permissions on AWS Organizations Master Account.
  2. AWS Organizations Master Account has not been added to CloudAware.


Double check Requirements and Overview Checklist sections above.


STEP 2. CloudAware Access To AWS Organizations Sub-Accounts


1. Download the CloudAware CloudFormation Template with IAM policy from the CloudAware Admin panel or use your custom template with policy.

2. Deploy CloudFormation template on every AWS Organizations Sub-Account.

When granting CloudAware access to AWS Organizations Sub-Account, IAM External ID must be either blank or the same value for all AWS Organizations Sub Accounts. See the screenshot below.



If you need instructions on how to download the template and execute CloudFormation Stack, click here.


Adding multiple AWS accounts with CloudFormation StackSets


A stack set can be used to deploy CloudAware CloudFormation template to multiple AWS accounts at once. Since stack sets perform stack operations across multiple accounts, you should have the necessary permissions defined in your AWS accounts before you create your first stack set.

Self-Managed Permissions


1. Log in to your AWS Console and locate the root account where the stack set is to be created.

2. In the root account, create an IAM role AWSCloudFormationStackSetAdministrationRole using this template: https://s3.amazonaws.com/cloudformation-stackset-sample-templates-us-east-1/AWSCloudFormationStackSetAdministrationRole.yml

3. In each (!) target account where individual stacks are to be created, create a service role named AWSCloudFormationStackSetExecutionRole that trusts the root account using this template: https://s3.amazonaws.com/cloudformation-stackset-sample-templates-us-east-1/AWSCloudFormationStackSetExecutionRole.yml

When creating the trust relationship between each target account and a customized administration role, you can control which users and groups can perform stack set operations in which target accounts. You can also define:

  • Which resources users and groups can include in their stack sets.
  • Which stack set operations specific users and groups can perform. Read more

4. Ensure that the root account has been added to CloudAware. Any new AWS account where the stack set is deployed will show up in CloudAware automatically.


Service-Managed Permissions


AWS Organizations provides you with the centralized governance over your AWS accounts creation and management. Before creating a stack set in your AWS Organizations Master Account:


1. Sign in to the AWS Console as an administrator of the master account. Select AWS Organizations under Management & Governance.

2. Enable all features in AWS Organizations: go to Settings tab → select Begin process to enable all features.



This action is irreversible! Read more


3. Enable trusted access with AWS Organizations:

 3.1. Open AWS Console as administrator of your AWS Organizations Master Account.

The IAM service-linked role created in the organization master account has the suffix CloudFormationStackSetsOrgAdmin. You can modify or delete this role only if trusted access with AWS Organizations is disabled. 

The IAM service-linked role created in each target account has the suffix CloudFormationStackSetsOrgMember. You can modify or delete this role only if trusted access with AWS Organizations is disabled, or if the account is removed from the target organization or organizational unit (OU).

 3.2. Select CloudFormation under Management & Governance.

 3.3. Select StackSets. Click Enable trusted access.


Once it is done, StackSets creates the necessary IAM roles in the AWS Organizations master account and target accounts to which stack instances will be deployed. Otherwise, check Requirements.


STEP 3. Notify CloudAware Support


1. Contact your dedicated account manager or support@cloudaware.com to provide the Role Name and External ID (or indicate whether it was left blank) used when setting up the CloudFormation stack for your Master AWS Organizations Account.


2. Once the request has been resolved, all AWS Organization Sub-Accounts will show up in the Admin panel.


STEP 4. Identify AWS Organizational Accounts That Didn't Get Onboarded Successfully


1. Navigate to CloudAware CMDB → AWS Organizations → AWS Organizational Accounts.

2. Click Browse Objects.


 


Paste the following query and click Search:

`Deleted From AWS` equals null -> `AWS Organization Account Name` ASC, `Account`.`Account Name` as "Actual Account", `Account ID`, `Email`, `Joined Method`, `Joined Timestamp`, `Parent Root ARN`, `Status`


Any AWS Organizational Account where Actual Account is blank will not not be automatically added since CloudAware is unable to assume an IAM role in it.


  • No labels