<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sunny Cloud, Author at Sunny Cloud | AWS Billing và giải pháp AWS toàn diện</title>
	<atom:link href="https://sunnycloudvn.com/author/ids010001vnsny/feed/" rel="self" type="application/rss+xml" />
	<link>https://sunnycloudvn.com/author/ids010001vnsny/</link>
	<description>AWS Professional Services</description>
	<lastBuildDate>Wed, 09 Sep 2026 07:14:36 +0000</lastBuildDate>
	<language>vi</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>

<image>
	<url>https://sunnycloudvn.com/wp-content/uploads/2023/06/V-SC-FB-iconW320H320-1.png</url>
	<title>Sunny Cloud, Author at Sunny Cloud | AWS Billing và giải pháp AWS toàn diện</title>
	<link>https://sunnycloudvn.com/author/ids010001vnsny/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Cắt Giảm Chi Phí AWS Trong Kỷ Nguyên AI &#124; Webinar 23/04/2026</title>
		<link>https://sunnycloudvn.com/hoi-thao-cat-giam-chi-phi-aws-trong-ky-nguyen-ai-ngay/</link>
		
		<dc:creator><![CDATA[Sunny Cloud]]></dc:creator>
		<pubDate>Thu, 16 Apr 2026 09:40:10 +0000</pubDate>
				<category><![CDATA[Tin Tức/ Tài Liệu]]></category>
		<guid isPermaLink="false">https://sunnycloudvn.com/?p=3529</guid>

					<description><![CDATA[<p>Sơ nét về Webinar &#8220;Cắt giảm chi phí AWS trong kỷ nguyên AI&#8221; Trong bối cảnh bùng nổ công nghệ, việc cắt giảm chi phí AWS trong kỷ nguyên AI trở thành bài toán sống còn đối với nhiều doanh nghiệp khi scale-up các workload. Hiểu được khó khăn của doanh nghiệp, Sunny Cloud tổng [&#8230;]</p>
<p>The post <a href="https://sunnycloudvn.com/hoi-thao-cat-giam-chi-phi-aws-trong-ky-nguyen-ai-ngay/">Cắt Giảm Chi Phí AWS Trong Kỷ Nguyên AI | Webinar 23/04/2026</a> appeared first on <a href="https://sunnycloudvn.com">Sunny Cloud | AWS Billing và giải pháp AWS toàn diện</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="1200" height="627" class="wp-image-3530" src="https://sunnycloudvn.com/wp-content/uploads/2026/04/Poster.png" alt="Webinar 23/04/2026 |Cắt Giảm Chi Phí AWS Trong Kỷ Nguyên AI" />
<figcaption class="wp-element-caption">Webinar 23/04/2026 |Cắt Giảm Chi Phí AWS Trong Kỷ Nguyên AI</figcaption>
</figure>


<h2 class="wp-block-heading" id="so-net-ve-webinar-cat-giam-chi-phi-aws-trong-ky-nguyen-ai"><strong>Sơ nét về Webinar &#8220;Cắt giảm chi phí AWS trong kỷ nguyên AI&#8221;</strong></h2>


<p class="wp-block-paragraph">Trong bối cảnh bùng nổ công nghệ, việc cắt giảm chi phí AWS trong kỷ nguyên AI trở thành bài toán sống còn đối với nhiều doanh nghiệp khi scale-up các workload. Hiểu được khó khăn của doanh nghiệp, <a href="https://sunnycloudvn.com/">Sunny Cloud </a>tổng hợp lại các Best Practices trong tối ưu chi phí. Nhưng vẫn đảm bảo hiệu suất của hạ tầng tại Webinar &#8220;Cắt giảm chi phí AWS trong kỷ nguyên AI&#8221;</p>


<h2 class="wp-block-heading" id="noi-dung-chinh-trong-webinar-cat-giam-chi-phi-aws-trong-ky-nguyen-ai"><strong>Nội dung chính trong Webinar</strong> <strong>&#8220;Cắt giảm chi phí AWS trong kỷ nguyên AI&#8221;</strong></h2>


<ol class="wp-block-list">
<li><strong>AI/Machine learning</strong>: Lựa chọn đúng model, tối ưu prompt &#8211; giảm số lượng token, ưu tiên serverless inference &#8211; zero idle cost.</li>



<li><strong>Compute &amp; Database</strong>: Tối ưu chi phí thông qua lựa chọn đúng instance size, class, volume type,&#8230;</li>



<li><strong>Storage &amp; Network</strong>: Phát hiện và loại bỏ các chi phí data transfer ẩn, hướng dẫn chọn đúng storage class và policies kì vọng tiết kiệm lên tới 95% chi phí dữ liệu lưu trữ.</li>
</ol>


<h2 class="wp-block-heading" id="thong-tin-webinar"><strong>Thông tin Webinar </strong></h2>


<ul class="wp-block-list">
<li>Thời gian: <strong>15:00, Ngày 23/4/2026</strong>.</li>



<li>Nền tảng: Zoom</li>



<li>Ngôn ngữ: Tiếng Việt</li>



<li>Phí tham dự: Miễn phí</li>
</ul>


<h2 class="wp-block-heading" id="loi-ich-khi-tham-gia-webinar">Lợi ích khi tham gia Webinar</h2>


<p class="wp-block-paragraph">Đây là nơi chia sẻ kiến thức hữu ích cho doanh nghiệp. Diễn đàn để Quý khách hàng cùng các chuyên gia hàng đầu giải quyết bài toán tối ưu hạ tầng:</p>



<ul class="wp-block-list">
<li><strong>Giải đáp trực tiếp:</strong> Đặt câu hỏi về quản lý chi phí AWS. Nhận tư vấn giải pháp cho các hóa đơn khó khăn. Đội ngũ kỹ sư AWS sẽ hướng dẫn xử lý vấn đề thực tế và đưa ra giải pháp phù hợp.</li>



<li><strong>Gói khảo sát miễn phí:</strong> Dành tặng suất đánh giá tài khoản AWS cho khách may mắn. Đây là bước khảo sát chuyên sâu về tài nguyên hệ thống. Qua đó, doanh nghiệp nhận diện rõ các nguồn lãng phí. Chúng tôi sẽ đề xuất phương án cắt giảm chi phí hiệu quả.</li>



<li><strong>Cập nhật lộ trình tối ưu AI:</strong> Giúp nắm bắt phương pháp quản trị tài nguyên mới nhất hiện nay. Điều này đảm bảo hiệu suất hạ tầng khi AI bùng nổ. Doanh nghiệp sẽ làm chủ chi phí trong kỷ nguyên mới.</li>
</ul>


<hr class="wp-block-separator has-alpha-channel-opacity" />

<h2 class="wp-block-heading" id="dang-ky-va-tham-du">Đăng ký và Tham dự</h2>


<p class="wp-block-paragraph">Để quá trình tham gia Webinar diễn ra thuận lợi nhất, Quý khách vui lòng lưu ý các bước sau:</p>



<ol class="wp-block-list" start="1">
<li>Nhập chính xác địa chỉ Email và thông tin vào Form đăng ký.</li>



<li>Hệ thống sẽ gửi <strong>Link tham dự Zoom</strong> qua Email sau khi bạn hoàn tất đăng ký.</li>
</ol>



<p class="wp-block-paragraph">Vui lòng kiểm tra kỹ hộp thư (bao gồm cả mục Spam) để không bỏ lỡ thông tin truy cập phòng họp</p>



<div class="wp-block-buttons is-horizontal is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-c9f6fddf wp-block-buttons-is-layout-flex">
<div class="wp-block-button has-custom-width wp-block-button__width-50 is-style-fill"><a class="wp-block-button__link has-black-color has-orange-background-color has-text-color has-background has-link-color has-medium-font-size has-custom-font-size wp-element-button" href="https://forms.gle/HWU8C94Bk5jXHuMQ9">Đăng ký tham dự hội thảo</a></div>
</div>



<p class="wp-block-paragraph">&nbsp;</p>
<p>The post <a href="https://sunnycloudvn.com/hoi-thao-cat-giam-chi-phi-aws-trong-ky-nguyen-ai-ngay/">Cắt Giảm Chi Phí AWS Trong Kỷ Nguyên AI | Webinar 23/04/2026</a> appeared first on <a href="https://sunnycloudvn.com">Sunny Cloud | AWS Billing và giải pháp AWS toàn diện</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>AWS S3 Security Scanner: Tự động hóa bảo mật với Cursor AI</title>
		<link>https://sunnycloudvn.com/aws-s3-security-scanner-tu-dong-hoa-bao-mat-voi-cursor-ai-2/</link>
		
		<dc:creator><![CDATA[Sunny Cloud]]></dc:creator>
		<pubDate>Thu, 16 Apr 2026 02:21:13 +0000</pubDate>
				<category><![CDATA[Tin Tức/ Tài Liệu]]></category>
		<guid isPermaLink="false">https://sunnycloudvn.com/?p=3510</guid>

					<description><![CDATA[<p>Cấu hình sai lệch trên Amazon S3 là nguyên nhân hàng đầu dẫn đến rò rỉ dữ liệu. Bài viết này sẽ hướng dẫn bạn xây dựng một S3 Security Scanner thông minh bằng Cursor AI. Công cụ không chỉ giúp phát hiện lỗ hổng thần tốc mà còn tự động sửa lỗi thông qua [&#8230;]</p>
<p>The post <a href="https://sunnycloudvn.com/aws-s3-security-scanner-tu-dong-hoa-bao-mat-voi-cursor-ai-2/">AWS S3 Security Scanner: Tự động hóa bảo mật với Cursor AI</a> appeared first on <a href="https://sunnycloudvn.com">Sunny Cloud | AWS Billing và giải pháp AWS toàn diện</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1 class="wp-block-heading" id=""></h1>


<p class="wp-block-paragraph">Cấu hình sai lệch trên Amazon S3 là nguyên nhân hàng đầu dẫn đến rò rỉ dữ liệu. Bài viết này sẽ hướng dẫn bạn xây dựng một <strong>S3 Security Scanner</strong> thông minh bằng <strong>Cursor AI</strong>. Công cụ không chỉ giúp phát hiện lỗ hổng thần tốc mà còn tự động sửa lỗi thông qua giao tiếp ngôn ngữ tự nhiên.</p>



<p class="wp-block-paragraph"><strong>Công cụ sử dụng:</strong></p>



<ul class="wp-block-list">
<li>Cursor (IDE tích hợp AI)</li>



<li>AWS MCP Server</li>



<li>Python + boto3</li>



<li>uv (package manager)</li>
</ul>



<p class="wp-block-paragraph"><strong>Kết quả đạt được:</strong></p>



<ul class="wp-block-list">
<li>Quét tài nguyên s3 trên AWS mà không cần vào Console</li>



<li>Phát hiện lỗi bảo mật</li>



<li>AI tự động sửa lỗi</li>
</ul>


<h2 class="wp-block-heading" id="buoc-1-cai-dat-moi-truong"><strong>Bước 1: Cài đặt môi trường</strong></h2>


<p class="wp-block-paragraph">Cài đặt các công cụ cần thiết:</p>



<ul class="wp-block-list">
<li>Python</li>
</ul>



<figure class="wp-block-image size-full"><img decoding="async" width="1027" height="145" src="https://sunnycloudvn.com/wp-content/uploads/2026/04/python-setting.png" alt="" class="wp-image-3512"/></figure>



<ul class="wp-block-list">
<li>AWS CLI</li>
</ul>



<figure class="wp-block-image size-full"><img decoding="async" width="835" height="391" src="https://sunnycloudvn.com/wp-content/uploads/2026/04/AWS-CLI.png" alt="" class="wp-image-3513"/></figure>



<ul class="wp-block-list">
<li>boto3</li>
</ul>



<p class="wp-block-paragraph">Kiểm tra boto3 đã cài chưa:</p>



<pre class="wp-block-code"><code>pip install boto3</code></pre>



<p class="wp-block-paragraph">Kết quả: tôi có được phiên bản boto3: 1.42.35</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="874" height="313" src="https://sunnycloudvn.com/wp-content/uploads/2026/04/boto3.png" alt="" class="wp-image-3514"/></figure>



<p class="wp-block-paragraph">Nếu chưa cài boto3 có thể dùng lệnh sau:</p>



<pre class="wp-block-code"><code>pip install boto3</code></pre>



<ul class="wp-block-list">
<li>uv</li>
</ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="541" height="406" src="https://sunnycloudvn.com/wp-content/uploads/2026/04/uv.png" alt="" class="wp-image-3515"/></figure>


<h2 class="wp-block-heading" id="buoc-2-xay-dung-s3-security-scanner"><strong>Bước 2: Xây dựng S3 Security Scanner</strong></h2>


<p class="wp-block-paragraph">Scanner hoạt động theo 3 bước:</p>



<ol class="wp-block-list">
<li>Load AWS SDK (boto3)</li>



<li>Gọi API lấy danh sách tất cả S3 bucket</li>



<li>Kiểm tra cấu hình public access của từng bucket</li>
</ol>



<p class="wp-block-paragraph"><strong>Lưu ý quan trọng:</strong> Dùng try/except để:</p>



<ul class="wp-block-list">
<li>Xử lý lỗi từng bucket riêng</li>



<li>Tiếp tục quét nếu một bucket bị lỗi</li>
</ul>



<pre class="wp-block-code"><code>import boto3
from botocore.exceptions import ClientError


# Sử dụng profile từ ~/.aws/credentials
session = boto3.Session(profile_name='YOUR-PROFILE')


def scan_s3_buckets():
    """Scan all S3 buckets for public access misconfigurations"""
    s3 = session.client('s3')
    findings = &#91;]


    print("Scanning S3 buckets for public access...\n")


    buckets = s3.list_buckets()
    print(f"Found {len(buckets&#91;'Buckets'])} buckets to scan\n")


    for bucket in buckets&#91;'Buckets']:
        bucket_name = bucket&#91;'Name']


        try:
            public_block = s3.get_public_access_block(Bucket=bucket_name)
            config = public_block&#91;'PublicAccessBlockConfiguration']


            if not all(&#91;
                config.get('BlockPublicAcls'),
                config.get('BlockPublicPolicy'),
                config.get('IgnorePublicAcls'),
                config.get('RestrictPublicBuckets')
            ]):
                findings.append({
                    'bucket': bucket_name,
                    'issue': 'Public access not fully blocked',
                    'severity': 'CRITICAL'
                })
                print(f"WARNING: &#91;{bucket_name}] Public access not fully blocked")


        except ClientError as e:
            if e.response&#91;'Error']&#91;'Code'] == 'NoSuchPublicAccessBlockConfiguration':
                findings.append({
                    'bucket': bucket_name,
                    'issue': 'No public access block configured',
                    'severity': 'CRITICAL'
                })
                print(f"CRITICAL: &#91;{bucket_name}] No public access block configured")
            else:
                print(f"ERROR: Could not scan {bucket_name}: {str(e)}")


        except Exception as e:
            print(f"ERROR: Could not scan {bucket_name}: {str(e)}")


    print(f"\nScan complete. Found {len(findings)} issues.\n")
    return findings


if __name__ == "__main__":
    scan_s3_buckets()</code></pre>


<h2 class="wp-block-heading" id="buoc-3-ket-noi-cursor-voi-aws-qua-mcp"><strong>Bước 3: Kết nối Cursor với AWS qua MCP</strong></h2>


<p class="wp-block-paragraph"><strong>Mục đích của MCP:</strong></p>



<ul class="wp-block-list">
<li>Cho phép AI tương tác trực tiếp với AWS</li>



<li>Quét, phân tích và sửa lỗi mà không cần vào AWS Console</li>



<li>Không cần gõ lệnh CLI thủ công</li>
</ul>



<p class="wp-block-paragraph"><strong>Cách kết nối</strong></p>



<ol class="wp-block-list">
<li>Thêm AWS MCP script vào Cursor trên WINDOW 11</li>
</ol>



<p class="wp-block-paragraph">C:\Users\YOUR-USER\.cursor\mcp.json</p>



<pre class="wp-block-code"><code>{
  "mcpServers": {
    "aws-mcp": {
      "command": "C:\\Users\\YOUR-USER\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python313\\Scripts\\uv.exe",
      "args": &#91;
        "tool",
        "run",
        "mcp-proxy-for-aws@latest",
        "https://aws-mcp.us-east-1.api.aws/mcp",
        "--metadata", "AWS_REGION=ap-northeast-1"
      ],
      "env": {
        "AWS_PROFILE": "YOUR-PROFILE",
        "AWS_REGION": "YOUR-REGION"
      }
    }
  }
}
</code></pre>



<p class="wp-block-paragraph">2. Kiểm tra trạng thái MCP trong Cursor</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1029" height="484" src="https://sunnycloudvn.com/wp-content/uploads/2026/04/Screenshot-2026-04-15-163816.png" alt="" class="wp-image-3519"/></figure>


<h2 class="wp-block-heading" id="buoc-4-test-scanner">Bước 4: Test Scanner</h2>


<p class="wp-block-paragraph"><strong>Chạy scanner</strong></p>



<pre class="wp-block-code"><code>python scanner.py</code></pre>



<p class="wp-block-paragraph"><strong>Kết quả:</strong> Scanner phát hiện bucket không an toàn và báo cáo <strong>CRITICAL security issue</strong>.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1027" height="550" src="https://sunnycloudvn.com/wp-content/uploads/2026/04/critical.png" alt="" class="wp-image-3520"/></figure>


<h2 class="wp-block-heading" id="buoc-5-ai-tu-dong-sua-loi"><strong>Bước 5: AI tự động sửa lỗi</strong></h2>


<p class="wp-block-paragraph">Dùng Cursor với AWS MCP bằng giao tiếp tự nhiên theo các bước sau:</p>



<ul class="wp-block-list">
<li>Yêu cầu AI kiểm tra và sửa lỗi bảo mật</li>



<li>AI tự động xác định bucket bị lỗi</li>



<li>AI áp dụng cấu hình bảo mật mới</li>



<li>Public access sẽ bị chặn &#8211; <strong>không cần thao tác thủ công</strong></li>
</ul>



<p class="wp-block-paragraph">Ví dụ một trường hợp giao tiếp tự nhiên với AI và nói AI tự động sửa lỗi:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="430" height="684" src="https://sunnycloudvn.com/wp-content/uploads/2026/04/example.png" alt="" class="wp-image-3521"/></figure>



<p class="wp-block-paragraph"><strong>Chạy lại scanner</strong></p>



<p class="wp-block-paragraph">Sau khi AI sửa xong, chạy lại scanner → Cho đến khi không còn lỗi bảo mật nào.</p>



<p class="wp-block-paragraph"><strong>Kết Luận</strong></p>



<p class="wp-block-paragraph">Đây là bước đầu để xây dựng các hệ thống security automation phức tạp hơn trong tương lai. Hy vọng bài viết có ích và cảm ơn độc giả!</p>



<p class="wp-block-paragraph">Tham khảo thêm các bài viết về Giải pháp &amp; Kiến thức công nghệ chuyên sâu tại&nbsp;<a href="https://sunnycloudvn.com/">Sunny Cloud Vietnam</a></p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://sunnycloudvn.com/aws-s3-security-scanner-tu-dong-hoa-bao-mat-voi-cursor-ai-2/">AWS S3 Security Scanner: Tự động hóa bảo mật với Cursor AI</a> appeared first on <a href="https://sunnycloudvn.com">Sunny Cloud | AWS Billing và giải pháp AWS toàn diện</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Kiro CLI: Trợ Lý AI Biến Terminal Thành Cỗ Máy Code &#8220;Thần Tốc&#8221;</title>
		<link>https://sunnycloudvn.com/kiro-cli-tro-ly-ai-bien-terminal-thanh-co-may-code-than-toc/</link>
		
		<dc:creator><![CDATA[Sunny Cloud]]></dc:creator>
		<pubDate>Thu, 22 Jan 2026 06:06:24 +0000</pubDate>
				<category><![CDATA[Tin Tức/ Tài Liệu]]></category>
		<category><![CDATA[AI Agent]]></category>
		<category><![CDATA[Kiro CLI]]></category>
		<category><![CDATA[Trợ lý lập trình]]></category>
		<guid isPermaLink="false">https://sunnycloudvn.com/?p=3440</guid>

					<description><![CDATA[<p>Kiro CLI là một Agentic CLI mạnh mẽ, giúp thấu hiểu codebase để tự động viết code, debug và quản lý hạ tầng ngay trên cửa sổ dòng lệnh. Với khả năng tạo các Custom Agents chuyên biệt, công cụ này tối ưu hóa workflow và giúp bạn làm chủ dự án mà không cần [&#8230;]</p>
<p>The post <a href="https://sunnycloudvn.com/kiro-cli-tro-ly-ai-bien-terminal-thanh-co-may-code-than-toc/">Kiro CLI: Trợ Lý AI Biến Terminal Thành Cỗ Máy Code &#8220;Thần Tốc&#8221;</a> appeared first on <a href="https://sunnycloudvn.com">Sunny Cloud | AWS Billing và giải pháp AWS toàn diện</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p data-path-to-node="3"><b data-path-to-node="3" data-index-in-node="0">Kiro CLI</b> là một Agentic CLI mạnh mẽ, giúp thấu hiểu codebase để tự động viết code, debug và quản lý hạ tầng ngay trên cửa sổ dòng lệnh. Với khả năng tạo các <b data-path-to-node="3" data-index-in-node="157">Custom Agents</b> chuyên biệt, công cụ này tối ưu hóa workflow và giúp bạn làm chủ dự án mà không cần rời tay khỏi bàn phím.</p>
<h1><b>Kiro CLI Là Gì?</b></h1>
<hr />
<p><span style="font-weight: 400;">Kiro CLI là công cụ AI dạng terminal giúp hiểu dự án tốt hơn, chỉnh sửa lỗi dự án, hỗ trợ tạo code build infrastructure luôn. Bạn làm tất cả việc này không cần rời khỏi cửa sổ dòng lệnh.</span> <span style="font-weight: 400;">Chỉ cần mô tả bằng ngôn ngữ tự nhiên, Kiro sẽ giúp bạn làm tất cả.</span></p>
<p><b>Khả Năng Xây Dựng Dự Án Có Specialization</b></p>
<p><span style="font-weight: 400;">Có thể tạo custom agents phù hợp với codebase của bạn:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><b>Backend specialist</b><span style="font-weight: 400;"> biết API patterns</span></li>
<li style="font-weight: 400;" aria-level="1"><b>Frontend expert</b><span style="font-weight: 400;"> quen với components</span></li>
<li style="font-weight: 400;" aria-level="1"><b>DevOps agent</b><span style="font-weight: 400;"> hiểu infrastructure</span></li>
</ul>
<p><span style="font-weight: 400;">Mỗi agent focus toàn bộ context window vào những gì quan trọng cho workflow đó.</span></p>
<h1><b>Tại Sao Cần Kiro CLI</b></h1>
<hr />
<h2><b>Dùng Trong Terminal(Cửa Sổ Dòng Lệnh)</b></h2>
<p><span style="font-weight: 400;">Không cần context switching. Không cần look up syntax. Chỉ mô tả những gì bạn cần và tiếp tục build.</span></p>
<h2><b>Cấu Trúc Lại AI Workflows</b></h2>
<p><span style="font-weight: 400;">Custom agents cho phép nó hiểu context cho từng task khác nhau. Switch giữa chúng một cách thuận lợi.</span></p>
<h2><b>Xây Dựng Luôn Cơ Sở Hạ Tầng</b></h2>
<p><span style="font-weight: 400;">Quản lý infrastructure, review code, hoặc debug—tạo agents cho các workflows và share với team trong dự án một cách dễ dàng.</span>  </p>
<h1><b>Cách Cài Đặt Kiro CLI</b></h1>
<hr />
<p>Truy cập vào <a href="https://kiro.dev/cli/">Website</a></p>
<p><span style="font-weight: 400;">Kiro CLI hỗ trợ macOS và Linux:</span></p>
<pre></pre>
<pre class="wp-block-code"><span style="font-weight: 400;">curl</span> <span style="font-weight: 400;">-fsSL</span> <span style="font-weight: 400;">https://cli.kiro.dev/install</span> <span style="font-weight: 400;">|</span> <span style="font-weight: 400;">bash</span></pre>
<pre></pre>
<figure id="attachment_3451" aria-describedby="caption-attachment-3451" style="width: 780px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-full wp-image-3451" src="https://sunnycloudvn.com/wp-content/uploads/2026/01/Picture1.jpg" alt="Màn hình terminal hiển thị quá trình cài đặt Kiro CLI thành công" width="780" height="133" /><figcaption id="caption-attachment-3451" class="wp-caption-text">Giao diện thông báo sau khi chạy lệnh cài đặt Kiro CLI hoàn tất.</figcaption></figure>
<p><b>Làm Các Bước Sau</b></p>
<ol>
<li><b> Authenticate và bắt đầu chat:</b></li>
</ol>

<pre class="wp-block-code"><span style="font-weight: 400;">kiro-cli</span></pre>

<figure id="attachment_3452" aria-describedby="caption-attachment-3452" style="width: 780px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-full wp-image-3452" src="https://sunnycloudvn.com/wp-content/uploads/2026/01/Picture2.jpg" alt="Giao diện màn hình chào mừng Kiro CLI trên terminal sau khi đăng nhập thành công" width="780" height="285" /><figcaption id="caption-attachment-3452" class="wp-caption-text">Màn hình hiển thị logo KIRO xác nhận bạn đã Authenticate và khởi động tool thành công.</figcaption></figure>
<ol start="2">
<li><b>Explore commands:</b></li>
</ol>
<p></p>
<pre class="wp-block-code"> <span style="font-weight: 400;">/help</span></pre>
<figure id="attachment_3453" aria-describedby="caption-attachment-3453" style="width: 780px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-full wp-image-3453" src="https://sunnycloudvn.com/wp-content/uploads/2026/01/Picture3.jpg" alt="Danh sách các câu lệnh và phím tắt hỗ trợ trong Kiro CLI" width="780" height="435" /><figcaption id="caption-attachment-3453" class="wp-caption-text">Gõ lệnh /help để hiển thị toàn bộ hướng dẫn sử dụng và các tính năng có sẵn của Kiro CLI.</figcaption></figure>
<h1><b>Tính Năng Chính Của </b><b>Kiro CLI</b></h1>
<hr />
<h2><b>Custom Agents &#8211; Cấu Trúc Cho AI Coding</b></h2>
<p><span style="font-weight: 400;">Custom agents mang lại cấu trúc cho AI-powered terminal workflows bằng cách cho phép bạn define chính xác AI nên behave như thế nào cho các tasks khác nhau.</span></p>
<p><b>Lợi ích:</b></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><b>Pre-approved tools</b><span style="font-weight: 400;">: Tin tưởng specific tools chạy mà không cần permission prompts liên tục</span></li>
<li style="font-weight: 400;" aria-level="1"><b>Persistent context</b><span style="font-weight: 400;">: Tự động load project files, documentation và standards</span></li>
<li style="font-weight: 400;" aria-level="1"><b>Controlled access</b><span style="font-weight: 400;">: Giới hạn tools nào available để giữ focus và secure</span></li>
<li style="font-weight: 400;" aria-level="1"><b>Workflow-specific configurations</b><span style="font-weight: 400;">: Agents khác nhau cho vibes khác nhau</span></li>
</ul>
<p><b>Ví dụ agent configuration:</b></p>
<p></p>
<pre class="wp-block-code">{<br />"name": "backend-specialist",<br />"description": "Expert in building Express.js APIs with MongoDB",<br />"prompt": "You are a backend developer specializing in Node.js and Express. You write secure, well-tested APIs with proper error handling, input validation, and RESTful design.",<br />"tools": ["fs_read", "fs_write", "execute_bash"],<br />"toolsSettings": {<br />"fs_write": {<br />"allowedPaths": ["src/api/**", "tests/api/**", "server.js", "package.json"]<br />}<br />},<br />"resources": [<br />"file://.kiro/steering/backend-standards.md"<br />]<br />}</pre>
<p></p>
<p><b>Tại sao agent này của Kiro CLI lại hiệu quả?</b></p>
<ol>
<li style="font-weight: 400;" aria-level="1"><b>Chuyên môn hóa</b><span style="font-weight: 400;">: Focus vào backend development, không lãng phí thời gian suy nghĩ về frontend, DevOps hoặc topics không liên quan</span><span style="font-weight: 400;"><br /><br /></span></li>
<li style="font-weight: 400;" aria-level="1"><b>File path restrictions</b><span style="font-weight: 400;">: Chỉ có thể touch backend files (như </span><span style="font-weight: 400;">src/api/**</span><span style="font-weight: 400;"> và </span><span style="font-weight: 400;">server.js</span><span style="font-weight: 400;">), tránh vô tình break frontend hoặc config files</span><span style="font-weight: 400;"><br /><br /></span></li>
<li><b>Auto-load standards</b><span style="font-weight: 400;">: Tự động load file </span><span style="font-weight: 400;">backend-standards.md</span><span style="font-weight: 400;">, luôn nhớ team&#8217;s rules về async/await, error handling và API design mà không cần bạn nhắc lại mỗi lần</span></li>
</ol>
<p><b>Kết quả</b><span style="font-weight: 400;">: Responses nhanh hơn, chính xác hơn, consistently follow standards vì agent không bị distract bởi irrelevant information.</span>  </p>
<h2><b>Xác Thực Linh Hoạt</b></h2>
<p><span style="font-weight: 400;">Kiro CLI hỗ trợ nhiều authentication methods:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><b>GitHub</b><span style="font-weight: 400;">: Tích hợp seamless với GitHub account</span></li>
<li style="font-weight: 400;" aria-level="1"><b>Google</b><span style="font-weight: 400;">: Sign in với Google credentials</span></li>
<li style="font-weight: 400;" aria-level="1"><b>AWS Builder ID</b><span style="font-weight: 400;">: Quick setup cho AWS developers</span></li>
<li style="font-weight: 400;" aria-level="1"><b>AWS IAM Identity Center</b><span style="font-weight: 400;">: Enterprise-grade authentication</span></li>
</ul>
<h2><b>Tích Hợp Với Kiro IDE</b></h2>
<p><span style="font-weight: 400;">Kiro IDE có các phần cấu hình sau:</span> <b>MCP Servers</b><span style="font-weight: 400;">: Copy </span><span style="font-weight: 400;">.kiro/settings/mcp.json</span><span style="font-weight: 400;"> và MCP tools sẵn sàng</span></p>
<p><b>Steering Rules</b><span style="font-weight: 400;">: Files </span><span style="font-weight: 400;">.kiro/steering/*.md</span><span style="font-weight: 400;"> hoạt động trong Kiro CLI</span></p>
<p><b>Project Documentation</b><span style="font-weight: 400;">: Tất cả </span><span style="font-weight: 400;">.kiro</span><span style="font-weight: 400;"> docs và configurations carry over</span></p>
<p><span style="font-weight: 400;">Bạn có thể jump giữa IDE và terminal mà không mất context hoặc reconfigure AI assistant.</span></p>
<h2><b>Dùng Dòng Lệnh Agentic</b></h2>
<p><b>Chat với AI:</b></p>
<p></p>
<pre class="wp-block-code"><span style="font-weight: 400;">kiro-cli</span></pre>
<p></p>
<p><b>Add features:</b></p>
<p></p>
<pre class="wp-block-code"><span style="font-weight: 400;">&gt;</span> <span style="font-weight: 400;">Create</span> <span style="font-weight: 400;">a</span> <span style="font-weight: 400;">new</span> <span style="font-weight: 400;">FastAPI</span> <span style="font-weight: 400;">project</span> <span style="font-weight: 400;">with</span> <span style="font-weight: 400;">PostgreSQL,</span> <span style="font-weight: 400;">Redis</span> <span style="font-weight: 400;">caching,</span> <span style="font-weight: 400;">and</span> <span style="font-weight: 400;">Docker</span> <span style="font-weight: 400;">setup</span></pre>
<p></p>
<p><b>Infrastructure as code:</b></p>
<p></p>
<pre class="wp-block-code"><span style="font-weight: 400;">&gt;</span> <span style="font-weight: 400;">Write</span> <span style="font-weight: 400;">Terraform</span> <span style="font-weight: 400;">configs</span> <span style="font-weight: 400;">for</span> <span style="font-weight: 400;">a</span> <span style="font-weight: 400;">three-tier</span> <span style="font-weight: 400;">AWS</span> <span style="font-weight: 400;">architecture</span> <span style="font-weight: 400;">with</span> <span style="font-weight: 400;">RDS</span> <span style="font-weight: 400;">and</span> <span style="font-weight: 400;">ElastiCache</span></pre>
<p></p>
<p><b>Multi-line input</b><span style="font-weight: 400;">: Dùng </span><span style="font-weight: 400;">/editor</span><span style="font-weight: 400;"> để open text editor cho detailed prompts.</span></p>
<p><b>Multimodal input</b><span style="font-weight: 400;">: Reference images trực tiếp—share screenshots, diagrams hoặc error messages.</span></p>
<p><b>MCP Support</b><span style="font-weight: 400;">: Extend capabilities với external tools và services.</span></p>
<p><b>Credit usage</b><span style="font-weight: 400;">: Kiro hiển thị số credits bạn dùng realtime để track.</span></p>
<h2><b>Auto Agent</b></h2>
<p><span style="font-weight: 400;">Auto agent dynamically chọn optimal model cho mỗi task, cân bằng speed, cost và quality.</span> <b>Efficiency</b><span style="font-weight: 400;">: Tasks cost X credits trong Auto mode sẽ cost 1.3X credits nếu manually chọn Sonnet 4.</span> <span style="font-weight: 400;">Auto enabled mặc định. Bạn có thể chọn model khác với </span><span style="font-weight: 400;">/model</span><span style="font-weight: 400;"> command.</span></p>
<h1><b>Use Case Thực Tế Của </b><b>Kiro CLI</b></h1>
<p><span style="font-weight: 400;">Quay lại ví dụ </span><span style="font-weight: 400;">backend-specialist</span><span style="font-weight: 400;"> agent ở trên. Sau khi implement configuration, bạn sử dụng như sau:</span></p>
<p></p>
<pre class="wp-block-code"><span style="font-weight: 400;">kiro-cli</span> <span style="font-weight: 400;">chat</span> <span style="font-weight: 400;">--agent</span> <span style="font-weight: 400;">backend-specialist</span></pre>
<p><b>Sample prompts:</b>  </p>
<p></p>
<pre class="wp-block-code"><span style="font-weight: 400;">&gt;</span> <span style="font-weight: 400;">Add</span> <span style="font-weight: 400;">a</span> <span style="font-weight: 400;">new</span> <span style="font-weight: 400;">/api/users/profile</span> <span style="font-weight: 400;">endpoint</span> <span style="font-weight: 400;">that</span> <span style="font-weight: 400;">allows</span> <span style="font-weight: 400;">authenticated</span> <span style="font-weight: 400;">users</span> <span style="font-weight: 400;">to</span> <span style="font-weight: 400;">update</span> <span style="font-weight: 400;">their</span> <span style="font-weight: 400;">profile</span> <span style="font-weight: 400;">information.</span> <span style="font-weight: 400;">Include</span> <span style="font-weight: 400;">validation</span> <span style="font-weight: 400;">for</span> <span style="font-weight: 400;">email</span> <span style="font-weight: 400;">format</span> <span style="font-weight: 400;">and</span> <span style="font-weight: 400;">password</span> <span style="font-weight: 400;">strength,</span> <span style="font-weight: 400;">proper</span> <span style="font-weight: 400;">error</span> <span style="font-weight: 400;">handling</span> <span style="font-weight: 400;">for</span> <span style="font-weight: 400;">database</span> <span style="font-weight: 400;">failures,</span> <span style="font-weight: 400;">and</span> <span style="font-weight: 400;">unit</span> <span style="font-weight: 400;">tests.</span></pre>
<p></p>
<p></p>
<pre class="wp-block-code"><span style="font-weight: 400;">&gt;</span> <span style="font-weight: 400;">Create</span> <span style="font-weight: 400;">a</span> <span style="font-weight: 400;">new</span> <span style="font-weight: 400;">MongoDB</span> <span style="font-weight: 400;">schema</span> <span style="font-weight: 400;">for</span> <span style="font-weight: 400;">user</span> <span style="font-weight: 400;">notifications</span> <span style="font-weight: 400;">with</span> <span style="font-weight: 400;">fields</span> <span style="font-weight: 400;">for</span> <span style="font-weight: 400;">message,</span> <span style="font-weight: 400;">read</span> <span style="font-weight: 400;">status,</span> <span style="font-weight: 400;">and</span> <span style="font-weight: 400;">timestamp.</span> <span style="font-weight: 400;">Add</span> <span style="font-weight: 400;">CRUD</span> <span style="font-weight: 400;">endpoints</span> <span style="font-weight: 400;">following</span> <span style="font-weight: 400;">our</span> <span style="font-weight: 400;">RESTful</span> <span style="font-weight: 400;">conventions</span> <span style="font-weight: 400;">and</span> <span style="font-weight: 400;">include</span> <span style="font-weight: 400;">proper</span> <span style="font-weight: 400;">indexing</span> <span style="font-weight: 400;">for</span> <span style="font-weight: 400;">performance.</span></pre>
<p></p>
<p></p>
<pre class="wp-block-code"><span style="font-weight: 400;">&gt;</span> <span style="font-weight: 400;">I'm</span> <span style="font-weight: 400;">getting</span> <span style="font-weight: 400;">intermittent</span> <span style="font-weight: 400;">500</span> <span style="font-weight: 400;">errors</span> <span style="font-weight: 400;">on</span> <span style="font-weight: 400;">the</span> <span style="font-weight: 400;">/api/orders</span> <span style="font-weight: 400;">endpoint.</span> <span style="font-weight: 400;">Help</span> <span style="font-weight: 400;">me</span> <span style="font-weight: 400;">add</span> <span style="font-weight: 400;">better</span> <span style="font-weight: 400;">error</span> <span style="font-weight: 400;">logging</span> <span style="font-weight: 400;">and</span> <span style="font-weight: 400;">identify</span> <span style="font-weight: 400;">potential</span> <span style="font-weight: 400;">race</span> <span style="font-weight: 400;">conditions</span> <span style="font-weight: 400;">in</span> <span style="font-weight: 400;">the</span> <span style="font-weight: 400;">order</span> <span style="font-weight: 400;">processing</span> <span style="font-weight: 400;">logic.</span></pre>
<p></p>
<p><b>Các specialized agents khác bạn có thể tạo:</b></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><b>Code review agent</b><span style="font-weight: 400;">: Với linting tools và team&#8217;s style guide</span></li>
<li style="font-weight: 400;" aria-level="1"><b>DevOps agent</b><span style="font-weight: 400;">: Với infrastructure access và deployment scripts</span></li>
<li style="font-weight: 400;" aria-level="1"><b>Debugging agent</b><span style="font-weight: 400;">: Pre-loaded với logging utilities và troubleshooting steps</span></li>
</ul>
<p><span style="font-weight: 400;">Mỗi agent focus context vào những gì quan trọng cho specific task, making AI interactions nhanh hơn và relevant hơn.</span>  </p>
<h1><b>Kết Luận</b></h1>
<hr />
<p><span style="font-weight: 400;">Kiro CLI mang đến giải pháp làm việc nhanh hơn cho các nhà phát triển nhờ vào sức mạnh AI.</span> <span style="font-weight: 400;">Ngoài ra còn tiết kiệm được nhiều thời gian tận dụng được giao diện dòng lệnh linh hoạt.</span> <span style="font-weight: 400;">Hy vọng bài viết có ích cho bạn!</span></p>
<p>Tham khảo thêm các bài viết về Giải pháp &amp; Kiến thức công nghệ chuyên sâu tại <a href="https://sunnycloudvn.com/">Sunny Cloud Vietnam</a></p><p>The post <a href="https://sunnycloudvn.com/kiro-cli-tro-ly-ai-bien-terminal-thanh-co-may-code-than-toc/">Kiro CLI: Trợ Lý AI Biến Terminal Thành Cỗ Máy Code &#8220;Thần Tốc&#8221;</a> appeared first on <a href="https://sunnycloudvn.com">Sunny Cloud | AWS Billing và giải pháp AWS toàn diện</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Kiro Steering là gì? Cách dùng Kiro AI tự động hóa Context</title>
		<link>https://sunnycloudvn.com/kiro-steering-la-gi-cach-dung/</link>
		
		<dc:creator><![CDATA[Sunny Cloud]]></dc:creator>
		<pubDate>Wed, 21 Jan 2026 06:15:17 +0000</pubDate>
				<category><![CDATA[Tin Tức/ Tài Liệu]]></category>
		<guid isPermaLink="false">https://sunnycloudvn.com/?p=3460</guid>

					<description><![CDATA[<p>Bạn đang tìm cách cấu hình Kiro Steering để AI code chuẩn context? Trước khi đi sâu vào tính năng này, hãy cùng tìm hiểu các thông tin cơ bản về Kiro nhé. Kiro là gì? Kiro là một AI-powered IDE và CLI tool được thiết kế để tăng năng suất lập trình thông qua [&#8230;]</p>
<p>The post <a href="https://sunnycloudvn.com/kiro-steering-la-gi-cach-dung/">Kiro Steering là gì? Cách dùng Kiro AI tự động hóa Context</a> appeared first on <a href="https://sunnycloudvn.com">Sunny Cloud | AWS Billing và giải pháp AWS toàn diện</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Bạn đang tìm cách cấu hình Kiro Steering để AI code chuẩn context? Trước khi đi sâu vào tính năng này, hãy cùng tìm hiểu các thông tin cơ bản về Kiro nhé.</p>
<h2><b>Kiro là gì?</b></h2>
<hr />
<p><span style="font-weight: 400;">Kiro là một AI-powered IDE và CLI tool được thiết kế để tăng năng suất lập trình thông qua khả năng hỗ trợ code thông minh, tự động hóa workflow và tương tác nhận biết context. Đây là sản phẩm của AWS nên được cộng đồng AWS tin dùng.</span></p>
<figure id="attachment_3464" aria-describedby="caption-attachment-3464" style="width: 1889px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="wp-image-3464 size-full" src="https://sunnycloudvn.com/wp-content/uploads/2026/01/screenshot_1768909707.png" alt="Giao diện trang chủ website Kiro AI - Tính năng Steering trên nền tảng AI IDE và AWS CLI." width="1889" height="863" /><figcaption id="caption-attachment-3464" class="wp-caption-text">Trang chủ Website của Kiro</figcaption></figure>
<p>Xem qua tại <a href="https://kiro.dev/cli/">Website chính thức</a></p>
<h2><b>Kiro Steering là gì?</b></h2>
<hr />
<p><span style="font-weight: 400;">Giả sử có một AI assistant (chatbot, agent, …) nhưng mỗi lần chat mình cần hướng dẫn như:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">&#8220;Nhớ dùng React functional components nhé&#8221;</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">&#8220;Code phải follow chuẩn của AWS Well-Architected Framework&#8221;</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">&#8220;Commit message phải theo format Conventional Commits&#8221;</span></li>
</ul>
<p><b>Steering</b><span style="font-weight: 400;"> giải quyết vấn đề này.</span> <span style="font-weight: 400;">Steering là tính năng cho phép bạn </span><b>inject context, standards và instructions</b><span style="font-weight: 400;"> vào AI một cách tự động. Bạn chỉ cần cấu hình một lần, Kiro sẽ nhớ và áp dụng mãi mãi.</span></p>
<h3><b>Cách Kiro Steering hoạt động</b></h3>
<p><span style="font-weight: 400;">Steering files là các file markdown lưu trong thư mục </span><span style="font-weight: 400;">.kiro/steering/</span><span style="font-weight: 400;">. Có 3 loại:</span></p>
<ol>
<li style="font-weight: 400;" aria-level="1"><b>Always included (mặc định)</b><span style="font-weight: 400;">: Áp dụng cho mọi conversation</span></li>
<li style="font-weight: 400;" aria-level="1"><b>Conditionally included</b><span style="font-weight: 400;">: Chỉ kích hoạt khi truy cập file cụ thể</span></li>
<li style="font-weight: 400;" aria-level="1"><b>Manually included</b><span style="font-weight: 400;">: Chỉ active khi bạn reference bằng </span><span style="font-weight: 400;">#</span><span style="font-weight: 400;"> trong chat</span></li>
</ol>
<p><span style="font-weight: 400;">Khi chat với Kiro, nó tự động hiển thị các steering files đang được áp dụng. Bạn luôn biết AI đang follow guidelines nào.</span></p>
<h2><b>Cài đặt Kiro Steering</b></h2>
<hr />
<h3><b>Tạo thủ công</b></h3>
<ol>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Tạo thư mục steering</span></li>
</ol>

<pre class="wp-block-code"><span style="font-weight: 400;">mkdir -p .kiro/steering</span></pre>

<ol start="2">
<li><span style="font-weight: 400;"> Tạo file steering đầu tiên</span></li>
</ol>

<pre class="wp-block-code"><span style="font-weight: 400;">touch .kiro/steering/my-standards.md</span></pre>

<ol start="3">
<li><span style="font-weight: 400;"> Thêm guidelines vào file và Kiro sẽ tự động áp dụng!</span></li>
</ol>
<h2><b>Use Cases Thực Tế của Kiro Steering</b></h2>
<hr />
<h3><b>1. Áp dụng AWS Well-Architected Framework</b></h3>
<p><b>File:</b> <span style="font-weight: 400;">.kiro/steering/well-architected-context.md</span></p>
<p><b>Vấn đề</b><span style="font-weight: 400;">: AI thường suggest giải pháp nhanh nhưng không follow security best practices hoặc reliability patterns.</span></p>
<p><b>Giải pháp</b><span style="font-weight: 400;">: File steering này đảm bảo Kiro luôn ưu tiên security, reliability và performance trong mọi recommendation về AWS.</span></p>
<p><b>Ví dụ thực tế</b><span style="font-weight: 400;">: Khi bạn hỏi Kiro thiết kế Lambda function xử lý sensitive data, nó sẽ tự động:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Suggest mã hóa environment variables bằng KMS</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Recommend VPC configuration cho database access</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Đề xuất CloudWatch Logs encryption</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Include IAM role với least privilege permissions</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Suggest retry logic và error handling</span></li>
</ul>

<pre class="wp-block-code"># AWS Well-Architected Framework Context

## Core Priorities (in order of importance)

1. **Security** - Always the highest priority
2. **Reliability** - Critical second priority
3. **Performance** - Important third priority

## Security Guidelines

- Apply the principle of least privilege for all IAM roles and policies
- Implement defense in depth with multiple security controls
- Encrypt data at rest and in transit
- Use AWS security services (GuardDuty, Security Hub, WAF, etc.)
- Implement secure VPC designs with proper network segmentation
 
## Reliability Guidelines

- Design for failure and self-healing
- Implement high availability across multiple AZs
- Use managed services when possible
- Implement proper health checks, monitoring, and alerting
- Test recovery procedures regularly

## Performance Guidelines

- Choose appropriate instance types and sizes
- Implement caching strategies where appropriate
- Use CDNs for global distribution
- Optimize database performance
- Monitor and optimize application performance</pre>

<p><b>Kết quả thực tế</b><span style="font-weight: 400;">: Các team sử dụng file này báo cáo giảm đáng kể security-related comments trong code review và thời gian approve infrastructure changes nhanh hơn vì best practices đã được bake in từ đầu.</span></p>
<h3><b>2. Terraform Best Practices</b></h3>
<p><b>File:</b> <span style="font-weight: 400;">.kiro/steering/terraform_best_practices.md</span></p>
<p><b>Vấn đề</b><span style="font-weight: 400;">: Terraform code dễ trở nên không nhất quán giữa các team members, dẫn đến state management issues, security vulnerabilities và deployment failures.</span></p>
<p><b>Giải pháp</b><span style="font-weight: 400;">: File steering này đóng vai trò guardrail, đảm bảo mọi Terraform resource follow team standards.</span></p>
<p><b>Ví dụ thực tế</b><span style="font-weight: 400;">: Khi bạn yêu cầu Kiro tạo S3 bucket resource, nó tự động:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Add proper tags (Environment, Project, ManagedBy)</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Enable versioning cho data protection</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Configure encryption at rest</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Dùng variables thay vì hardcoded values</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Include lifecycle rules nếu cần</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Format code theo </span><span style="font-weight: 400;">terraform fmt</span><span style="font-weight: 400;"> standards</span></li>
</ul>

<pre class="wp-block-code"># Terraform AWS Development and Deployment Best Practices

## General Rules
1. Always run `terraform fmt` before committing code
2. Always run `terraform validate` before applying changes
3. Use remote state with S3 backend and DynamoDB for state locking
4. Set default region to "us-east-1" for all AWS providers

## Security Rules
1. Never hardcode AWS credentials in Terraform files
2. Use IAM roles with least privilege principle
3. Enable versioning on S3 buckets
4. Encrypt sensitive data at rest and in transit

## Resource Management
1. Always tag resources with "Environment", "Project", and "ManagedBy: Terraform"
2. Use modules for reusable infrastructure components
3. Pin module versions to specific releases
4. Use variables for all configurable values</pre>
<p><b>Kết quả thực tế</b>: Teams báo cáo giảm 60% Terraform-related bugs và state conflicts. Thành viên mới có thể contribute infrastructure code một cách tự tin trong vài ngày thay vì vài tuần vì Kiro guide họ through best practices tự động.</p>
<h3><b>3. Minimal Engineering Approach</b></h3>
<p><b>File:</b> .kiro/steering/minimal-engineering-approach.md</p>
<p><b>Vấn đề</b>: AI assistants đôi khi suggest các giải pháp và helper không cần thiết cho vấn đề</p>
<p><b>Giải pháp</b>: File steering này giữ Kiro focus vào simplicity tránh over-engineering.</p>

<pre class="wp-block-code"># Minimal Engineering Approach

## Core Principles

- **Keep it simple**: Write only the minimal code needed
- **One file solutions**: Prefer single-file implementations
- **Fix, don't bypass**: Fix existing solutions first
- **No workarounds**: Don't build workarounds unless explicitly requested
- **Essential files only**: Create only necessary files

## File Creation Guidelines

- **Maximum 3-5 files** for most projects
- **One README.md** with essential information only
- **No separate documentation files** unless requested
- **No helper scripts** unless absolutely necessary

## Problem-Solving Approach

1. **First**: Try to fix the existing solution
2. **Second**: Modify the current approach minimally
3. **Last resort**: Create alternative solution (only if user requests it)

## Code Guidelines

- Write concise, focused code
- Avoid over-abstraction
- Keep functions small and direct
- Minimize dependencies</pre>

<p><b>Kết quả thực tế</b><span style="font-weight: 400;">: Startups và small teams yêu thích file này vì nó giữ codebase maintainable khi phát triển.</span></p>
<h3><b>4. Git Commit Standards</b></h3>
<p><b>File:</b> <span style="font-weight: 400;">.kiro/steering/git-commit-standards.md- Write concise, focused code</span> <span style="font-weight: 400;">&#8211; Avoid over-abstraction</span> <span style="font-weight: 400;">&#8211; Keep functions small and direct</span> <span style="font-weight: 400;">&#8211; Minimize dependencies</span></p>
<p><b>Vấn đề</b><span style="font-weight: 400;">: Commit messages không nhất quán khiến việc hiểu project history, generate changelogs hoặc dùng tools như semantic-release trở nên khó khăn.</span></p>
<p><b>Giải pháp</b><span style="font-weight: 400;">: File steering này biến Kiro thành commit message expert.</span></p>

<pre class="wp-block-code">When I ask you to commit my code or changes:
1. Determine which files are new, modified, or deleted using `git status`
2. Stage all relevant files
3. Generate a commit message following these best practices:
- Use the imperative mood ("Add feature" not "Added feature")
- Start with a concise summary line (50 chars or less)
- Structure: `&lt;type&gt;(&lt;scope&gt;): &lt;description&gt;`
- Types: feat, fix, docs, style, refactor, test, chore
- Scope: optional component name

Example:
```
feat(auth): implement OAuth2 authentication flow

- Add OAuth2 client configuration
- Create login and callback endpoints
- Store tokens securely in user session

Closes #123
```

Do not ask for confirmation before committing. Always show the generated commit message before executing.</pre>

<p><b>Kết quả thực tế</b><span style="font-weight: 400;">: Teams có thể tự động Generate Changelogs, Track Features Across Releases và hiểu Project History ngay lập tức. Một team báo cáo tiết kiệm 2 giờ mỗi Release Cycle chỉ riêng việc Generate Changelog.</span></p>
<h2><b>Kết Luận</b></h2>
<hr />
<p><span style="font-weight: 400;">Khi việc phát triển dựa vào AI ngày càng phát triển, chúng ta cần có những hướng dẫn cụ thể để kết quả nhận được từ AI đảm bảo chất lượng cao.</span> <span style="font-weight: 400;">Hy vọng tính năng Steering của Kiro giúp ích cho độc giả và cảm ơn đã đọc đến cuối bài viết!</span>      </p>
<p>Hãy tham khảo thêm các bài viết về Giải pháp &amp; Kiến thức công nghệ chuyên sâu tại <a href="https://sunnycloudvn.com/">Sunny Cloud Vietnam</a></p>
<p>The post <a href="https://sunnycloudvn.com/kiro-steering-la-gi-cach-dung/">Kiro Steering là gì? Cách dùng Kiro AI tự động hóa Context</a> appeared first on <a href="https://sunnycloudvn.com">Sunny Cloud | AWS Billing và giải pháp AWS toàn diện</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Thiết Lập Trend Micro Vision One Cho AWS Account</title>
		<link>https://sunnycloudvn.com/thiet-lap-trend-micro-vision-one-cho-aws-account/</link>
		
		<dc:creator><![CDATA[Sunny Cloud]]></dc:creator>
		<pubDate>Tue, 28 Oct 2025 01:49:41 +0000</pubDate>
				<category><![CDATA[Tin Tức/ Tài Liệu]]></category>
		<category><![CDATA[AWS Account]]></category>
		<category><![CDATA[AWS services]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Cloud Services]]></category>
		<category><![CDATA[Dịch vụ đám mây]]></category>
		<category><![CDATA[Khám phá AWS]]></category>
		<category><![CDATA[Tin tức AWS]]></category>
		<category><![CDATA[Trend Micro]]></category>
		<category><![CDATA[Vision One]]></category>
		<guid isPermaLink="false">https://sunnycloudvn.com/?p=3393</guid>

					<description><![CDATA[<p>Vision One Là Gì? Trend Micro Vision One là một nền tảng bảo mật giúp giám sát và bảo vệ các container, phát hiện lỗ hổng bảo mật, và chặn các mối đe dọa từ khi build cho đến lúc chạy trên production. Chuẩn Bị Cần có: https://www.trendmicro.com/en_us/business/products Các Bước Thiết Lập Bước 1: Kết [&#8230;]</p>
<p>The post <a href="https://sunnycloudvn.com/thiet-lap-trend-micro-vision-one-cho-aws-account/">Thiết Lập Trend Micro Vision One Cho AWS Account</a> appeared first on <a href="https://sunnycloudvn.com">Sunny Cloud | AWS Billing và giải pháp AWS toàn diện</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1 class="wp-block-heading" id=""></h1>

<h2 class="wp-block-heading" id="vision-one-la-gi"><strong>Vision One Là Gì?</strong></h2>


<p class="wp-block-paragraph"><strong>Trend Micro Vision One</strong> là một nền tảng bảo mật giúp giám sát và bảo vệ các container, phát hiện lỗ hổng bảo mật, và chặn các mối đe dọa từ khi build cho đến lúc chạy trên production.</p>


<h2 class="wp-block-heading" id="chuan-bi"><strong>Chuẩn Bị</strong></h2>


<p class="wp-block-paragraph">Cần có:</p>



<ul class="wp-block-list">
<li>Tài khoản AWS</li>



<li>Đã cài Terraform, Python</li>



<li>Tài khoản Trend Vision One, nếu chưa có thì vào link bên dưới đăng kí</li>
</ul>



<p class="wp-block-paragraph"><a href="https://www.trendmicro.com/en_us/business/products">https://www.trendmicro.com/en_us/business/products</a></p>


<h2 class="wp-block-heading" id="cac-buoc-thiet-lap"><strong>Các Bước Thiết Lập</strong></h2>

<h3 class="wp-block-heading" id="buoc-1-ket-noi-aws-account-voi-vision-one"><strong>Bước 1: Kết Nối AWS Account Với Vision One</strong></h3>


<p class="wp-block-paragraph">Đầu tiên, bạn cần &#8220;kết bạn&#8221; giữa AWS và Vision One:</p>



<ol class="wp-block-list">
<li>Đăng nhập vào <strong>Trend Vision One console</strong></li>
</ol>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1219" height="667" src="https://sunnycloudvn.com/wp-content/uploads/2025/10/image.png" alt="" class="wp-image-3394"/></figure>



<ol start="2" class="wp-block-list">
<li>Vào <strong>Cloud Security</strong> → <strong>Container Security</strong></li>
</ol>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1531" height="757" src="https://sunnycloudvn.com/wp-content/uploads/2025/10/image-10.png" alt="" class="wp-image-3410"/></figure>



<ol start="3" class="wp-block-list">
<li>Chọn <strong>Continue with Amazon ECS</strong></li>
</ol>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1186" height="768" src="https://sunnycloudvn.com/wp-content/uploads/2025/10/image-5.png" alt="" class="wp-image-3401"/></figure>



<ol start="4" class="wp-block-list">
<li>Chọn deployment method, ở đây tôi chọn:
<ul class="wp-block-list">
<li><strong>Terraform</strong></li>



<li><strong>Single AWS Account</strong></li>
</ul>
</li>
</ol>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1335" height="706" src="https://sunnycloudvn.com/wp-content/uploads/2025/10/image-11.png" alt="" class="wp-image-3411"/></figure>



<ol start="5" class="wp-block-list">
<li>Nhập vào aws account, region</li>
</ol>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="887" height="300" src="https://sunnycloudvn.com/wp-content/uploads/2025/10/image-1.png" alt="" class="wp-image-3395"/></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="949" height="390" src="https://sunnycloudvn.com/wp-content/uploads/2025/10/image-6.png" alt="" class="wp-image-3402"/></figure>


<h3 class="wp-block-heading" id="buoc-2-deploy-terraform-template"><strong>Bước 2: Deploy Terraform Template</strong></h3>


<p class="wp-block-paragraph">Làm theo hướng dẫn từ TrendMicro</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1600" height="446" src="https://sunnycloudvn.com/wp-content/uploads/2025/10/image-4.png" alt="" class="wp-image-3399"/></figure>



<ul class="wp-block-list">
<li>Download the Terraform Template</li>



<li>Sau đó chạy các lệnh sau:</li>
</ul>



<pre class="wp-block-code"><code>unzip -o cloud-account-management-terraform-package-1761620542405244073.zip -d

&nbsp;cloud-account-management-terraform-package

cd cloud-account-management-terraform-package

./deploy.sh</code></pre>



<p class="wp-block-paragraph">Nếu thành công, sẽ thấy màn hình bên dưới:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1072" height="419" src="https://sunnycloudvn.com/wp-content/uploads/2025/10/image-12.png" alt="" class="wp-image-3412"/></figure>



<p class="wp-block-paragraph">Bây giờ sẽ thấy được AWS Account đã thiết lập:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1480" height="885" src="https://sunnycloudvn.com/wp-content/uploads/2025/10/image-2.png" alt="" class="wp-image-3397"/></figure>


<h2 class="wp-block-heading" id="ket-luan"><strong>Kết Luận</strong></h2>


<p class="wp-block-paragraph">Vậy là AWS Account đã được bảo vệ bởi TrendMicro VisionOne. Đây là cách để nâng cao security cho hệ thống của các doanh nghiệp được cộng đồng rất tin tưởng.<br>Hy vọng bài viết có ích và cảm ơn độc giả!</p>
<p>The post <a href="https://sunnycloudvn.com/thiet-lap-trend-micro-vision-one-cho-aws-account/">Thiết Lập Trend Micro Vision One Cho AWS Account</a> appeared first on <a href="https://sunnycloudvn.com">Sunny Cloud | AWS Billing và giải pháp AWS toàn diện</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>AWS Giới Thiệu Công Cụ MCP Server &#8211; Quản Lý Chi Phí Thông Minh Hơn Với AI</title>
		<link>https://sunnycloudvn.com/aws-gioi-thieu-cong-cu-mcp-server-quan-ly-chi-phi-thong-minh-hon-voi-ai/</link>
		
		<dc:creator><![CDATA[Sunny Cloud]]></dc:creator>
		<pubDate>Wed, 22 Oct 2025 02:14:00 +0000</pubDate>
				<category><![CDATA[Tin Tức/ Tài Liệu]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[AWS Billing]]></category>
		<category><![CDATA[AWS services]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Cloud Services]]></category>
		<category><![CDATA[Dịch vụ đám mây]]></category>
		<category><![CDATA[Khám phá AWS]]></category>
		<category><![CDATA[MCP Server]]></category>
		<category><![CDATA[Tin tức AWS]]></category>
		<guid isPermaLink="false">https://sunnycloudvn.com/?p=3382</guid>

					<description><![CDATA[<p>AWS chính thức ra mắt MCP server cho Billing and Cost Management &#8211; một công cụ mã nguồn mở giúp quản lý chi phí AWS thông minh hơn thông qua các trợ lý AI. https://aws.amazon.com/about-aws/whats-new/2025/08/aws-billing-cost-management-mcp-server MCP Server Là Gì? MCP (Model Context Protocol) server là một &#8220;cầu nối&#8221; cho phép các trợ lý AI như [&#8230;]</p>
<p>The post <a href="https://sunnycloudvn.com/aws-gioi-thieu-cong-cu-mcp-server-quan-ly-chi-phi-thong-minh-hon-voi-ai/">AWS Giới Thiệu Công Cụ MCP Server &#8211; Quản Lý Chi Phí Thông Minh Hơn Với AI</a> appeared first on <a href="https://sunnycloudvn.com">Sunny Cloud | AWS Billing và giải pháp AWS toàn diện</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">AWS chính thức ra mắt MCP server cho Billing and Cost Management &#8211; một công cụ mã nguồn mở giúp quản lý chi phí AWS thông minh hơn thông qua các trợ lý AI.</p>



<p class="wp-block-paragraph"><a href="https://aws.amazon.com/about-aws/whats-new/2025/08/aws-billing-cost-management-mcp-server">https://aws.amazon.com/about-aws/whats-new/2025/08/aws-billing-cost-management-mcp-server</a></p>


<h1 class="wp-block-heading" id="mcp-server-la-gi"><strong>MCP Server Là Gì?</strong></h1>


<p class="wp-block-paragraph">MCP (Model Context Protocol) server là một &#8220;cầu nối&#8221; cho phép các trợ lý AI như Claude Desktop, VS Code, Amazon Q Developer CLI&#8230; có thể truy cập và phân tích dữ liệu chi phí AWS của bạn.</p>



<p class="wp-block-paragraph">Nói đơn giản: Thay vì phải tự mình kiểm tra từng báo cáo chi phí phức tạp, giờ chỉ cần hỏi AI và nhận câu trả lời ngay lập tức.</p>


<h2 class="wp-block-heading" id="cac-loi-ich-chinh-khi-quan-ly-chi-phi-co-ai-ho-tro"><strong>Các lợi ích chính khi quản lý chi phí có AI hỗ trợ</strong></h2>

<h3 class="wp-block-heading" id="1-phan-tich-chi-phi-de-dang"><strong>1. Phân Tích Chi Phí Dễ Dàng</strong></h3>


<ul class="wp-block-list">
<li>Xem chi phí quá khứ và dự báo tương lai</li>



<li>So sánh chi phí giữa các tháng</li>



<li>Phát hiện chi phí bất thường tự động</li>
</ul>


<h3 class="wp-block-heading" id="2-toi-uu-hoa-chi-tieu"><strong>2. Tối Ưu Hóa Chi Tiêu</strong></h3>


<ul class="wp-block-list">
<li>Nhận gợi ý tiết kiệm chi phí cho EC2, Lambda, EBS</li>



<li>Phân tích cơ hội mua Savings Plans và Reserved Instances</li>



<li>Tìm kiếm cơ hội chuyển sang AWS Graviton để tiết kiệm</li>
</ul>


<h3 class="wp-block-heading" id="3-giam-sat-free-tier"><strong>3. Giám Sát Free Tier</strong></h3>


<ul class="wp-block-list">
<li>Theo dõi sử dụng Free Tier</li>



<li>Tránh phát sinh chi phí ngoài ý muốn</li>
</ul>


<h3 class="wp-block-heading" id="4-phan-tich-storage-s3"><strong>4. Phân Tích Storage (S3)</strong></h3>


<ul class="wp-block-list">
<li>Truy vấn dữ liệu Storage Lens bằng SQL</li>



<li>Phân tích chi phí lưu trữ theo bucket, region</li>



<li>Tìm cơ hội tối ưu hóa lưu trữ</li>
</ul>


<h2 class="wp-block-heading" id="cach-cai-dat"><strong>Cách Cài Đặt</strong></h2>

<h3 class="wp-block-heading" id="buoc-1-chuan-bi"><strong>Bước 1: Chuẩn Bị</strong></h3>


<ul class="wp-block-list">
<li>Có tài khoản AWS với quyền truy cập các API Billing</li>



<li>Cấu hình AWS credentials bằng lệnh dưới, điền thông tin Access Key, Secret Key vào</li>
</ul>



<pre class="wp-block-code"><code>aws configure</code></pre>



<ul class="wp-block-list">
<li>Cài đặt uv từ Astral</li>
</ul>



<p class="wp-block-paragraph"><a href="https://docs.astral.sh/uv/getting-started/installation">https://docs.astral.sh/uv/getting-started/installation</a></p>



<pre class="wp-block-code"><code>curl -LsSf https://astral.sh/uv/install.sh | sh</code></pre>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="780" height="135" src="https://sunnycloudvn.com/wp-content/uploads/2025/10/Picture1.png" alt="" class="wp-image-3359"/></figure>



<ul class="wp-block-list">
<li>Cài Python bằng lệnh</li>
</ul>



<pre class="wp-block-code"><code>uv python install 3.10</code></pre>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="771" height="101" src="https://sunnycloudvn.com/wp-content/uploads/2025/10/Picture2.png" alt="" class="wp-image-3373"/></figure>


<h3 class="wp-block-heading" id="buoc-2-cai-dat-mcp-server"><strong>Bước 2: Cài Đặt MCP Server</strong></h3>


<p class="wp-block-paragraph"><strong>Với Linux/MacOS:</strong></p>



<p class="wp-block-paragraph"><strong>Cấu hình MCP Server trong MCP Client của bạn (ví dụ: đối với Amazon Q Developer CLI, hãy tạo ~/.aws/amazonq/mcp.json):</strong></p>



<pre class="wp-block-code"><code>{
  "mcpServers": {
    "awslabs.billing-cost-management-mcp-server": {
      "command": "uvx",
      "args": &#91;
         "awslabs.billing-cost-management-mcp-server@latest"
      ],
      "env": {
        "AWS_PROFILE": "your-aws-profile",
        "AWS_REGION": "ap-northeast-1"
      }
    }
  }
}</code></pre>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="632" height="286" src="https://sunnycloudvn.com/wp-content/uploads/2025/10/Picture3.png" alt="" class="wp-image-3374"/></figure>


<h3 class="wp-block-heading" id="buoc-3-ket-noi-voi-ai-assistant"><strong>Bước 3: Kết Nối Với AI Assistant</strong></h3>


<p class="wp-block-paragraph">MCP server hoạt động với nhiều công cụ AI:</p>



<ul class="wp-block-list">
<li>Amazon Q Developer (Console và CLI)</li>



<li>Claude Desktop</li>



<li>Visual Studio Code</li>



<li>Kiro IDE</li>
</ul>



<p class="wp-block-paragraph">Bài viết này tôi dùng Amazon Q</p>



<p class="wp-block-paragraph">Nếu thành công bạn sẽ thấy MCP server cho Billing and Cost Management được load như sau:</p>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="775" height="76" src="https://sunnycloudvn.com/wp-content/uploads/2025/10/Picture4.png" alt="" class="wp-image-3375"/></figure>


<h2 class="wp-block-heading" id="cac-tinh-nang-chinh"><strong>Các Tính Năng Chính</strong></h2>

<h3 class="wp-block-heading" id="1-cost-explorer"><strong>1. Cost Explorer</strong></h3>


<p class="wp-block-paragraph">Phân tích chi phí lịch sử, dự báo chi phí, theo dõi xu hướng sử dụng</p>


<h3 class="wp-block-heading" id="2-budget-monitoring"><strong>2. Budget Monitoring</strong></h3>


<p class="wp-block-paragraph">Kiểm tra ngân sách hiện tại và cảnh báo vượt ngưỡng</p>


<h3 class="wp-block-heading" id="3-compute-optimizer"><strong>3. Compute Optimizer</strong></h3>


<p class="wp-block-paragraph">Nhận khuyến nghị tối ưu cho các dịch vụ compute</p>


<h3 class="wp-block-heading" id="4-cost-optimization-hub"><strong>4. Cost Optimization Hub</strong></h3>


<p class="wp-block-paragraph">Tập trung các cơ hội tiết kiệm chi phí</p>


<h3 class="wp-block-heading" id="5-storage-lens"><strong>5. Storage Lens</strong></h3>


<p class="wp-block-paragraph">Phân tích chi tiết chi phí lưu trữ S3</p>


<h2 class="wp-block-heading" id="vi-du-su-dung-thuc-te"><strong>Ví Dụ Sử Dụng Thực Tế</strong></h2>


<p class="wp-block-paragraph">Sau khi cài đặt, tôi hỏi AI câu sau:</p>



<pre class="wp-block-code"><code>check cost this month?</code></pre>



<p class="wp-block-paragraph">→ và nhận được câu trả lời như hình</p>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="780" height="357" src="https://sunnycloudvn.com/wp-content/uploads/2025/10/Picture5.png" alt="" class="wp-image-3379"/></figure>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="780" height="245" src="https://sunnycloudvn.com/wp-content/uploads/2025/10/Picture6.png" alt="" class="wp-image-3378"/></figure>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="780" height="193" src="https://sunnycloudvn.com/wp-content/uploads/2025/10/Picture7.png" alt="" class="wp-image-3377"/></figure>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="780" height="282" src="https://sunnycloudvn.com/wp-content/uploads/2025/10/Picture8.png" alt="" class="wp-image-3376"/></figure>


<h2 class="wp-block-heading" id="luu-y-quan-trong"><strong>Lưu Ý Quan Trọng</strong></h2>

<h3 class="wp-block-heading" id="ve-bao-mat"><strong>Về Bảo Mật</strong></h3>


<ul class="wp-block-list">
<li>MCP server sử dụng AWS credentials của bạn</li>



<li>Cần cấp đủ quyền IAM cho các API cần thiết</li>



<li>Dữ liệu được xử lý an toàn theo tiêu chuẩn AWS</li>
</ul>


<h2 class="wp-block-heading" id="ket-luan"><strong>Kết Luận</strong></h2>


<p class="wp-block-paragraph">AWS Billing and Cost Management MCP server là giúp đơn giản hóa quản lý chi phí AWS. Thay vì phải đọc hàng chục báo cáo phức tạp, giờ bạn chỉ cần trò chuyện với AI để hiểu rõ chi phí và tìm cách tối ưu.</p>



<p class="wp-block-paragraph">Hy vọng bài viết có ích và cảm ơn độc giả!</p>
<p>The post <a href="https://sunnycloudvn.com/aws-gioi-thieu-cong-cu-mcp-server-quan-ly-chi-phi-thong-minh-hon-voi-ai/">AWS Giới Thiệu Công Cụ MCP Server &#8211; Quản Lý Chi Phí Thông Minh Hơn Với AI</a> appeared first on <a href="https://sunnycloudvn.com">Sunny Cloud | AWS Billing và giải pháp AWS toàn diện</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Hướng dẫn bắt đầu sử dụng Terraform tạo cơ sở hạ tầng trên AWS</title>
		<link>https://sunnycloudvn.com/huong-dan-bat-dau-su-dung-terraform-tao-co-so-ha-tang-tren-aws/</link>
		
		<dc:creator><![CDATA[Sunny Cloud]]></dc:creator>
		<pubDate>Wed, 20 Aug 2025 02:01:00 +0000</pubDate>
				<category><![CDATA[Tin Tức/ Tài Liệu]]></category>
		<category><![CDATA[AWS services]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Cloud Services]]></category>
		<category><![CDATA[Dịch vụ đám mây]]></category>
		<category><![CDATA[Khám phá AWS]]></category>
		<category><![CDATA[Terraform]]></category>
		<category><![CDATA[Tin tức AWS]]></category>
		<guid isPermaLink="false">https://sunnycloudvn.com/?p=3343</guid>

					<description><![CDATA[<p>Trong số các công cụ IaC, Terraform được sử dụng khá nhiều nhờ những lợi ích như cộng đồng lớn, hỗ trợ nhiều cloud provider như AWS, AZURE, GCP.</p>
<p>The post <a href="https://sunnycloudvn.com/huong-dan-bat-dau-su-dung-terraform-tao-co-so-ha-tang-tren-aws/">Hướng dẫn bắt đầu sử dụng Terraform tạo cơ sở hạ tầng trên AWS</a> appeared first on <a href="https://sunnycloudvn.com">Sunny Cloud | AWS Billing và giải pháp AWS toàn diện</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2 class="simpletoc-title">Mục lục bài viết</h2>
<ul class="simpletoc-list">
<li><a href="#terraform-la-gi">Terraform là gì?</a>

</li>
<li><a href="#tai-sao-nen-dung-terraform">Tại sao nên dùng Terraform?</a>

</li>
<li><a href="#cai-dat-terraform">Cài đặt Terraform</a>


<ul><li>
<a href="#tren-windows">Trên Windows</a>

</li>
<li><a href="#tren-mac">Trên Mac</a>

</li>
<li><a href="#tren-ubuntudebian">Trên Ubuntu/Debian</a>

</li>
</ul>
<li><a href="#chuan-bi-aws-account">Chuẩn bị AWS Account</a>

</li>
<li><a href="#tao-s3-bucket">Tạo S3 Bucket</a>


<ul><li>
<a href="#buoc-1-tao-file-cau-hinh">Bước 1: Tạo file cấu hình</a>

</li>
<li><a href="#buoc-2-khoi-tao-terraform">Bước 2: Khởi tạo Terraform</a>

</li>
<li><a href="#buoc-3-xem-terraform-se-lam-gi">Bước 3: Xem Terraform sẽ làm gì</a>

</li>
<li><a href="#buoc-4-tao-that-tren-aws">Bước 4: Tạo thật trên AWS</a>

</li>
<li><a href="#buoc-5-kiem-tra-ket-qua">Bước 5: Kiểm tra kết quả</a>

</li>
<li><a href="#buoc-6-clean-up">Bước 6: Clean up</a>

</li>
</ul>
<li><a href="#variables-lam-code-linh-hoat-hon">Variables &#8211; Làm code linh hoạt hơn</a>

</li>
<li><a href="#lenh-terraform-quan-trong">Lệnh Terraform quan trọng</a>

</li>
<li><a href="#cac-luu-y-quan-trong">Các Lưu Ý Quan Trọng</a>


<ul><li>
<a href="#1-luon-dung-terraform-plan-truoc-apply">1. Luôn dùng terraform plan trước apply</a>

</li>
<li><a href="#2-quan-ly-state-file-can-than">2. Quản lý State file cẩn thận</a>

</li>
<li><a href="#3-su-dung-workspace-cho-moi-truong-khac-nhau">3. Sử dụng workspace cho môi trường khác nhau</a>

</li>
</ul>
<li><a href="#tham-khao">Tham khảo</a>

</li>
<li><a href="#ket-luan">Kết luận</a>
</li></ul>


<p class="wp-block-paragraph">Trong số các công cụ IaC, Terraform được sử dụng khá nhiều nhờ những lợi ích như cộng đồng lớn, hỗ trợ nhiều cloud provider như AWS, AZURE, GCP.</p>


<h2 class="wp-block-heading" id="terraform-la-gi"><strong>Terraform là gì?</strong></h2>


<p class="wp-block-paragraph">Với Terraform, bạn viết code để mô tả những gì cần tạo cho cơ sở hạ tầng (server, database, network&#8230;), và Terraform sẽ tự động tạo cho bạn.</p>


<h2 class="wp-block-heading" id="tai-sao-nen-dung-terraform"><strong>Tại sao nên dùng Terraform?</strong></h2>


<p class="wp-block-paragraph"><strong>1. Tiết kiệm thời gian</strong></p>



<ul class="wp-block-list">
<li>Tạo 10 server?Bạn chỉ cần copy code và đổi tên là xong</li>
</ul>



<p class="wp-block-paragraph"><strong>2. Không sợ sai sót</strong></p>



<ul class="wp-block-list">
<li>Code một lần, chạy nhiều lần &#8211; kết quả luôn giống nhau</li>



<li>Dễ dàng xem lại và sửa lỗi</li>
</ul>



<p class="wp-block-paragraph"><strong>3. Quản lý dễ dàng</strong></p>



<ul class="wp-block-list">
<li>Xóa mọi thứ chỉ với lệnh terraform destroy</li>



<li>Có thể dùng tạo các cơ sở hạ tầng của nhiều cloud provider khác nhau như AWS, AZURE, GCP, …</li>
</ul>


<h2 class="wp-block-heading" id="cai-dat-terraform"><strong>Cài đặt Terraform</strong></h2>

<h3 class="wp-block-heading" id="tren-windows"><strong>Trên Windows</strong></h3>


<p class="wp-block-paragraph">Tải file từ<a href="https://terraform.io/downloads"> </a><a href="http://terraform.io/downloads">terraform.io/downloads</a> rồi tự cài đặt</p>



<p class="wp-block-paragraph">Sau đó kiểm tra bằng lệnh:</p>



<pre class="wp-block-code"><code>terraform version</code></pre>


<h3 class="wp-block-heading" id="tren-mac"><strong>Trên Mac</strong></h3>


<pre class="wp-block-code"><code>brew install terraform</code></pre>


<h3 class="wp-block-heading" id="tren-ubuntudebian"><strong>Trên Ubuntu/Debian</strong></h3>


<pre class="wp-block-code"><code>wget -O - https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg

echo "deb &#91;arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(grep -oP '(?&lt;=UBUNTU_CODENAME=).*' /etc/os-release || lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list

sudo apt update &amp;&amp; sudo apt install terraform</code></pre>



<p class="wp-block-paragraph">Bài viết này tôi làm trên Ubuntu 24.04.2 và có kết quả như hình:</p>



<figure class="wp-block-image"><img decoding="async" src="https://sunnycloudvn.com/wp-content/uploads/2025/08/huong-dan-bat-dau-su-dung-terraform-tao-co-so-ha-tang-tren-aws.png" alt=""/></figure>



<figure class="wp-block-image"><img decoding="async" src="https://sunnycloudvn.com/wp-content/uploads/2025/08/1_huong-dan-bat-dau-su-dung-terraform-tao-co-so-ha-tang-tren-aws.png" alt=""/></figure>


<h2 class="wp-block-heading" id="chuan-bi-aws-account"><strong>Chuẩn bị AWS Account</strong></h2>


<p class="wp-block-paragraph">Bạn cần có:</p>



<ol class="wp-block-list">
<li><strong>AWS Account</strong> </li>



<li><strong>Access Key và Secret Key</strong> &#8211; Lấy từ IAM User trong AWS Console</li>
</ol>


<h2 class="wp-block-heading" id="tao-s3-bucket"><strong>Tạo S3 Bucket</strong></h2>

<h3 class="wp-block-heading" id="buoc-1-tao-file-cau-hinh"><strong>Bước 1: Tạo file cấu hình</strong></h3>


<p class="wp-block-paragraph">Tạo thư mục mới và file main.tf:</p>



<pre class="wp-block-code"><code># The Easiest Terraform Project on AWS

# This creates a simple S3 bucket

terraform {

  required_providers {

    aws = {

      source  = "hashicorp/aws"

      version = "~> 5.0"

    }

  }

}

provider "aws" {

  region = "ap-northeast-1"  # Tokyo region

}

# Create a simple S3 bucket

resource "aws_s3_bucket" "my_first_bucket" {

  bucket = "my-first-terraform-bucket-${random_string.bucket_suffix.result}"

  tags = {

    Name        = "My First Terraform Bucket"

    Environment = "Learning"

    CreatedBy   = "Terraform"

  }

}

# Generate random string for unique bucket name

resource "random_string" "bucket_suffix" {

  length  = 8

  special = false

  upper   = false

}

# Output the bucket name

output "bucket_name" {

  value = aws_s3_bucket.my_first_bucket.bucket

}

output "bucket_arn" {

  value = aws_s3_bucket.my_first_bucket.arn

}</code></pre>



<p class="wp-block-paragraph"><strong>Lưu ý bảo mật</strong>:</p>



<p class="wp-block-paragraph">Trong thực tế, KHÔNG BAO GIỜ để key trực tiếp trong code. Hãy dùng environment variables:</p>



<pre class="wp-block-code"><code>export AWS_ACCESS_KEY_ID="your_access_key"

export AWS_SECRET_ACCESS_KEY="your_secret_key"</code></pre>


<h3 class="wp-block-heading" id="buoc-2-khoi-tao-terraform"><strong>Bước 2: Khởi tạo Terraform</strong></h3>


<p class="wp-block-paragraph">Mở terminal trong thư mục chứa file main.tf:</p>



<pre class="wp-block-code"><code>terraform init</code></pre>



<p class="wp-block-paragraph">Lệnh này sẽ tải các plugin cần thiết cho <a href="http://aws.ch">AWS.</a> Chờ khoảng 15 phút, nếu thành công sẽ cho kết quả hiển thị như sau:</p>



<figure class="wp-block-image"><img decoding="async" src="https://sunnycloudvn.com/wp-content/uploads/2025/08/2_huong-dan-bat-dau-su-dung-terraform-tao-co-so-ha-tang-tren-aws.png" alt=""/></figure>


<h3 class="wp-block-heading" id="buoc-3-xem-terraform-se-lam-gi"><strong>Bước 3: Xem Terraform sẽ làm gì</strong></h3>


<pre class="wp-block-code"><code>terraform plan</code></pre>



<p class="wp-block-paragraph">Terraform sẽ hiển thị &#8220;kế hoạch&#8221; &#8211; những gì sẽ được tạo. Đọc kỹ để đảm bảo đúng ý bạn.</p>



<figure class="wp-block-image"><img decoding="async" src="https://sunnycloudvn.com/wp-content/uploads/2025/08/3_huong-dan-bat-dau-su-dung-terraform-tao-co-so-ha-tang-tren-aws.png" alt=""/></figure>


<h3 class="wp-block-heading" id="buoc-4-tao-that-tren-aws"><strong>Bước 4: Tạo thật trên AWS</strong></h3>


<pre class="wp-block-code"><code>terraform apply</code></pre>



<figure class="wp-block-image"><img decoding="async" src="https://sunnycloudvn.com/wp-content/uploads/2025/08/4_huong-dan-bat-dau-su-dung-terraform-tao-co-so-ha-tang-tren-aws.png" alt=""/></figure>



<p class="wp-block-paragraph">Gõ yes khi được hỏi. Đợi khoảng 30 giây, bucket s3 sẽ xuất hiện trên AWS!</p>



<figure class="wp-block-image"><img decoding="async" src="https://sunnycloudvn.com/wp-content/uploads/2025/08/5_huong-dan-bat-dau-su-dung-terraform-tao-co-so-ha-tang-tren-aws.png" alt=""/></figure>


<h3 class="wp-block-heading" id="buoc-5-kiem-tra-ket-qua"><strong>Bước 5: Kiểm tra kết quả</strong></h3>


<p class="wp-block-paragraph">Vào AWS Console → s3</p>



<figure class="wp-block-image"><img decoding="async" src="https://sunnycloudvn.com/wp-content/uploads/2025/08/6_huong-dan-bat-dau-su-dung-terraform-tao-co-so-ha-tang-tren-aws.png" alt=""/></figure>


<h3 class="wp-block-heading" id="buoc-6-clean-up"><strong>Bước 6: Clean up</strong></h3>


<pre class="wp-block-code"><code>terraform destroy</code></pre>


<h2 class="wp-block-heading" id="variables-lam-code-linh-hoat-hon"><strong>Variables &#8211; Làm code linh hoạt hơn</strong></h2>


<p class="wp-block-paragraph">Thay vì hardcode mọi thứ, dùng variables để dễ thay đổi:</p>



<p class="wp-block-paragraph"><strong>variables.tf:</strong></p>



<pre class="wp-block-code"><code>variable "instance_type" {

  description = "Loai EC2 instance"

  default     = "t2.micro"

}

variable "server_count" {

  description = "So luong server can tao"

  default     = 1

}</code></pre>



<p class="wp-block-paragraph"><strong>main.tf:</strong></p>



<pre class="wp-block-code"><code>resource "aws_instance" "app_server" {

  count         = var.server_count

  ami           = "ami-0df7a207adb9748c7"

  instance_type = var.instance_type

  tags = {

    Name = "App-Server-${count.index + 1}"

  }

}</code></pre>


<h2 class="wp-block-heading" id="lenh-terraform-quan-trong"><strong>Lệnh Terraform quan trọng</strong></h2>


<pre class="wp-block-code"><code>terraform init      # Khởi tạo project

terraform plan      # Xem trước thay đổi

terraform apply     # Áp dụng thay đổi

terraform destroy   # Xóa tất cả resource

terraform fmt       # Format code

terraform validate  # Kiểm tra syntax</code></pre>


<h2 class="wp-block-heading" id="cac-luu-y-quan-trong"><strong>Các Lưu Ý Quan Trọng</strong></h2>

<h3 class="wp-block-heading" id="1-luon-dung-terraform-plan-truoc-apply"><strong>1. Luôn dùng </strong><strong>terraform plan</strong><strong> trước </strong><strong>apply</strong></h3>


<p class="wp-block-paragraph">Đừng bao giờ apply mà không xem plan trước.&nbsp;</p>


<h3 class="wp-block-heading" id="2-quan-ly-state-file-can-than"><strong>2. Quản lý State file cẩn thận</strong></h3>


<p class="wp-block-paragraph">Terraform lưu trạng thái trong file terraform.tfstate. File này QUAN TRỌNG:</p>



<ul class="wp-block-list">
<li>Backup thường xuyên</li>



<li>Không commit vào Git (chứa thông tin nhạy cảm)</li>



<li>Nên dùng remote backend (S3) cho team</li>
</ul>


<h3 class="wp-block-heading" id="3-su-dung-workspace-cho-moi-truong-khac-nhau"><strong>3. Sử dụng workspace cho môi trường khác nhau</strong></h3>


<pre class="wp-block-code"><code>terraform workspace new dev

terraform workspace new production</code></pre>


<h2 class="wp-block-heading" id="tham-khao"><strong>Tham khảo</strong></h2>


<ul class="wp-block-list">
<li><strong>Documentation chính thức</strong>:<a href="https://terraform.io/docs"> terraform.io/docs</a></li>



<li><strong>AWS Provider docs</strong>:<a href="https://registry.terraform.io/providers/hashicorp/aws"> registry.terraform.io/providers/hashicorp/aws</a></li>
</ul>


<h2 class="wp-block-heading" id="ket-luan"><strong>Kết luận</strong></h2>


<p class="wp-block-paragraph">Terraform mang đến khả năng tạo cơ sở hạ tầng bằng code với nhiều ưu điểm như tiết kiệm thời gian, hỗ trợ nhiều cloud provider.</p>



<p class="wp-block-paragraph">Hy vọng bài viết có ích và cảm ơn độc giả!</p>
<p>The post <a href="https://sunnycloudvn.com/huong-dan-bat-dau-su-dung-terraform-tao-co-so-ha-tang-tren-aws/">Hướng dẫn bắt đầu sử dụng Terraform tạo cơ sở hạ tầng trên AWS</a> appeared first on <a href="https://sunnycloudvn.com">Sunny Cloud | AWS Billing và giải pháp AWS toàn diện</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Claude Opus 4.1 Đã Có Mặt Trên Amazon Bedrock</title>
		<link>https://sunnycloudvn.com/claude-opus-4-1-da-co-mat-tren-amazon-bedrock/</link>
		
		<dc:creator><![CDATA[Sunny Cloud]]></dc:creator>
		<pubDate>Thu, 07 Aug 2025 04:07:00 +0000</pubDate>
				<category><![CDATA[Tin Tức/ Tài Liệu]]></category>
		<category><![CDATA[Amazon Bedrock]]></category>
		<category><![CDATA[AWS services]]></category>
		<category><![CDATA[Claude Opus]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Cloud Services]]></category>
		<category><![CDATA[Dịch vụ đám mây]]></category>
		<category><![CDATA[Khám phá AWS]]></category>
		<category><![CDATA[Tin tức AWS]]></category>
		<guid isPermaLink="false">https://sunnycloudvn.com/?p=3324</guid>

					<description><![CDATA[<p>Anthropic vừa công bố Claude Opus 4.1, mô hình AI tiên tiến nhất của hãng, đã chính thức có mặt trên nền tảng Amazon Bedrock.</p>
<p>The post <a href="https://sunnycloudvn.com/claude-opus-4-1-da-co-mat-tren-amazon-bedrock/">Claude Opus 4.1 Đã Có Mặt Trên Amazon Bedrock</a> appeared first on <a href="https://sunnycloudvn.com">Sunny Cloud | AWS Billing và giải pháp AWS toàn diện</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2 class="simpletoc-title">Mục lục bài viết</h2>
<ul class="simpletoc-list">
<li><a href="#amazon-bedrock-la-gi">Amazon Bedrock Là Gì?</a>

</li>
<li><a href="#claude-4-mo-hinh-hybrid-reasoning">Claude 4: Mô Hình Hybrid Reasoning</a>


<ul><li>
<a href="#cong-nghe-hybrid-reasoning">Công Nghệ Hybrid Reasoning</a>

</li>
</ul>
<li><a href="#noi-ve-claude-opus-41">Nói Về Claude Opus 4.1</a>


<ul><li>
<a href="#kha-nang-coding-tien-tien">Khả Năng Coding Tiên Tiến</a>

</li>
<li><a href="#frontend-development">Frontend Development</a>

</li>
<li><a href="#longhorizon-task-handling">Long-Horizon Task Handling</a>

</li>
</ul>
<li><a href="#kha-dung-tren-amazon-bedrock">Khả Dụng Trên Amazon Bedrock</a>


<ul><li>
<a href="#vung-kha-dung">Vùng Khả Dụng</a>

</li>
<li><a href="#cach-bat-dau">Cách Bắt Đầu</a>

</li>
</ul>
<li><a href="#loi-ich-khi-su-dung-claude-tren-bedrock">Lợi Ích Khi Sử Dụng Claude Trên Bedrock</a>


<ul><li>
<a href="#1-tich-hop-de">1. Tích Hợp Dễ</a>

</li>
<li><a href="#2-scalability">2. Scalability</a>

</li>
<li><a href="#3-enterpriseready">3. Enterprise-Ready</a>

</li>
<li><a href="#4-multimodel-strategy">4. Multi-Model Strategy</a>

</li>
</ul>
<li><a href="#use-cases-thuc-te">Use Cases Thực Tế</a>


<ul><li>
<a href="#trong-phat-trien-phan-mem">Trong Phát Triển Phần Mềm</a>

</li>
<li><a href="#trong-research-amp-development">Trong Research &amp; Development</a>

</li>
<li><a href="#trong-customer-service">Trong Customer Service</a>

</li>
</ul>
<li><a href="#ket-luannbsp">Kết Luận:&nbsp;</a>
</li></ul>


<p class="wp-block-paragraph">Anthropic vừa công bố Claude Opus 4.1, mô hình AI tiên tiến nhất của hãng, đã chính thức có mặt trên nền tảng Amazon Bedrock. Tham khảo ở đây</p>



<p class="wp-block-paragraph"><a href="https://aws.amazon.com/about-aws/whats-new/2025/08/anthropic-claude-opus-4-1-amazon-bedrock">https://aws.amazon.com/about-aws/whats-new/2025/08/anthropic-claude-opus-4-1-amazon-bedrock</a></p>


<h2 class="wp-block-heading" id="amazon-bedrock-la-gi"><strong>Amazon Bedrock Là Gì?</strong></h2>


<p class="wp-block-paragraph">Nói về Amazon Bedrock, đây là dịch vụ được quản lý toàn diện của AWS, cho phép xây dựng và mở rộng quy mô các ứng dụng AI tạo sinh một cách dễ dàng. Bedrock cung cấp quyền truy cập vào nhiều mô hình foundation từ các nhà cung cấp AI hàng đầu, và giờ đây bao gồm cả Claude Opus 4.1.</p>


<h2 class="wp-block-heading" id="claude-4-mo-hinh-hybrid-reasoning"><strong>Claude 4: Mô Hình Hybrid Reasoning</strong></h2>

<h3 class="wp-block-heading" id="cong-nghe-hybrid-reasoning"><strong>Công Nghệ Hybrid Reasoning</strong></h3>


<p class="wp-block-paragraph">Dòng Claude 4, bao gồm Opus 4.1 và Sonnet 4, là những mô hình hybrid reasoning tiên phong với hai chế độ hoạt động:</p>



<ul class="wp-block-list">
<li><strong>Phản hồi tức thời</strong>: Cho những tác vụ cần tốc độ</li>



<li><strong>Tư duy mở rộng</strong>: Cho những vấn đề cần suy luận sâu sắc</li>
</ul>



<p class="wp-block-paragraph">Những mô hình foundation này được phát triển đặc biệt để xây dựng các AI agents tiên tiến có khả năng:</p>



<ul class="wp-block-list">
<li>Phân tích hàng nghìn nguồn dữ liệu</li>



<li>Thực thi các tác vụ kéo dài</li>



<li>Viết nội dung chất lượng cao</li>



<li>Thực hiện các hành động phức tạp</li>
</ul>


<h2 class="wp-block-heading" id="noi-ve-claude-opus-41"><strong>Nói Về Claude Opus 4.1</strong></h2>


<p class="wp-block-paragraph">Claude Opus 4.1 được giới thiệu là mô hình mạnh mẽ nhất của Anthropic, được thiết kế như một &#8220;drop-in replacement&#8221; (thay thế trực tiếp) cho Opus 4, mang đến hiệu suất và độ chính xác vượt trội cho các ứng dụng coding và agentic trong thực tế.</p>


<h3 class="wp-block-heading" id="kha-nang-coding-tien-tien"><strong>Khả Năng Coding Tiên Tiến</strong></h3>


<p class="wp-block-paragraph">Opus 4.1 nổi bật với khả năng:</p>



<ul class="wp-block-list">
<li><strong>Lập kế hoạch độc lập</strong>: Tự động phân tích và lên kế hoạch cho các dự án phát triển phức tạp</li>



<li><strong>Thực thi end-to-end</strong>: Hoàn thành toàn bộ quy trình phát triển từ đầu đến cuối</li>



<li><strong>Thích ứng phong cách</strong>: Học và điều chỉnh theo phong cách coding của bạn</li>



<li><strong>Duy trì chất lượng cao</strong>: Đảm bảo code sạch, hiệu quả và dễ bảo trì</li>
</ul>


<h3 class="wp-block-heading" id="frontend-development"><strong>Frontend Development</strong></h3>


<p class="wp-block-paragraph">Một trong những cải tiến đáng chú ý nhất là khả năng:</p>



<ul class="wp-block-list">
<li>Tạo code frontend với chất lượng visual output vượt trội</li>



<li>Xử lý logic phức tạp một cách hiệu quả</li>



<li>Tối ưu hóa trải nghiệm người dùng</li>
</ul>



<p class="wp-block-paragraph">Ví dụ:</p>



<p class="wp-block-paragraph">Hình này là ảnh INPUT đầu vào:&nbsp;</p>



<figure class="wp-block-image"><img decoding="async" src="https://sunnycloudvn.com/wp-content/uploads/2025/08/1_claude-opus-4-1-da-co-mat-tren-amazon-bedrock.png" alt=""/></figure>



<p class="wp-block-paragraph">Claude Opus 4.1 cho kết quả OUTPUT đầu ra:</p>



<figure class="wp-block-image"><img decoding="async" src="https://sunnycloudvn.com/wp-content/uploads/2025/08/2_claude-opus-4-1-da-co-mat-tren-amazon-bedrock.png" alt=""/></figure>



<p class="wp-block-paragraph">Điều đó có nghĩa, nói về khả năng Frontend Development của Opus 4.1 thì nó đang dẫn đầu</p>


<h3 class="wp-block-heading" id="longhorizon-task-handling"><strong>Long-Horizon Task Handling</strong></h3>


<p class="wp-block-paragraph">Với context window lên đến 200K token, Opus 4.1 có thể:</p>



<ul class="wp-block-list">
<li>Xử lý các tác vụ kéo dài trong thời gian dài</li>



<li>Duy trì context và logic xuyên suốt chuỗi hành động phức tạp</li>



<li>Giải quyết vấn đề đa tầng với độ chính xác cao</li>
</ul>


<h2 class="wp-block-heading" id="kha-dung-tren-amazon-bedrock"><strong>Khả Dụng Trên Amazon Bedrock</strong></h2>

<h3 class="wp-block-heading" id="vung-kha-dung"><strong>Vùng Khả Dụng</strong></h3>


<p class="wp-block-paragraph">Cho tới thời điểm hiện tại Claude Opus 4.1 đã sẵn sàng ở:</p>



<ul class="wp-block-list">
<li>US West (Oregon)</li>



<li>US East (N. Virginia)</li>



<li>US East (Ohio)</li>
</ul>


<h3 class="wp-block-heading" id="cach-bat-dau"><strong>Cách Bắt Đầu</strong></h3>


<p class="wp-block-paragraph">Để sử dụng Claude Opus 4.1 trên Amazon Bedrock:</p>



<ol class="wp-block-list">
<li>Truy cập Amazon Bedrock console</li>



<li>Vào dịch vụ Amazon Bedrock → Configure and learn → Model access</li>
</ol>



<figure class="wp-block-image"><img decoding="async" src="https://sunnycloudvn.com/wp-content/uploads/2025/08/3_claude-opus-4-1-da-co-mat-tren-amazon-bedrock.png" alt=""/></figure>



<p class="wp-block-paragraph">Sau đó cấp quyền sử dụng bằng “Enable specific models” theo hướng dẫn sau:</p>



<figure class="wp-block-image"><img decoding="async" src="https://sunnycloudvn.com/wp-content/uploads/2025/08/4_claude-opus-4-1-da-co-mat-tren-amazon-bedrock.png" alt=""/></figure>



<figure class="wp-block-image"><img decoding="async" src="https://sunnycloudvn.com/wp-content/uploads/2025/08/5_claude-opus-4-1-da-co-mat-tren-amazon-bedrock.png" alt=""/></figure>



<figure class="wp-block-image"><img decoding="async" src="https://sunnycloudvn.com/wp-content/uploads/2025/08/6_claude-opus-4-1-da-co-mat-tren-amazon-bedrock.png" alt=""/></figure>


<h2 class="wp-block-heading" id="loi-ich-khi-su-dung-claude-tren-bedrock"><strong>Lợi Ích Khi Sử Dụng Claude Trên Bedrock</strong></h2>

<h3 class="wp-block-heading" id="1-tich-hop-de"><strong>1. Tích Hợp Dễ</strong></h3>


<ul class="wp-block-list">
<li>Tích hợp dễ dàng với hệ sinh thái AWS</li>



<li>Sử dụng các dịch vụ AWS khác như S3, Lambda, DynamoDB</li>



<li>Bảo mật và compliance theo tiêu chuẩn AWS</li>
</ul>


<h3 class="wp-block-heading" id="2-scalability"><strong>2. Scalability</strong></h3>


<ul class="wp-block-list">
<li>Mở rộng quy mô theo nhu cầu</li>



<li>Không cần lo lắng về infrastructure</li>



<li>Pay-as-you-go pricing model</li>
</ul>


<h3 class="wp-block-heading" id="3-enterpriseready"><strong>3. Enterprise-Ready</strong></h3>


<ul class="wp-block-list">
<li>Bảo mật cấp doanh nghiệp</li>



<li>Compliance với các tiêu chuẩn quốc tế</li>



<li>Support 24/7 từ AWS</li>
</ul>


<h3 class="wp-block-heading" id="4-multimodel-strategy"><strong>4. Multi-Model Strategy</strong></h3>


<ul class="wp-block-list">
<li>Truy cập nhiều mô hình AI từ một platform</li>



<li>So sánh và chọn mô hình phù hợp</li>



<li>Flexibility trong deployment</li>
</ul>


<h2 class="wp-block-heading" id="use-cases-thuc-te"><strong>Use Cases Thực Tế</strong></h2>

<h3 class="wp-block-heading" id="trong-phat-trien-phan-mem"><strong>Trong Phát Triển Phần Mềm</strong></h3>


<ul class="wp-block-list">
<li>Ví dụ: Một công ty fintech sử dụng Claude Opus 4.1 để:</li>



<li>&#8211; Tự động review code và suggest improvements</li>



<li>&#8211; Generate test cases và documentation</li>
</ul>


<h3 class="wp-block-heading" id="trong-research-amp-development"><strong>Trong Research &amp; Development</strong></h3>


<ul class="wp-block-list">
<li>Ví dụ: Phòng R&amp;D sử dụng để:</li>



<li>&#8211; Tổng hợp research findings</li>



<li>&#8211; Viết technical reports</li>
</ul>


<h3 class="wp-block-heading" id="trong-customer-service"><strong>Trong Customer Service</strong></h3>


<ul class="wp-block-list">
<li>Ví dụ: Xây dựng AI agents để:</li>



<li>&#8211; Xử lý queries phức tạp</li>



<li>&#8211; Cá nhân hóa responses</li>
</ul>


<h2 class="wp-block-heading" id="ket-luannbsp"><strong>Kết Luận: </strong></h2>


<p class="wp-block-paragraph">Claude Opus 4.1 trên Amazon Bedrock không chỉ là một công cụ &#8211; nó thực sự là 1 trợ lý với khả năng ứng dụng rộng rãi tùy vào tình hình thực tế.</p>



<p class="wp-block-paragraph">Hy vọng bài viết hữu ích và cảm ơn độc giả đọc đến cuối!</p>
<p>The post <a href="https://sunnycloudvn.com/claude-opus-4-1-da-co-mat-tren-amazon-bedrock/">Claude Opus 4.1 Đã Có Mặt Trên Amazon Bedrock</a> appeared first on <a href="https://sunnycloudvn.com">Sunny Cloud | AWS Billing và giải pháp AWS toàn diện</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Hiện đại hóa AWS Architecture Diagrams với Amazon Q CLI và draw.io</title>
		<link>https://sunnycloudvn.com/hien-dai-hoa-aws-architecture-diagrams-voi-amazon-q-cli-va-draw-io/</link>
		
		<dc:creator><![CDATA[Sunny Cloud]]></dc:creator>
		<pubDate>Fri, 18 Jul 2025 02:40:00 +0000</pubDate>
				<category><![CDATA[Tin Tức/ Tài Liệu]]></category>
		<category><![CDATA[Amazon Q CLI]]></category>
		<category><![CDATA[AWS Architecture Diagrams]]></category>
		<category><![CDATA[AWS services]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Cloud Services]]></category>
		<category><![CDATA[Dịch vụ đám mây]]></category>
		<category><![CDATA[draw.io]]></category>
		<category><![CDATA[Khám phá AWS]]></category>
		<category><![CDATA[Tin tức AWS]]></category>
		<guid isPermaLink="false">https://sunnycloudvn.com/?p=3314</guid>

					<description><![CDATA[<p>Bạn có bao nhiêu architecture diagram đang &#8220;nằm im&#8221; trong file PNG, JPEG mà không thể chỉnh sửa? Bài viết này hướng dẫn cách dùng Amazon Q CLI, MCP Server và draw.io để biến những diagram cũ thành file có thể edit trong vài phút. Tài liệu tham khảo: Vấn đề thực tế Tôi được [&#8230;]</p>
<p>The post <a href="https://sunnycloudvn.com/hien-dai-hoa-aws-architecture-diagrams-voi-amazon-q-cli-va-draw-io/">Hiện đại hóa AWS Architecture Diagrams với Amazon Q CLI và draw.io</a> appeared first on <a href="https://sunnycloudvn.com">Sunny Cloud | AWS Billing và giải pháp AWS toàn diện</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2 class="simpletoc-title">Mục lục bài viết</h2>
<ul class="simpletoc-list">
<li><a href="#van-de-thuc-te">Vấn đề thực tế</a>

</li>
<li><a href="#thach-thuc-pho-bien">Thách thức phổ biến</a>

</li>
<li><a href="#giai-phap-dung-aipowered-diagram">Giải pháp: Dùng AI-Powered Diagram</a>

</li>
<li><a href="#quy-trinh-5-buoc">Quy trình 5 bước</a>


<ul><li>
<a href="#buoc-1-chuan-bi">Bước 1: Chuẩn bị</a>

</li>
<li><a href="#buoc-2-yeu-cau-q-doc-diagram">Bước 2: Yêu cầu Q đọc diagram</a>

</li>
<li><a href="#buoc-3-tao-file-drawio">Bước 3: Tạo file DrawIO</a>

</li>
<li><a href="#buoc-4-export-diagram-ra-ngoai-window-bang-lenh">Bước 4: Export diagram ra ngoài window bằng lệnh</a>

</li>
<li><a href="#buoc-5-edit-trong-drawio">Bước 5: Edit trong draw.io</a>

</li>
</ul>
<li><a href="#best-practices">Best Practices</a>


<ul><li>
<a href="#1-prompt-ro-rang">1. Prompt rõ ràng</a>

</li>
<li><a href="#2-to-chuc-file">2. Tổ chức file</a>

</li>
<li><a href="#3-yeu-cau-dieu-chinh-layout">3. Yêu cầu điều chỉnh layout</a>

</li>
<li><a href="#4-custom-sau-trong-drawio">4. Custom sau trong draw.io</a>

</li>
</ul>
<li><a href="#ket-luan">Kết luận</a>
</li></ul>


<p class="wp-block-paragraph">Bạn có bao nhiêu architecture diagram đang &#8220;nằm im&#8221; trong file PNG, JPEG mà không thể chỉnh sửa? Bài viết này hướng dẫn cách dùng Amazon Q CLI, MCP Server và draw.io để biến những diagram cũ thành file có thể edit trong vài phút.</p>



<p class="wp-block-paragraph">Tài liệu tham khảo:</p>



<ul class="wp-block-list">
<li><a href="https://docs.aws.amazon.com/q/">Amazon Q CLI Setup Guide</a></li>



<li><a href="https://www.diagrams.net/doc/">draw.io Documentation</a></li>



<li><a href="https://aws.amazon.com/architecture/icons/">AWS Architecture Icons</a></li>
</ul>


<h2 class="wp-block-heading" id="van-de-thuc-te"><strong>Vấn đề thực tế</strong></h2>


<p class="wp-block-paragraph">Tôi được giao một AWS architecture diagram cũ (file PNG) với yêu cầu:</p>



<ul class="wp-block-list">
<li>Thêm multiple Availability Zones</li>



<li>Hiển thị service replication giữa các AZs</li>



<li>Cập nhật theo multi-AZ deployment mới</li>
</ul>



<p class="wp-block-paragraph"><strong>Vấn đề</strong>: Không có file .drawio, .vsdx hay bất kỳ định dạng nào có thể edit. Chỉ có một hình ảnh tĩnh.</p>


<h2 class="wp-block-heading" id="thach-thuc-pho-bien"><strong>Thách thức phổ biến</strong></h2>


<ol class="wp-block-list">
<li><strong>Không có file gốc</strong>: Chỉ có PNG/JPEG từ người trước để lại</li>



<li><strong>Diagram lỗi thời</strong>: Không phản ánh infrastructure hiện tại</li>



<li><strong>Thay đổi thường xuyên</strong>: Infra update liên tục nhưng diagram không theo kịp</li>



<li><strong>Mất context</strong>: Nhiều team handoff, không ai nhớ chi tiết</li>
</ol>


<h2 class="wp-block-heading" id="giai-phap-dung-aipowered-diagram"><strong>Giải pháp: Dùng AI-Powered Diagram</strong></h2>


<p class="wp-block-paragraph">Sử dụng :</p>



<ul class="wp-block-list">
<li><strong>Amazon Q CLI</strong>: AI assistant đọc và phân tích diagram</li>



<li><strong>AWS Diagram MCP Server</strong>: Tự động generate diagram mới</li>



<li><strong>draw.io</strong>: Export thành file có thể edit</li>
</ul>


<h2 class="wp-block-heading" id="quy-trinh-5-buoc"><strong>Quy trình 5 bước</strong></h2>

<h3 class="wp-block-heading" id="buoc-1-chuan-bi"><strong>Bước 1: Chuẩn bị</strong></h3>


<ul class="wp-block-list">
<li>File diagram cũ (vd: aws_architecture.png)</li>



<li>AWS Diagram MCP Server đã cài và cấu hình xong, nếu chưa có tham khảo <a href="https://github.com/awslabs/mcp/tree/main/src/aws-diagram-mcp-server">https://github.com/awslabs/mcp/tree/main/src/aws-diagram-mcp-server</a></li>



<li>Amazon Q CLI đã cài đặt và config</li>



<li>Nếu chưa cài tham khảo link này để cài đặt <a href="https://dev.to/devsubha/how-to-install-amazon-q-cli-on-windows-step-by-step-guide-for-beginners-2g29">https://dev.to/devsubha/how-to-install-amazon-q-cli-on-windows-step-by-step-guide-for-beginners-2g29</a></li>
</ul>



<pre class="wp-block-code"><code>q chat</code></pre>



<p class="wp-block-paragraph">Nếu thành công sẽ hiển thị như sau:</p>



<figure class="wp-block-image"><img decoding="async" src="https://sunnycloudvn.com/wp-content/uploads/2025/07/hien-dai-hoa-aws-architecture-diagrams-voi-amazon-q-cli-va-draw-io.png" alt=""/></figure>


<h3 class="wp-block-heading" id="buoc-2-yeu-cau-q-doc-diagram"><strong>Bước 2: Yêu cầu Q đọc diagram</strong></h3>


<pre class="wp-block-code"><code>can you locate this file /Users/yourname/Downloads/aws_architecture.png</code></pre>



<p class="wp-block-paragraph">Amazon Q sẽ:</p>



<ul class="wp-block-list">
<li>Parse file image</li>



<li>Nhận diện AWS components (ECS, ALB, RDS, S3&#8230;)</li>



<li>Mô tả diagram bằng text</li>
</ul>



<figure class="wp-block-image"><img decoding="async" src="https://sunnycloudvn.com/wp-content/uploads/2025/07/1_hien-dai-hoa-aws-architecture-diagrams-voi-amazon-q-cli-va-draw-io.png" alt=""/></figure>


<h3 class="wp-block-heading" id="buoc-3-tao-file-drawio"><strong>Bước 3: Tạo file DrawIO</strong></h3>


<pre class="wp-block-code"><code>create a draw.io file for /your foler/filename.png:</code></pre>



<figure class="wp-block-image"><img decoding="async" src="https://sunnycloudvn.com/wp-content/uploads/2025/07/2_hien-dai-hoa-aws-architecture-diagrams-voi-amazon-q-cli-va-draw-io.png" alt=""/></figure>


<h3 class="wp-block-heading" id="buoc-4-export-diagram-ra-ngoai-window-bang-lenh">B<strong>ước 4: Export diagram ra ngoài window bằng lệnh</strong></h3>


<pre class="wp-block-code"><code>cp /your foler/filename.drawio /mnt/c/Users/yourname/Desktop</code></pre>



<figure class="wp-block-image"><img decoding="async" src="https://sunnycloudvn.com/wp-content/uploads/2025/07/3_hien-dai-hoa-aws-architecture-diagrams-voi-amazon-q-cli-va-draw-io.png" alt=""/></figure>


<h3 class="wp-block-heading" id="buoc-5-edit-trong-drawio"><strong>Bước 5: Edit trong draw.io</strong></h3>


<ol class="wp-block-list">
<li>Mở draw.io</li>



<li>File → Open From Device → Chọn filename.drawio</li>



<li>Tinh chỉnh icons, spacing, thêm annotations</li>
</ol>



<figure class="wp-block-image"><img decoding="async" src="https://sunnycloudvn.com/wp-content/uploads/2025/07/4_hien-dai-hoa-aws-architecture-diagrams-voi-amazon-q-cli-va-draw-io.png" alt=""/></figure>


<h2 class="wp-block-heading" id="best-practices"><strong>Best Practices</strong></h2>

<h3 class="wp-block-heading" id="1-prompt-ro-rang"><strong>1. Prompt rõ ràng</strong></h3>


<pre class="wp-block-code"><code>"Update the diagram to show internal load balancer in private subnets, 

and replication between RDS in AZ1 and AZ2"</code></pre>


<h3 class="wp-block-heading" id="2-to-chuc-file"><strong>2. Tổ chức file</strong></h3>


<p class="wp-block-paragraph">Dùng folder riêng như <code>~/generated-diagrams</code> để quản lý outputs</p>


<h3 class="wp-block-heading" id="3-yeu-cau-dieu-chinh-layout"><strong>3. Yêu cầu điều chỉnh layout</strong></h3>


<pre class="wp-block-code"><code>"Rebuild the layout with improved spacing between AZ components 

and more visual clarity for VPC boundaries"</code></pre>


<h3 class="wp-block-heading" id="4-custom-sau-trong-drawio"><strong>4. Custom sau trong draw.io</strong></h3>


<p class="wp-block-paragraph">Drag-drop icons, thêm branding, fine-tune vị trí</p>


<h2 class="wp-block-heading" id="ket-luan"><strong>Kết luận</strong></h2>


<p class="wp-block-paragraph">Amazon Q CLI + MCP Server + draw.io biến bảo trì aws architecture diagrams thành công việc đơn giản hơn rất nhiều.</p>



<p class="wp-block-paragraph">Thay vì vẽ lại từ đầu, bạn có thể:</p>



<ul class="wp-block-list">
<li>Đọc diagram cũ bằng AI</li>



<li>Update theo yêu cầu mới</li>



<li>Export thành file editable</li>



<li>Collaborate với team dễ dàng</li>
</ul>



<p class="wp-block-paragraph">Cảm ơn độc giả đã đọc đến cuối bài!</p>
<p>The post <a href="https://sunnycloudvn.com/hien-dai-hoa-aws-architecture-diagrams-voi-amazon-q-cli-va-draw-io/">Hiện đại hóa AWS Architecture Diagrams với Amazon Q CLI và draw.io</a> appeared first on <a href="https://sunnycloudvn.com">Sunny Cloud | AWS Billing và giải pháp AWS toàn diện</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Amazon Bedrock: Citations API và PDF Support cho Claude Models</title>
		<link>https://sunnycloudvn.com/amazon-bedrock-citations-api-va-pdf-support-cho-claude-models/</link>
		
		<dc:creator><![CDATA[Sunny Cloud]]></dc:creator>
		<pubDate>Wed, 02 Jul 2025 02:56:00 +0000</pubDate>
				<category><![CDATA[Tin Tức/ Tài Liệu]]></category>
		<category><![CDATA[Amazon Bedrock]]></category>
		<category><![CDATA[AWS services]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Cloud Services]]></category>
		<category><![CDATA[Dịch vụ đám mây]]></category>
		<category><![CDATA[Khám phá AWS]]></category>
		<category><![CDATA[Tin tức AWS]]></category>
		<guid isPermaLink="false">https://sunnycloudvn.com/?p=3310</guid>

					<description><![CDATA[<p>Amazon Bedrock vừa ra mắt hai tính năng mới cho các Claude Models: Citations API và PDF Support. Hai tính năng này giúp xây dựng ứng dụng AI đáng tin cậy hơn và xử lý tài liệu tốt hơn.</p>
<p>The post <a href="https://sunnycloudvn.com/amazon-bedrock-citations-api-va-pdf-support-cho-claude-models/">Amazon Bedrock: Citations API và PDF Support cho Claude Models</a> appeared first on <a href="https://sunnycloudvn.com">Sunny Cloud | AWS Billing và giải pháp AWS toàn diện</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2 class="simpletoc-title">Mục lục bài viết</h2>
<ul class="simpletoc-list">
<li><a href="#gioi-thieu">Giới thiệu</a>

</li>
<li><a href="#citations-api-la-gi">Citations API là gì?</a>

</li>
<li><a href="#pdf-support-la-gi">PDF Support là gì?</a>

</li>
<li><a href="#cac-models-ho-tro">Các models hỗ trợ:</a>

</li>
<li><a href="#cach-su-dung">Cách sử dụng</a>


<ul><li>
<a href="#cau-truc-documentblock">Cấu trúc DocumentBlock</a>

</li>
<li><a href="#vi-du-1-doc-pdf-va-yeu-cau-trich-dan">Ví dụ 1: Đọc PDF và yêu cầu trích dẫn</a>

</li>
</ul>
<li><a href="#ket-luan">Kết luận</a>
</li></ul>

<h2 class="wp-block-heading" id="gioi-thieu"><strong>Giới thiệu</strong></h2>


<p class="wp-block-paragraph"><a href="https://sunnycloudvn.com/tag/amazon-bedrock/">Amazon Bedrock</a> vừa ra mắt hai tính năng mới cho các Claude Models: Citations API và PDF Support. Hai tính năng này giúp xây dựng ứng dụng AI đáng tin cậy hơn và xử lý tài liệu tốt hơn.</p>



<p class="wp-block-paragraph">Nguồn: <a href="https://aws.amazon.com/about-aws/whats-new/2025/06/citations-api-pdf-claude-models-amazon-bedrock">https://aws.amazon.com/about-aws/whats-new/2025/06/citations-api-pdf-claude-models-amazon-bedrock</a></p>


<h2 class="wp-block-heading" id="citations-api-la-gi"><strong>Citations API là gì?</strong></h2>


<p class="wp-block-paragraph">Citations API cho phép Claude models chỉ ra chính xác đoạn văn bản nào trong tài liệu được dùng để tạo câu trả lời.&nbsp;</p>



<p class="wp-block-paragraph"><strong>Lợi ích chính</strong></p>



<ul class="wp-block-list">
<li>Người dùng có thể kiểm tra nguồn thông tin</li>



<li>Biết được AI dựa vào đâu để đưa ra câu trả lời</li>



<li>Tăng độ tin cậy cho ứng dụng</li>
</ul>


<h2 class="wp-block-heading" id="pdf-support-la-gi"><strong>PDF Support là gì?</strong></h2>


<p class="wp-block-paragraph">PDF Support cho phép Claude models:</p>



<ul class="wp-block-list">
<li>Đọc và hiểu nội dung file PDF</li>



<li>Phân tích biểu đồ và hình ảnh trong PDF</li>



<li>Xử lý các tài liệu có cấu trúc phức tạp</li>
</ul>


<h2 class="wp-block-heading" id="cac-models-ho-tro"><strong>Các models hỗ trợ:</strong></h2>


<p class="wp-block-paragraph">Các tính năng này hoạt động với:</p>



<ul class="wp-block-list">
<li>Claude Opus 4</li>



<li>Claude Sonnet 4</li>



<li>Claude Sonnet 3.7</li>



<li>Claude Sonnet 3.5v2</li>
</ul>


<h2 class="wp-block-heading" id="cach-su-dung"><strong>Cách sử dụng</strong></h2>

<h3 class="wp-block-heading" id="cau-truc-documentblock"><strong>Cấu trúc DocumentBlock</strong></h3>


<p class="wp-block-paragraph">Khi gửi tài liệu cho Claude, bạn cần sử dụng cấu trúc sau:</p>



<pre class="wp-block-code"><code>document_block = {

    "name": "Tên tài liệu",

    "source": {

        # Nội dung tài liệu

    },

    "citations": {

        # Cấu hình trích dẫn

    },

    "context": "Thông tin bổ sung về tài liệu",

    "format": "pdf"  # hoặc csv, doc, docx, xls, xlsx, html, txt, md

}</code></pre>


<h3 class="wp-block-heading" id="vi-du-1-doc-pdf-va-yeu-cau-trich-dan"><strong>Ví dụ 1: Đọc PDF và yêu cầu trích dẫn</strong></h3>


<pre class="wp-block-code"><code>import boto3

import json

import base64

# Tạo client

bedrock = boto3.client('bedrock-runtime', region_name='us-east-1')

# Đọc file PDF

with open('tai_lieu.pdf', 'rb') as f:

    pdf_content = f.read()

# Tạo request

request_body = {

    "anthropic_version": "bedrock-2023-05-31",

    "messages": &#91;

        {

            "role": "user",

            "content": &#91;

                {

                    "type": "document",

                    "document": {

                        "name": "Tài liệu nghiên cứu",

                        "source": {

                            "bytes": base64.b64encode(pdf_content).decode('utf-8')

                        },

                        "format": "pdf",

                        "citations": {

                            "enabled": True

                        }

                    }

                },

                {

                    "type": "text",

                    "text": "Tóm tắt nội dung chính và cho biết thông tin lấy từ đâu."

                }

            ]

        }

    ],

    "max_tokens": 2000,

    "temperature": 0.3

}

# Gọi API

response = bedrock.invoke_model(

    modelId="anthropic.claude-3-sonnet-20240229-v1:0",

    body=json.dumps(request_body)

)

# Xem kết quả

result = json.loads(response&#91;'body'].read())

print(result&#91;'content']&#91;0]&#91;'text'])</code></pre>


<h2 class="wp-block-heading" id="ket-luan"><strong>Kết luận</strong></h2>


<p class="wp-block-paragraph">Tính năng Citations API và PDF Support giúp Amazon Bedrock trở thành công cụ mạnh mẽ hơn cho việc trích dẫn nguồn chính xác và xử lý PDF giúp xây dựng các ứng dụng AI đáng tin cậy hơn.<br>Cảm ơn độc giả đọc đến cuối bài viết!</p>
<p>The post <a href="https://sunnycloudvn.com/amazon-bedrock-citations-api-va-pdf-support-cho-claude-models/">Amazon Bedrock: Citations API và PDF Support cho Claude Models</a> appeared first on <a href="https://sunnycloudvn.com">Sunny Cloud | AWS Billing và giải pháp AWS toàn diện</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
