<?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>Forem: Rajani Ekunde</title>
    <description>The latest articles on Forem by Rajani Ekunde (@rajani103).</description>
    <link>https://forem.com/rajani103</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%2F944134%2F713c07e5-7937-49ba-9cc8-070bf0a793bb.jpeg</url>
      <title>Forem: Rajani Ekunde</title>
      <link>https://forem.com/rajani103</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/rajani103"/>
    <language>en</language>
    <item>
      <title>Enhancing AWS Security: A Guide to IAM User Deletion Notifications</title>
      <dc:creator>Rajani Ekunde</dc:creator>
      <pubDate>Wed, 17 Jan 2024 08:09:17 +0000</pubDate>
      <link>https://forem.com/aws-builders/enhancing-aws-security-a-guide-to-iam-user-deletion-notifications-19bk</link>
      <guid>https://forem.com/aws-builders/enhancing-aws-security-a-guide-to-iam-user-deletion-notifications-19bk</guid>
      <description>&lt;h2&gt;
  
  
  &lt;strong&gt;Introduction&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;In the dynamic realm of AWS, safeguarding your environment is a continuous journey. In this detailed guide, we’ll delve into a crucial aspect of security where we will be configuring notifications for IAM user deletions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--2g_Z2_EM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn-images-1.medium.com/max/2000/0%2AMP0jz6Zo1zRng2O2.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--2g_Z2_EM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn-images-1.medium.com/max/2000/0%2AMP0jz6Zo1zRng2O2.jpg" alt="" width="750" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This hands-on approach adds a layer to your defense strategy, ensuring you’re not only aware but also well-prepared to respond promptly to potential security threats.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Why is the need to configure these notifications?&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;IAM users have considerable control over your AWS resources. Any unauthorized access or accidental deletion of these accounts poses a significant security risk.&lt;/p&gt;

&lt;p&gt;By configuring IAM user deletion notifications, you gain insights into these crucial events, allowing for swift responses and mitigation of potential security breaches.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;AWS Cloud-Trail&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;AWS CloudTrail is like your AWS superhero sidekick, ensuring your cloud journey is secure, compliant, and well-documented. Imagine it as a record keeper, noting down every move in your AWS account to keep you in the loop.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--B8B9kywN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn-images-1.medium.com/max/3782/1%2A5SpqxwCTW85RRAangP2Nzg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--B8B9kywN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn-images-1.medium.com/max/3782/1%2A5SpqxwCTW85RRAangP2Nzg.png" alt="" width="800" height="315"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;AWS CloudTrail is your behind-the-scenes assistant from Amazon Web Services (AWS). It’s here to help with governance, compliance, and auditing kind of like your cloud guardian angel. This service creates a detailed play-by-play of every API call made in your AWS account. Whether it’s you, your team, or other users making the call, CloudTrail captures it all.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Configuring AWS CloudTrail&lt;/strong&gt;
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Activate AWS CloudTrail:&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Initiate the process by enabling AWS CloudTrail in your AWS account. This service provides a comprehensive log of AWS API calls, including IAM actions.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#aws cloudtrail create-trail — name MyCloudTrail — s3-bucket-name MyS3Bucket
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;2. Tailor CloudTrail for IAM Events&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Customize CloudTrail to capture specific IAM events in your logs.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#aws cloudtrail put-event-selectors --trail-name MyCloudTrail --event-selectors '[{"ReadWriteType": "WriteOnly","IncludeManagementEvents":true,"DataResources":[{"Type":"AWS::IAM::User"}]}]'
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;AWS CloudWatch&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Amazon CloudWatch is like your personal cloud watchdog, keeping a vigilant eye on your Amazon Web Services (AWS) resources. It’s a monitoring and observability service designed to help you track, collect, and visualize data from various AWS resources in real time.&lt;/p&gt;

&lt;p&gt;In simpler terms, it’s the tool you turn to when you want to keep tabs on what’s happening within your AWS environment.&lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;Setting Up Amazon CloudWatch Events&lt;/strong&gt;
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Craft CloudWatch Event Rule&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Leverage CloudWatch Events to trigger notifications based on CloudTrail events.&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#aws events put-rule --name IAMUserDeletionRule --event-pattern '{"source": ["aws.iam"],"detail-type": ["AWS API Call via CloudTrail"],"detail": {"eventSource": ["iam.amazonaws.com"],"eventName": ["DeleteUser"]}}'
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;2. Specify Rule Target&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Define where CloudWatch Events should send notifications, such as an SNS topic.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#aws events put-targets --rule IAMUserDeletionRule --targets '{"Id": "1","Arn": "arn:aws:sns:us-east-1:123456789012:MySNSTopic"}'
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;AWS IAM &amp;amp; IAM Policies&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--qmYawtTy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn-images-1.medium.com/max/2000/1%2AdE4GMucdaegslFMoD2Qb8w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--qmYawtTy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://cdn-images-1.medium.com/max/2000/1%2AdE4GMucdaegslFMoD2Qb8w.png" alt="" width="482" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;IAM, which stands for Identity and Access Management, is a crucial service provided by Amazon Web Services (AWS) that allows you to securely control access to your AWS resources.&lt;/p&gt;

&lt;p&gt;It serves as the gatekeeper, enabling you to manage users, groups, and roles within your AWS environment, and define who (or what) can do what across your resources&lt;/p&gt;

&lt;p&gt;**IAM policies **are the backbone of AWS security. They are JSON documents that define permissions and are attached to users, groups, or roles.&lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;Implementing IAM Policy for Notifications&lt;/strong&gt;
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Create IAM Policy&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Develop a policy that grants necessary permissions for CloudWatch Events and SNS.&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
  "Version": "2024-01-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": ["events:PutTargets", "events:PutRule", "events:DescribeRule"],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": ["sns:Publish"],
      "Resource": "arn:aws:sns:us-east-1:123456789012:MySNSTopic"
    }
  ]
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;2. Attach IAM Policy to User/Role&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Associate the IAM policy with the relevant IAM user or role to grant necessary permissions.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#aws iam put-user-policy --user-name MyIAMUser --policy-name IAMUserDeletionPolicy --policy-document file://IAMUserDeletionPolicy.json
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  &lt;strong&gt;Testing the Setup&lt;/strong&gt;
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Simulate IAM User Deletion&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Validate your setup by simulating the deletion of an IAM user.&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#aws iam delete-user --user-name TestUser
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;2. Verify Notification&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Check your designated notification channel (ex SNS topic) for the alert triggered by the IAM user deletion event.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Conclusion:&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Proactively configuring IAM user deletion notifications isn’t just a best practice it’s a critical step in strengthening your AWS security.&lt;/p&gt;

&lt;p&gt;By seamlessly integrating AWS CloudTrail, CloudWatch Events, and IAM policies, you establish a robust system that keeps you informed about potential security risks in real time.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>awssecurity</category>
      <category>iam</category>
      <category>iamuser</category>
    </item>
    <item>
      <title>AWS Community Builders Program-All you need to know!!🌻</title>
      <dc:creator>Rajani Ekunde</dc:creator>
      <pubDate>Thu, 08 Jun 2023 09:38:00 +0000</pubDate>
      <link>https://forem.com/aws-builders/aws-community-builders-program-all-you-need-to-know-4j7k</link>
      <guid>https://forem.com/aws-builders/aws-community-builders-program-all-you-need-to-know-4j7k</guid>
      <description>&lt;p&gt;✨ &lt;strong&gt;What is AWS Community Builders program?&lt;/strong&gt; ✨ &lt;/p&gt;

&lt;p&gt;The AWS Community Builders program is a global initiative by Amazon Web Services (AWS) that aims to encourage technical enthusiasts and emerging thought leaders to share knowledge and connect to the technical community by providing education, networking opportunities, and technical resources.&lt;/p&gt;

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

&lt;p&gt;In the article I will be explaining about all the things that one should know before applying for the AWS Community Builders Program.&lt;/p&gt;

&lt;p&gt;✨ &lt;strong&gt;We will be talking about :&lt;/strong&gt; ✨ &lt;/p&gt;

&lt;p&gt;✔ Who can apply for the program?&lt;br&gt;
✔ Prerequisites needed for the program.&lt;br&gt;
✔ AWS Community Builder Categories&lt;br&gt;
✔ Why should you join the AWS Community Builders Program?&lt;br&gt;
✔ How to Get Accepted ?&lt;br&gt;
✔ How to apply ?&lt;br&gt;
✔ Perks of being AWS Community Builder&lt;br&gt;
✔ AWS Swags&lt;/p&gt;

&lt;p&gt;✨  &lt;strong&gt;Who can apply for the program?&lt;/strong&gt; ✨ &lt;/p&gt;

&lt;p&gt;✔ You must be at least 18 years old. &lt;br&gt;
✔ Open to everyone worldwide (with the exception of nations that are subject to US embargo)&lt;br&gt;
✔ Twice a year, applications are examined and accepted.&lt;br&gt;
old membership Eligible for all technical levels: Level 100 (Beginner), Level 200 (Intermediate), Level 300 (Advanced), Level 400 (Expert) Technical accuracy and community engagement can be more important than technical depth.&lt;br&gt;
✔ Membership lasts for a year, and you must re-apply every year to renew membership.&lt;/p&gt;

&lt;p&gt;✨ &lt;strong&gt;Prerequisites needed for the program&lt;/strong&gt; ✨ &lt;/p&gt;

&lt;p&gt;✔ &lt;strong&gt;AWS Knowledge and Experience&lt;/strong&gt;&lt;br&gt;
 It’s essential to have a thorough knowledge of Amazon Web Services (AWS) and practical experience with AWS services. &lt;br&gt;
Knowledge of numerous AWS products, architectures, best practises, and implementation scenarios are included in this.&lt;/p&gt;

&lt;p&gt;✔ &lt;strong&gt;Community Engagement&lt;/strong&gt;&lt;br&gt;
Engagement with the AWS community and active participation in technical categories are highly regarded.&lt;/p&gt;

&lt;p&gt;✔ &lt;strong&gt;Content Creation&lt;/strong&gt;&lt;br&gt;
The program’s key component is the creation and dissemination of instructional content. This can be accomplished through publishing blog entries, producing videos or tutorials, giving talks, or participating in open-source initiatives.&lt;/p&gt;

&lt;p&gt;✨ &lt;strong&gt;AWS Community Builder Categories&lt;/strong&gt; ✨ &lt;/p&gt;

&lt;p&gt;AWS Community Builders are assigned to a very specific AWS topic or category, but they are not constrained to it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The following categories:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Networking and Content Delivery&lt;/li&gt;
&lt;li&gt;Storage&lt;/li&gt;
&lt;li&gt;Containers&lt;/li&gt;
&lt;li&gt;Machine Learning&lt;/li&gt;
&lt;li&gt;Serverless&lt;/li&gt;
&lt;li&gt;Gravitron / Arm Development&lt;/li&gt;
&lt;li&gt;Data (Databases, Analytics, Blockchain)&lt;/li&gt;
&lt;li&gt;Developer Tools&lt;/li&gt;
&lt;li&gt;Game Tech&lt;/li&gt;
&lt;li&gt;Mobile and Web Apps&lt;/li&gt;
&lt;li&gt;Management, Governance and Migration&lt;/li&gt;
&lt;li&gt;Security, Identity &amp;amp; Compliance&lt;/li&gt;
&lt;li&gt;Cloud Operations&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You can choose either of the track as per your area of interest.&lt;/p&gt;

&lt;p&gt;✨ &lt;strong&gt;Why should you join the AWS Community Builders Program?&lt;/strong&gt; ✨ &lt;/p&gt;

&lt;p&gt;For those who are enthusiastic about AWS and the cloud community, joining the AWS Community Builders Programme can provide a number of advantages and opportunities.&lt;/p&gt;

&lt;p&gt;Here are some benefits you might think about participating in the programme:&lt;/p&gt;

&lt;p&gt;✔ &lt;strong&gt;Recognition and Visibility&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It will raise your professional profile and increase your exposure within the AWS community to be recognised as an AWS Community Builder, which is what the programme offers.&lt;/p&gt;

&lt;p&gt;✔ &lt;strong&gt;Networking Opportunities&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You will have access to a network of like-minded professionals, AWS specialists, and other community builders when you sign up to become an AWS Community Builder. This network can offer beneficial contacts, opportunities for working together, and learning and development opportunities.&lt;/p&gt;

&lt;p&gt;✔ &lt;strong&gt;Learning and Skill Development&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You will be exposed to a variety of AWS technologies, best practises, and use cases by participating in the programme. You may increase your technical proficiency, broaden your knowledge, and keep up with emerging trends and breakthroughs in the AWS ecosystem.&lt;/p&gt;

&lt;p&gt;✔ &lt;strong&gt;Collaboration and Collaboration Opportunities&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The programme promotes teamwork among its participants, allowing you to work together on initiatives, projects, and community-focused events.&lt;/p&gt;

&lt;p&gt;✨ &lt;strong&gt;How to Get Accepted ?&lt;/strong&gt; ✨&lt;/p&gt;

&lt;p&gt;✔ &lt;strong&gt;Engage in the Community&lt;/strong&gt;&lt;br&gt;
Participate more frequently in the AWS community. Participate in user organizations, meetups, online forums, and social media channels devoted to AWS. Attend AWS events.&lt;/p&gt;

&lt;p&gt;✔ &lt;strong&gt;Create Unique &amp;amp; Valuable Content&lt;/strong&gt;&lt;br&gt;
While applying you have to provide 2 links of your original content created either 2 video content, 2 blogs or 1 video 1 blog. Make sure your content revolves around AWS and having no plagiarism.&lt;/p&gt;

&lt;p&gt;✔ &lt;strong&gt;Prepare Your Application Questions properly&lt;/strong&gt;&lt;br&gt;
You should write all the answers in the Application very properly because this is one of the most important filtration point. Review the AWS Community Builders program’s application specifications and rules. Pay close attention to the particular questions or prompts given and answer them completely.&lt;/p&gt;

&lt;p&gt;✨ &lt;strong&gt;How to apply ?&lt;/strong&gt; ✨&lt;/p&gt;

&lt;p&gt;You can go to the below link for applying. You need to check first if the application window is open or not.&lt;/p&gt;

&lt;p&gt;Once a year they do open their application. You need to check if they have started accepting the applications of the same or not.&lt;/p&gt;

&lt;p&gt;If they have not started the application window you can simply go and add your name to the waitlist. So that when they will start accepting the applications they will inform you about the same via mail.&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://aws.amazon.com/developer/community/community-builders/?AWSreferralQ12021"&gt;https://aws.amazon.com/developer/community/community-builders/?AWSreferralQ12021&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;✨ &lt;strong&gt;What should you do once you are into the Program ?&lt;/strong&gt; ✨ &lt;/p&gt;

&lt;p&gt;✔ Engage in Virtual Calls .&lt;br&gt;
✔ Take advantage of mentoring possibilities.&lt;br&gt;
✔ Continue to share or create technical information.&lt;br&gt;
✔ Interact with the AWS community, and contribute to its growth.&lt;br&gt;
✔ Show a persistent desire to learn more about AWS.&lt;/p&gt;

&lt;p&gt;✨ &lt;strong&gt;Perks of being AWS Community Builder&lt;/strong&gt; ✨ &lt;/p&gt;

&lt;p&gt;✔ Exclusive multiple sessions where they share their expertise and educate you how to create content.&lt;br&gt;
✔ AWS credit of 500$&lt;br&gt;
✔ 50% off AWS re:Invent tickets&lt;br&gt;
✔ One year of CloudAcademy access&lt;br&gt;
✔ One free certification voucher each year&lt;/p&gt;

&lt;p&gt;✨ &lt;strong&gt;AWS Swags&lt;/strong&gt; ✨&lt;/p&gt;

&lt;p&gt;These are the swags you will receive if you are being ACB for the first year. They do have some other swags for 2nd year of the Program.&lt;/p&gt;

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

&lt;p&gt;✨  &lt;strong&gt;My post on Linkedin About being ACB :&lt;/strong&gt; ✨ &lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.linkedin.com/posts/rajani103_aws-awscommunity-awscommunitybuilders-activity-7065938581516652544-N03z?utm_source=share&amp;amp;utm_medium=member_desktop"&gt;https://www.linkedin.com/posts/rajani103_aws-awscommunity-awscommunitybuilders-activity-7065938581516652544-N03z?utm_source=share&amp;amp;utm_medium=member_desktop&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That should give you a good overview of the AWS community Builders programme, and I look forward to meeting you there.🌻&lt;/p&gt;

&lt;p&gt;Please feel free to contact me on &lt;a href="https://www.linkedin.com/in/rajani103/"&gt;LinkedIn&lt;/a&gt; if you are unsure about anything or are having trouble understanding anything about the programme.&lt;/p&gt;

&lt;p&gt;Thank you for reading🌻&lt;br&gt;
Rajani!! &lt;/p&gt;

</description>
      <category>aws</category>
      <category>awscommunitybuilders</category>
      <category>awscommunity</category>
    </item>
    <item>
      <title>AWS CloudWatch ☁🕜 : CMAA | Metric | Alarms | Namespaces | Events</title>
      <dc:creator>Rajani Ekunde</dc:creator>
      <pubDate>Wed, 26 Apr 2023 13:21:50 +0000</pubDate>
      <link>https://forem.com/aws-builders/aws-cloudwatch-cmaa-metric-alarms-namespaces-events-3h95</link>
      <guid>https://forem.com/aws-builders/aws-cloudwatch-cmaa-metric-alarms-namespaces-events-3h95</guid>
      <description>&lt;p&gt;&lt;a href="https://media.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%2Fj6esyb5rs65pkkphd94m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fj6esyb5rs65pkkphd94m.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When an application is designed, we don’t have an idea of how the application is going to perform in the future, what impact it will create, how many people will engage with the application.&lt;/p&gt;

&lt;p&gt;Considering global deployment of the application it is little tough to manage the crashing of the application. Hence the users may start facing problems with the application as the traffic on eth application increases. This happens because of short-sightedness and sometimes because of lack of the budget.&lt;/p&gt;

&lt;p&gt;Considering microservices architecture for such application with thousands of APIs which works in tandem with each other. In this case there could be failure related to the API on the service, the authentication can fail and also sometimes it can be the issue of CPU utilization and memory consumption which makes the application to crash.&lt;/p&gt;

&lt;p&gt;If this problem would have been identified on a timely basis or at an early time then the mess or the whole crash of application would have been restricted by taking necessary steps at the early crash stage.&lt;/p&gt;

&lt;p&gt;For that we need a service that can help us collect the data points or logs. This can help us monitor the current state or the state over a period of time and help us create action items to mitigate the issue and the same way lets us analyze the data we have in order to avoid such issues in the future and that’s where cloud watch comes into the picture.&lt;/p&gt;

&lt;p&gt;AWS CloudWatch gives us a proper logging mechanism and monitoring mechanism. It allows to to collect the data points, monitor them act on them automatically and this will help us avoid the problems that may occur with the application in the coming future.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is Amazon CloudWatch?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Amazon CloudWatch is a monitoring service provided by Amazon Web Services (AWS) that provides data and operational insights for various AWS resources. It helps you monitor your resources, applications and services running on the AWS cloud, so you can troubleshoot issues and ensure high availability.&lt;/p&gt;

&lt;p&gt;CloudWatch collects monitoring and operational data in the form of logs metrics and events and visualizes it using automated dashboards so you can get a unified view of your AWS resources applications and services that run in AWS and on-premise.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It works on the Principal Collect, Monitor, Act, Analyze(CMAA).&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Working of AWS CloudWatch :&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fegwjtgx246k2l2hjj05e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fegwjtgx246k2l2hjj05e.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;**1. Collect: *&lt;/em&gt;*&lt;br&gt;
The first step is to collect data from various sources, such as logs, metrics, and events, in order to get a complete picture of the behavior and performance of your IT systems and infrastructure.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;**2. Monitor: *&lt;/em&gt;*&lt;br&gt;
Once data is collected, the next step is to monitor it in real-time in order to identify any potential issues or problems. This includes setting up alerts and notifications to proactively notify you when certain conditions are met.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;**3. Analyze: *&lt;/em&gt;*&lt;br&gt;
The third step is to analyze the data in order to gain insights into the performance and behavior of your systems. This includes looking at trends, identifying patterns, and performing root cause analysis to determine the underlying cause of any issues.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;**4. Act: *&lt;/em&gt;*&lt;br&gt;
The final step is to take action based on the insights gained from the analysis. One can automate actions based on specific events or conditions. This includes making changes to your systems, such as optimizing settings or deploying new software updates, in order to improve performance and reliability.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fqp7npbh921k6sprvlyvx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fqp7npbh921k6sprvlyvx.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The CMAA methodology is a continuous process that allows you to proactively manage and monitor your IT systems and infrastructure in real-time, ensuring that any potential issues are quickly identified and resolved. By using this framework, you can improve the availability, performance, and security of your systems, and ultimately deliver a better user experience.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AWS CloudWatch :&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fb2th9rvqjpe6gv5dsxlg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fb2th9rvqjpe6gv5dsxlg.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is a basic flow of the AWS CloudWatch. As you can see in the diagram the very first step here is the Application Monitoring.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Application Monitoring&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;AWS CloudWatch collects all the data points and logs from the application for which we are using the AWS CloudWatch system. And helps us to get an idea of the application, its performance and monitor them act on them automatically and this will help us avoid the problems that may occur with the application in the coming future.&lt;br&gt;
**&lt;br&gt;
System-wide Visibility**&lt;/p&gt;

&lt;p&gt;In AWS CloudWatch you an exposure to monitor and get data and about all the tiers of the application so that we won’t miss out any services that we have been using in the various tiers of the application.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Resource Optimization&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In resource optimization Auto-Scaling comes into the picture. When there is peak CPU utilization then we can increase the number of instances and reduce as the CPU utilization comes down.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Unified Operational Health&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;And all these things helps the system to have an Unified Operational Health.&lt;/p&gt;

&lt;p&gt;Here are some key concepts related to Amazon CloudWatch:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Metrics:&lt;/strong&gt;&lt;br&gt;
Metrics are data points that measure the behavior and performance of AWS resources. Examples of metrics include CPU utilization, disk read/write operations, and network traffic.&lt;/p&gt;

&lt;p&gt;So the basic idea here is that if we want to judge the current state of an instance or resource we need a benchmark isn’t it for example if we consider the CPU utilization of the instance goes above 85 percent then I want to scale a new resource so what we will say then the benchmark here is CPU utilization and the threshold value that I have here is 85 percent.&lt;/p&gt;

&lt;p&gt;If the CPU utilization of the instance goes above 85 percent then we want to scale a new resource so 85 percent becomes the threshold and the benchmark on which we are trying to judge the resource state i.e. CPU utilization.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Alarms:&lt;/strong&gt;&lt;br&gt;
Alarms are used to trigger actions based on the value of a metric. For example, you can create an alarm that sends an email notification when the CPU utilization of an EC2 instance exceeds a certain threshold.&lt;/p&gt;

&lt;p&gt;We can use alarms to automatically initiate actions on your behalf for any certain actions that has occurred.&lt;/p&gt;

&lt;p&gt;Alarms keep focus on a single metric over a period of time. Once the action is occurred we can notify the same to SNS topic or to an Auto-scaling group to take certain necessary actions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2F7e6mq09remggh60g2a85.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2F7e6mq09remggh60g2a85.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When you create the CloudWatch alarm, you need to set the 3 settings:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Time Period:&lt;/strong&gt; It is the length of time to evaluate the metric or expression to create each individual data point for an alarm.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Evaluation period:&lt;/strong&gt; The number of the most recent periods, or data points, to evaluate when determining alarm state.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Data-points to Alarm:&lt;/strong&gt; The number of data points within the Evaluation Period that must be breaching to cause the alarm to go to the alarm state.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Namespaces :&lt;/strong&gt;&lt;br&gt;
A namespace is a container for CloudWatch metrics.&lt;/p&gt;

&lt;p&gt;A metric is a set of data points that are recorded over time and represent a specific aspect of a system or application. A namespace is used to organize metrics and to ensure that metrics with the same name do not overlap.&lt;/p&gt;

&lt;p&gt;CloudWatch provides several default namespaces for AWS services, such as Amazon EC2, Amazon S3, and Amazon RDS. However, you can also create custom namespaces for your own applications and services.&lt;/p&gt;

&lt;p&gt;When you create a custom namespace, you must choose a name that is unique within your AWS account. You can then use the CloudWatch API to publish metrics to your namespace, or you can use CloudWatch agents or integrations to automatically collect and publish metrics from your applications and services.&lt;/p&gt;

&lt;p&gt;Once you have created a namespace and published metrics to it, you can use CloudWatch to create alarms, dashboards, and other visualizations based on the data in the metrics. This can help you monitor the health and performance of your systems and applications and quickly identify and respond to issues.&lt;/p&gt;

&lt;p&gt;Example : myapplication-cpu-utils, myapplication-cpu-memory&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fv87bctpad5xx1mu81cpy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fv87bctpad5xx1mu81cpy.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Events:&lt;/strong&gt;&lt;br&gt;
Events are a way to react to changes in your AWS environment, such as the creation or termination of an EC2 instance. You can use CloudWatch Events to automate your responses to events.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fzb3awft6cgvj1m06ou54.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fzb3awft6cgvj1m06ou54.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Events are used to monitor and respond to changes in your AWS resources and applications. CloudWatch Events allows you to track changes in your AWS resources, such as when an EC2 instance is launched or terminated, or when a new object is added to an S3 bucket. You can also create rules to trigger events based on application-level events, such as when a file is added to a specific folder on a server.&lt;/p&gt;

&lt;p&gt;CloudWatch Events are made up of two main components: rules and targets. A rule defines the event pattern to match, and a target defines the action to take when the rule matches an event. Targets can include Lambda functions, SNS topics, SQS queues, and other AWS services.&lt;/p&gt;

&lt;p&gt;When a CloudWatch Event matches a rule, the associated target is triggered, which can then perform a variety of actions, such as sending a notification or invoking a Lambda function to perform additional processing.&lt;/p&gt;

&lt;p&gt;CloudWatch Events can be used for a variety of use cases, such as triggering automated workflows, sending notifications, or responding to security threats.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Logs:&lt;/strong&gt;&lt;br&gt;
Logs are records of events that have occurred in your AWS environment. CloudWatch Logs allows you to store, search, and visualize logs from multiple AWS resources in a central place.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Dashboards:&lt;/strong&gt;&lt;br&gt;
Dashboards are customizable views that allow you to display metrics, logs, and alarms in a single place. You can create multiple dashboards and share them with other users.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Billing Alarms:&lt;/strong&gt;&lt;br&gt;
Billing alarms are used to monitor your AWS costs and usage. You can set an alarm to notify you when your monthly costs exceed a certain threshold.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Insights:&lt;/strong&gt;&lt;br&gt;
CloudWatch Insights is a search and analysis tool that allows you to quickly search and visualize CloudWatch logs.&lt;/p&gt;

&lt;p&gt;In summary, CloudWatch helps you monitor and manage your AWS resources and applications by collecting and analyzing data from various sources and providing tools to help you take actions based on that data.&lt;/p&gt;

&lt;p&gt;Please, feel free to drop any questions in the comments below. I would be happy to answer them.&lt;/p&gt;

&lt;p&gt;If this post was helpful, please do follow and click the clap 👏 button below to show your support 😄&lt;/p&gt;

&lt;p&gt;_Thank you for reading💚&lt;/p&gt;

&lt;p&gt;_Rajani 🌻✨&lt;/p&gt;

</description>
      <category>aws</category>
      <category>cloudcomputing</category>
      <category>cloud</category>
      <category>awscommunitybuilder</category>
    </item>
    <item>
      <title>gh</title>
      <dc:creator>Rajani Ekunde</dc:creator>
      <pubDate>Tue, 18 Apr 2023 10:29:21 +0000</pubDate>
      <link>https://forem.com/rajani103/gh-1ao9</link>
      <guid>https://forem.com/rajani103/gh-1ao9</guid>
      <description>&lt;p&gt;mbed rich content such as&lt;/p&gt;

</description>
    </item>
    <item>
      <title>AWS CloudWatch ☁🕜 : CMAA | Metric | Alarms | Namespaces | Events</title>
      <dc:creator>Rajani Ekunde</dc:creator>
      <pubDate>Tue, 18 Apr 2023 10:10:13 +0000</pubDate>
      <link>https://forem.com/rajani103/aws-cloudwatch-cmaa-metric-alarms-namespaces-events-1j8k</link>
      <guid>https://forem.com/rajani103/aws-cloudwatch-cmaa-metric-alarms-namespaces-events-1j8k</guid>
      <description>&lt;p&gt;&lt;a href="https://media.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%2Fgz31n82rmukuryzr3zo9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fgz31n82rmukuryzr3zo9.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When an application is designed, we don’t have an idea of how the application is going to perform in the future, what impact it will create, how many people will engage with the application.&lt;/p&gt;

&lt;p&gt;Considering global deployment of the application it is little tough to manage the crashing of the application. Hence the users may start facing problems with the application as the traffic on eth application increases. This happens because of short-sightedness and sometimes because of lack of the budget.&lt;/p&gt;

&lt;p&gt;Considering microservices architecture for such application with thousands of APIs which works in tandem with each other. In this case there could be failure related to the API on the service, the authentication can fail and also sometimes it can be the issue of CPU utilization and memory consumption which makes the application to crash.&lt;/p&gt;

&lt;p&gt;If this problem would have been identified on a timely basis or at an early time then the mess or the whole crash of application would have been restricted by taking necessary steps at the early crash stage.&lt;/p&gt;

&lt;p&gt;For that we need a service that can help us collect the data points or logs. This can help us monitor the current state or the state over a period of time and help us create action items to mitigate the issue and the same way lets us analyze the data we have in order to avoid such issues in the future and that’s where cloud watch comes into the picture.&lt;/p&gt;

&lt;p&gt;AWS CloudWatch gives us a proper logging mechanism and monitoring mechanism. It allows to to collect the data points, monitor them act on them automatically and this will help us avoid the problems that may occur with the application in the coming future.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is Amazon CloudWatch?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Amazon CloudWatch is a monitoring service provided by Amazon Web Services (AWS) that provides data and operational insights for various AWS resources. It helps you monitor your resources, applications and services running on the AWS cloud, so you can troubleshoot issues and ensure high availability.&lt;/p&gt;

&lt;p&gt;CloudWatch collects monitoring and operational data in the form of logs metrics and events and visualizes it using automated dashboards so you can get a unified view of your AWS resources applications and services that run in AWS and on-premise.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It works on the Principal Collect, Monitor, Act, Analyze(CMAA).&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Working of AWS CloudWatch :&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2F1z2sg1l5mfilxnf3nq7b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2F1z2sg1l5mfilxnf3nq7b.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;1. Collect: *&lt;/em&gt;&lt;br&gt;
The first step is to collect data from various sources, such as logs, metrics, and events, in order to get a complete picture of the behavior and performance of your IT systems and infrastructure.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;2. Monitor: *&lt;/em&gt;&lt;br&gt;
Once data is collected, the next step is to monitor it in real-time in order to identify any potential issues or problems. This includes setting up alerts and notifications to proactively notify you when certain conditions are met.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;3. Analyze: *&lt;/em&gt;&lt;br&gt;
The third step is to analyze the data in order to gain insights into the performance and behavior of your systems. This includes looking at trends, identifying patterns, and performing root cause analysis to determine the underlying cause of any issues.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;4. Act: *&lt;/em&gt;&lt;br&gt;
The final step is to take action based on the insights gained from the analysis. One can automate actions based on specific events or conditions. This includes making changes to your systems, such as optimizing settings or deploying new software updates, in order to improve performance and reliability.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fq0m3yhpsb2vicvzqpu3q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fq0m3yhpsb2vicvzqpu3q.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The CMAA methodology is a continuous process that allows you to proactively manage and monitor your IT systems and infrastructure in real-time, ensuring that any potential issues are quickly identified and resolved. By using this framework, you can improve the availability, performance, and security of your systems, and ultimately deliver a better user experience.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AWS CloudWatch :&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fr7riku9a8yonk5ek7htb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fr7riku9a8yonk5ek7htb.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is a basic flow of the AWS CloudWatch. As you can see in the diagram the very first step here is the Application Monitoring.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Application Monitoring&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;AWS CloudWatch collects all the data points and logs from the application for which we are using the AWS CloudWatch system. And helps us to get an idea of the application, its performance and monitor them act on them automatically and this will help us avoid the problems that may occur with the application in the coming future.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;System-wide Visibility&lt;/strong&gt;&lt;br&gt;
In AWS CloudWatch you an exposure to monitor and get data and about all the tiers of the application so that we won’t miss out any services that we have been using in the various tiers of the application.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Resource Optimization&lt;/strong&gt;&lt;br&gt;
In resource optimization Auto-Scaling comes into the picture. When there is peak CPU utilization then we can increase the number of instances and reduce as the CPU utilization comes down.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Unified Operational Health&lt;/strong&gt;&lt;br&gt;
And all these things helps the system to have an Unified Operational Health.&lt;/p&gt;

&lt;p&gt;Here are some key concepts related to Amazon CloudWatch:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Metrics:&lt;/strong&gt;&lt;br&gt;
Metrics are data points that measure the behavior and performance of AWS resources. Examples of metrics include CPU utilization, disk read/write operations, and network traffic.&lt;/p&gt;

&lt;p&gt;So the basic idea here is that if we want to judge the current state of an instance or resource we need a benchmark isn’t it for example if we consider the CPU utilization of the instance goes above 85 percent then I want to scale a new resource so what we will say then the benchmark here is CPU utilization and the threshold value that I have here is 85 percent.&lt;/p&gt;

&lt;p&gt;If the CPU utilization of the instance goes above 85 percent then we want to scale a new resource so 85 percent becomes the threshold and the benchmark on which we are trying to judge the resource state i.e. CPU utilization.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Alarms:&lt;/strong&gt;&lt;br&gt;
Alarms are used to trigger actions based on the value of a metric. For example, you can create an alarm that sends an email notification when the CPU utilization of an EC2 instance exceeds a certain threshold.&lt;/p&gt;

&lt;p&gt;We can use alarms to automatically initiate actions on your behalf for any certain actions that has occurred.&lt;/p&gt;

&lt;p&gt;Alarms keep focus on a single metric over a period of time. Once the action is occurred we can notify the same to SNS topic or to an Auto-scaling group to take certain necessary actions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fuzstg96bjuexrg99v5ws.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fuzstg96bjuexrg99v5ws.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When you create the CloudWatch alarm, you need to set the 3 settings:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Time Period:&lt;/strong&gt; It is the length of time to evaluate the metric or expression to create each individual data point for an alarm.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Evaluation period:&lt;/strong&gt; The number of the most recent periods, or data points, to evaluate when determining alarm state.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Data-points to Alarm:&lt;/strong&gt; The number of data points within the Evaluation Period that must be breaching to cause the alarm to go to the alarm state.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Namespaces :&lt;/strong&gt;&lt;br&gt;
A namespace is a container for CloudWatch metrics.&lt;/p&gt;

&lt;p&gt;A metric is a set of data points that are recorded over time and represent a specific aspect of a system or application. A namespace is used to organize metrics and to ensure that metrics with the same name do not overlap.&lt;/p&gt;

&lt;p&gt;CloudWatch provides several default namespaces for AWS services, such as Amazon EC2, Amazon S3, and Amazon RDS. However, you can also create custom namespaces for your own applications and services.&lt;/p&gt;

&lt;p&gt;When you create a custom namespace, you must choose a name that is unique within your AWS account. You can then use the CloudWatch API to publish metrics to your namespace, or you can use CloudWatch agents or integrations to automatically collect and publish metrics from your applications and services.&lt;/p&gt;

&lt;p&gt;Once you have created a namespace and published metrics to it, you can use CloudWatch to create alarms, dashboards, and other visualizations based on the data in the metrics. This can help you monitor the health and performance of your systems and applications and quickly identify and respond to issues.&lt;/p&gt;

&lt;p&gt;Example : myapplication-cpu-utils, myapplication-cpu-memory&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2F8t2eegxc65p9qvjq6kwb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2F8t2eegxc65p9qvjq6kwb.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Events:&lt;/strong&gt;&lt;br&gt;
Events are a way to react to changes in your AWS environment, such as the creation or termination of an EC2 instance. You can use CloudWatch Events to automate your responses to events.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fl4mn4jhgksxa134kj64l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fl4mn4jhgksxa134kj64l.png" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Events are used to monitor and respond to changes in your AWS resources and applications. CloudWatch Events allows you to track changes in your AWS resources, such as when an EC2 instance is launched or terminated, or when a new object is added to an S3 bucket. You can also create rules to trigger events based on application-level events, such as when a file is added to a specific folder on a server.&lt;/p&gt;

&lt;p&gt;CloudWatch Events are made up of two main components: rules and targets. A rule defines the event pattern to match, and a target defines the action to take when the rule matches an event. Targets can include Lambda functions, SNS topics, SQS queues, and other AWS services.&lt;/p&gt;

&lt;p&gt;When a CloudWatch Event matches a rule, the associated target is triggered, which can then perform a variety of actions, such as sending a notification or invoking a Lambda function to perform additional processing.&lt;/p&gt;

&lt;p&gt;CloudWatch Events can be used for a variety of use cases, such as triggering automated workflows, sending notifications, or responding to security threats.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Logs:&lt;/strong&gt;&lt;br&gt;
Logs are records of events that have occurred in your AWS environment. CloudWatch Logs allows you to store, search, and visualize logs from multiple AWS resources in a central place.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Dashboards:&lt;/strong&gt;&lt;br&gt;
Dashboards are customizable views that allow you to display metrics, logs, and alarms in a single place. You can create multiple dashboards and share them with other users.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Billing Alarms:&lt;/strong&gt;&lt;br&gt;
Billing alarms are used to monitor your AWS costs and usage. You can set an alarm to notify you when your monthly costs exceed a certain threshold.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Insights:&lt;/strong&gt;&lt;br&gt;
CloudWatch Insights is a search and analysis tool that allows you to quickly search and visualize CloudWatch logs.&lt;/p&gt;

&lt;p&gt;In summary, CloudWatch helps you monitor and manage your AWS resources and applications by collecting and analyzing data from various sources and providing tools to help you take actions based on that data.&lt;/p&gt;

&lt;p&gt;Please, feel free to drop any questions in the comments below. I would be happy to answer them.&lt;/p&gt;

&lt;p&gt;If this post was helpful, please do follow and click the clap 👏 button below to show your support 😄&lt;/p&gt;

&lt;p&gt;_Thank you for reading💚&lt;/p&gt;

&lt;p&gt;_Rajani 🌻✨&lt;/p&gt;

</description>
      <category>aws</category>
      <category>cloud</category>
      <category>devops</category>
      <category>docker</category>
    </item>
    <item>
      <title>Linux Cheat sheet</title>
      <dc:creator>Rajani Ekunde</dc:creator>
      <pubDate>Wed, 28 Dec 2022 04:12:50 +0000</pubDate>
      <link>https://forem.com/rajani103/linux-cheat-sheet-1ied</link>
      <guid>https://forem.com/rajani103/linux-cheat-sheet-1ied</guid>
      <description>&lt;p&gt;&lt;strong&gt;Below we will see some of the important commands in Linux&lt;br&gt;
System Based Commands&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;#uname Displays Linux system information&lt;/li&gt;
&lt;li&gt;#uname -rDisplays kernel release information_&lt;/li&gt;
&lt;li&gt;#uptimeDisplays how long the system has been running&lt;/li&gt;
&lt;li&gt;#hostnameShows the system hostname&lt;/li&gt;
&lt;li&gt;#hostname -iDisplays the IP address of the system&lt;/li&gt;
&lt;li&gt;#last rebootShows system reboot history&lt;/li&gt;
&lt;li&gt;#dateDisplays current system date and time&lt;/li&gt;
&lt;li&gt;#whoamiDisplays who you are logged in as&lt;/li&gt;
&lt;li&gt;#finger usernameDisplays information about the user&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Hardware Based Command&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;#lshw Displays information about system's hardware configuration&lt;/li&gt;
&lt;li&gt;#lsblkDisplays block devices related information&lt;/li&gt;
&lt;li&gt;#free -mDisplays free and used memory in the system (-m indicates memory in MB)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Users Management Commands&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;#idDisplays the details of the active user e.g. uid, gid, and groups&lt;/li&gt;
&lt;li&gt;#lastShows the last logins in the system&lt;/li&gt;
&lt;li&gt;#whoShows who is logged in to the system&lt;/li&gt;
&lt;li&gt;#groupadd "pink"Adds the group ‘pink’&lt;/li&gt;
&lt;li&gt;#adduser "rajni"Adds user ‘rajni’&lt;/li&gt;
&lt;li&gt;#userdel "rajni"Deletes user ‘rajni’&lt;/li&gt;
&lt;li&gt;#usermodUsed for modifying user information_&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;File Commands&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;#ls -alLists files - both regular &amp;amp; hidden files and their permissions&lt;/li&gt;
&lt;li&gt;#pwdDisplays the present working directory path&lt;/li&gt;
&lt;li&gt;mkdir 'pink'Creates a new directory named ‘pink’&lt;/li&gt;
&lt;li&gt;#rm file_nameRemoves a file&lt;/li&gt;
&lt;li&gt;#rm -f filenameForcefully removes a file&lt;/li&gt;
&lt;li&gt;#rm -r directory_nameRemoves a directory recursively&lt;/li&gt;
&lt;li&gt;#rm -rf directory_nameRemoves a directory forcefully and recursively&lt;/li&gt;
&lt;li&gt;#cp file1 file2Copies the contents of file1 to file2&lt;/li&gt;
&lt;li&gt;#cp -r dir1 dir2Recursively Copies dir1 to dir2. dir2 is created if it does not exist&lt;/li&gt;
&lt;li&gt;#mv file1 file2Renames file1 to file2&lt;/li&gt;
&lt;li&gt;#ln -s /path/to/file_name link_nameCreates a symbolic link to file_name&lt;/li&gt;
&lt;li&gt;#touch file_nameCreates a new file&lt;/li&gt;
&lt;li&gt;#cat &amp;gt; file_namePlaces standard input into a file&lt;/li&gt;
&lt;li&gt;#more file_nameOutputs the contents of a file&lt;/li&gt;
&lt;li&gt;#head file_nameDisplays the first 10 lines of a file&lt;/li&gt;
&lt;li&gt;#tail file_nameDisplays the last 10 lines of a file&lt;/li&gt;
&lt;li&gt;#gpg -c file_nameEncrypts a file&lt;/li&gt;
&lt;li&gt;#gpg file_name.gpgDecrypts a file&lt;/li&gt;
&lt;li&gt;#wcPrints the number of bytes, words and lines in a file&lt;/li&gt;
&lt;li&gt;#xargsExecutes commands from standard input&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Process Related Commands&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;#psDisplay currently active processes&lt;/li&gt;
&lt;li&gt;#ps aux | grep 'telnet'Searches for the id of the process 'telnet'&lt;/li&gt;
&lt;li&gt;#pmapDisplays memory map of processes&lt;/li&gt;
&lt;li&gt;#top Displays all running processes&lt;/li&gt;
&lt;li&gt;#kill pidTerminates process with a given pid&lt;/li&gt;
&lt;li&gt;#killall procKills / Terminates all processes named proc&lt;/li&gt;
&lt;li&gt;#pkill process-nameSends a signal to a process with its name&lt;/li&gt;
&lt;li&gt;#bgResumes suspended jobs in the background&lt;/li&gt;
&lt;li&gt;#fgBrings suspended jobs to the foreground&lt;/li&gt;
&lt;li&gt;#lsofLists files that are open by processes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;File Permission Commands&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;#chmod octal filename -&amp;gt; Change file permissions of the file to octal
Example&lt;/li&gt;
&lt;li&gt;#chmod 777 peep.txtSet rwx permissions to owner, group and everyone&lt;/li&gt;
&lt;li&gt;#chmod 755 peep.txt Set rwx to the owner and r_x to group and everyone&lt;/li&gt;
&lt;li&gt;#chmod 766 peep.txt Sets rwx for owner, rw for group and everyone&lt;/li&gt;
&lt;li&gt;#chown owner user-file Change ownership of the file&lt;/li&gt;
&lt;li&gt;#chown owner-user:owner-group file_name Change owner and group owner of the file&lt;/li&gt;
&lt;li&gt;#chown owner-user:owner-group directory Change owner and group owner of the directory&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Network Commands&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;#ip addr show Displays IP addresses and all the network interfaces&lt;/li&gt;
&lt;li&gt;#ip address add 192.160.0.1/24 dev eth0 Assigns IP address 192.168.0.1 to interface eth0&lt;/li&gt;
&lt;li&gt;#ifconfig Displays IP addresses of all network interfaces&lt;/li&gt;
&lt;li&gt;#ping host ping command sends an ICMP echo request to establish a connection to server&lt;/li&gt;
&lt;li&gt;#whois domain Retrieves more information about a domain name&lt;/li&gt;
&lt;li&gt;#dig domain Retrieves DNS information about the domain&lt;/li&gt;
&lt;li&gt;#host google.com Performs an IP lookup for the domain name&lt;/li&gt;
&lt;li&gt;#hostname -i Displays local IP address&lt;/li&gt;
&lt;li&gt;#wget file_name Downloads a file from an online source&lt;/li&gt;
&lt;li&gt;#netstat -pnltu Displays all active listening ports&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Compression/Archives Commands&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;#tar -cf peep.tar peep&amp;lt;:code&amp;gt;Creates archive file called 'peep.tar' from file 'peep'&lt;/li&gt;
&lt;li&gt;#tar -xf peep.tar Extract archive file 'peep.tar'&lt;/li&gt;
&lt;li&gt;#tar -zcvf peep.tar.gz source-folder Creates gzipped tar archive file from the source folder&lt;/li&gt;
&lt;li&gt;#gzip file Compression a file with .gz extension&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Install Packages Commands&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;#rpm -i pkg_name.rpm Install an rpm package&lt;/li&gt;
&lt;li&gt;#rpm -e pkg_name Removes an rpm package&lt;/li&gt;
&lt;li&gt;#dnf install pkg_nameInstall package using dnf utility&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What is DNF utility?&lt;br&gt;
DNF - The Next Generation Package Management Utility for RPM Based Distributions&lt;br&gt;
A recent news draw the attention of many Linux users, professionals and learners that " DNF" (stands for nothing…&lt;br&gt;
&lt;a href="http://www.tecmint.com" rel="noopener noreferrer"&gt;www.tecmint.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Search Commands&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;#grep 'pattern' files Search for a given pattern in files&lt;/li&gt;
&lt;li&gt;#grep -r pattern dir Search recursively for a pattern in a given directory&lt;/li&gt;
&lt;li&gt;#locate file Find all instances of the file&lt;/li&gt;
&lt;li&gt;#find /home/ -name "index" Find file names that begin with
'index' in /home folder&lt;/li&gt;
&lt;li&gt;#find /home -size +10000kFind files greater than 10000k in the home folder&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;File Transfer Commands&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;#scp file1.txt server2/tmp Securely copy file1.txt to server2 in /tmp directory&lt;/li&gt;
&lt;li&gt;#rsync -a /home/apps /backup/ Synchronize contents in /home/apps directory with /backup directory&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Disk Usage Commands&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;#df -h Displays free space on mounted systems&lt;/li&gt;
&lt;li&gt;#df -i Displays free inodes on filesystems&lt;/li&gt;
&lt;li&gt;#fdisk -l Shows disk partitions, sizes, and types&lt;/li&gt;
&lt;li&gt;#du -sh Displays disk usage in the current directory in a human-readable format&lt;/li&gt;
&lt;li&gt;#findmnt Displays target mount point for all filesystems&lt;/li&gt;
&lt;li&gt;#mount device-path mount-pointMount a device&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Directory Traverse Commands&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;#cd .. Move up one level in the directory tree structure&lt;/li&gt;
&lt;li&gt;#cd Change directory to $HOME directory&lt;/li&gt;
&lt;li&gt;#cd /test Change directory to /test directory&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thanks for reading✨&lt;br&gt;
Hope you find this useful. Let me know your thoughts in the comment section and don’t forget to clap if you found the article helpful. To get notified, Do follow🌻&lt;/p&gt;

&lt;p&gt;_Rajani ✨&lt;/p&gt;

</description>
      <category>emptystring</category>
    </item>
  </channel>
</rss>
