# 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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
