Onboard AWS Accounts

This topic explains how to onboard AWS accounts to ACE.

Note: Seamless AWS Account Onboarding to ASMS from ACE:

  • For ASMS A33.00: An early availability feature in ASMS A33.00 is the ability to onboard AWS accounts to both ACE and ASMS simultaneously. This capability streamlines your onboarding process. Once accounts are added to ACE, they are automatically onboarded to ASMS. For more details, refer to our ASMS tech docs Onboard AWS accounts to both AlgoSec Cloud and ASMS simultaneously.

  • For ASMS A33.10+: When ACE is connected to ASMS, when AWS accounts are added to ACE Cloud Network Security, they are automatically onboarded to ASMS. For more details, refer to our ASMS tech docs Simultaneously Onboard AWS Accounts into ACE and ASMS.

You can choose from three methods to add new AWS accounts. The first involves using scripts, while the others do not. The onboarding method you select also determines whether changes made to account resources after onboarding are automatically synced from AWS to your environment.

Note: Depending on which onboarding method you choose, changes to onboarded account resources may be automatically synced every hour.

Onboarding methods for AWS Accounts

You can onboard new AWS accounts using one of the following methods:

*Automatically syncs changes to accounts from AWS to ACE after onboarding.
Onboarding Method Description Automatic sync*
CloudStack Formation (via wizard) Uses scripts to onboard AWS resources Yes
API (single account) Onboard a single subscription via API No
Terraform Leverage Terraform, an infrastructure-as-code solution, to onboard AWS accounts into ACE Yes

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.

Note: For more information about the AWS onboarding script, see Inside the AWS Onboarding Script.

Before you start

Make sure you are logged on to AWS Console .

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 flow logs. This provides you with data, shown on the ACE Risk Trigger and Network Policy pages, about the date when SG rules were last used. On the network policy pages, you can use this data to clean out old or unused rules from your policies.

For more details on the benefits of enabling VPC flow logging, see Last used and Clean Up Policies

Once flow logs are enabled, ACE will start displaying details about the last used date for each triggered rule. 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

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.

Offboard AWS accounts from ACE

If you remove onboarded accounts from AWS, they will not automatically disappear from Cloud Network Security. Avoid discrepancies in your account management by following these steps to manually offboard accounts from ACE.

You can offboard AWS accounts from ACE using any of the following methods:

  • AWS Console

 

â See also: