Steadybit logoResilience Hub
Try SteadybitGitHub icon
Steadybit logoResilience Hub

Block TCP Connections

AttackAttack
Blocks TCP connection to listed host(s)
Targets:
AWS Lambdas
Install now

Block TCP Connections

Blocks TCP connection to listed host(s)
AttackAttack
Targets:
AWS Lambdas
Install now

Block TCP Connections

AttackAttack
Blocks TCP connection to listed host(s)
Targets:
AWS Lambdas
Install now

Block TCP Connections

Blocks TCP connection to listed host(s)
AttackAttack
Targets:
AWS Lambdas
Install now
Go back to list
The Block TCP Connections step within the experiment editor.The Block TCP Connections step within the experiment editor.

Introduction

This action injects network failures by blocking outbound connections to specified hosts during AWS Lambda function execution.

Prerequisites

Details

This action uses the steadybit/failure-lambda library, a Node.js module that wraps AWS Lambda handlers to enable failure injection. Failure modes are configured via parameters stored in AWS Systems Manager Parameter Store, which are automatically removed after execution completes.

Activation and deactivation of failure modes typically complete within 5 seconds. However, middleware layers or caching mechanisms may extend this duration during both injection and recovery phases.

Use Cases

  • Validate Lambda function behavior and error handling when external dependencies become unreachable
  • Test resilience patterns such as circuit breakers, retries, and fallback mechanisms

Parameters

ParameterDescriptionDefault
DurationDuration of the attack30s
RatePercentage of invocations affected (100 = all invocations, 50 = half)100%
Deny ListRegular expressions matching hosts to block

More AWS Lambda Actions

See all
Fill Diskspace
Fills tmp diskspace of the function
AttackAttack
AWS Lambdas
Start Using Steadybit Today

Get started with Steadybit, and you’ll get access to all of our features to discover the full power of Steadybit. Available for SaaS and on-prem!

Are you unsure where to begin?

No worries, our reliability experts are here to help: book a demo with them!

Statistics
-Stars
Tags
AWS
AWS Lambda
Cloud
Homepage
hub.steadybit.com/extension/com.steadybit.extension_aws
License
MIT
MaintainerSteadybit
Install now
Steadybit logoResilience Hub
Try Steadybit
© 2025 Steadybit GmbH. All rights reserved.
Twitter iconLinkedIn iconGitHub icon