Getting started with AWS Ops Agent for networking
This topic describes how to add the Networking specialist to an Agent Space that covers individual accounts (account mode). To cover accounts through an organizational unit (OU) or an entire organization, see Setting up AWS Ops Agent for networking across an AWS Organization.
Prerequisites
An Agent Space in a supported Region. The Specialists section appears only in supported Regions. For more information, see Supported Regions.
Permission to add a specialist:
aidevops:ListAssociations,aidevops:AssociateService, andaidevops:DisassociateService. These are included inAIDevOpsAgentFullAccess.Permissions to manage the network scope. Attach the
AWSNetworkManagerFullAccessmanaged policy to the user or role that adds the Networking specialist.The AWS Network Manager service-linked role
AWSServiceRoleForNetworkManagerin each account. In account mode, you create this role manually in each account. In organization mode, AWS Network Manager creates it through trusted access. If this role is missing, the account can't be added to the scope. To create it manually, run the following command.aws iam create-service-linked-role --aws-service-name networkmanager.amazonaws.comA list of the Regions where your workloads run. AWS Ops Agent for networking analyzes only the Regions that you select.
Step 1: Add the Networking specialist
You add AWS Ops Agent for networking as the Networking specialist of an Agent Space. The following procedure covers the AWS Ops Agent for networking choices. For the full add-specialist procedure, see the AWS Ops Agent User Guide.
To add the Networking specialist to an existing Agent Space (console)
Open the AWS Ops Agent console and open your Agent Space.
Choose the Capabilities tab.
Under Specialists, choose Add specialist.
In the dialog box, choose the Networking specialist.
Choose the Regions to analyze.
Choose Add specialist.
While you create a new Agent Space, you can add the Networking specialist in the Specialist section: select Networking, choose the Regions, and then finish creating the Agent Space. If the Networking specialist can't be added, the Agent Space is still created and a message explains why. You can add the Networking specialist later from the Capabilities tab.
Step 2: Confirm that the Networking specialist is active
After you add the Networking specialist, its status is Pending while the network scope is created and accounts are added. When the status is Active, the Networking specialist is ready. If the status is Broken, see Troubleshooting AWS Ops Agent for networking. For the full list of specialist status values, see the AWS Ops Agent User Guide.
A status of Active means that the Networking specialist is set up and ready. It doesn't mean that every account is fully covered. To confirm which accounts and Regions are covered, view the network scope principals. An account can be only partly covered, in which case the network scope reports PRINCIPALS_NOT_FULLY_COVERED even when the status is Active. For more information, see Working with network scopes and A scope reports PRINCIPALS_NOT_FULLY_COVERED.
Step 3: Check network visibility
To confirm that AWS Ops Agent for networking can see your network, open the web app from the Agent Space details, start a new chat, and ask a question such as the following:
For more example questions to ask AWS Ops Agent for networking, see Working with AWS Ops Agent for networking.
You can also view the network scope with the AWS CLI. For more information, see Working with network scopes.
Next steps
To ask AWS Ops Agent for networking about your network, see Working with AWS Ops Agent for networking.
To cover accounts across an organization, see Setting up AWS Ops Agent for networking across an AWS Organization.
To review permissions and data handling, see Security in AWS Ops Agent for networking.