Boundary
AWS dynamic host catalogs
Boundary uses dynamic host catalogs to automatically discover AWS EC2 instances and add them as hosts.
Create a host catalog to connect with AWS
Boundary uses plugins to integrate with a variety of providers. To use
a dynamic host catalog to integrate with AWS, you create a host catalog of the plugin
type
and set the plugin-name
value to aws
. You must also provide the specific
fields needed for Boundary to authenticate with AWS.
Complete the following steps to create a dynamic host catalog for AWS:
Log in to Boundary.
Select the org, and then select the project you want to create a host catalog for.
Select Host Catalogs.
Select New Host Catalog.
Complete the following fields:
- Name: (Optional) An optional name for identification purposes. If you enter a name, it must be unique.
- Description: (Optional) An optional description of the host catalog for identification purposes.
- Type: (Required) Select Dynamic to create a dynamic host catalog.
- Provider: (Required) Select AWS to create a dynamic host catalog for your AWS resources.
- AWS Region: (Required) Enter the AWS region of the hosts you want to add to the host catalog.
- Credential type: (Required) Select the type of credential you want to use to authenticate to the host catalog. The required fields for configuring the host catalog vary depending on whether you configure static or dynamic credentials:
- Use an access key (Static Credentials): Authenticates to the host catalog using an access key that you generate in AWS.
- Use Assume Role (Dynamic Credentials): Authenticates to the host catalog using credentials that AWS
AssumeRole
generates.
- Access Key ID: (Required) The access key ID for the IAM user to use with this host catalog.
- Secret Access Key: (Required) The secret access key for the IAM user to use with this host catalog.
- Worker Filter: (Optional) An optional filter to route requests to a designated worker.
Select Save.
Create a host set to connect with AWS
Host sets specify which AWS filters should be used to identify the discovered hosts that should be added as members.
Complete the following steps to create a host set:
- Log in to Boundary.
- Select the org, and then select the project you want to create a host set for.
- Select Host Catalogs.
- Select the dynamic host catalog to which you want add a host set.
- Click the Host Sets tab, and then click New.
- Complete the following fields:
- Name: (Optional) An optional name for identification purposes. If you enter a name, it must be unique.
- Description: (Optional) An optional description of the host catalog for identification purposes.
- Click Save.