<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Installing PPC on Amazon Web Services (AWS) on</title><link>https://docs.protegrity.com/aiteam-edition/docs/infrastructure/ppc/aws/</link><description>Recent content in Installing PPC on Amazon Web Services (AWS) on</description><generator>Hugo</generator><language>en</language><atom:link href="https://docs.protegrity.com/aiteam-edition/docs/infrastructure/ppc/aws/index.xml" rel="self" type="application/rss+xml"/><item><title>Prerequisites</title><link>https://docs.protegrity.com/aiteam-edition/docs/infrastructure/ppc/aws/prerequisites/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/aiteam-edition/docs/infrastructure/ppc/aws/prerequisites/</guid><description>&lt;h2 id="updating-the-roles-and-permissions-using-json">Updating the Roles and Permissions using JSON&lt;/h2>
&lt;p>The roles and permissions are updated using the JSONs.&lt;/p>
&lt;p>From the AWS Console, navigate to &lt;strong>IAM &amp;gt; Policies &amp;gt; Create policy &amp;gt; JSON&lt;/strong>, and create the following JSONs.&lt;/p>
&lt;blockquote>
&lt;p>&lt;strong>Note&lt;/strong>: Before using the provided JSON, replace the &lt;code>AWS_ACCOUNT_ID&lt;/code> and &lt;code>REGION&lt;/code> values with those of the account and region where the resources are being deployed.&lt;/p>&lt;/blockquote>
&lt;ol>
&lt;li>Creating KMS key and S3 bucket.&lt;/li>
&lt;/ol>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>	&amp;#34;Version&amp;#34;: &amp;#34;2012-10-17&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>	&amp;#34;Statement&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>		{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Sid&amp;#34;: &amp;#34;ReadOnlyAccess&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Effect&amp;#34;: &amp;#34;Allow&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Action&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;eks:DescribeClusterVersions&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:DescribeInstances&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:DescribeVolumes&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;s3:ListAllMyBuckets&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;iam:ListUsers&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:RunInstances&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:DescribeInstances&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:DescribeVolumes&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:CreateKeyPair&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:DescribeImages&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Resource&amp;#34;: &amp;#34;*&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>		},
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>		{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Sid&amp;#34;: &amp;#34;ScopedS3AndKMS&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Effect&amp;#34;: &amp;#34;Allow&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Action&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;s3:ListBucket&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;s3:PutEncryptionConfiguration&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;s3:GetEncryptionConfiguration&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;kms:CreateKey&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;kms:PutKeyPolicy&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;kms:GetKeyPolicy&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Resource&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;arn:aws:s3:::*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;arn:aws:kms:*:&amp;lt;AWS_ACCOUNT_ID&amp;gt;:key/*&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>		},
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>		{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Sid&amp;#34;: &amp;#34;SelfServiceIAM&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Effect&amp;#34;: &amp;#34;Allow&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Action&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;iam:ListSSHPublicKeys&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;iam:ListServiceSpecificCredentials&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;iam:GetLoginProfile&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;iam:ListAccessKeys&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;iam:CreateAccessKey&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Resource&amp;#34;: &amp;#34;arn:aws:iam::&amp;lt;AWS_ACCOUNT_ID&amp;gt;:user/${aws:username}&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>		},
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Sid&amp;#34;: &amp;#34;EC2KeyPairPermission&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Effect&amp;#34;: &amp;#34;Allow&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Action&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:CreateKeyPair&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:DescribeKeyPairs&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Resource&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;*&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>		}
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>	]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>}
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ol start="2">
&lt;li>Creating EC2 Service Policy.&lt;/li>
&lt;/ol>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>	&amp;#34;Version&amp;#34;: &amp;#34;2012-10-17&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>	&amp;#34;Statement&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>		{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Sid&amp;#34;: &amp;#34;DenyEC2Instances&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Effect&amp;#34;: &amp;#34;Deny&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Action&amp;#34;: &amp;#34;ec2:RunInstances&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Resource&amp;#34;: &amp;#34;arn:aws:ec2:*:*:instance/*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Condition&amp;#34;: {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;StringLike&amp;#34;: {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>					&amp;#34;ec2:InstanceType&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>						&amp;#34;p*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>						&amp;#34;g*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>						&amp;#34;inf*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>						&amp;#34;trn*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>						&amp;#34;x*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>						&amp;#34;u-*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>						&amp;#34;z*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>						&amp;#34;mac*&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>					]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				}
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			}
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>		},
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>		{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Sid&amp;#34;: &amp;#34;ReadOnlyDescribeListEC2RegionRestricted&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Effect&amp;#34;: &amp;#34;Allow&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Action&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:DescribeVpcs&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:DescribeSubnets&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:DescribeVpcAttribute&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:DescribeTags&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:DescribeSecurityGroups&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:DescribeSecurityGroupRules&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:DescribeLaunchTemplates&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:DescribeLaunchTemplateVersions&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:DescribeNetworkInterfaces&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:DescribeAccountAttributes&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Resource&amp;#34;: &amp;#34;*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Condition&amp;#34;: {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;StringEquals&amp;#34;: {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>					&amp;#34;aws:RequestedRegion&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>						&amp;#34;&amp;lt;REGION&amp;gt;&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>					]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				}
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			}
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>		},
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>		{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Sid&amp;#34;: &amp;#34;EC2LifecycleAndSecurity&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Effect&amp;#34;: &amp;#34;Allow&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Action&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:CreateSecurityGroup&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:DeleteSecurityGroup&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:AuthorizeSecurityGroupIngress&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:AuthorizeSecurityGroupEgress&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:RevokeSecurityGroupIngress&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:RevokeSecurityGroupEgress&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:CreateLaunchTemplate&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:DeleteLaunchTemplate&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:CreateTags&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;ec2:DeleteTags&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			&amp;#34;Resource&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;arn:aws:ec2:*:*:security-group/*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;arn:aws:ec2:*:*:launch-template/*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;arn:aws:ec2:*:*:instance/*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;arn:aws:ec2:*:*:network-interface/*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;arn:aws:ec2:*:*:subnet/*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;arn:aws:ec2:*:*:vpc/*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;arn:aws:ec2:*:*:image/*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;arn:aws:ec2:*:*:volume/*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>				&amp;#34;arn:aws:ec2:*:*:snapshot/*&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>			]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>		}
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>	]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>}
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ol start="3">
&lt;li>Creating EKS Service Policy.&lt;/li>
&lt;/ol>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Version&amp;#34;: &amp;#34;2012-10-17&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Statement&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Sid&amp;#34;: &amp;#34;ReadOnlyDescribeListEKSVersionsRegionRestricted&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Effect&amp;#34;: &amp;#34;Allow&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Action&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;eks:DescribeAddonVersions&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Resource&amp;#34;: &amp;#34;*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Condition&amp;#34;: {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;StringEquals&amp;#34;: {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;aws:RequestedRegion&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;&amp;lt;REGION&amp;gt;&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> },
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Sid&amp;#34;: &amp;#34;ReadOnlyDescribeListEKS&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Effect&amp;#34;: &amp;#34;Allow&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Action&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;eks:DescribeCluster&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;eks:DescribeAddon&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;eks:DescribePodIdentityAssociation&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;eks:DescribeNodegroup&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;eks:ListAddons&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;eks:ListPodIdentityAssociations&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Resource&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;arn:aws:eks:*:&amp;lt;AWS_ACCOUNT_ID&amp;gt;:cluster/*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;arn:aws:eks:*:&amp;lt;AWS_ACCOUNT_ID&amp;gt;:nodegroup/*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;arn:aws:eks:*:&amp;lt;AWS_ACCOUNT_ID&amp;gt;:addon/*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;arn:aws:eks:*:&amp;lt;AWS_ACCOUNT_ID&amp;gt;:podidentityassociation/*&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> },
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Sid&amp;#34;: &amp;#34;EKSLifecycleAndTag&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Effect&amp;#34;: &amp;#34;Allow&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Action&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;eks:CreateCluster&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;eks:UpdateClusterVersion&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;eks:UpdateClusterConfig&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;eks:CreateNodegroup&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;eks:UpdateNodegroupConfig&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;eks:UpdateNodegroupVersion&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;eks:DeleteNodegroup&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;eks:CreateAddon&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;eks:UpdateAddon&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;eks:DeleteAddon&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;eks:CreatePodIdentityAssociation&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;eks:DeletePodIdentityAssociation&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;eks:TagResource&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;eks:ListClusters&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Resource&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;arn:aws:eks:*:&amp;lt;AWS_ACCOUNT_ID&amp;gt;:cluster/*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;arn:aws:eks:*:&amp;lt;AWS_ACCOUNT_ID&amp;gt;:nodegroup/*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;arn:aws:eks:*:&amp;lt;AWS_ACCOUNT_ID&amp;gt;:addon/*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;arn:aws:eks:*:&amp;lt;AWS_ACCOUNT_ID&amp;gt;:podidentityassociation/*&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> },
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Sid&amp;#34;: &amp;#34;AllowEKSNodegroupSLR&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Effect&amp;#34;: &amp;#34;Allow&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Action&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:GetRole&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:CreateServiceLinkedRole&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Resource&amp;#34;: &amp;#34;arn:aws:iam::&amp;lt;AWS_ACCOUNT_ID&amp;gt;:role/aws-service-role/eks-nodegroup.amazonaws.com/AWSServiceRoleForAmazonEKSNodegroup&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> },
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Sid&amp;#34;: &amp;#34;EKSDeleteClusterV6&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Effect&amp;#34;: &amp;#34;Allow&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Action&amp;#34;: &amp;#34;eks:DeleteCluster&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Resource&amp;#34;: &amp;#34;arn:aws:eks:*:&amp;lt;AWS_ACCOUNT_ID&amp;gt;:cluster/*&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>}
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ol start="4">
&lt;li>Creating IAM Service Policy.&lt;/li>
&lt;/ol>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Version&amp;#34;: &amp;#34;2012-10-17&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Statement&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Sid&amp;#34;: &amp;#34;DenyAdminPolicyAttachment&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Effect&amp;#34;: &amp;#34;Deny&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Action&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:AttachRolePolicy&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:PutRolePolicy&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Resource&amp;#34;: &amp;#34;arn:aws:iam::&amp;lt;AWS_ACCOUNT_ID&amp;gt;:role/eks-*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Condition&amp;#34;: {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;ArnLike&amp;#34;: {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:PolicyARN&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;arn:aws:iam::aws:policy/AdministratorAccess&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;arn:aws:iam::aws:policy/PowerUserAccess&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;arn:aws:iam::aws:policy/*FullAccess&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> },
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Sid&amp;#34;: &amp;#34;DenyInlinePolicyEscalation&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Effect&amp;#34;: &amp;#34;Deny&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Action&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:PutRolePolicy&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:PutUserPolicy&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:PutGroupPolicy&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Resource&amp;#34;: &amp;#34;*&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> },
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Sid&amp;#34;: &amp;#34;ReadOnlyDescribeListIAMScoped&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Effect&amp;#34;: &amp;#34;Allow&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Action&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:GetRole&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:ListRolePolicies&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:ListAttachedRolePolicies&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:ListInstanceProfilesForRole&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:GetInstanceProfile&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:GetPolicy&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:GetPolicyVersion&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:ListPolicyVersions&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:ListAccessKeys&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Resource&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;arn:aws:iam::&amp;lt;AWS_ACCOUNT_ID&amp;gt;:role/eks-*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;arn:aws:iam::&amp;lt;AWS_ACCOUNT_ID&amp;gt;:instance-profile/eks-*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;arn:aws:iam::&amp;lt;AWS_ACCOUNT_ID&amp;gt;:policy/eks-*&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> },
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Sid&amp;#34;: &amp;#34;ReadOnlyDescribeListUnavoidableStar&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Effect&amp;#34;: &amp;#34;Allow&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Action&amp;#34;: &amp;#34;iam:ListRoles&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Resource&amp;#34;: &amp;#34;*&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> },
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Sid&amp;#34;: &amp;#34;IAMLifecycleRolesPoliciesInstanceProfiles&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Effect&amp;#34;: &amp;#34;Allow&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Action&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:CreateRole&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:TagRole&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:CreatePolicy&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:DeletePolicy&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:DeletePolicyVersion&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:TagPolicy&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:AttachRolePolicy&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:DetachRolePolicy&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:CreateInstanceProfile&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:TagInstanceProfile&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:AddRoleToInstanceProfile&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:RemoveRoleFromInstanceProfile&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:DeleteInstanceProfile&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Resource&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;arn:aws:iam::&amp;lt;AWS_ACCOUNT_ID&amp;gt;:role/eks-*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;arn:aws:iam::&amp;lt;AWS_ACCOUNT_ID&amp;gt;:policy/eks-*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;arn:aws:iam::&amp;lt;AWS_ACCOUNT_ID&amp;gt;:instance-profile/eks-*&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> },
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Sid&amp;#34;: &amp;#34;EKSDeleteRoles&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Effect&amp;#34;: &amp;#34;Allow&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Action&amp;#34;: &amp;#34;iam:DeleteRole&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Resource&amp;#34;: &amp;#34;arn:aws:iam::&amp;lt;AWS_ACCOUNT_ID&amp;gt;:role/eks*&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> },
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Sid&amp;#34;: &amp;#34;PassRoleOnlyToEKS&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Effect&amp;#34;: &amp;#34;Allow&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Action&amp;#34;: &amp;#34;iam:PassRole&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Resource&amp;#34;: &amp;#34;arn:aws:iam::&amp;lt;AWS_ACCOUNT_ID&amp;gt;:role/eks-*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Condition&amp;#34;: {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;StringEquals&amp;#34;: {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;iam:PassedToService&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;eks.amazonaws.com&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;ec2.amazonaws.com&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;eks-pods.amazonaws.com&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;pods.eks.amazonaws.com&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> },
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Sid&amp;#34;: &amp;#34;PassRoleForEKSPodIdentityRoles&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Effect&amp;#34;: &amp;#34;Allow&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Action&amp;#34;: &amp;#34;iam:PassRole&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Resource&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;arn:aws:iam::&amp;lt;AWS_ACCOUNT_ID&amp;gt;:role/eks-*-karpenter-role&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;arn:aws:iam::&amp;lt;AWS_ACCOUNT_ID&amp;gt;:role/eks-*-backup-recovery-utility-role&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>}
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ol start="5">
&lt;li>Creating KMS Service Policy.&lt;/li>
&lt;/ol>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Version&amp;#34;: &amp;#34;2012-10-17&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Statement&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Sid&amp;#34;: &amp;#34;KMSCreateAndList&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Effect&amp;#34;: &amp;#34;Allow&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Action&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;kms:CreateKey&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;kms:ListAliases&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Resource&amp;#34;: &amp;#34;*&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> },
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Sid&amp;#34;: &amp;#34;KMSKeyManagementScoped&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Effect&amp;#34;: &amp;#34;Allow&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Action&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;kms:PutKeyPolicy&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;kms:GetKeyPolicy&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;kms:DescribeKey&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;kms:GenerateDataKey&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;kms:Decrypt&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;kms:TagResource&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;kms:UntagResource&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;kms:EnableKeyRotation&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;kms:GetKeyRotationStatus&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;kms:ListResourceTags&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;kms:ScheduleKeyDeletion&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;kms:CreateAlias&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;kms:DeleteAlias&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Resource&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;arn:aws:kms:*:&amp;lt;AWS_ACCOUNT_ID&amp;gt;:key/*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;arn:aws:kms:*:&amp;lt;AWS_ACCOUNT_ID&amp;gt;:alias/*&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>}
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;ol start="6">
&lt;li>Creating AWS S3 Service Policy.&lt;/li>
&lt;/ol>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>{
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Version&amp;#34;: &amp;#34;2012-10-17&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Statement&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Sid&amp;#34;: &amp;#34;S3EncryptionConfigAndStateScoped&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Effect&amp;#34;: &amp;#34;Allow&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Action&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:ListBucket&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:GetEncryptionConfiguration&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:PutEncryptionConfiguration&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:GetObject&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:PutObject&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:DeleteObject&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:CreateBucket&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:GetBucketTagging&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:GetBucketPolicy&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:GetBucketAcl&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:GetBucketCORS&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:PutBucketTagging&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:GetBucketWebsite&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:GetBucketVersioning&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:GetAccelerateConfiguration&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:GetBucketRequestPayment&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:GetBucketLogging&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:GetLifecycleConfiguration&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:GetReplicationConfiguration&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:GetBucketObjectLockConfiguration&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:DeleteBucket&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:PutBucketVersioning&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:ListBucketVersions&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:DeleteObjectVersion&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;s3:GetObjectTagging&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Resource&amp;#34;: &amp;#34;arn:aws:s3:::*&amp;#34;,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;Condition&amp;#34;: {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;StringEquals&amp;#34;: {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;aws:RequestedRegion&amp;#34;: [
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;&amp;lt;REGION&amp;gt;&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ],
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &amp;#34;aws:PrincipalAccount&amp;#34;: &amp;#34;&amp;lt;AWS_ACCOUNT_ID&amp;gt;&amp;#34;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> }
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>}
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> 
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> 
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="description-for-the-json-components">Description for the JSON components&lt;/h2>
&lt;p>This section provides information for the permissions mentioned in the JSON file.&lt;/p></description></item><item><title>Preparing for PPC deployment</title><link>https://docs.protegrity.com/aiteam-edition/docs/infrastructure/ppc/aws/extracting/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/aiteam-edition/docs/infrastructure/ppc/aws/extracting/</guid><description>&lt;p>If the jump box is already set previously, run the &lt;code>./bootstrap.sh --cloud aws destroy&lt;/code> command in the directory where the cluster is installed. This ensures that the local repository on the jump box and the clusters are cleaned up before proceeding with a new installation.&lt;/p>
&lt;blockquote>
&lt;p>&lt;strong>Warning&lt;/strong>: Do not install or manage multiple clusters from the same working directory. Each cluster deployment maintains its own Terraform/OpenTofu state, and reusing a directory can overwrite state files, causing loss of cluster tracking and unintended cleanup behavior. &lt;br> Use a dedicated directory, and jump box, where possible, per cluster, and always verify the active kubectl context before running cleanup commands such as &lt;code>./bootstrap.sh --cloud aws destroy&lt;/code>.&lt;/p></description></item><item><title>Installing Features and Protectors</title><link>https://docs.protegrity.com/aiteam-edition/docs/infrastructure/ppc/aws/install_features/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/aiteam-edition/docs/infrastructure/ppc/aws/install_features/</guid><description>&lt;h2 id="before-you-begin">Before you begin&lt;/h2>
&lt;p>Ensure that PPC is successfully installed before installing the features or protectors.&lt;/p>
&lt;h2 id="installing-features">Installing Features&lt;/h2>
&lt;p>The following table lists the available features.&lt;/p>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>Feature&lt;/th>
 &lt;th>Description&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>Data Discovery&lt;/td>
 &lt;td>&lt;a href="https://docs.protegrity.com/aiteam-edition/docs/data_discovery/dd/install/">Installing Data Discovery&lt;/a>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Semantic Guardrails&lt;/td>
 &lt;td>&lt;a href="https://docs.protegrity.com/aiteam-edition/docs/ai_security/sgr/sgr_installing/">Installing Semantic Guardrails&lt;/a>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Protegrity Agent&lt;/td>
 &lt;td>&lt;a href="https://docs.protegrity.com/aiteam-edition/docs/gov_policy/protegrity_agent/agent_install/">Installing Protegrity Agent&lt;/a>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Anonymization&lt;/td>
 &lt;td>&lt;a href="https://docs.protegrity.com/aiteam-edition/docs/data_privacy/anon/install_anon/">Installing Anonymization&lt;/a>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Synthetic Data&lt;/td>
 &lt;td>&lt;a href="https://docs.protegrity.com/aiteam-edition/docs/data_privacy/synth_data/install_synth_data/">Installing Synthetic Data&lt;/a>&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&lt;h2 id="installing-protectors">Installing Protectors&lt;/h2>
&lt;p>The following table lists the available protectors.&lt;/p>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>Protector&lt;/th>
 &lt;th>Description&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>Application Protector&lt;/td>
 &lt;td>&lt;a href="https://docs.protegrity.com/aiteam-edition/docs/protectors/app_protectors/ap/">Installing Application Protector&lt;/a>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Repository Protector&lt;/td>
 &lt;td>&lt;a href="https://docs.protegrity.com/aiteam-edition/docs/protectors/repository_protectors/">Installing Repository Protector&lt;/a>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Application Protector Java Container&lt;/td>
 &lt;td>&lt;a href="https://docs.protegrity.com/aiteam-edition/docs/protectors/app_protectors/ap_java_cont/install_iap_java/">Installing Application Protector Java Container&lt;/a>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Rest Container&lt;/td>
 &lt;td>&lt;a href="https://docs.protegrity.com/aiteam-edition/docs/protectors/app_protectors/rest_cont/install_iap_rest/">Installing Rest Container&lt;/a>&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>Cloud Protector&lt;/td>
 &lt;td>&lt;a href="https://docs.protegrity.com/aiteam-edition/docs/protectors/cloud_protectors/">Installing Cloud Protector&lt;/a>&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table></description></item><item><title>Upgrading the PPC</title><link>https://docs.protegrity.com/aiteam-edition/docs/infrastructure/ppc/aws/upgrade/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/aiteam-edition/docs/infrastructure/ppc/aws/upgrade/</guid><description>&lt;h2 id="before-you-begin">Before you begin&lt;/h2>
&lt;p>Before starting an upgrade, ensure the following conditions are met:&lt;/p>
&lt;ul>
&lt;li>
&lt;p>Access to the jump box associated with the PPC v1.0.0 cluster is required. This must be the same jump box used during the PPC v1.0.0 installation.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Maintain both, previous and current installation directories. Do not delete the original cluster deployment directory, as it contains the Terraform state files required for managing the deployment.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Create a Velero backup and an OpenSearch snapshot to ensure data recovery is possible, in case of an upgrade failure.&lt;/p></description></item><item><title>Backing up the PPC</title><link>https://docs.protegrity.com/aiteam-edition/docs/infrastructure/ppc/aws/backup/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/aiteam-edition/docs/infrastructure/ppc/aws/backup/</guid><description>&lt;p>Protegrity Provisioned Cluster (PPC) supports backup of Insight indexes and cluster configurations. Use the procedures below to update the scheduled backups of your PPC deployment.&lt;/p>
&lt;h2 id="backing-up-velero-backup-schedule">Backing up Velero backup schedule&lt;/h2>
&lt;p>To take a backup at an interval of 10 minutes, the &lt;code>cron job&lt;/code> must be executed before the &lt;code>schedule&lt;/code>. This ensures that the latest configurations are included and are available in the Storage Account.&lt;/br>
By default, the &lt;code>cron job&lt;/code> is executed after every 3 hours and &lt;code>schedule&lt;/code> is executed after every 3.5 hours.&lt;/p></description></item><item><title>Restoring the PPC</title><link>https://docs.protegrity.com/aiteam-edition/docs/infrastructure/ppc/aws/restore/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/aiteam-edition/docs/infrastructure/ppc/aws/restore/</guid><description>&lt;h2 id="before-you-begin">Before you begin&lt;/h2>
&lt;p>Before starting a restore, ensure the following conditions are met:&lt;/p>
&lt;ul>
&lt;li>
&lt;p>An existing backup is available. Backups are taken automatically as part of the default installation using scheduled backup mechanisms. These backups are stored in an AWS S3 bucket configured during the original installation.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Access to the original backup AWS S3 bucket. During restore, the same S3 bucket that was used during the original installation must be specified.&lt;/p></description></item><item><title>Accessing PPC using a Linux machine</title><link>https://docs.protegrity.com/aiteam-edition/docs/infrastructure/ppc/aws/accessing_cluster/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/aiteam-edition/docs/infrastructure/ppc/aws/accessing_cluster/</guid><description>&lt;p>Access to the PPC cluster from a separate Linux machine may be required in the following situations:&lt;/p>
&lt;ul>
&lt;li>The original jump box used during installation is no longer available or has been decommissioned.&lt;/li>
&lt;li>A different team member or administrator needs cluster access without setting up a new jump box.&lt;/li>
&lt;li>Operational tasks, such as troubleshooting or monitoring, are being performed from a dedicated management machine.&lt;/li>
&lt;li>The organization requires cluster access to be restricted to specific machines for security or compliance reasons.&lt;/li>
&lt;/ul>
&lt;h2 id="before-you-begin">Before you begin&lt;/h2>
&lt;p>Ensure that the following prerequisites are met.&lt;/p></description></item><item><title>Restoring the SSH keys and PCT from backed up Terraform state file</title><link>https://docs.protegrity.com/aiteam-edition/docs/infrastructure/ppc/aws/restore_ssh_ppc/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.protegrity.com/aiteam-edition/docs/infrastructure/ppc/aws/restore_ssh_ppc/</guid><description>&lt;!--THIS SECTION MUST BE UPDATED. THE FOLDER STRUCTURE IS WRONG. MAY CAUSE FAILURE WHEN FOLLOWING THESE STEPS. -->
&lt;p>This section describes the procedure to rebuild a usable PPC v1.1.0 deployment workspace on a jump box from an existing cluster and a backed up Terraform state file.&lt;/p>
&lt;h2 id="before-you-begin">Before you Begin&lt;/h2>
&lt;p>Ensure the following requirements are met.&lt;/p>
&lt;ul>
&lt;li>
&lt;p>The state file from all the following modules must be available on the AWS S3 backup bucket.&lt;/p></description></item></channel></rss>