<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Arijita Mitra</title>
    <description>The latest articles on DEV Community by Arijita Mitra (@arijita).</description>
    <link>https://dev.to/arijita</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1143509%2F2aeaf19b-cab8-4ab7-ba47-ec4b10a3599e.JPG</url>
      <title>DEV Community: Arijita Mitra</title>
      <link>https://dev.to/arijita</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/arijita"/>
    <language>en</language>
    <item>
      <title>Even wondered how attending AWS re:invent would be like? Hear it from the ones who attended the conference for the very first time! Was it worth it or not? ....check it out!</title>
      <dc:creator>Arijita Mitra</dc:creator>
      <pubDate>Mon, 13 Jan 2025 21:23:15 +0000</pubDate>
      <link>https://dev.to/arijita/even-wondered-how-attending-aws-reinvent-would-be-like-hear-it-from-the-ones-who-attended-the-3da8</link>
      <guid>https://dev.to/arijita/even-wondered-how-attending-aws-reinvent-would-be-like-hear-it-from-the-ones-who-attended-the-3da8</guid>
      <description>&lt;div class="ltag__link"&gt;
  &lt;a href="/aws-builders" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__org__pic"&gt;
      &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Forganization%2Fprofile_image%2F2794%2F88da75b6-aadd-4ea1-8083-ae2dfca8be94.png" alt="AWS Community Builders " width="350" height="350"&gt;
      &lt;div class="ltag__link__user__pic"&gt;
        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1143509%2F2aeaf19b-cab8-4ab7-ba47-ec4b10a3599e.JPG" alt="" width="800" height="1066"&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="https://dev.to/aws-builders/aws-reinvent-2024-was-it-worth-attending-21bk" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;AWS Re:Invent 2024  -  Through the lens of first-time attendees&lt;/h2&gt;
      &lt;h3&gt;Arijita Mitra for AWS Community Builders  ・ Jan 13&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#aws&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#community&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#reinvent2024&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;


</description>
      <category>aws</category>
      <category>discuss</category>
      <category>career</category>
    </item>
    <item>
      <title>AWS Re:Invent 2024  -  Through the lens of first-time attendees</title>
      <dc:creator>Arijita Mitra</dc:creator>
      <pubDate>Mon, 13 Jan 2025 20:57:01 +0000</pubDate>
      <link>https://dev.to/aws-builders/aws-reinvent-2024-was-it-worth-attending-21bk</link>
      <guid>https://dev.to/aws-builders/aws-reinvent-2024-was-it-worth-attending-21bk</guid>
      <description>&lt;p&gt;&lt;strong&gt;AWS re:Invent 2024&lt;/strong&gt; is over and it was a conference like no other. But what made it so special? What expectations did we have from the conference, and how far did it fulfil that? I feel the best ones to answer this are the &lt;strong&gt;first-time attendees&lt;/strong&gt; of re:invent 2024.&lt;br&gt;
Let's have a look at what few of the first timers have to say about their experiences at re:Invent 2024, and their key takeaways. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/in/ssennettau/" rel="noopener noreferrer"&gt;&lt;strong&gt;Stephen Sennett &lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftie3osaa764vx49qy12r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftie3osaa764vx49qy12r.png" alt="Image description" width="800" height="265"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"&lt;strong&gt;Talking and spending time with people was the most valuable part of re:Invent for me&lt;/strong&gt; - especially those from other parts of the world who I've interacted and collaborated with, but never get the chance to see. &lt;strong&gt;Your time is the single most valuable resource at re:Invent - optimize it to make meaningful connections&lt;/strong&gt;."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/in/kaye-alvarado/" rel="noopener noreferrer"&gt;&lt;strong&gt;Karina Alvarado&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Faweumpmdc5r0uwrdgbmm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Faweumpmdc5r0uwrdgbmm.png" alt="Image description" width="800" height="263"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"I've always wanted to attend re:invent. For years I have been an AWS User Group leader, and an AWS community builder, and I felt that attending re:invent will give me a boost on learning AWS on a deeper level. But it was far more than what I expected. It was inspiring to meet all the people I only see names written on blogs, doing talks on videos, or being influential on articles in LinkedIn. &lt;strong&gt;Asking them questions face to face is an opportunity of a lifetime and adds a human factor to the interaction&lt;/strong&gt;. With discussions of problems, we hear potential solutions, and seeing the future being slowly built. Lastly, there is a boost of inspiration to continue to level up and do something with everything you learned. &lt;strong&gt;The conference is jam-packed with technology&lt;/strong&gt; that there is at least one thing that will get you curious to try and experiment when you go back to work on product. AWS not too recently added sustainability as one of the pillars of architecture, and &lt;strong&gt;re:invent is continuously an event that fosters sustainability with re-invention and making the world a better place&lt;/strong&gt;."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/in/thelma-laryea-73a49b1b4/" rel="noopener noreferrer"&gt;&lt;strong&gt;Thelma Laryea&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr2rkbvoib6xx46b02csm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr2rkbvoib6xx46b02csm.png" alt="Image description" width="800" height="247"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"&lt;strong&gt;Re:Invent was a life-changing experience for me!&lt;/strong&gt; I had the opportunity to attend educational sessions that enlightened and added a refreshing perspective to the AWS services I currently use. I also had the &lt;strong&gt;opportunity of networking with cloud enthusiasts across the globe&lt;/strong&gt; and attending fun events at night! Although re:Invent was inspiring, it was sometimes overwhelming, I must admit, and I am super grateful for all the advice I got from alumni on how to pace myself and not feel pressured to attend every event. There are just way too many sessions and events! &lt;strong&gt;I absolutely enjoyed re:Invent, paced it out to my preference, and was impacted.&lt;/strong&gt;"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/in/sevimdurmus/" rel="noopener noreferrer"&gt;&lt;strong&gt;Sevim Durmus&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9lwhbsm2nsq96dflt82k.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9lwhbsm2nsq96dflt82k.png" alt="Image description" width="800" height="249"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"&lt;strong&gt;Attending AWS re:Invent 2024 was an incredible experience.&lt;/strong&gt; Being surrounded by the AWS community and having the chance to network with so many accomplished individuals was inspiring. Seeing their passion for helping others grow motivated me to continue my journey and bring others along with me. &lt;strong&gt;This experience has not only opened my eyes to new opportunities but has also reinforced the importance of collaboration and community in achieving success and driving innovation&lt;/strong&gt;."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/in/rajani103/" rel="noopener noreferrer"&gt;&lt;strong&gt;Rajani Ekunde☁️&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8fxul6hv9b6xgzvsr3ww.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8fxul6hv9b6xgzvsr3ww.png" alt="Image description" width="800" height="272"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"&lt;strong&gt;AWS re:Invent was an amazing experience!&lt;/strong&gt; Meeting my mentors in person felt surreal, and learning about the latest tech advancements was inspiring. &lt;strong&gt;I got to network with so many brilliant minds, and the sessions gave me fresh ideas to explore. It truly boosted my enthusiasm for the cloud journey&lt;/strong&gt;."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/in/shriramwasule/" rel="noopener noreferrer"&gt;&lt;strong&gt;Shriram Wasule&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe7k4oto5m465h0t05yzx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe7k4oto5m465h0t05yzx.png" alt="Image description" width="800" height="279"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Ever since I started working on AWS technology, attending AWS re:Invent has been a dream of mine. In 2024, that dream became a reality, and it was an experience I'll never forget. This incredible experience was made possible by the &lt;strong&gt;AWS All Builders Welcome Grant Program&lt;/strong&gt;, which sponsored for my entire trip.  &lt;strong&gt;This conference wasn't just about tech; it was about inspiration, growth, and making lifelong connections&lt;/strong&gt;. I'm back home now, reflecting on the whirlwind of experiences and memories. &lt;strong&gt;One thing is certain: AWS re:Invent is more than just an event - it's a transformational opportunity for those who embrace it&lt;/strong&gt;."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/in/nova-rizkiyah/" rel="noopener noreferrer"&gt;&lt;strong&gt;Nova Lailatul Rizkiyah&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbub1ui7nu4asdo2umtnn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbub1ui7nu4asdo2umtnn.png" alt="Image description" width="800" height="265"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"My journey to re:Invent in Las Vegas is something I have been looking forward to since 2021. When I finally attended re:Invent in 2024, I was beyond excited. I'm incredibly grateful to the All Builder Welcome (ABW) grant for making my dream come true. At re:Invent 2024, &lt;strong&gt;I had the chance to meet AWS experts I've long admired, connect with my AWS colleagues, with whom I've collaborated on multiple projects, and meet new people who instantly felt like family.&lt;/strong&gt; The experience of being present at the keynote was so much more powerful than watching it on a screen. &lt;strong&gt;The impact I hope for after attending re:Invent and receiving the ABW grant is to inspire more Indonesians, especially women, to apply for the ABW grant.&lt;/strong&gt; Indonesia has so much outstanding talent, including its women. &lt;strong&gt;As a mother and a woman, I want to encourage more women to dream big and make those dreams a reality, with a strategic and measurable approach.&lt;/strong&gt; By attending re:Invent, we gain access to a vast network and an extraordinary community. With such connections, &lt;strong&gt;the chances of achieving our dreams are much higher because we have countless role models and incredible people as our friends and mentors&lt;/strong&gt;."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/in/samia-k/" rel="noopener noreferrer"&gt;&lt;strong&gt;Samia Khan&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc32jqy5imzkgfwj4yzn8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc32jqy5imzkgfwj4yzn8.png" alt="Image description" width="800" height="267"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"&lt;strong&gt;My experience at re:Invent has been nothing short of amazing!&lt;/strong&gt; I'm so grateful to have had the chance to &lt;strong&gt;meet and learn&lt;/strong&gt; from so many inspiring people from AWS women-in-tech to community builders and Heroes. Attending chalk talks, practical workshops and taking part in a game-day has really shown me areas of interest like Kubernetes and Containerisation and &lt;strong&gt;I am now motivated to learning more about these and feel inspired to go down the path of building up my skills through training and certifications to increase my knowledge. I can also use what I've learned and apply it to my current role&lt;/strong&gt;."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/in/sharon-faith-m/" rel="noopener noreferrer"&gt;&lt;strong&gt;Sharon Faith M&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F75zocotcem0vobvgq98e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F75zocotcem0vobvgq98e.png" alt="Image description" width="800" height="294"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"&lt;strong&gt;Re:Invent 2024 was an absolute game-changer - a true God-given opportunity!&lt;/strong&gt; I got to meet and listen to some of the brightest tech minds, all in one place. Massive thanks to AWS and the ABW Grant for this once-in-a-lifetime experience and for supporting us every step of the way on this incredible journey. Now officially promoted to Alumni 😜, I'm still buzzing from the &lt;strong&gt;epic mentoring sessions, mind-blowing insights, endless goodies, mouthwatering food, and yes, the unforgettable parties! It was truly a dream come true - networking, new friends, cultures colliding, and pure tech magic. I can't wait to give back to the community, keep growing and learning, and return next year to Re:Invent for another round of innovation, inspiration, and excitement!&lt;/strong&gt; 🚀"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  My personal takeaways:
&lt;/h2&gt;

&lt;p&gt;AWS re-invent is a platter full of knowledgeable sessions, workshops and experiences which give us the opportunity to learn and increase our knowledge. Only thing we need to do is to manage the time. &lt;strong&gt;5 days feels less when in Re:Invent!!&lt;/strong&gt; This is not just a tech conference, it is much much more. &lt;strong&gt;The connections one can build there by interacting with fellow attendees and AWS employees are without doubt precious for their cloud journey.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;So if you wish to experience the re:invent affair in 2025, keep a check on &lt;em&gt;&lt;strong&gt;&lt;a href="https://reinvent.awsevents.com/" rel="noopener noreferrer"&gt;https://reinvent.awsevents.com/&lt;/a&gt;&lt;/strong&gt;&lt;/em&gt; and subscribe for updates. Also, if you are a technologist with less than 5 years of experience, do apply for the &lt;strong&gt;AWS All Builders Welcome Grant Program&lt;/strong&gt;. It's totally worth it!!&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;AWS re-invent 2025 is bound to surpass all your expectations!&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>aws</category>
      <category>community</category>
      <category>reinvent2024</category>
    </item>
    <item>
      <title>How to migrate data between two S3 buckets in different accounts with SSO user access?</title>
      <dc:creator>Arijita Mitra</dc:creator>
      <pubDate>Thu, 14 Dec 2023 11:01:05 +0000</pubDate>
      <link>https://dev.to/aws-builders/how-to-migrate-data-between-two-s3-buckets-in-different-accounts-with-sso-user-access-4knn</link>
      <guid>https://dev.to/aws-builders/how-to-migrate-data-between-two-s3-buckets-in-different-accounts-with-sso-user-access-4knn</guid>
      <description>&lt;p&gt;In this blog, I am going to explain how to transfer objects from one S3 bucket present in one AWS account to another S3 bucket in another account, with SSO user privilege. Both the buckets are created in different regions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prerequisites&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Two AWS accounts (One with the source S3 bucket and another with the destination S3 bucket)&lt;br&gt;
SSO user access.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is SSO?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Single sign-on (SSO) is defined to be an authentication solution which allows users to log-in to multiple applications and websites with a one-time user authentication.&lt;/p&gt;

&lt;p&gt;Once the user has been given the access, the log-in page will look something like this -&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpgra8i2otzrhjxm0flwi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpgra8i2otzrhjxm0flwi.png" alt="Image description" width="800" height="235"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step — 1&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Sign-in to the AWS account with the source bucket.&lt;/p&gt;

&lt;p&gt;Go to the bucket that has to be copied(source bucket), and then we have to edit the bucket policy.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs7xcdzolwbdtp6xl17o5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs7xcdzolwbdtp6xl17o5.png" alt="Image description" width="800" height="454"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The policy to be used is as follows -&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "DelegateS3Access",
            "Effect": "Allow",
            "Principal": {
                "AWS": "arn:aws:iam::destinationaccountnumber:root"
            },
            "Action": [
                "s3:ListBucket",
                "s3:GetObject"
            ],
            "Resource": [
                "arn:aws:s3:::sourcebucketname/*",
                "arn:aws:s3:::sourcebucketname"
            ]
        }
    ]
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step — 2&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Log-in to the AWS account where the data will be transferred to, and create a policy -&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs0941fxb489dxytxjigo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs0941fxb489dxytxjigo.png" alt="Image description" width="800" height="454"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The policy to be used is as follows -&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "s3:ListBucket",
                "s3:GetObject"
            ],
            "Resource": [
                "arn:aws:s3:::sourcebucketname",
                "arn:aws:s3:::sourcebucketname/*"
            ]
        },
        {
            "Effect": "Allow",
            "Action": [
                "s3:ListBucket",
                "s3:PutObject",
                "s3:PutObjectAcl"
            ],
            "Resource": [
                "arn:aws:s3:::destinationbucketname",
                "arn:aws:s3:::destinationbucketname/*"
            ]
        }
    ]
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step — 3&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Add this policy to a role, and add the role to a user.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step — 4&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Next, go to your terminal, and configure your terminal with the required credentials of the newly created user from your SSO log-in page.&lt;/p&gt;

&lt;p&gt;Check if you are able to access the AWS account with the destination bucket with the following command -&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;aws sts get-caller-identity&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3dtoyv9pjqidalu7yrqi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3dtoyv9pjqidalu7yrqi.png" alt="Image description" width="800" height="230"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once you are able to access your AWS account, the next step is to check if you are able to access the source bucket from this AWS account.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;aws s3 ls s3://sourcebucketname&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step — 5&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Next, we have to copy the data from the source bucket into the destination bucket. We have to use the following command —&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;aws s3 sync s3://sourcebucketname s3://destinationbucketname — source-region sourceregion — region destinationregion&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion —&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Thus, in a few steps, we will be able to copy data from one S3 bucket to another S3 bucket belonging to a completely different account and a different region.&lt;/p&gt;

&lt;p&gt;One concern for this method of data transfer is the size of the bucket. If the bucket size is large, then this way of data transfer will require a much longer time.&lt;/p&gt;

&lt;p&gt;Hope you find this blog helpful.&lt;/p&gt;

&lt;p&gt;Happy learning!!&lt;/p&gt;

</description>
      <category>aws</category>
      <category>datamigration</category>
      <category>s3</category>
      <category>migration</category>
    </item>
    <item>
      <title>Amazon Inspector for Lambda standard and code scanning</title>
      <dc:creator>Arijita Mitra</dc:creator>
      <pubDate>Tue, 21 Nov 2023 09:48:02 +0000</pubDate>
      <link>https://dev.to/aws-builders/amazon-inspector-for-lambda-standard-and-code-scanning-331</link>
      <guid>https://dev.to/aws-builders/amazon-inspector-for-lambda-standard-and-code-scanning-331</guid>
      <description>&lt;p&gt;&lt;strong&gt;Amazon Inspector&lt;/strong&gt;, as the name suggests, is a vulnerability management service which scans AWS workloads continuously for software vulnerabilities and unwanted network exposures.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg890tn2hz86gkryq7rpa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg890tn2hz86gkryq7rpa.png" alt="Image description" width="800" height="349"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It is equipped to automatically discover and scan the &lt;strong&gt;running EC2 instances&lt;/strong&gt;, &lt;strong&gt;container images in Amazon ECR&lt;/strong&gt; and &lt;strong&gt;AWS Lambda functions&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It creates a finding when it encounters a vulnerability or network configuration issue.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is a finding?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Describes a vulnerability&lt;/li&gt;
&lt;li&gt;Identifies the affected resources&lt;/li&gt;
&lt;li&gt;Provides a rating for the vulnerability&lt;/li&gt;
&lt;li&gt;Provides guidance for remediation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Key Features of Amazon Inspector&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Centrally manages multiple Amazon Inspector accounts&lt;/li&gt;
&lt;li&gt;Regional service&lt;/li&gt;
&lt;li&gt;Continuously scans software vulnerability and network exposures&lt;/li&gt;
&lt;li&gt;Assesses the risk accurately and provide a risk score&lt;/li&gt;
&lt;li&gt;The findings can be customized and downloaded as JSON or CSV format&lt;/li&gt;
&lt;li&gt;When Amazon Inspector is activated for the first time in any region, it creates a service-linked role globally for the account — AWSServiceRoleforAmazonInspector2. This role will include the trust policies and permissions required for the scanning.&lt;/li&gt;
&lt;li&gt;Amazon Inspector can be accessed from -&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;AWS management console, AWS CLI, AWS SDKs &amp;amp; Amazon Inspector REST API&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;This is the page we will see when we first go to Amazon Inspector activation:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3n913w8ih2dyd0sfwfbx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3n913w8ih2dyd0sfwfbx.png" alt="Image description" width="800" height="282"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After we activate the Inspector in any region, we see the following dashboard:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn6v42yt7sfb3egw178i0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn6v42yt7sfb3egw178i0.png" alt="Image description" width="800" height="396"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scanning AWS Lambda functions with Amazon inspector&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Amazon Inspector for Lambda scanning was released for use by AWS in November 2022. It is a fairly new service, and has proved to be a useful one too!&lt;/p&gt;

&lt;p&gt;When Lambda scanning is activated, Amazon Inspector creates AWS CloudTrail service-linked channels in the account -&lt;/p&gt;

&lt;p&gt;&lt;em&gt;cloudtrail:CreateServiceLinkedChannel, cloudtrail:DeleteServiceLinkedChannel&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Amazon Inspector itself manages these channels and uses them for monitoring the CloudTrail events for scans.&lt;/p&gt;

&lt;p&gt;The Lambda functions need to meet few criteria to be eligible for scans -&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Must have been created or updated in the last 90 days&lt;/li&gt;
&lt;li&gt;Are not excluded from scans by tags&lt;/li&gt;
&lt;li&gt;Are marked $LATEST&lt;/li&gt;
&lt;li&gt;Have a supported runtime&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcxfew6rrwtq1acnlqmio.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcxfew6rrwtq1acnlqmio.png" alt="Image description" width="800" height="489"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It offers two types of scanning for Lambda -&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Amazon Inspector Lambda Standard Scanning&lt;/li&gt;
&lt;li&gt;Amazon Inspector Lambda Code Scanning&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;From the Account Management page, we need to activate the type of scanning we require -&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh4cbstfnr4rj1v32zmfy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh4cbstfnr4rj1v32zmfy.png" alt="Image description" width="800" height="335"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fur48cot4vt3j4q7rqvxd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fur48cot4vt3j4q7rqvxd.png" alt="Image description" width="800" height="301"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So, let’s chalk down the key differences between Standard scanning and Code scanning:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjstkyurds3wmgnh8cdw9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjstkyurds3wmgnh8cdw9.png" alt="Image description" width="800" height="316"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Currently Lambda code scanning is available for these regions as it is in preview stage -&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjxep4fjc6roiejxhmnrg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjxep4fjc6roiejxhmnrg.png" alt="Image description" width="800" height="243"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once activated for Lambda scanning, the Inspector will be actively scanning the Lambdas for vulnerabilities in the packages, and in the code(for code scanning).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwubs54rv403z4uqygj8j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwubs54rv403z4uqygj8j.png" alt="Image description" width="800" height="444"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For the Lambdas which do not support the scans, the reasons will be displayed like this-&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7omvjbp6tymnmpt3f2ex.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7omvjbp6tymnmpt3f2ex.png" alt="Image description" width="800" height="378"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To exclude a lambda function from standard scanning, we have to tag the function with the following key -&lt;/p&gt;

&lt;p&gt;Key : &lt;em&gt;InspectorExclusion&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Value : &lt;em&gt;LambdaStandardScanning&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;To exclude a lambda function from code scanning, we have to tag the function with the following key -&lt;/p&gt;

&lt;p&gt;Key : &lt;em&gt;InspectorCodeExclusion&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Value : &lt;em&gt;LambdaCodeScanning&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Understanding findings in Amazon Inspector&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Amazon Inspector stores the findings and it is displayed in the Findings dashboard.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwo75zo068jyv22p1dd5f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwo75zo068jyv22p1dd5f.png" alt="Image description" width="800" height="428"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Findings are one of the following types:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Active&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The finding is identified by Amazon Inspector and has not been remediated. Active findings are subject to suppression rules.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Suppressed&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The finding meets one or more criteria of one or more suppression rules. Suppressed findings are hidden from most views, except for the Suppressed findings list.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Closed&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;After a vulnerability is remediated, Amazon Inspector automatically detects it and changes the state of the finding to closed. Closed findings are deleted after 30 days if there are no other changes.&lt;/p&gt;

&lt;p&gt;For each finding, the file includes details such as -&lt;/p&gt;

&lt;p&gt;Amazon Resource Name (ARN) of the affected resource, the date and time when the finding was created, the associated Common Vulnerabilities and Exposures (CVE) ID, and the finding’s severity, status, and Amazon Inspector and CVSS scores.&lt;/p&gt;

&lt;p&gt;Here, one of my Lambda functions has been scanned and the scanning shows that it is in critical state due to hardcoded credentials in the code. Amazon Inspector will locate the part of the code where the issue lies and also provide a remediation for it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frgwssmnl0oxfx055w8t1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frgwssmnl0oxfx055w8t1.png" alt="Image description" width="800" height="527"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9gvqvptwch9c2m2zntu1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9gvqvptwch9c2m2zntu1.png" alt="Image description" width="800" height="960"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;_&lt;/p&gt;

&lt;p&gt;Disclaimer: Code scanning captures code snippets from the lambda functions to highlight the detected vulnerabilities. These may show hardcoded credentials or other sensitive information in plain text.&lt;br&gt;
_&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Exporting the findings to S3 Bucket&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We can export the findings into an S3 bucket and also download in JSON or CSV format. The steps to be followed are described below:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg2jhnfg4se8h92spgmri.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg2jhnfg4se8h92spgmri.png" alt="Image description" width="800" height="494"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Create a bucket, and edit the bucket policy. Add this policy:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="nl"&gt;"Version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"2012-10-17"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="nl"&gt;"Statement"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="nl"&gt;"Sid"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"allow-inspector"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="nl"&gt;"Effect"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Allow"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="nl"&gt;"Principal"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="nl"&gt;"Service"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"inspector2.amazonaws.com"&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="nl"&gt;"Action"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="s2"&gt;"s3:PutObject"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="s2"&gt;"s3:PutObjectAcl"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="s2"&gt;"s3:AbortMultipartUpload"&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="nl"&gt;"Resource"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"arn:aws:s3:::DOC-EXAMPLE-BUCKET/*"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="nl"&gt;"Condition"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="nl"&gt;"StringEquals"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="nl"&gt;"aws:SourceAccount"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"111122223333"&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="nl"&gt;"ArnLike"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="nl"&gt;"aws:SourceArn"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"arn:aws:inspector2:Region:111122223333:report/*"&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Create a key with symmetric encryption and then update the key policy. Add this policy :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="nl"&gt;"Sid"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Allow Amazon Inspector to use the key"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="nl"&gt;"Effect"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Allow"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="nl"&gt;"Principal"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="nl"&gt;"Service"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"inspector2.amazonaws.com"&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="nl"&gt;"Action"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="s2"&gt;"kms:Decrypt"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="s2"&gt;"kms:GenerateDataKey*"&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="nl"&gt;"Resource"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"*"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="nl"&gt;"Condition"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="nl"&gt;"StringEquals"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="nl"&gt;"aws:SourceAccount"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"111122223333"&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="nl"&gt;"ArnLike"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="nl"&gt;"aws:SourceArn"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"arn:aws:inspector2:Region:111122223333:report/*"&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
 &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then, go to All Findings, and filter out the desired finding that you would like to export. Fill in the required fields and then click on Export.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyukas1ulyinary9pfy6b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyukas1ulyinary9pfy6b.png" alt="Image description" width="800" height="480"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0e16gpyzht76j34b0xpv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0e16gpyzht76j34b0xpv.png" alt="Image description" width="800" height="369"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thus, we can see that the object Inspector-findings now has the json report of the finding from Amazon Inspector.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pricing&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;When we activate an Amazon Inspector scan type, we are automatically enrolled for a 15 day free trial for that scan type. After that, the price is calculated by the total Amazon Inspector coverage hours for the scanned functions within a month. The number of hours means the duration from when the function was discovered by Amazon Inspector until the function was deleted or excluded from scanning.&lt;/p&gt;

&lt;p&gt;With Amazon Inspector, we pay only for what we use, with no minimum fees and no upfront commitments!&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Thus, we can see that using AWS Inspector helps us to have a secure cloud architecture and this service serves the purpose very efficiently indeed.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Happy learning!&lt;/p&gt;

</description>
      <category>aws</category>
      <category>lambda</category>
      <category>inspector</category>
    </item>
    <item>
      <title>It's Party(Rock) time: Let's build an app in a few clicks!!</title>
      <dc:creator>Arijita Mitra</dc:creator>
      <pubDate>Thu, 16 Nov 2023 17:22:35 +0000</pubDate>
      <link>https://dev.to/aws-builders/its-partyrock-time-lets-build-an-app-in-a-few-clicks-3npl</link>
      <guid>https://dev.to/aws-builders/its-partyrock-time-lets-build-an-app-in-a-few-clicks-3npl</guid>
      <description>&lt;p&gt;PartyRock, an Amazon Bedrock Playground, is a generative AI app building playground. It is built to help us experiment hands-on with prompt engineering in an easy way. And let me tell you, it's a lot of fun too! Just a few clicks and we have built an app to play with generative AI in a variety of ways.&lt;/p&gt;

&lt;p&gt;Anyone can access PartyRock through its simple web-based UI, which is separate from the AWS console and does not even require an AWS account to get started. PartyRock provides every new user with free trial usage for a limited time and there is no credit card required to sign up.&lt;/p&gt;

&lt;p&gt;So let's use this opportunity and get started!&lt;br&gt;
When we open the &lt;a href="https://partyrock.aws/" rel="noopener noreferrer"&gt;URL&lt;/a&gt;, we will land into the PartyRock console. We need to login and proceed.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwm79u9tv7p9kkijf7s24.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwm79u9tv7p9kkijf7s24.png" alt="Image description" width="800" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let's click on "Build your own app".&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fymvaav7zc00hdbmyzg3n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fymvaav7zc00hdbmyzg3n.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I wanted to create a daily diet plan for my friend who is currently pregnant.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fefdtm4udzb3g1urgvaf0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fefdtm4udzb3g1urgvaf0.png" alt="Image description" width="800" height="382"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Next, you will be taken to the app creation page, where you have to give the inputs required and you can select the various widgets you want in your app.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsy4a245dc5xbos5w95h8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsy4a245dc5xbos5w95h8.png" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the User Input, we have to give some details, whatever we wish to. I gave the name, age and stage of pregnancy.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feext619wvym4erab23v8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feext619wvym4erab23v8.png" alt="Image description" width="800" height="476"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As soon as I gave the input, PartyRock started generating results as "Diet Recommendations".&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhfs4395gk4twsvjau69k.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhfs4395gk4twsvjau69k.png" alt="Image description" width="800" height="281"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The following is the recommendations generated by PartyRock -&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Here is a suggested healthy, balanced daily diet plan for Tabitha, a 30 year old woman who is 22 weeks pregnant:

Breakfast:
- 1 cup Greek yogurt with 1/2 cup berries and 1 tbsp chia seeds
- 1 slice whole grain toast with 1 tbsp natural peanut butter
- 1 cup green tea

Mid-morning Snack: 
- 1 medium apple with 1 oz cheddar cheese

Lunch:
- Tuna salad sandwich on whole wheat bread with lettuce, tomato, avocado
- 1 cup vegetable soup 
- 1 cup skim milk

Afternoon Snack:
- 1 oz mixed nuts
- 1 cup carrots and celery sticks with 2 tbsp hummus

Dinner: 
- 4 oz grilled salmon with lemon
- 1 cup cooked brown rice
- 1 cup steamed broccoli  
- Side salad with vinaigrette dressing

Evening Snack:
- 1 cup low-fat cottage cheese
- 1/2 whole wheat English muffin
- 8 oz decaf green tea

Key nutrition focuses for a pregnant woman are getting enough protein, omega-3s, iron, folate, calcium, fiber and fluids. This meal plan incorporates lean proteins, complex carbs, healthy fats, fruits, vegetables, dairy, nuts and seeds to help meet nutritional needs for pregnancy. Tabitha should focus on eating until satisfied, not overly full. She should also stay well hydrated by sipping water throughout the day. Light exercises like walking are also recommended during pregnancy. Consulting with an OBGYN or dietitian can help personalize and adjust this meal plan as needed.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Smart, right? &lt;/p&gt;

&lt;p&gt;There's a Feedback widget added automatically, where as I asked questions, it gave replies instantaneously.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe7nhzpdfxb2c5f909zm8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe7nhzpdfxb2c5f909zm8.png" alt="Image description" width="800" height="209"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiz92bfjexmlq68llf9dm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fiz92bfjexmlq68llf9dm.png" alt="Image description" width="800" height="207"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Next I wanted to explore more. I wanted to add more widgets to my app.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzgp8npaupl4curbvqmyn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzgp8npaupl4curbvqmyn.png" alt="Image description" width="800" height="148"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There are few options available. Let's select the Image Generation and see what's in store!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9yrnx69in40h7q0l2t6g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9yrnx69in40h7q0l2t6g.png" alt="Image description" width="800" height="415"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So we can use the User input and create the image. We can make changes to the user input and the simultaneous image will be updated. For example, as I asked to generate a cartoon image of the user input i.e. a pregnant lady, PartyRock generated the following image.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fge1nrskp256j80jpnceo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fge1nrskp256j80jpnceo.png" alt="Image description" width="512" height="512"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Isn't it cool!! It's that easy!!&lt;br&gt;
We can create as many images as we wish to by changing the inputs.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Few2bzdpn9x2zl6jpluz2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Few2bzdpn9x2zl6jpluz2.png" alt="Image description" width="800" height="155"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We can add a Chatbot too with our desired settings.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl6sdbi0m9ppl712thyfr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl6sdbi0m9ppl712thyfr.png" alt="Image description" width="800" height="1210"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thus, in this fun way, we have actually created a cool app, which can be improvised more and more. &lt;/p&gt;

&lt;p&gt;There are two modes of the apps we create - Private or Public. If we select the private mode, the app will remain private. But if we select the public mode, the app can be shared with anyone and can be accessed by them through the link.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyuyv1ih7b6oon62vwkrq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyuyv1ih7b6oon62vwkrq.png" alt="Image description" width="800" height="172"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4mjuafqld9wo8tbdl0dr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4mjuafqld9wo8tbdl0dr.png" alt="Image description" width="800" height="385"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thus my app is public now, and can be accessed through this &lt;a href="https://partyrock.aws/u/AM/Ve4o5xuhB/Pregnancy-Diet-Planner" rel="noopener noreferrer"&gt;link&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Out of interest I have created another app to help my diabetic dad with his diet. &lt;em&gt;(Don't know why I am creating apps for diet plans though!)&lt;/em&gt;. You can have a look at that app too &lt;a href="https://partyrock.aws/u/AM/6JY3bch4s/Diabetes-Diet-Assistant" rel="noopener noreferrer"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;My dashboard currently looks like this.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhbuvflj0sv7zi1a5wyhv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhbuvflj0sv7zi1a5wyhv.png" alt="Image description" width="800" height="410"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;AWS is providing a free trial period for PartyRock users. Let's use this opportunity and get creative!&lt;/p&gt;

&lt;p&gt;Thus, let's dive into the world of generative AI app building with this smart Amazon Bedrock Playground - &lt;strong&gt;PartyRock&lt;/strong&gt;!!! &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Everyone can build AI apps with PartyRock, an Amazon Bedrock Playground"&lt;/p&gt;
&lt;/blockquote&gt;




</description>
      <category>aws</category>
      <category>partyrockplayground</category>
      <category>awsbedrock</category>
      <category>generativeai</category>
    </item>
    <item>
      <title>Use AWS Systems Manager Run Command to install CloudWatch Agent in EC2 instances</title>
      <dc:creator>Arijita Mitra</dc:creator>
      <pubDate>Thu, 09 Nov 2023 09:51:06 +0000</pubDate>
      <link>https://dev.to/aws-builders/use-aws-systems-manager-run-command-to-install-cloudwatch-agent-in-ec2-instances-1gon</link>
      <guid>https://dev.to/aws-builders/use-aws-systems-manager-run-command-to-install-cloudwatch-agent-in-ec2-instances-1gon</guid>
      <description>&lt;p&gt;&lt;strong&gt;Amazon CloudWatch&lt;/strong&gt; is a service which monitors our AWS resources and the applications running in real time. With CloudWatch, we have system-wide visibility into resource utilization, application performance, and operational health.&lt;/p&gt;

&lt;p&gt;With CloudWatch, we can create alarms that watch metrics and send notifications or automatically make changes to the resources when a threshold is breached. However, the memory and disk metrics are not logged by default. Thus, in order for the memory and disk to be monitored and logged, we have to install the &lt;strong&gt;CloudWatch agent&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CloudWatch Agent&lt;/strong&gt; helps to collect metrics and logs from EC2 instances and on-premises servers and push them to CloudWatch.&lt;/p&gt;

&lt;p&gt;In this blog, I will be explaining the steps to be followed to create a CloudWatch alarm for EC2 instances by deploying the CloudWatch Configuration File. Below is the process to install cloudwatch agent and configure custom metrics by leveraging AWS Systems Manager.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prerequisites:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;AWS SSM Agent Installed on EC2&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;AmazonCloudWatchAgent installed on EC2&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;IAM Role(I named it “SSMagent”) with the following permissions - CloudWatchAgentServerPolicy and AmazonSSMManagedInstanceCore&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Attach IAM Role&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To configure each Windows EC2 instance through Systems Manager, you need to attach an IAM role with the above permissions to each EC2 instance.&lt;/p&gt;

&lt;p&gt;Select the EC2 instance and click on Actions&amp;gt;Instance Settings&amp;gt;Attach/Replace IAM role. Then select the IAM role “SSMagent” which we have created.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7ivihhezq520xrzacqdf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7ivihhezq520xrzacqdf.png" alt="Image description" width="800" height="383"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Installing CloudWatch Agent on your Instances&lt;br&gt;
Navigate to the ‘Systems Manager’ service under the account and region you would like to configure&lt;/p&gt;

&lt;p&gt;In the navigation pane, choose Run Command and then click on Run a Command&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzxrxltzz98s0msokxjka.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzxrxltzz98s0msokxjka.png" alt="Image description" width="800" height="393"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the Command document list, choose &lt;strong&gt;&lt;em&gt;AWS-ConfigureAWSPackage&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcx40v3dlz95566hyp2zl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcx40v3dlz95566hyp2zl.png" alt="Image description" width="800" height="410"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the Name field, type &lt;em&gt;&lt;strong&gt;AmazonCloudWatchAgent&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnr8xrucq9m04xf5riy3p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnr8xrucq9m04xf5riy3p.png" alt="Image description" width="800" height="272"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the Targets area, choose the instance or multiple instances on which to install the CloudWatch agent. We could see the instances in the target list as instances that have SSM agent installed by default and we attached the role(SSMagent) with necessary permissions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fol8fd4fg52yia3yjxuss.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fol8fd4fg52yia3yjxuss.png" alt="Image description" width="800" height="372"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Leave Version set to latest to install the latest version of the agent.&lt;/p&gt;

&lt;p&gt;We can uncheck the output options for S3 if you don’t want to store in an S3 bucket.&lt;br&gt;
Click on Run.&lt;br&gt;
In the next screen, you should see a confirmation message that the command was sent successfully and the status should be Success after a few seconds.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh6k53wle04rx7z0akq4f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fh6k53wle04rx7z0akq4f.png" alt="Image description" width="800" height="407"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Creating a Parameter Store with CloudWatchAgent configuration Script&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Next, you will need to create a parameter store for the CWA configuration so it can be deployed across multiple EC2 instances.&lt;/p&gt;

&lt;p&gt;Navigate to the ‘Systems Manager’ service under the account and region you’d like to configure&lt;br&gt;
In the navigation pane, choose Parameter Store and then click Create Parameter&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs6k74jls03ces6au3qo4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs6k74jls03ces6au3qo4.png" alt="Image description" width="800" height="243"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Under the Name field, you can enter any name, but you must use the same name in the next step, for example, I used &lt;strong&gt;CWA_config&lt;/strong&gt;&lt;br&gt;
Create and paste the JSON agent configuration created in the below into the Value field (leave all options at default).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0u3u0uqzp42yx6bi286g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0u3u0uqzp42yx6bi286g.png" alt="Image description" width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The CW Agent will be configured to define which metric(s) are being sent to a CW Namespace, and other data required. The following JSON represents the minimum requirements.&lt;br&gt;
Also, you can configure optional parameters of the CW Namespace (CWAgent is the default when not defined), and region (default region where data is located in the region where the instance runs).&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
    "metrics": {
        "namespace": "Custom_EC2_CWA",
        "metrics_collected": {
            "cpu": {
                "resources": [
                    "*"
                ],
                "measurement": [
                    {
                        "name": "usage_active",
                        "rename": "CPU_USAGE",
                        "unit": "Percent"
                    }
                ]
            },
            "disk": {
                "measurement": [
                    {
                        "name": "used_percent"
                    }
                ],
                "resources": [
                    "*"
                ]
            },
            "mem": {
                "resources": [
                    "*"
                ],
                "measurement": [
                    {
                        "name": "used_percent",
                        "rename": "MEM_USED_PERCENT",
                        "unit": "Percent"
                    }
                ]
            }
        }
    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now click Create Parameter — you should see a message saying it has been created and the parameter listed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Deploying The CloudWatch Configuration File&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;In the ‘Systems Manager’ navigation pane, choose Run Command and then click on Run a Command&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In the Command document list, choose &lt;strong&gt;&lt;em&gt;AmazonCloudWatch-ManageAgent&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Under Action select configure&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Under Mode leave it as ec2&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Change the Optional Configuration Source to ssm&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Under Optional Configuration Location enter the same name of the parameter you created in the Parameter Store (previous section). In this the parameter is named CWA_config&lt;br&gt;
Optional Restart should be set to Yes (This will restart the CloudWatch agent, not the instance)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In the Targets area, choose the instance or multiple instances on which you want to deploy CloudWatch Configuration on.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Now click on Run, We can see command ID status is success&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;To confirm that the instance is sending the Memory Metrics, head to the CloudWatch page, click on Metrics and locate the Custom_EC2_CWA (only be created if the process worked successfully). Click on InstanceId — there should be Metrics per instance for all the instances, and thus confirm that the data is collected.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkve7adep2vwy6rnr43v5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkve7adep2vwy6rnr43v5.png" alt="Image description" width="800" height="416"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;When you click on Custom_EC2_CWA, you can see the different metrics.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkhf75obubg474m88kiel.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkhf75obubg474m88kiel.png" alt="Image description" width="800" height="328"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fza7lwt3lv07st31xdx1y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fza7lwt3lv07st31xdx1y.png" alt="Image description" width="800" height="199"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Alarms Creation:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We can follow below AWS documentation to create alarms for the custom metrics.&lt;br&gt;
&lt;a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ConsoleAlarms.html" rel="noopener noreferrer"&gt;&lt;br&gt;
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ConsoleAlarms.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Below are the snippets to guide you through.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhkdyr00apnktzvzglpfk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhkdyr00apnktzvzglpfk.png" alt="Image description" width="800" height="211"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxgmkvcpwvpx5zi6e36ox.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxgmkvcpwvpx5zi6e36ox.png" alt="Image description" width="800" height="494"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs4nuoopi5z4sgshitqdt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs4nuoopi5z4sgshitqdt.png" alt="Image description" width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2pcaxgr0yxduvedo4iet.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2pcaxgr0yxduvedo4iet.png" alt="Image description" width="800" height="389"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Click on Next and preview, create an alarm.&lt;/p&gt;

&lt;p&gt;If we need more custom metrics for the instances, then edit the CWA_config in the parameter store.&lt;/p&gt;

&lt;p&gt;Below is the reference link to check manually create and edit CloudWatchAgent config file.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-Configuration-File-Details.html?source=post_page-----11138051fb43--------------------------------" rel="noopener noreferrer"&gt;https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Agent-Configuration-File-Details.html?source=post_page-----11138051fb43--------------------------------&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>monitoring</category>
      <category>cloud</category>
    </item>
  </channel>
</rss>
