분류 전체보기(86)
-
AWS ECS 서비스의 모든 Task를 Prometheus로 모니터링 하기
AWS ECS에서 한 서비스에 여러개의 Fargate를 띄우고 있다.이 때, 모든 Task의 메트릭을 Prometheus로 받으려고 했다.기존에는 Service Connect를 이용해 단일 엔드포인트를 지정했다.하지만 이렇게 하면 Task가 여러개 있어도 하나의 Task의 메트릭만 수집된다.scrape_configs: - job_name: 'my-service' metrics_path: '/metrics' static_configs: - targets: ['service.example:80'] 해결방법Service Discovery와 DNS SD를 이용해서 구성을 다시하였다.┌─────────────────┐│ ECS Fargate ││ ┌───────────┐ ││ │..
2025.11.27 -
ChatGPT Apps SDK 사용해보기: Hello Widget 예제
최근에 OpenAI는 ChatGPT 내부에서 실행되는 Apps SDK를 공개했습니다.https://openai.com/index/introducing-apps-in-chatgpt/관련 문서를 보면 예제를 제공해주긴 하지만 좀 더 간단한 "Hello Widget" 예제를 만들어보겠습니다.서버 생성하기MCP Server를 만들고 인사를 하는 간단한 위젯을 표시해보겠습니다.import express from "express";import {McpServer} from "@modelcontextprotocol/sdk/server/mcp.js";import {StreamableHTTPServerTransport} from "@modelcontextprotocol/sdk/server/streamableHttp.js..
2025.10.17 -
Amazon S3 Vectors 사용해보기
아마존에서 벡터 데이터를 저장할 수 있는 S3 Vectors가 출시되었습니다.https://aws.amazon.com/ko/blogs/aws/introducing-amazon-s3-vectors-first-cloud-storage-with-native-vector-support-at-scale/ Introducing Amazon S3 Vectors: First cloud storage with native vector support at scale (preview) | Amazon Web ServicesAmazon S3 Vectors is a new cloud object store that provides native support for storing and querying vectors at mas..
2025.07.18 -
MCP Server를 npm에 올리고 다른 MCP와 함께 Amazon Bedrock에서 사용하기
지난 번 포스팅에서 사용했던 top_song을 npm에 올리고 다른 MCP Server와 함께 Bedrock에서 사용해보겠습니다. 간단한 MCP Server를 Amazon Bedrock에서 사용하기지난 번 포스팅에서 만든 top_song을 aws bedrock에서 사용하는 방법을 알아보도록 하겠습니다. 간단한 MCP Server를 만들고 Inspector로 확인하기MCP 사이트에는 Quickstart로 Server를 만드는 방법을 제공하고walkthinksleep.tistory.com우선 top_song은 js로 변경해서 npm에 올렸습니다. @calc2te/top-songLatest version: 0.1.0, last published: a minute ago. Start using @calc2te/..
2025.04.07 -
간단한 MCP Server를 Amazon Bedrock에서 사용하기
지난 번 포스팅에서 만든 top_song을 aws bedrock에서 사용하는 방법을 알아보도록 하겠습니다. 간단한 MCP Server를 만들고 Inspector로 확인하기MCP 사이트에는 Quickstart로 Server를 만드는 방법을 제공하고 있습니다. For Server Developers - Model Context ProtocolSince this is the US National Weather service, the queries will only work for US locations.modelcontextprotocol.io저walkthinksleep.tistory.comMCP Client에 대한 상세한 정보는 MCP 사이트를 참조하시면 되겠습니다. For Client Developers ..
2025.04.04 -
간단한 MCP Server를 만들고 Inspector로 확인하기
MCP 사이트에는 Quickstart로 Server를 만드는 방법을 제공하고 있습니다. For Server Developers - Model Context ProtocolSince this is the US National Weather service, the queries will only work for US locations.modelcontextprotocol.io저는 이번에 위 예시보다 더 간단한 MCP 서버를 하나 만들어보겠습니다.from mcp.server.fastmcp import FastMCPmcp = FastMCP()@mcp.tool()def top_song(genre: str) -> str: top_songs = { "pop": "Blinding Lights - Th..
2025.04.04