EBS CloudWatch Metrics MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@EBS CloudWatch Metrics MCPCalculate IOPS and throughput for vol-1234567890abcdef0 over the last hour"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
EBS CloudWatch Metrics MCP
AWS EBS CloudWatch 지표 계산 MCP 서버입니다. Kiro에서 EBS 볼륨의 성능 지표를 조회하고 분석할 수 있습니다.
기능
IOPS 계산: 읽기/쓰기 IOPS 평균, 최대, 최소 값 계산
처리량 계산: 읽기/쓰기 처리량 (MB/s) 계산
스냅샷 조회: 스냅샷 크기 및 목록 조회
CloudWatch 지표 조회: 모든 EBS CloudWatch 지표 직접 조회
고급 지표 계산: I/O 사용률, 지연 시간, 버스팅 IOPS/처리량 등
설치
uvx 사용 (권장)
uvx ebs-cloudwatch-metrics-mcppip 사용
pip install ebs-cloudwatch-metrics-mcp소스에서 설치
git clone https://github.com/your-repo/ebs-cloudwatch-metrics-mcp.git
cd ebs-cloudwatch-metrics-mcp
pip install -e .Kiro MCP 설정
.kiro/settings/mcp.json 파일에 다음 설정을 추가하세요:
{
"mcpServers": {
"ebs-cloudwatch-metrics": {
"command": "uvx",
"args": ["ebs-cloudwatch-metrics-mcp"],
"env": {
"AWS_PROFILE": "default",
"AWS_REGION": "ap-northeast-2"
}
}
}
}환경 변수
변수 | 설명 | 기본값 |
| AWS 프로파일 이름 |
|
| AWS 리전 | 프로파일 설정 |
| AWS 액세스 키 ID | - |
| AWS 시크릿 액세스 키 | - |
사용 가능한 도구
1. calculate_iops
EBS 볼륨의 IOPS를 계산합니다.
파라미터:
volume_id(필수): EBS 볼륨 IDstart_time(필수): 조회 시작 시간 (ISO 8601)end_time(필수): 조회 종료 시간 (ISO 8601)period: 지표 수집 간격 (초, 기본값: 300)region: AWS 리전
예시:
calculate_iops(
volume_id="vol-1234567890abcdef0",
start_time="2024-01-01T00:00:00Z",
end_time="2024-01-02T00:00:00Z"
)2. calculate_throughput
EBS 볼륨의 처리량을 계산합니다.
파라미터:
volume_id(필수): EBS 볼륨 IDstart_time(필수): 조회 시작 시간 (ISO 8601)end_time(필수): 조회 종료 시간 (ISO 8601)period: 지표 수집 간격 (초, 기본값: 300)region: AWS 리전
3. get_snapshot_size
EBS 스냅샷의 크기를 조회합니다.
파라미터:
snapshot_id(필수): EBS 스냅샷 IDregion: AWS 리전
4. list_volume_snapshots
EBS 볼륨의 모든 스냅샷 목록을 조회합니다.
파라미터:
volume_id(필수): EBS 볼륨 IDmax_results: 최대 결과 수 (기본값: 100)region: AWS 리전
5. get_ebs_metric
특정 EBS CloudWatch 지표를 조회합니다.
파라미터:
volume_id(필수): EBS 볼륨 IDmetric_name(필수): CloudWatch 지표 이름start_time(필수): 조회 시작 시간 (ISO 8601)end_time(필수): 조회 종료 시간 (ISO 8601)period: 지표 수집 간격 (초, 기본값: 300)statistics: 통계 유형 배열 (기본값: ["Average"])region: AWS 리전
지원되는 지표:
VolumeReadOps- 읽기 작업 수VolumeWriteOps- 쓰기 작업 수VolumeReadBytes- 읽기 바이트 수VolumeWriteBytes- 쓰기 바이트 수VolumeTotalReadTime- 총 읽기 시간VolumeTotalWriteTime- 총 쓰기 시간VolumeIdleTime- 유휴 시간VolumeQueueLength- 큐 길이VolumeThroughputPercentage- 처리량 백분율VolumeConsumedReadWriteOps- 소비된 읽기/쓰기 작업BurstBalance- 버스트 잔액 (gp2)
6. list_ebs_metrics
사용 가능한 EBS CloudWatch 지표 목록을 반환합니다.
파라미터: 없음
7. get_advanced_metrics
EBS 볼륨의 고급 성능 지표를 계산합니다.
파라미터:
volume_id(필수): EBS 볼륨 IDstart_time(필수): 조회 시작 시간 (ISO 8601)end_time(필수): 조회 종료 시간 (ISO 8601)period: 지표 수집 간격 (초, 기본값: 300)region: AWS 리전
반환되는 고급 지표:
io_use_percent- I/O 사용률 (%)avg_read_latency_ms- 평균 읽기 지연 시간 (ms)avg_write_latency_ms- 평균 쓰기 지연 시간 (ms)read_io_size_kib- 읽기 I/O 크기 (KiB)write_io_size_kib- 쓰기 I/O 크기 (KiB)avg_read_iops- 평균 읽기 IOPSavg_write_iops- 평균 쓰기 IOPSavg_total_iops- 평균 총 IOPSavg_read_throughput_mib_s- 평균 읽기 처리량 (MiB/s)avg_write_throughput_mib_s- 평균 쓰기 처리량 (MiB/s)avg_total_throughput_mib_s- 평균 총 처리량 (MiB/s)bursting_read_iops- 버스팅 읽기 IOPSbursting_write_iops- 버스팅 쓰기 IOPSbursting_total_iops- 버스팅 총 IOPSbursting_read_throughput_mib_s- 버스팅 읽기 처리량 (MiB/s)bursting_write_throughput_mib_s- 버스팅 쓰기 처리량 (MiB/s)bursting_total_throughput_mib_s- 버스팅 총 처리량 (MiB/s)burst_balance- BurstBalance (gp2 볼륨만)
필요한 IAM 권한
MCP 서버를 사용하려면 다음 IAM 권한이 필요합니다:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"cloudwatch:GetMetricStatistics",
"cloudwatch:ListMetrics"
],
"Resource": "*"
},
{
"Effect": "Allow",
"Action": [
"ec2:DescribeSnapshots",
"ec2:DescribeVolumes"
],
"Resource": "*"
}
]
}최소 권한 정책
특정 볼륨만 조회하려면 리소스를 제한할 수 있습니다:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"cloudwatch:GetMetricStatistics"
],
"Resource": "*",
"Condition": {
"StringEquals": {
"cloudwatch:namespace": "AWS/EBS"
}
}
},
{
"Effect": "Allow",
"Action": [
"ec2:DescribeSnapshots"
],
"Resource": "*",
"Condition": {
"StringEquals": {
"ec2:VolumeId": "vol-1234567890abcdef0"
}
}
}
]
}라이선스
MIT License
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/codemonkyu/ebs_performance_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server