License to Bill๐Ÿธ๐Ÿ’ธ: MCP ์—์ด์ „ํŠธ์™€ Bedrock Budget Protocol

๋ฐœํ–‰: (2026๋…„ 1์›” 18์ผ ์˜คํ›„ 07:05 GMT+9)
2 min read
์›๋ฌธ: Dev.to

Source: Dev.to

์‚ฌ์ „ ์š”๊ตฌ ์‚ฌํ•ญ

  • โœ… ํ™œ์„ฑ AWS ๊ณ„์ •
  • ๐Ÿง  Foundation Models(FM)์™€ Amazon Bedrock์— ๋Œ€ํ•œ ๊ธฐ๋ณธ์ ์ธ ์ดํ•ด
  • ๐Ÿ’ป AWS Command Line Interface(CLI)๊ฐ€ ์„ค์น˜๋˜๊ณ  ์ž๊ฒฉ ์ฆ๋ช…์ด ๊ตฌ์„ฑ๋จ
  • ๐Ÿ Pythonโ€ฏ3.11 ์ด์ƒ
  • ๐Ÿ› ๏ธ AWS Cloud Development Kit(CDK) CLI๊ฐ€ ์„ค์น˜๋จ
  • ๐Ÿค– Amazon Bedrock์—์„œ Anthropic์˜ Claudeโ€ฏ3.5โ€ฏSonnetโ€ฏv2 ๋ชจ๋ธ ์ ‘๊ทผ์ด ํ™œ์„ฑํ™”๋จ
  • ๐Ÿ” ์„œ๋ฒ„ ์ธ์ฆ์„ ์œ„ํ•ด AWS_ACCESS_KEY_ID์™€ AWS_SECRET_ACCESS_KEY๋ฅผ ํ™˜๊ฒฝ ๋ณ€์ˆ˜๋กœ ์„ค์ •

์˜ˆ์‹œ: InlineAgent Hello World

from bedrock_agents.agent import InlineAgent

InlineAgent(
    foundationModel="us.anthropic.claude-3-5-haiku-20241022-v1:0",
    instruction="You are a friendly assistant that is supposed to say hello to everything.",
    userInput=True,
    agentName="hello-world-agent",
).invoke("Hi how are you? What can you do for me?")

์ƒ˜ํ”Œ ์ถœ๋ ฅ

SessionId: 99c0924d-d5ae-4080-9f59-8b8dc501977e
2025-04-04 17:34:11,438 - botocore.credentials - INFO - Found credentials in shared credentials file: ~/.aws/credentials
Input Tokens: 600 Output Tokens: 137
Thought: The user has greeted me and asked about my capabilities. I'll respond in a friendly manner and use the user interaction tool to engage with them.
Hello there! I'm doing great, thank you for asking. I'm a friendly assistant who loves to say hello to everything! What would you like help with today? I'm ready to assist you with any questions or tasks you might have.
Agent made a total of 1 LLM calls, using 737 tokens (in: 600, out: 137), and took 4.7 total seconds
Back to Blog

๊ด€๋ จ ๊ธ€

๋” ๋ณด๊ธฐ ยป

๋„คํŠธ์›Œํฌ ์žฅ์น˜ ์ดํ•ดํ•˜๊ธฐ: ์ดˆ๋ณด์ž ๊ฐ€์ด๋“œ

๊ธฐ๋ณธ ๋„คํŠธ์›Œํฌ ํ๋ฆ„ Internet โ†’ Modem โ†’ Router โ†’ Switch โ†’ Your Devices Modem - ์—ญํ• : ISP์—์„œ ์˜ค๋Š” ์‹ ํ˜ธ๋ฅผ ๊ธฐ๊ธฐ๊ฐ€ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ๋ฐ์ดํ„ฐ๋กœ ๋ณ€ํ™˜ํ•ฉ๋‹ˆ๋‹ค. - Ana...

Bash๋ฅผ ์—์ด์ „ํŠธ๋กœ ์‚ฌ์šฉ: Linux์—์„œ SLM ํ…Œ์ŠคํŠธ

์†Œ๊ฐœ ์ €๋Š” CPUโ€‘only ๋ชจ๋“œ์—์„œ Linux ์ƒ์˜ ์ž‘์€ ์–ธ์–ด ๋ชจ๋ธ(SLMs)์„ ํ…Œ์ŠคํŠธํ•˜๋Š” ๋ฐ ๊ด€์‹ฌ์ด ์žˆ๋Š” ์—”์ง€๋‹ˆ์–ด๋ง ๊ธฐ์ˆ ์ž์ž…๋‹ˆ๋‹ค. ์ €๋Š” ํ”„๋กœ์™€ ๋™์ผํ•œ ํ™˜๊ฒฝ์—์„œ ์ž‘์—…ํ•ฉ๋‹ˆ๋‹ค.

ํ•ด๊ฒฐ: ์‹ค์‹œ๊ฐ„ ์„œ๋ฒ„ ์ƒํƒœ ๋ชจ๋‹ˆํ„ฐ๋ง: Grafana to Telegram ํ†ตํ•ฉ

๐Ÿš€ Executive Summary TL;DR: ์ „ํ†ต์ ์ธ ์„œ๋ฒ„ ๋ชจ๋‹ˆํ„ฐ๋ง์€ ๋น„ํšจ์œจ์ ์ธ ๋ฐฉ๋ฒ•(e.g., ์ด๋ฉ”์ผ ์•Œ๋ฆผ ๋“ฑ) ๋•Œ๋ฌธ์— ๋น„์šฉ์ด ๋งŽ์ด ๋“œ๋Š” ๋‹ค์šดํƒ€์ž„๊ณผ ์•Œ๋ฆผ ํ”ผ๋กœ๋ฅผ ์ดˆ๋ž˜ํ•˜๋Š” ๊ฒฝ์šฐ๊ฐ€ ๋งŽ์Šต๋‹ˆ๋‹ค.