Onboard AWS Accounts

This topic explains how to onboard AWS accounts to ACE.

ASMS Integration Note:

How AWS Onboarding Works

ACE connects to AWS using a secure, role-based access model.

During onboarding, an AWS administrator deploys an AlgoSec-provided CloudFormation template or Terraform configuration. This deployment creates the IAM role and permissions required for ACE to read AWS networking and security configuration.

After the deployment is complete, ACE discovers AWS resources such as:

  • VPCs

  • Subnets

  • Security Groups

  • Route Tables

  • Transit Gateways

  • Network Firewall resources

Depending on the onboarding method you choose, ACE can also automatically synchronize changes made in AWS after onboarding.

ACE uses role-based access to discover and continuously synchronize AWS networking and security resources.

AWS Onboarding Flow (Via Wizard)

  1. Start AWS onboarding in ACE.

  2. Select an onboarding method and deploy. See below Onboarding methods for AWS Accounts.

  3. AWS creates the required IAM role and permissions.

  4. ACE securely accesses AWS configuration data.

  5. AWS resources are imported into ACE.

  6. ACE automatically synchronizes future changes when using CloudFormation or Terraform onboarding.

Who performs AWS onboarding?

AWS onboarding typically requires collaboration between:

  • An AWS administrator, who deploys the CloudFormation template or Terraform configuration in AWS.

  • An ACE administrator, who initiates the onboarding process and verifies the connection.

The deployment creates the IAM role and permissions required for ACE to access AWS configuration data.

Onboarding methods for AWS Accounts

Choose the onboarding method that best fits your AWS environment and operational model.

Some onboarding methods support automatic synchronization, allowing ACE to detect and import changes made in AWS after onboarding.

Onboarding Method Description Automatic synchronization
CloudFormation (recommended) Via the onboarding wizard: Generates and deploys an AWS CloudFormation template. Yes
Terraform Via the onboarding wizard: Uses Terraform to deploy the required AWS permissions and onboarding resources. Yes
REST API (single account) Onboard a single AWS account via API No

Automatic Synchronization

  • CloudFormation and Terraform onboarding support automatic synchronization.

  • ACE automatically discovers and imports changes made in AWS.

  • API onboarding is limited to a single AWS account and does not support automatic synchronization.

Note:

Note: Deleting AWS accounts is not automatically synced. To remove AWS accounts from AlgoSec Cloud Enterprise after deletion in AWS, refer to Offboard AWS accounts from ACE.

Before you start

  1. Make sure you are logged on to AWS Console .

  2. If you want to configure VPC flow logs, see VPC Flow Logs and Enable AWS VPC flow logging.

Onboard AWS accounts

Note: For issues onboarding AWS accounts, see Troubleshoot Onboarding.

Permissions required for AWS roles

See Permissions Required for AWS Accounts.

VPC Flow Logs

Tip: For background about VPC Flow Logs, see these: AWS Article: VPC Flow Logs, AWS Blog: VPC Flow Logs.

By enabling VPC Flow Logs, ACE can retrieve and analyze network traffic data for multiple purposes.

  • For ACE Cloud Network Security, flow logs are used to determine when security group (SG) rules were last exercised. This data is surfaced in the Risk Triggers and Network Policy pages, allowing you to identify stale, over-permissive, or unused rules and confidently clean up your network policies. For more details, see Last used and Clean Up Policies

  • In addition, ACE Cloud App Analyzer uses VPC Flow Logs to observe established traffic patterns between services. This enables ACE to accurately merge microservices based on real communication paths, resulting in more precise application discovery.

Follow the steps in Enable AWS VPC flow logging to get started.

Notes:
(1) Allow up to 24 hours for relevant rule usage information to be displayed when enabling flow logs for the first time and when adding accounts that already had flow logs enabled.

(2) VPC flow logs can be stored on either S3 or CloudWatch. ACE supports collecting flow logs from either option.

(3) ACE supports processing flow logs only when they are stored in the default log format. More details in this AWS article.

(4) If you configure both S3 and CloudWatch as your VPC Flow Logs targets, ACE will collect only from the S3 buckets.

(5) ACE collects only VPC Flow Logs of traffic type “accept”. Make sure that you configure the VPC Flow Logs traffic type to either “Accepted traffic” or “All traffic” (more details in this AWS article)

Enable AWS VPC flow logging

ACE can work with flow logging enabled at the various levels that AWS allows: VPC, Subnet, Network Interfaces.

Do the following:

To provide optimal performance, the following procedure explains how to enable flow logging at the Network Interface level. Repeat it for each Network Interface requiring flow logging.

  1. Enabled Flow Logs in AWS.

Update details of onboarded AWS accounts

You can update the details for AWS resources already onboarded to ACE. This is helpful if you need to add or remove write permissions.

 

â See also: