You can set a default VPC connection for a space. If you choose to set a default VPC connection, all workflow runs and Dev Environments in your space will run connected to the default VPC connection. You can override this by associating a different VPC connection in your workflow action or Dev Environment.
You must have the Space administrator role or Power user role to manage VPC connections at the space level.
Setting a default VPC connection
Use the following procedure to set a default VPC connection.
To set a default VPC connection
Open the CodeCatalyst console at https://codecatalyst.aws/
. -
Navigate to your CodeCatalyst space.
Tip
If you belong to more than one space, choose a space in the top navigation bar.
-
Choose Settings, and then choose VPC connections.
The page lists all VPC connections in your space. You can view the VPC connection name name, the VPC ID, and the associated AWS account connection.
-
Choose the VPC connection name that you want to set as default.
Note
If your VPC connection is associated with a project-restricted AWS account, your VPC connection will only have access to specific projects and cannot be set as default. For more information, see Enabling or disabling project-restricted account connections.
-
Choose Manage default, choose Set as default from the drop-down menu, then choose Confirm.
Removing a default VPC connection
Use the following procedure to remove a default VPC connection.
To remove a default VPC connection
Open the CodeCatalyst console at https://codecatalyst.aws/
. -
Navigate to your CodeCatalyst space.
Tip
If you belong to more than one space, choose a space in the top navigation bar.
-
Choose Settings, and then choose VPC connections.
The page lists all VPC connections in your space. You can view the VPC connection name name, the VPC ID, and the associated AWS account connection.
-
Choose the default VPC connection name.
-
Choose Manage default, choose Remove as default from the drop-down menu, then choose Confirm.