inflearn logo

AWS Boot Camp 3: Claude Ops for AWS: Narrow Permissions, Thorough Verification—Practical AWS Operations with AI Agents

"It would be convenient to hand AWS over to an agent, but who’s responsible if something goes wrong?" There’s one principle I’ve learned from 25 years of operating networks, security, cloud environments in the financial sector, and MSPs: grant only the minimum permissions, require approval for changes, and keep a record of every action. AI agents are no different. In this course, you’ll run Claude Code on Amazon Bedrock and connect tools for CloudWatch, CloudTrail, billing, and security checks through MCP. You’ll delegate incident diagnosis, cost analysis, security reviews, and weekly reports to the agent—but you won’t simply hand everything over. First, you’ll put read-only roles, condition keys that selectively block calls made through MCP, permission rules, and Hooks in place. Then, in a real AWS account, you’ll check the CloudTrail records to verify that the calls you meant to block were actually blocked. Changes proposed by the agent are submitted as Terraform code and a PR, and a human must approve them before they’re applied. I’ll also show you the failures I encountered during hands-on rehearsals for this course: an agent that fixed the wrong thing after its permissions were blocked, a diagnosis that called something "confirmed" without evidence, and an audit log that marked a denied call as "allowed." The course covers how I found the causes and incorporated what I learned into the operations kit. This course teaches you not how to trust an agent, but how to verify it.

1 learners are taking this course

Level Intermediate

Course period 12 months

AWS
AWS
Model Context Protocol
Model Context Protocol
Terraform
Terraform
AWS
AWS
Model Context Protocol
Model Context Protocol
Terraform
Terraform

What you will gain after the course

  • Ready-to-use operations kit: CLAUDE.md (operating standards), 3 Skills (incident diagnosis, cost reporting, and security checks), Hooks that block dangerous commands, MCP configuration, Terraform practice stack, and GitHub Actions workflow

  • Ability to design and validate agent permissions: create controls using read-only roles and the condition key (aws:ViaAWSMCPService), then distinguish MCP-mediated calls from direct calls in CloudTrail to prove that the controls actually block them.

  • An evidence-based scoring procedure for diagnosing incidents: criteria for verifying an agent’s findings in incidents such as ALB 5xx errors using metric names, time ranges, and CloudTrail events, and for distinguishing verified facts from inferences.

  • A human-approved change workflow: the full process in which security review findings are submitted as Terraform changes and a PR, then applied after review and approval, followed by another security review.

  • Automatically Published Weekly Operations Report: A Headless Agent Report That Runs Without Keys Using GitHub Actions and OIDC

Claude Ops for AWS

Hands-On AWS Operations with AI Agents 🛡️

Would you like to entrust AWS operations to an AI agent, but worry about who will be responsible if something goes wrong? This course runs Claude Code on Amazon Bedrock and connects operational tools through MCP, letting the agent handle incident diagnosis, cost analysis, security checks, and weekly reports. But permissions are kept narrow, changes require human approval, and CloudTrail logs are used to verify that the controls actually blocked unauthorized actions.

I’ve applied to AI agents the same principles I’ve upheld for 25 years working in networking, security, financial-sector cloud, and MSP operations: least privilege, change approval, and audit records. I also don’t hide the failures I encountered while rehearsing the course myself. When permissions were blocked, an agent fixed the wrong thing; a diagnosis stated "confirmed" without evidence; and an audit log recorded a denied call as "allowed." I’ll show you how I found the causes and incorporated the lessons into the operations kit.


What You’ll Learn About These Topics

1️⃣ Build five layers of control and prove they actually block requests

We constrain the agent with a read-only IAM role, a condition key that blocks only calls made through MCP (aws:ViaAWSMCPService), Claude Code permission rules, hooks, and CloudTrail auditing. We verify in a real account that the same request succeeds when sent directly via the CLI but is denied when routed through MCP, then distinguish the two calls in CloudTrail.

#AgentGovernance #LeastPrivilege #ConditionKeys #CloudTrail

2️⃣ Delegate incidents, costs, and security to agents, then evaluate them based on evidence

We deliberately cause an outage in a practice service built with an ALB and EC2. We evaluate whether the agent identifies the cause based on metric names, time ranges, and CloudTrail events. We have it use Cost Explorer to report the causes of cost spikes and potential savings, then standardize the reporting format—distinguishing verified findings from estimates—using CLAUDE.md and a Skill.

#IncidentDiagnosis #FinOps #CLAUDE.md #Skill

3️⃣ Changes are proposed as PRs for human approval, while repetitive tasks are automated

Security review findings are submitted as Terraform code changes in a PR. A person must review and approve them before they’re applied, and they’re checked again afterward. Finally, we’ll use GitHub Actions and OIDC to have a headless agent run without keys and post a weekly operations report.

#Terraform #PR approval #GitHub Actions #OIDC


Notes Before Taking the Course

Hands-on Environment

  • Operating system: Windows, macOS, and Linux are all supported. You’ll run the hands-on commands on the AWS EC2 work server you create in the course, so your PC’s OS doesn’t matter.

  • Tools Used:

    • Your own AWS account with administrator privileges (region: Seoul ap-northeast-2)

    • Request to Use Amazon Bedrock Claude Models

    • GitHub account

    • Claude Code, AWS CLI, and Terraform: Installation scripts are provided for the work server.

  • Lab costs: Charges will be billed to your account.

    • Resources: Approximately $0.10 per hour (estimated based on publicly listed rates)

    • Agent tasks: approximately $0.3–0.9 per run (estimated)

    • Following the cleanup procedure for each section prevents costs from accumulating.

  • PC requirements: Any standard PC with internet access and a web browser will do.

Learning materials

  • Provided materials: Lecture slides, section-by-section exercise guides (COPS-00~09), results log, and operations kit source code (zip)

  • Operations Kit Contents:

    • CLAUDE.md (Operational Standards)

    • Three types of skills (incident diagnosis, cost reporting, security checks)

    • Hook (blocking dangerous commands and auditing logs)

    • MCP setup

    • Terraform hands-on stack

    • GitHub Actions workflow

  • Length: 10 sections, 43 lessons. The total lecture video runtime is about 50 minutes (approximately 36 minutes of instructional lessons and 15 minutes of hands-on guidance). The hands-on exercises, which you perform by following the procedures for each section, take about 5–7 hours (estimated based on rehearsals, including time waiting for approvals and data changes to take effect).

Prerequisites and Notes

  • Prerequisite knowledge required (intermediate level or above)

    • Basic concepts of AWS IAM (roles and policies), EC2, VPC, CloudTrail, Organizations, and SCPs

    • Basic Terraform and Git commands (plan/apply, branch/commit/PR)

    • You can get started right away if you’ve taken parts 1 and 2 of the Cloud Traveler AWS Bootcamp.

  • AWS service changes: AWS and Claude-related services change frequently. If the screens or model names differ from those in the course, let us know through Q&A. We’ll verify the changes and update the lab instructions and course.

  • Questions and answers: Please post them in the course Q&A forum. When asking about an issue with an exercise, include the command you ran and the error message. Please redact sensitive information such as account IDs and keys.

  • AI Usage Notice: AI tools were used during production to draft and review materials and for voice-over narration (TTS). The instructor personally ran and verified all exercises in a real AWS account.

  • Copyright: The copyright for the course and learning materials belongs to Gureumyeohaengja. Unauthorized distribution and reproduction are prohibited, and they may not be used for purposes other than personal study.

Recommended for
these people

Who is this course right for?

  • Cloud and DevOps engineers looking to introduce AI agents into AWS operations (incident response, cost management, and security audits)

  • Security and platform teams that need to design control and audit systems before granting agents permissions.

  • Leaders of MSPs and in-house operations teams looking to reduce repetitive checks and recurring reports.

  • Someone who has tried Claude Code but is looking for a safe way to use it for infrastructure operations rather than coding.

Need to know before starting?

  • AWS basics: IAM (roles and policies), EC2, VPC, CloudTrail, and the concepts of Organizations and SCPs.

  • Basic Terraform and Git commands (plan/apply, branch/commit/PR)

  • Your own AWS and GitHub accounts with administrator privileges. The lab incurs costs: resources are estimated at about $0.10 per hour, and each agent run at about $0.3–0.9.

  • If you've taken Cloud Traveler AWS Bootcamp Parts 1 and 2, you can get started right away.

Hello
This is gureum

Career Verified

The name Gureumyeohaengja reflects a commitment to share “how to cross complex clouds without getting lost.” From exam candidates preparing for certifications to professionals considering a cloud migration, I bring together only the methods that have proven effective in real-world settings.

Drawing on more than 25 years of hands-on experience in IT, I aim to share practical knowledge that goes beyond theory and can be applied directly in the field. I started out as a network and data center engineer, and today I lead cloud-based infrastructure consulting and service development on a global scale. With the know-how of an expert who has successfully delivered numerous large-scale projects, I’m passionate about helping you understand complex IT technologies and apply them immediately in your work.

Cloud Consulting: Supporting and consulting on global services based on AWS, Azure, NAVER Cloud Platform, and Alibaba Cloud.

AWS: Solutions Architect, Network Specialist

NAVER Cloud: NCP Expert (2023/05 & 2023/10 Nclouder)

Network & Security: Aviatrix ACE Engineer, Fortinet Certified Solution Specialist Public Cloud Security, Cisco Certified Specialist - Data Center

Professional: CISSP, PMP

More

Curriculum

All

43 lectures ∙ (50min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

Not enough reviews.
Please write a valuable review that helps everyone!

gureum's other courses

Check out other courses by the instructor!

Similar courses

Explore other courses in the same field!

Limited time deal

$22,000.00

60%

$42.90