{"id":82464,"date":"2026-10-19T14:30:54","date_gmt":"2026-10-19T09:00:54","guid":{"rendered":"https:\/\/www.tothenew.com\/blog\/?p=82464"},"modified":"2026-10-27T23:05:09","modified_gmt":"2026-10-27T17:35:09","slug":"aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\/","title":{"rendered":"AWS DevOps Agent: A Hands-On Guide to Setup, IAM Permissions, and Security"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p>AWS DevOps Agent is Amazon&#8217;s agentic AI service for cloud operations \u2014 it can investigate incidents, analyze security posture, answer questions about your infrastructure, and take limited remediation actions, all from a chat interface inside the AWS console. What makes it interesting from an engineering standpoint isn&#8217;t<br \/>\njust the chat UI \u2014 it&#8217;s how AWS scoped its permissions. This post walks through setting up an Agent Space end to end, breaks down exactly what access the agent is (and isn&#8217;t) granted, and shows a few concrete use cases \u2014 including one you can try yourself with the CLI.<\/p>\n<p>&nbsp;<\/p>\n<h2>1. What Is an Agent Space?<\/h2>\n<p>An Agent Space is the container that defines what a DevOps Agent instance can see and do. Every Agent Space is tied to an IAM role in your account, and that role is what actually gates the agent&#8217;s reach \u2014 the chat interface is just the front end. Before creating one, it helps to think of an Agent Space as answering three questions:<\/p>\n<p style=\"padding-left: 40px;\">\u2022 <strong>Scope<\/strong> \u2014 which AWS account(s) and regions can this agent look at?<br \/>\n\u2022 <strong>Capability<\/strong> \u2014 can it only read\/investigate, or can it also act (create tickets, rotate secrets, etc.)?<br \/>\n\u2022 <strong>Identity<\/strong> \u2014 which IAM role does it assume, and what does that role&#8217;s policy actually allow?<\/p>\n<h2>2. Step-by-Step Setup<\/h2>\n<p><span style=\"color: #ff9900;\"><strong>Step 1 \u2014 Name the Agent Space and choose a response language<\/strong><\/span><br \/>\nFrom the AWS DevOps Agent console, go to Agent Spaces \u2192 Create Agent Space. Give it a name (e.g. poc-agent-space), an optional description, and pick the language the agent should use when it writes findings and investigation output.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-83527\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-45-14.png\" alt=\".\" width=\"929\" height=\"520\" srcset=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-45-14.png 1244w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-45-14-300x168.png 300w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-45-14-1024x573.png 1024w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-45-14-768x430.png 768w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-45-14-624x349.png 624w\" sizes=\"auto, (max-width: 929px) 100vw, 929px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff9900;\"><strong>Step 2 \u2014 Grant primary-account resource access<\/strong><\/span><br \/>\nThis is the important part. You choose how the agent gets an IAM role in this account:<\/p>\n<p>\u2022 <strong>Auto-create a new DevOps Agent role<\/strong> \u2014 AWS attaches its own predefined, least-privilege managed policy (this is the default, and what we used here).<br \/>\n\u2022 <strong>Assign an existing role<\/strong> \u2014 bring a role you&#8217;ve already scoped down yourself; DevOps Agent verifies it before use.<br \/>\n\u2022 <strong>Create a role from a policy template<\/strong> \u2014 generate a starting policy you can edit further in the IAM console before attaching.<br \/>\nIn this walkthrough, AWS auto-created a role named DevOpsAgentRole-AgentSpace-8qqxm4yu for the agent&#8217;s backend\/investigation role.<\/p>\n<p><span style=\"color: #ff9900;\"><strong>Step 3 \u2014 Tag the Agent Space (optional)<\/strong><br \/>\n<\/span>Tags are for organizing and tracking Agent Space instances only \u2014 they don&#8217;t affect permissions. You can attach up to 50 key-value pairs.<\/p>\n<p><strong><span style=\"color: #ff9900;\">Step 4 \u2014 Enable the web app and choose its role<\/span><\/strong><br \/>\nSeparately from the investigation role, DevOps Agent creates a second role that lets a signed-in IAM user in the console interact with the agent through the web chat UI. Same three options apply \u2014 auto-create, assign existing, or template. Here it auto-created DevOpsAgentRole-WebappAdmin-10xvlbbq.<img loading=\"lazy\" decoding=\"async\" class=\" wp-image-82454\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-07-10-30-55.png\" alt=\".\" width=\"887\" height=\"500\" srcset=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-07-10-30-55.png 1199w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-07-10-30-55-300x169.png 300w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-07-10-30-55-1024x577.png 1024w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-07-10-30-55-768x433.png 768w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-07-10-30-55-624x352.png 624w\" sizes=\"auto, (max-width: 887px) 100vw, 887px\" \/><\/p>\n<div id=\"attachment_83528\" style=\"width: 945px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-83528\" class=\" wp-image-83528\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-46-47.png\" alt=\".\" width=\"935\" height=\"523\" srcset=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-46-47.png 1244w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-46-47-300x168.png 300w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-46-47-1024x573.png 1024w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-46-47-768x430.png 768w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-46-47-624x349.png 624w\" sizes=\"auto, (max-width: 935px) 100vw, 935px\" \/><p id=\"caption-attachment-83528\" class=\"wp-caption-text\">.<\/p><\/div>\n<p><span style=\"color: #ff9900;\"><strong>Step 5 \u2014 Review and create<br \/>\n<\/strong><\/span>The Advanced configuration section (collapsed by default) exposes any further networking or data-processing overrides. AWS DevOps Agent notes that it may transmit data to any AWS region globally for processing \u2014 worth flagging to your security\/compliance reviewers before you click Create.<\/p>\n<div id=\"attachment_83529\" style=\"width: 922px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-83529\" class=\" wp-image-83529\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-47-37.png\" alt=\".\" width=\"912\" height=\"512\" srcset=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-47-37.png 1234w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-47-37-300x168.png 300w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-47-37-1024x575.png 1024w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-47-37-768x431.png 768w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-47-37-624x350.png 624w\" sizes=\"auto, (max-width: 912px) 100vw, 912px\" \/><p id=\"caption-attachment-83529\" class=\"wp-caption-text\">.<\/p><\/div>\n<p>&nbsp;<\/p>\n<h2>3. Least-Privilege Access, Verified<\/h2>\n<p>It&#8217;s easy to accept an auto-created role at face value. It&#8217;s more useful to actually open it in IAM and read what it grants \u2014 so here&#8217;s what each of the two roles really contains.<\/p>\n<p><span style=\"color: #ff9900;\"><strong>3.1 \u2014 The investigation role (AIDevOpsAgentAccessPolicy)<br \/>\n<\/strong><\/span><\/p>\n<div id=\"attachment_83530\" style=\"width: 929px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-83530\" class=\" wp-image-83530\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-48-08.png\" alt=\".\" width=\"919\" height=\"516\" srcset=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-48-08.png 1234w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-48-08-300x168.png 300w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-48-08-1024x575.png 1024w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-48-08-768x431.png 768w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-48-08-624x350.png 624w\" sizes=\"auto, (max-width: 919px) 100vw, 919px\" \/><p id=\"caption-attachment-83530\" class=\"wp-caption-text\">.<\/p><\/div>\n<p>This role has three policies attached, and the pattern across all of them is the same: read by default, write only where it&#8217;s unavoidable and tightly boxed in.<\/p>\n<p>\u2022 <strong>AIDevOpsAgentAccessPolicy (AWS managed)<\/strong> \u2014 hundreds of Describe*\/Get*\/List* actions across EC2, IAM, S3, Lambda, CloudWatch, GuardDuty, Security Hub, RDS, EKS, and more. This is what lets the agent &#8220;see&#8221; your environment. Only two write-capable actions exist in the entire policy: cloudtrail:StartQuery and support:CreateCase \u2014 both needed purely to run investigations and open AWS Support cases, not to modify infrastructure.<br \/>\n\u2022 <strong>AIDevOpsAllowSecretsManagerActionsPolicy<\/strong> \u2014 grants secretsmanager:GetSecretValue, but the Resource is scoped to a single secret path: arn:aws:secretsmanager:ap-south- 1:3xxxxxxxxx:secret:aidevops\/&lt;agent-space-id&gt;\/*. It cannot read any other secret in the account.\u2022 AIDevOpsCreateServiceLinkedRolePolicy \u2014 allows iam:CreateServiceLinkedRole, but only for one exact ARN (the Resource Explorer service-linked role). It cannot create arbitrary IAM roles.<\/p>\n<pre>{\r\n\"Sid\": \"AIOPSServiceWriteAccess\",\r\n\"Effect\": \"Allow\",\r\n\"Action\": [\r\n\"cloudtrail:StartQuery\",\r\n\"support:CreateCase\"\r\n],\r\n\"Resource\": \"*\"\r\n}<\/pre>\n<p><span style=\"color: #ff9900;\"><strong>3.2 \u2014 The web app \/ operator role (AIDevOpsOperatorAppAccessPolicy)<\/strong><\/span><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-82467\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-07-11-55-02.png\" alt=\".\" width=\"749\" height=\"428\" srcset=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-07-11-55-02.png 956w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-07-11-55-02-300x171.png 300w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-07-11-55-02-768x439.png 768w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-07-11-55-02-624x356.png 624w\" sizes=\"auto, (max-width: 749px) 100vw, 749px\" \/><\/p>\n<div id=\"attachment_83532\" style=\"width: 938px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-83532\" class=\" wp-image-83532\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-48-51.png\" alt=\".\" width=\"928\" height=\"521\" srcset=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-48-51.png 1234w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-48-51-300x168.png 300w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-48-51-1024x575.png 1024w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-48-51-768x431.png 768w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-48-51-624x350.png 624w\" sizes=\"auto, (max-width: 928px) 100vw, 928px\" \/><p id=\"caption-attachment-83532\" class=\"wp-caption-text\">.<\/p><\/div>\n<p>This role is where the agent is allowed to take action \u2014 creating chats, backlog tasks, triggers, and knowledge items. But every one of those aidevops:* write actions is scoped with a condition, not a blanket allow:<\/p>\n<pre><span style=\"color: #ff9900;\"><span style=\"color: #000000;\">\"Resource\": \"arn:aws:aidevops:*:*:agentspace\/${aws:PrincipalTag\/AgentSpaceId}\",<\/span>\r\n<span style=\"color: #000000;\">\"Condition\": {<\/span>\r\n<span style=\"color: #000000;\">\"StringEquals\": {<\/span>\r\n<span style=\"color: #000000;\">\"aws:ResourceAccount\": \"${aws:PrincipalAccount}\"<\/span>\r\n<span style=\"color: #000000;\">}<\/span>\r\n\r\n<\/span><\/pre>\n<p>The ${aws:PrincipalTag\/AgentSpaceId} variable means this role can only touch the one Agent Space whose ID is stamped on the caller&#8217;s session tag \u2014 not any other Agent Space in the account, even ones created later withthe same policy. The secretsmanager:CreateSecret and iam-adjacent grants here are similarly boxed to the current account via aws:ResourceAccount.<\/p>\n<div id=\"attachment_83533\" style=\"width: 930px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-83533\" class=\" wp-image-83533\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-49-48.png\" alt=\".\" width=\"920\" height=\"140\" srcset=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-49-48.png 1295w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-49-48-300x46.png 300w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-49-48-1024x156.png 1024w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-49-48-768x117.png 768w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-49-48-624x95.png 624w\" sizes=\"auto, (max-width: 920px) 100vw, 920px\" \/><p id=\"caption-attachment-83533\" class=\"wp-caption-text\">.<\/p><\/div>\n<h2>4. Use Cases<\/h2>\n<p><strong><span style=\"color: #ff9900;\">4.1 \u2014 Automated security gap analysis (from the console)<br \/>\n<\/span><\/strong><span style=\"color: #ff9900;\"><span style=\"color: #000000;\">The most direct use case: ask the agent, in plain language, to review your account&#8217;s security posture.<\/span><\/span><\/p>\n<div id=\"attachment_83534\" style=\"width: 946px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-83534\" class=\" wp-image-83534\" src=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-50-28.png\" alt=\".\" width=\"936\" height=\"540\" srcset=\"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-50-28.png 1220w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-50-28-300x173.png 300w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-50-28-1024x592.png 1024w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-50-28-768x444.png 768w, https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-50-28-624x361.png 624w\" sizes=\"auto, (max-width: 936px) 100vw, 936px\" \/><p id=\"caption-attachment-83534\" class=\"wp-caption-text\">.<\/p><\/div>\n<p>Typing \u201ccan you let me know the security gap in my account\u201d and confirming \u201cOpen a security investigation\u201d causes the agent to spin up a tracked investigation object \u2014 visible in a side panel with a Summary, Investigation timeline, Agent tasks, and Findings &amp; evidence sections. Behind the scenes this is powered entirely by the read-only Describe*\/Get*\/List* actions from AIDevOpsAgentAccessPolicy: it pulls IAM configuration, checks for exposed resources, reviews encryption and monitoring settings, and flags network exposure \u2014 all without ever needing a write permission. The investigation here is scoped to IAM misconfigurations, exposed resources, encryption gaps, missing monitoring, and network exposure, exactly the categories you&#8217;d expect from a Security Hub-style review.<\/p>\n<p><span style=\"color: #ff9900;\"><strong>4.2 \u2014 Incident timeline reconstruction<\/strong><\/span><\/p>\n<p>When something breaks, the agent can correlate CloudTrail and CloudWatch Logs to build a timeline \u2014 \u201cwho changed the security group on i-0123&#8230; in the last 24 hours, and what happened right after?\u201d This relies on cloudtrail:LookupEvents, cloudtrail:StartQuery, and logs:FilterLogEvents\/GetLogEvents, all already granted read-side. Equivalent CLI calls:<\/p>\n<pre># Find who touched a security group recently\r\naws cloudtrail lookup-events \r\n--lookup-attributes\r\nAttributeKey=EventName,AttributeValue=AuthorizeSecurityGroupIngress \r\n--start-time 2026-09-06T00:00:00Z\r\n# Pull matching application log lines around the same window\r\naws logs filter-log-events \r\n--log-group-name \/app\/production \r\n--start-time 1725580800000 --end-time 1725667200000 \r\n--filter-pattern \"ERROR\"\r\n\r\n<\/pre>\n<p>&nbsp;<\/p>\n<h2>5. Best Practices Checklist<\/h2>\n<p>1. Keep the investigation role and the web-app\/operator role separate \u2014 never merge them into one.<br \/>\n2. Scope any custom write action to a specific resource ARN or a condition key (aws:ResourceAccount, principal tags) \u2014 never Resource: &#8220;*&#8221; for a write.<br \/>\n3. Re-run Access Analyzer&#8217;s policy generation against real CloudTrail data every quarter and prune unused actions.<br \/>\n4. Restrict Secrets Manager access to a path prefix scoped to the Agent Space ID, not the whole secrets namespace.<br \/>\n5. Review the \u201cmay transmit data to any AWS region globally\u201d notice with your compliance team before enabling the web app in regulated environments.<\/p>\n<p>&nbsp;<\/p>\n<h2>Conclusion<\/h2>\n<p>The AWS DevOps Agent setup flow looks like a simple three-screen wizard, but the IAM design behind it is the part worth studying: a near-total read footprint for visibility, a two-action write allowance for the agentitself, and every operator-facing write action locked to one Agent Space via a session tag condition. Whether or not you use AWS DevOps Agent specifically, that read-broad\/write-narrow\/condition-scoped pattern is a solid template for any agentic tool you give account access to.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction AWS DevOps Agent is Amazon&#8217;s agentic AI service for cloud operations \u2014 it can investigate incidents, analyze security posture, answer questions about your infrastructure, and take limited remediation actions, all from a chat interface inside the AWS console. What makes it interesting from an engineering standpoint isn&#8217;t just the chat UI \u2014 it&#8217;s how [&hellip;]<\/p>\n","protected":false},"author":2010,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":5,"footnotes":""},"categories":[2348],"tags":[7765,8935],"class_list":["post-82464","post","type-post","status-publish","format-standard","hentry","category-devops-technology","tag-agent","tag-devopsagent"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Introduction AWS DevOps Agent is Amazon&#039;s agentic AI service for cloud operations \u2014 it can investigate incidents, analyze security posture, answer questions about your infrastructure, and take limited remediation actions, all from a chat interface inside the AWS console. What makes it interesting from an engineering standpoint isn&#039;t just the chat UI \u2014 it&#039;s how\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Prateek Chauhan\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tothenew.com\/blog\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"AWS DevOps Agent: A Hands-On Guide to Setup, IAM Permissions, and Security | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"Introduction AWS DevOps Agent is Amazon&#039;s agentic AI service for cloud operations \u2014 it can investigate incidents, analyze security posture, answer questions about your infrastructure, and take limited remediation actions, all from a chat interface inside the AWS console. What makes it interesting from an engineering standpoint isn&#039;t just the chat UI \u2014 it&#039;s how\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tothenew.com\/blog\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"AWS DevOps Agent: A Hands-On Guide to Setup, IAM Permissions, and Security | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Introduction AWS DevOps Agent is Amazon&#039;s agentic AI service for cloud operations \u2014 it can investigate incidents, analyze security posture, answer questions about your infrastructure, and take limited remediation actions, all from a chat interface inside the AWS console. What makes it interesting from an engineering standpoint isn&#039;t just the chat UI \u2014 it&#039;s how\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\\\/#article\",\"name\":\"AWS DevOps Agent: A Hands-On Guide to Setup, IAM Permissions, and Security | TO THE NEW Blog\",\"headline\":\"AWS DevOps Agent: A Hands-On Guide to Setup, IAM Permissions, and Security\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/prateek-chauhan\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/wp-ttn-blog\\\/uploads\\\/2026\\\/09\\\/Screenshot-from-2026-09-16-14-45-14.png\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\\\/#articleImage\"},\"datePublished\":\"2026-10-19T14:30:54+05:30\",\"dateModified\":\"2026-10-27T23:05:09+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\\\/#webpage\"},\"articleSection\":\"DevOps, agent, DEVOPSAGENT\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/devops-technology\\\/#listItem\",\"name\":\"DevOps\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/devops-technology\\\/#listItem\",\"position\":2,\"name\":\"DevOps\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/devops-technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\\\/#listItem\",\"name\":\"AWS DevOps Agent: A Hands-On Guide to Setup, IAM Permissions, and Security\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\\\/#listItem\",\"position\":3,\"name\":\"AWS DevOps Agent: A Hands-On Guide to Setup, IAM Permissions, and Security\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/devops-technology\\\/#listItem\",\"name\":\"DevOps\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/prateek-chauhan\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/prateek-chauhan\\\/\",\"name\":\"Prateek Chauhan\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\\\/#authorImage\",\"url\":\"https:\\\/\\\/newersworld-sf-static.tothenew.net\\\/prod\\\/profilePicFolder\\\/86f52128-4efe-4c1d-929e-c9b84e75868a_Prateek--Chauhan-Profile-Pitcure.jpeg\",\"width\":96,\"height\":96,\"caption\":\"Prateek Chauhan\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\\\/\",\"name\":\"AWS DevOps Agent: A Hands-On Guide to Setup, IAM Permissions, and Security | TO THE NEW Blog\",\"description\":\"Introduction AWS DevOps Agent is Amazon's agentic AI service for cloud operations \\u2014 it can investigate incidents, analyze security posture, answer questions about your infrastructure, and take limited remediation actions, all from a chat interface inside the AWS console. What makes it interesting from an engineering standpoint isn't just the chat UI \\u2014 it's how\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/prateek-chauhan\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/prateek-chauhan\\\/#author\"},\"datePublished\":\"2026-10-19T14:30:54+05:30\",\"dateModified\":\"2026-10-27T23:05:09+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"AWS DevOps Agent: A Hands-On Guide to Setup, IAM Permissions, and Security | TO THE NEW Blog","description":"Introduction AWS DevOps Agent is Amazon's agentic AI service for cloud operations \u2014 it can investigate incidents, analyze security posture, answer questions about your infrastructure, and take limited remediation actions, all from a chat interface inside the AWS console. What makes it interesting from an engineering standpoint isn't just the chat UI \u2014 it's how","canonical_url":"https:\/\/www.tothenew.com\/blog\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tothenew.com\/blog\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\/#article","name":"AWS DevOps Agent: A Hands-On Guide to Setup, IAM Permissions, and Security | TO THE NEW Blog","headline":"AWS DevOps Agent: A Hands-On Guide to Setup, IAM Permissions, and Security","author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/prateek-chauhan\/#author"},"publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.tothenew.com\/blog\/wp-ttn-blog\/uploads\/2026\/09\/Screenshot-from-2026-09-16-14-45-14.png","@id":"https:\/\/www.tothenew.com\/blog\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\/#articleImage"},"datePublished":"2026-10-19T14:30:54+05:30","dateModified":"2026-10-27T23:05:09+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.tothenew.com\/blog\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\/#webpage"},"isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\/#webpage"},"articleSection":"DevOps, agent, DEVOPSAGENT"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tothenew.com\/blog\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.tothenew.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/devops-technology\/#listItem","name":"DevOps"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/devops-technology\/#listItem","position":2,"name":"DevOps","item":"https:\/\/www.tothenew.com\/blog\/category\/devops-technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\/#listItem","name":"AWS DevOps Agent: A Hands-On Guide to Setup, IAM Permissions, and Security"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\/#listItem","position":3,"name":"AWS DevOps Agent: A Hands-On Guide to Setup, IAM Permissions, and Security","previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/devops-technology\/#listItem","name":"DevOps"}}]},{"@type":"Organization","@id":"https:\/\/www.tothenew.com\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/www.tothenew.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.tothenew.com\/blog\/author\/prateek-chauhan\/#author","url":"https:\/\/www.tothenew.com\/blog\/author\/prateek-chauhan\/","name":"Prateek Chauhan","image":{"@type":"ImageObject","@id":"https:\/\/www.tothenew.com\/blog\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\/#authorImage","url":"https:\/\/newersworld-sf-static.tothenew.net\/prod\/profilePicFolder\/86f52128-4efe-4c1d-929e-c9b84e75868a_Prateek--Chauhan-Profile-Pitcure.jpeg","width":96,"height":96,"caption":"Prateek Chauhan"}},{"@type":"WebPage","@id":"https:\/\/www.tothenew.com\/blog\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\/#webpage","url":"https:\/\/www.tothenew.com\/blog\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\/","name":"AWS DevOps Agent: A Hands-On Guide to Setup, IAM Permissions, and Security | TO THE NEW Blog","description":"Introduction AWS DevOps Agent is Amazon's agentic AI service for cloud operations \u2014 it can investigate incidents, analyze security posture, answer questions about your infrastructure, and take limited remediation actions, all from a chat interface inside the AWS console. What makes it interesting from an engineering standpoint isn't just the chat UI \u2014 it's how","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.tothenew.com\/blog\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\/#breadcrumblist"},"author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/prateek-chauhan\/#author"},"creator":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/prateek-chauhan\/#author"},"datePublished":"2026-10-19T14:30:54+05:30","dateModified":"2026-10-27T23:05:09+05:30"},{"@type":"WebSite","@id":"https:\/\/www.tothenew.com\/blog\/#website","url":"https:\/\/www.tothenew.com\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"AWS DevOps Agent: A Hands-On Guide to Setup, IAM Permissions, and Security | TO THE NEW Blog","og:description":"Introduction AWS DevOps Agent is Amazon's agentic AI service for cloud operations \u2014 it can investigate incidents, analyze security posture, answer questions about your infrastructure, and take limited remediation actions, all from a chat interface inside the AWS console. What makes it interesting from an engineering standpoint isn't just the chat UI \u2014 it's how","og:url":"https:\/\/www.tothenew.com\/blog\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\/","og:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"AWS DevOps Agent: A Hands-On Guide to Setup, IAM Permissions, and Security | TO THE NEW Blog","twitter:description":"Introduction AWS DevOps Agent is Amazon's agentic AI service for cloud operations \u2014 it can investigate incidents, analyze security posture, answer questions about your infrastructure, and take limited remediation actions, all from a chat interface inside the AWS console. What makes it interesting from an engineering standpoint isn't just the chat UI \u2014 it's how","twitter:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"82464","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"limit_modified_date":false,"created":"2026-09-07 08:36:49","updated":"2026-10-27 17:35:11","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\/category\/devops-technology\/\" title=\"DevOps\">DevOps<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tAWS DevOps Agent: A Hands-On Guide to Setup, IAM Permissions, and Security\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.tothenew.com\/blog"},{"label":"DevOps","link":"https:\/\/www.tothenew.com\/blog\/category\/devops-technology\/"},{"label":"AWS DevOps Agent: A Hands-On Guide to Setup, IAM Permissions, and Security","link":"https:\/\/www.tothenew.com\/blog\/aws-devops-agent-a-hands-on-guide-to-setup-iam-permissions-and-security\/"}],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/82464","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/2010"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=82464"}],"version-history":[{"count":9,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/82464\/revisions"}],"predecessor-version":[{"id":84083,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/82464\/revisions\/84083"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=82464"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=82464"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=82464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}