<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Iam on Kenno&#39;s Open Note</title>
    <link>https://blog.khmersite.net/tags/iam/</link>
    <description>Recent content in Iam on Kenno&#39;s Open Note</description>
    <image>
      <title>Kenno&#39;s Open Note</title>
      <url>https://blog.khmersite.net/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://blog.khmersite.net/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo -- 0.154.0</generator>
    <language>en</language>
    <lastBuildDate>Fri, 05 Jul 2024 22:36:13 +1000</lastBuildDate>
    <atom:link href="https://blog.khmersite.net/tags/iam/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How to initiate Session Manager session using CLI</title>
      <link>https://blog.khmersite.net/p/how-to-initiate-session-manager-session-using-cli/</link>
      <pubDate>Fri, 05 Jul 2024 22:36:13 +1000</pubDate>
      <guid>https://blog.khmersite.net/p/how-to-initiate-session-manager-session-using-cli/</guid>
      <description>&lt;p&gt;Tonight I want to connect to an EC2 instance that resides in a private subnet. I currently don&amp;rsquo;t have a bastion host I can use as an
intermediary to jump to this instance. Well, as you might have guessed from this post&amp;rsquo;s title, the AWS Session Manager is something
that might be helpful in this case. So, join me in this journey to configure and set up the Session Manager, using AWS CLI only.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to attach instance profile on EC2 with AWS CLI</title>
      <link>https://blog.khmersite.net/p/how-to-attach-instance-profile-on-ec2-with-cli/</link>
      <pubDate>Tue, 05 Mar 2024 18:08:15 +1100</pubDate>
      <guid>https://blog.khmersite.net/p/how-to-attach-instance-profile-on-ec2-with-cli/</guid>
      <description>&lt;p&gt;This is a quick note to remind me on how to attach or associate an instance profile (IAM role) to an EC2 instance using AWS CLI. There is
a bonus section at the end to show how to replace one IAM role with another one directly.&lt;/p&gt;
&lt;p&gt;In this example, I already have a running EC2 instance i-0357ecc1111111111 running. I want to attach a new instance profile called
&lt;strong&gt;SSMInstanceProfile&lt;/strong&gt; to this instance. But as we all know, only one instance profile can be associated with an EC2 instance at one time. So, let&amp;rsquo;s check
to see if our instance already has one attached:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
