> For the complete documentation index, see [llms.txt](https://docs.bindplane.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bindplane.com/deployment/aws/bindplane-otel-collector.md).

# Bindplane OTel Collector

This section provides comprehensive guides for deploying BDOT Collectors on AWS ECS using both Fargate and EC2 launch types.

### Deployment Options

#### AWS ECS Fargate

* **Serverless compute** - No EC2 instances to manage
* **Automatic scaling** - Scales based on demand
* **Pay-per-use** - Only pay for resources consumed
* **Quick deployment** - Faster to get started
* **Best for**: Variable workloads, quick deployments, minimal infrastructure management

#### AWS ECS EC2

* **Full control** - Manage underlying EC2 instances
* **Cost-effective** - More predictable pricing for consistent workloads
* **Custom configurations** - Full control over instance types and configurations
* **SSH access** - Direct access to instances for debugging
* **Best for**: Consistent workloads, cost optimization, custom requirements

### Quick Start

#### Fargate Deployment

```bash
# Deploy with CloudFormation
aws cloudformation create-stack \
  --stack-name bindplane-collector-ecs-fargate \
  --template-body file://YOUR_CLOUDFORMATION_FILE.yaml \
  --parameters \
    ParameterKey=CollectorSecretKey,ParameterValue=YOUR_SECRET_KEY \
    ParameterKey=OpampEndpoint,ParameterValue=wss://app.bindplane.com/v1/opamp \
  --capabilities CAPABILITY_IAM
```

#### EC2 Deployment

```bash
# Deploy with CloudFormation
aws cloudformation create-stack \
  --stack-name bindplane-collector-ecs-ec2 \
  --template-body file://YOUR_CLOUDFORMATION_FILE.yaml \
  --parameters \
    ParameterKey=CollectorSecretKey,ParameterValue=YOUR_SECRET_KEY \
    ParameterKey=OpampEndpoint,ParameterValue=wss://app.bindplane.com/v1/opamp \
    ParameterKey=InstanceType,ParameterValue=t3.medium \
  --capabilities CAPABILITY_IAM
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.bindplane.com/deployment/aws/bindplane-otel-collector.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
