All checks
High BedrockAgentCore · regional

Bedrock AgentCore custom browsers should not use public network mode

Checks that an Amazon Bedrock AgentCore custom browser does not use PUBLIC network mode. A PUBLIC browser reaches the internet directly; in VPC mode its traffic leaves through network interfaces in your subnets, where security groups, network ACLs and VPC flow logs apply.

service
BedrockAgentCore
severity
High
scope
evaluated in every region

How to fix it

  • Replaces the resource: A browser's network mode is fixed at creation: create a VPC browser, repoint the agents that open sessions on it, then stop this one's sessions and delete it.
  • Affects another check: Session recording does not carry over, so a replacement created without it fails BedrockAgentCore.6.

In the console

Bedrock AgentCore → Built-in tools → Create Browser tool → Network settings (fixed at creation)

Network settings
VPC
Subnets
Private subnets routed through a NAT gateway, in Availability Zones that AgentCore supports in this Region
Security groups
Outbound rules for the sites your agents browse
Permissions
The flagged browser's execution role, if it has one
Session recording
The flagged browser's S3 location, or a new one

With the AWS CLI

aws bedrock-agentcore-control create-browser --name <browser-name> --network-configuration '{"networkMode":"VPC","vpcConfig":{"subnets":["<subnet-id>"],"securityGroups":["<security-group-id>"]}}' --region <region>

With Terraform

  • Interrupts service: Changing network_mode on a browser Terraform already tracks replaces it in one apply that deletes the old browser first, so agents lose it until they are repointed.
resource "aws_bedrockagentcore_browser" "this" {
  name = var.browser_name

  network_configuration {
    network_mode = "VPC"

    vpc_config {
      security_groups = var.security_group_ids
      subnets         = var.subnet_ids
    }
  }
}

See which of your accounts this check is failing on.

Book a live scan