{
  "id": 10368298,
  "title": "From Playground to Caching: Learning Amazon Bedrock",
  "url": "https://urgent.news/2026/09/28/from-playground-to-caching-learning-amazon-bedrock",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-28T05:10:36.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/pribeiro/from-playground-to-caching-learning-amazon-bedrock-3g4e"
  },
  "original_language": "en",
  "account": "This post is a part of the author's notes from Formação AWS, a course led by Henrylle Maia. The focus of this particular class is Amazon Bedrock, a fully managed AWS service that provides API access to multiple foundation models. The author starts by exploring the Bedrock Playground to gain familiarity with how Bedrock works, before moving on to scripting to learn how to use the Bedrock API. The author creates a simple chatbot that functions like a clerk selling tickets for an AWS course. Initially, the chatbot operates as a single Bash script that sends one message and prints the response. The author then enhances the chatbot to be interactive, allowing for genuine conversation. Next, the chatbot is moved to Node.js, enabling streaming of responses as they arise. Lastly, the author incorporates a cache checkpoint mechanism to prevent the same System Prompt from being billed at full price on every message.\n\nThe post begins with an introduction to Amazon Bedrock, a managed AWS service that offers API access to various foundation models. The author chooses to utilize Anthropic's Claude Sonnet 4.5 model for their project. When attempting to send a prompt in the Playground, the author encounters a ThrottlingException error, which indicates that the Cross-Region Quota for Anthropic Claude Sonnet 4.5 has been exceeded. The Cross-Region Quota limits the combined input and output tokens that can be sent to the model per minute through the cross-region inference profile across all Bedrock APIs, including Converse, ConverseStream, InvokeModel, and InvokeModelWithResponseStream.\n\nTo resolve this issue, the author navigates to the Service Quotas console, locates the appropriate quota for Claude Sonnet 4.5, and requests an increase to 5,000,000 tokens per minute. Once the request is approved, the author can proceed with testing the model in the Playground.\n\nThe Playground is where the author tests the model's responses directly in the AWS console and adjusts parameters such as Temperature, Top P, and Top K. Temperature ranges from 0 to 1, with 0 resulting in a more mechanical response and 1 promoting more creative and potentially hallucinatory output. Top P and Top K control the model's vocabulary selection, with higher values broadening the pool of words for each prediction. The author sets the temperature to 0.7, which provides a balanced response that is neither too mechanical nor overly creative.\n\nThe author also explores the use of a System Prompt, which provides the model with context to generate appropriate responses. By testing two different System Prompts, the author demonstrates how a detailed prompt can significantly improve the model's focus and relevance to the task at hand. When the author runs the chatbot, the responses become more tailored to the requested functionality, such as accurately describing the pricing and features of the AWS Training Course tickets.",
  "summary": "This post is part of my notes from Formação AWS , a course by Henrylle Maia. It covers a class from Desafio Labs (one of the course's sections) that focuses on Amazon Bedrock. In this class, I start with the Playground to get a feel for how Bedrock behaves, and then move on to scripts to learn how to actually use the Bedrock API. To learn by doing, I created a simple chatbot that works like a…",
  "key_points": [
    "Amazon Bedrock is a fully managed AWS service offering API access to multiple foundation models.",
    "Author explores Bedrock Playground to understand Bedrock's functionality and API usage.",
    "Chatbot is enhanced with caching mechanism to prevent repeated billing of System Prompt."
  ],
  "editors_take": "Mastering Amazon Bedrock requires moving beyond the Playground to scripting and API integration, allowing for more sophisticated applications and cost optimizations like caching to reduce billing.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}