<?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: Tolulope Olawuni</title>
    <description>The latest articles on Forem by Tolulope Olawuni (@startups_pal).</description>
    <link>https://forem.com/startups_pal</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%2F2019618%2Fb5bc2b81-d733-478b-b0a2-40c41ce1687e.png</url>
      <title>Forem: Tolulope Olawuni</title>
      <link>https://forem.com/startups_pal</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/startups_pal"/>
    <language>en</language>
    <item>
      <title>Automate to Scale: How Founders &amp; Startups Can Streamline Bookings, Emails, and CRM with n8n</title>
      <dc:creator>Tolulope Olawuni</dc:creator>
      <pubDate>Sat, 24 May 2025 00:04:38 +0000</pubDate>
      <link>https://forem.com/startups_pal/automate-to-scale-how-founders-startups-can-streamline-bookings-emails-and-crm-with-n8n-2fdi</link>
      <guid>https://forem.com/startups_pal/automate-to-scale-how-founders-startups-can-streamline-bookings-emails-and-crm-with-n8n-2fdi</guid>
      <description>&lt;p&gt;When you start a new business, you often have to do many jobs at once. You might be handling sales, talking to customers, and running the business—all at the same time. This can be tiring and slow you down. But there is a way to make things easier: automation.&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%2Fv9ew7mrs407o01rmlprc.jpg" 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%2Fv9ew7mrs407o01rmlprc.jpg" alt=" " width="712" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;n8n is a tool that helps you connect your favorite apps (like Cal.com, Gmail, and ClickUp) so they work together automatically. You don’t need to know how to code. With n8n, you can stop doing boring tasks by hand and focus on growing your business.&lt;/p&gt;




&lt;h2&gt;
  
  
  How the Automation Works
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Step 1: Cal.com Trigger&lt;/strong&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%2Fj9pmwuya7olk8yyt6w7z.png" alt="book on Cal.com" width="755" height="629"&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When someone books a meeting with you on Cal.com, it starts the automation.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Step 2: Gmail Sends a Reply&lt;/strong&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%2Fjkeqaeqlwpapt8duhirn.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%2Fjkeqaeqlwpapt8duhirn.png" alt="receiving noification on gmai" width="800" height="453"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;n8n sends a custom email to the person who booked, confirming their meeting or giving them more info.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Step 3: ClickUp Saves the Details&lt;/strong&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%2Fzv4bq4y7fquol0c9x3vw.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%2Fzv4bq4y7fquol0c9x3vw.png" alt="LOGGED IN crm" width="800" height="222"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The meeting info is added as a new task in ClickUp. This way, you and your team can keep track of what’s happening.&lt;/p&gt;




&lt;h2&gt;
  
  
  Real-Life Ways Startups Can Use This
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Book Sales Calls&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
When someone books a sales call, the system sends a confirmation, adds the person to your CRM, and gives your team a reminder to follow up.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Welcome New Clients&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
After a client books a first meeting, send them helpful info and create a checklist in ClickUp for their onboarding steps.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Freelancer Consultations&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
If you’re a solo worker, you can send invoices or forms right after someone books a session with you.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Event Signups&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
When people sign up for your event or webinar, their info goes into your CRM, and they get a calendar invite and reminder emails.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Customer Support Calls&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Let customers book support calls. The system confirms the booking and adds a new ticket to your task list.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Team Meetings or Interviews&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
HR or team leads can use this to book interviews or meetings, and the details go straight into ClickUp for easy tracking.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Why This Helps Founders
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Saves Time&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
You can save 5–10 hours every week by not doing the same boring tasks over and over.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Fewer Mistakes&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
The system fills in details for you, so you don’t forget leads or tasks.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Faster Service&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Customers get quick replies, which makes them happy and builds trust.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Easy to Grow&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
As your business gets bigger, this system can handle more work without needing to hire more people.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Startups move fast and need to be smart about how they work. Automating small jobs with n8n gives you more time to think, create, and win new customers, while making sure nothing gets missed.&lt;/p&gt;

</description>
      <category>automation</category>
      <category>productivity</category>
      <category>crm</category>
      <category>n8n</category>
    </item>
    <item>
      <title>BUILDING A SCALABLE APPLICATION WITH ELASTIC LOAD BALANCER</title>
      <dc:creator>Tolulope Olawuni</dc:creator>
      <pubDate>Sat, 01 Mar 2025 06:29:24 +0000</pubDate>
      <link>https://forem.com/startups_pal/building-a-scalable-application-with-elastic-load-balancer-4k43</link>
      <guid>https://forem.com/startups_pal/building-a-scalable-application-with-elastic-load-balancer-4k43</guid>
      <description>&lt;h3&gt;
  
  
  Why Do We Need Multiple Web Servers?
&lt;/h3&gt;

&lt;p&gt;In real life, &lt;strong&gt;one web server is not enough&lt;/strong&gt; to handle high traffic or ensure smooth performance. More so, if that single server crashes, the entire system goes down. But if you have a &lt;strong&gt;cluster of web servers&lt;/strong&gt;, you can:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Scale out&lt;/strong&gt; by adding more servers when demand increases
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scale in&lt;/strong&gt; by reducing servers to cut costs when demand is low
&lt;/li&gt;
&lt;li&gt;Update your servers &lt;strong&gt;without downtime&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now, when you have multiple servers, you can’t expect users to manually connect to each one. Instead, we need &lt;strong&gt;one central access point&lt;/strong&gt;, and that’s exactly what a &lt;strong&gt;Load Balancer&lt;/strong&gt; provides.&lt;/p&gt;

&lt;h3&gt;
  
  
  What Does a Load Balancer Do?
&lt;/h3&gt;

&lt;p&gt;Think of a &lt;strong&gt;Load Balancer&lt;/strong&gt; as a traffic officer. When users send requests, the &lt;strong&gt;Load Balancer&lt;/strong&gt; takes these requests (on common ports like &lt;strong&gt;80&lt;/strong&gt; for HTTP or &lt;strong&gt;443&lt;/strong&gt; for HTTPS) and &lt;strong&gt;distributes them&lt;/strong&gt; across different servers to balance the load.  &lt;/p&gt;

&lt;h3&gt;
  
  
  Types of Load Balancers in AWS
&lt;/h3&gt;

&lt;p&gt;AWS offers different types of &lt;strong&gt;Elastic Load Balancers (ELB):&lt;/strong&gt;  &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Classic Load Balancer (CLB)&lt;/strong&gt; – Basic load balancer that works on &lt;strong&gt;Layer 4&lt;/strong&gt; (IP and Port level). Ideal for simple setups.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Application Load Balancer (ALB)&lt;/strong&gt; – Works on &lt;strong&gt;Layer 7&lt;/strong&gt; (understands URLs). It intelligently routes traffic based on &lt;strong&gt;URL paths&lt;/strong&gt; and is the most commonly used for &lt;strong&gt;HTTP/HTTPS&lt;/strong&gt; traffic.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Network Load Balancer (NLB)&lt;/strong&gt; – Also operates on &lt;strong&gt;Layer 4&lt;/strong&gt;, but it provides a &lt;strong&gt;static IP address&lt;/strong&gt; and can handle &lt;strong&gt;millions of requests per second&lt;/strong&gt;. It’s more expensive but great for high-performance applications.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gateway Load Balancer (GLB)&lt;/strong&gt; – Works on &lt;strong&gt;Layer 3&lt;/strong&gt; and is mainly used for &lt;strong&gt;firewalls and security appliances&lt;/strong&gt;. This is an advanced concept that requires deep knowledge of AWS &lt;strong&gt;VPC networking&lt;/strong&gt;.
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Setting Up a Website on AWS EC2 with Load Balancer&lt;/strong&gt;   &lt;/p&gt;

&lt;p&gt;We’re going to set up a simple website using a template from &lt;strong&gt;tooplate.com&lt;/strong&gt; on an &lt;strong&gt;AWS EC2 instance&lt;/strong&gt;. After that, we’ll create a &lt;strong&gt;Load Balancer&lt;/strong&gt; to distribute traffic between multiple instances.  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Launching an EC2 Instance&lt;/strong&gt;&lt;br&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%2Fgwhntlqvwdspsmb1rj54.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%2Fgwhntlqvwdspsmb1rj54.png" alt=" " width="800" height="123"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; &lt;strong&gt;Go to the EC2 service&lt;/strong&gt; on AWS.&lt;/li&gt;
&lt;li&gt;Click on &lt;strong&gt;Launch Instance&lt;/strong&gt; and give it a name (e.g., &lt;code&gt;web01&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Choose an operating system. Let's stick with Ubuntu&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you’re unsure, stick with &lt;strong&gt;Amazon Linux&lt;/strong&gt; since it’s optimized for AWS.  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select Instance Type&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Create a Key Pair&lt;/strong&gt;:&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Set Security Group Rules&lt;/strong&gt;:

&lt;ul&gt;
&lt;li&gt;Create a new &lt;strong&gt;Security Group&lt;/strong&gt; &lt;/li&gt;
&lt;li&gt;Allow &lt;strong&gt;SSH (port 22)&lt;/strong&gt; from your &lt;strong&gt;own IP&lt;/strong&gt; for security.
&lt;/li&gt;
&lt;li&gt;Allow &lt;strong&gt;HTTP (port 80)&lt;/strong&gt; from your &lt;strong&gt;own IP&lt;/strong&gt; (for website access).
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;strong&gt;Keep Storage Default&lt;/strong&gt; (8GB is fine)&lt;/li&gt;

&lt;li&gt;

&lt;strong&gt;User Data Script&lt;/strong&gt;: Copy and paste my script below in the code block to automatically install and configure the web server(Nginx).
&lt;/li&gt;

&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;#!/bin/bash
sudo apt update
sudo apt install unzip wget nginx -y

# Enable and start Nginx
sudo systemctl enable nginx
sudo systemctl start nginx

# Create directory for the website files
mkdir -p /opt/web01
cd /opt/web01

# Download and extract the website template
wget https://www.tooplate.com/zip-templates/2130_waso_strategy.zip
unzip 2130_waso_strategy.zip

# Move files to Nginx's web root
sudo mv 2130_waso_strategy/* /var/www/html/

# Restart Nginx to apply changes
sudo systemctl restart nginx

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

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Click &lt;strong&gt;Launch Instance&lt;/strong&gt; and wait for a few minutes.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check the Website&lt;/strong&gt;: Copy the public &lt;strong&gt;IP address&lt;/strong&gt; of the instance and paste it in your browser. If everything works, you should see your website&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Troubleshooting&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;If the website doesn’t load:  &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Check Security Group&lt;/strong&gt;: Make sure HTTP (port 80) is open.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Log in to EC2 instance&lt;/strong&gt; using SSH and check if the web server (Nginx) is running. Use the command
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo systemctl status nginx
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If not, restart it.  &lt;/p&gt;




&lt;h3&gt;
  
  
  &lt;strong&gt;Step 2: Creating an AMI (Amazon Machine Image)&lt;/strong&gt;
&lt;/h3&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%2Faxxwhwitgu9lrqyxncl5.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%2Faxxwhwitgu9lrqyxncl5.png" alt=" " width="800" height="170"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now that our instance is running, let’s create a &lt;strong&gt;custom image (AMI)&lt;/strong&gt;.  &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Select your &lt;strong&gt;EC2 instance&lt;/strong&gt; → Click &lt;strong&gt;Actions&lt;/strong&gt; → Go to &lt;strong&gt;Image &amp;amp; Templates&lt;/strong&gt; → Click &lt;strong&gt;Create Image&lt;/strong&gt;.
&lt;/li&gt;
&lt;li&gt;Name it something like &lt;code&gt;web01-ami&lt;/code&gt;.
&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Create Image&lt;/strong&gt; and wait a few minutes.
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;With this AMI, you can launch multiple instances with the same configuration &lt;strong&gt;without setting up everything from scratch&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%2Fycuwezpp9utkkhigauk2.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%2Fycuwezpp9utkkhigauk2.png" alt=" " width="800" height="391"&gt;&lt;/a&gt;&lt;br&gt;
You can click the AMI section to view the created AMI. &lt;br&gt;
&lt;em&gt;NOTE: While both snapshots and AMI are use for backup on AWS, Snapshots are the backup of an EBS volume, while AMIs are backup for your EC2 instance plus the metadata.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Step 3: Launch Template for Quick Instance Deployment&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Instead of repeating the setup process every time of creating AMIs, we can create a &lt;strong&gt;Launch Template&lt;/strong&gt;:&lt;br&gt;&lt;br&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%2F0p8p9uehdd3137aflaxc.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%2F0p8p9uehdd3137aflaxc.png" alt=" " width="800" height="249"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Go to &lt;strong&gt;Launch Templates&lt;/strong&gt; → Click &lt;strong&gt;Create Launch Template&lt;/strong&gt;.
&lt;/li&gt;
&lt;li&gt;Name it &lt;strong&gt;web-template-v1&lt;/strong&gt;.
&lt;/li&gt;
&lt;li&gt;Select the &lt;strong&gt;AMI&lt;/strong&gt; we just created.
&lt;/li&gt;
&lt;li&gt;Choose instance type (&lt;code&gt;t2.micro&lt;/code&gt;), security group, and key pair.
&lt;/li&gt;
&lt;li&gt;Save the template
&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%2Fdifnxm7vqwjtnijfj87e.png" alt=" " width="800" height="92"&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now, whenever you need a new instance, just launch it from this template in &lt;strong&gt;seconds&lt;/strong&gt; instead of setting up everything manually! I will use this Launch template to create another instance so we can multiple servers for our load balancer.&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%2Fj6kijhnlybvy7oiz2fdu.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%2Fj6kijhnlybvy7oiz2fdu.png" alt=" " width="800" height="236"&gt;&lt;/a&gt;&lt;br&gt;
After clicking on the the launch instance, you might decide to not modify the options and launch instance from the template&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Step 4: Setting Up a Load Balancer&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Since we now have multiple instances, users need a &lt;strong&gt;single endpoint&lt;/strong&gt; to access the website. That endpoint will route users requests to any of the instances created. This is where the &lt;strong&gt;Load Balancer&lt;/strong&gt; comes in.  &lt;/p&gt;

&lt;h4&gt;
  
  
  ** Create a Target Group**
&lt;/h4&gt;

&lt;p&gt;We will go to the target group section to creat target group, which is just a group of Instances&lt;br&gt;
A &lt;strong&gt;Target Group&lt;/strong&gt; groups multiple instances together:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; Go to &lt;strong&gt;Target Groups&lt;/strong&gt; → Click &lt;strong&gt;Create Target Group&lt;/strong&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%2Fxcfguh787ztz1e3fkery.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%2Fxcfguh787ztz1e3fkery.png" alt="Create Load balancer" width="800" height="300"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; Select &lt;strong&gt;Instances&lt;/strong&gt; as the target type.
&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%2F1vey465jx9ynn2jcjynu.png" alt="Instance Load balancer" width="800" height="326"&gt;
&lt;/li&gt;
&lt;li&gt;Name it something like &lt;code&gt;web-TG&lt;/code&gt;.
&lt;/li&gt;
&lt;li&gt;Set &lt;strong&gt;Port 80 (HTTP)&lt;/strong&gt; since our website runs on this port.
&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%2F62lx0u31xiw9kkv6e8au.png" alt="SET PORT" width="800" height="415"&gt;
Configure &lt;strong&gt;Health Checks&lt;/strong&gt;:

&lt;ul&gt;
&lt;li&gt;Health Check Path: &lt;code&gt;/&lt;/code&gt; (Root of the website).
&lt;/li&gt;
&lt;li&gt;Healthy threshold: &lt;strong&gt;2&lt;/strong&gt; (checks twice before declaring it healthy).
&lt;/li&gt;
&lt;li&gt;Unhealthy threshold: &lt;strong&gt;2&lt;/strong&gt; (declares it unhealthy after 2 failures).
&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%2Fd2rfkj8m1eaou1kujit8.png" alt=" " width="800" height="439"&gt;
Click on the next button, where it will show us our 2 instances; the one we created from the scratch(web01) and the other we created from the Launch template(web02). Select the 2 instances and click on include as pending below to add it to our target group. Add your EC2 instances and click &lt;strong&gt;Create Target Group&lt;/strong&gt;.
&lt;/li&gt;
&lt;/ul&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%2Fcu5rzhv53660wm26blje.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%2Fcu5rzhv53660wm26blje.png" alt="Create Target group" width="800" height="437"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  ** Create an Application Load Balancer**
&lt;/h4&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%2Fdn2ttaaaxi4gtfv74otr.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%2Fdn2ttaaaxi4gtfv74otr.png" alt=" " width="800" height="307"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; Go to &lt;strong&gt;Load Balancers&lt;/strong&gt; section → Click &lt;strong&gt;Create Load Balancer&lt;/strong&gt;.
&lt;/li&gt;
&lt;li&gt; Select &lt;strong&gt;Application Load Balancer (ALB)&lt;/strong&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%2Fuqac6t5agjpglikrxqk0.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%2Fuqac6t5agjpglikrxqk0.png" alt="Select Application Load balancer" width="800" height="538"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; Name it something like &lt;code&gt;web-ELB&lt;/code&gt;.
&lt;/li&gt;
&lt;li&gt; Set it to &lt;strong&gt;Internet-facing&lt;/strong&gt; (so users can access it online).
&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%2Fq8mo9p7jfmu84co54p9e.png" alt=" " width="800" height="247"&gt;
&lt;/li&gt;
&lt;li&gt; Choose &lt;strong&gt;at least two Availability Zones&lt;/strong&gt; for &lt;strong&gt;high availability&lt;/strong&gt; but you can select all AZ.
&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%2Fbqnun6jdno6d328vi4m1.png" alt=" " width="800" height="156"&gt;
&lt;/li&gt;
&lt;li&gt; Create a &lt;strong&gt;Security Group&lt;/strong&gt; for the Load Balancer (web-elb-sg) and allow &lt;strong&gt;HTTP (port 80) from anywhere&lt;/strong&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%2F67ctcv5nyb1dfltwgyug.png" alt=" " width="800" height="118"&gt;
&lt;/li&gt;
&lt;li&gt; Click on &lt;strong&gt;Save rules&lt;/strong&gt; and your security group will be created.&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%2Fii0mbz5j5pulw4nt2yr1.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%2Fii0mbz5j5pulw4nt2yr1.png" alt=" " width="800" height="377"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; Now go back to the Load balancer tab, refresh and this newly created security group will be available for selection as seen above. The listener(HTTP) is the front-end while the Target group is the backend. The listener will be routing request to the Target group. The target group(web-TG) we created can be selected form the drop down.
we scroll down and create our Load balancer.&lt;/li&gt;
&lt;li&gt; Testing the Load Balancer**
Once the Load Balancer is active:
&lt;/li&gt;
&lt;li&gt;Copy the &lt;strong&gt;Load Balancer DNS name&lt;/strong&gt;.
&lt;/li&gt;
&lt;li&gt;Paste it into your &lt;strong&gt;browser&lt;/strong&gt;.
&lt;/li&gt;
&lt;li&gt;Your website should now be accessible through the &lt;strong&gt;Load Balancer&lt;/strong&gt;, which distributes traffic between multiple instances.&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%2Ficw7cpgfycwufnsfs8ft.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%2Ficw7cpgfycwufnsfs8ft.png" alt="Elastic Load Balancer Created" width="800" height="124"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; &lt;strong&gt;Copy the DNS in the Load balancer and paster to your browser.&lt;/strong&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%2Fjwm6cbmkhdocwz2rebja.png" alt=" " width="800" height="510"&gt;
The website won't open, because there's something we failed to do.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Troubleshooting Load Balancer Issues&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Every instance has it's own security group, we checked the inbound rule of the 2 instances it allows port 80 from my IP and not from the Load balancer. So we have to add the rule to the Instances, so it can allow connection from the Load balance which is the security group we created for the load balancer.&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%2Fvcsiei7ds4eclbscxpjp.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%2Fvcsiei7ds4eclbscxpjp.png" alt=" " width="800" height="510"&gt;&lt;/a&gt;&lt;br&gt;
You remember the security group we created for the ELB...ELB-SG! that' what we added to the instance inbound rule.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;strong&gt;Final Thoughts&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;We have successfully:&lt;/strong&gt;  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Launched an &lt;strong&gt;EC2 instance&lt;/strong&gt; with a website.
&lt;/li&gt;
&lt;li&gt;Created a &lt;strong&gt;custom AMI&lt;/strong&gt; for easy scaling.
&lt;/li&gt;
&lt;li&gt;Created a &lt;strong&gt;Launch Template&lt;/strong&gt; for quick deployment.
&lt;/li&gt;
&lt;li&gt;Set up a &lt;strong&gt;Load Balancer&lt;/strong&gt; to distribute traffic between multiple instances.
&lt;strong&gt;Our website from tooplate&lt;/strong&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%2Fqppdkhgjjhl51s7pyd3a.png" alt=" " width="800" height="413"&gt;
This setup ensures &lt;strong&gt;high availability&lt;/strong&gt; and makes it easy to add more instances when traffic increases.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Keep practicing, and you’ll soon master AWS deployments! &lt;br&gt;
I hope this has been a good read for us, if you have any suggestion to improve this article, please feel free to reach out.&lt;br&gt;
Thanks&lt;/p&gt;

</description>
      <category>elb</category>
      <category>scalability</category>
      <category>efficiency</category>
      <category>aws</category>
    </item>
    <item>
      <title>Learn Amazon Cloudwatch</title>
      <dc:creator>Tolulope Olawuni</dc:creator>
      <pubDate>Thu, 20 Feb 2025 20:02:12 +0000</pubDate>
      <link>https://forem.com/startups_pal/learn-amazon-cloudwatch-gf7</link>
      <guid>https://forem.com/startups_pal/learn-amazon-cloudwatch-gf7</guid>
      <description>&lt;div class="ltag__link"&gt;
  &lt;a href="/startups_pal" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__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%2F2019618%2Fb5bc2b81-d733-478b-b0a2-40c41ce1687e.png" alt="startups_pal"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="https://dev.to/startups_pal/amazon-cloudwatch-pt2hands-on-3h5e" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;AMAZON CLOUDWATCH Pt.2(Hands-on)&lt;/h2&gt;
      &lt;h3&gt;Tolulope Olawuni ・ Feb 20&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#cloudcomputing&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#aws&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#cloudskills&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#cloudwatch&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;


</description>
      <category>cloudcomputing</category>
      <category>aws</category>
      <category>cloudskills</category>
      <category>cloudwatch</category>
    </item>
    <item>
      <title>AMAZON CLOUDWATCH Pt.2(Hands-on)</title>
      <dc:creator>Tolulope Olawuni</dc:creator>
      <pubDate>Thu, 20 Feb 2025 19:06:29 +0000</pubDate>
      <link>https://forem.com/startups_pal/amazon-cloudwatch-pt2hands-on-3h5e</link>
      <guid>https://forem.com/startups_pal/amazon-cloudwatch-pt2hands-on-3h5e</guid>
      <description>&lt;p&gt;For this exercise we shall be using Ubuntu. We will be installing just one tool in that ec2 instance which is called a STRESS. STRESS is used to stimulate high CPU, memory or disk usage to test Amazon cloudwatch metrics and Alarm systems. We can't run the stress without having computer/server. So, I will spin up EC2 instance(Ubuntu).&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%2F5kt69cwvo831awag7uhn.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%2F5kt69cwvo831awag7uhn.png" alt="Monitoring tab" width="800" height="392"&gt;&lt;/a&gt;&lt;br&gt;
After spinning up EC2 instance(Ubuntu), click on the monitoring Tab of the instance, the graphs above were showing NO DATA for some reason. So Wait for few minutes for the readings to begin. It is important to know that these graphs in the monitoring tab comes from CLOUDWATCH service. The graphs under this monitoring Tab are the METRICS we talked about in the previous article. CPU usage which measures the percentage of CPU resources used by an instance, &lt;strong&gt;Network IN&lt;/strong&gt; refers to the amount of data received by the instance. &lt;br&gt;
&lt;strong&gt;&lt;em&gt;note&lt;/em&gt;&lt;/strong&gt; These are metics that are created automatically when we launch an EC2 instance, if we want custom metrics like RAM utilization we will need to create our own metrics. Our focus here is CPU utilization, which is the most important metrics. &lt;br&gt;
Cloudwatch by default at every 5mins will be monitoring data to this graph if we want to reduce the number to every minute then we will have to enable &lt;strong&gt;DETAILED MONITORNG&lt;/strong&gt; so we are going to enable detailed monitoring.&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%2F5xkysoe27jr7p8x9rph4.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%2F5xkysoe27jr7p8x9rph4.png" alt="Managing detailed monitoring" width="800" height="368"&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%2Fykwsxaerikxcaegvm6s2.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%2Fykwsxaerikxcaegvm6s2.png" alt="sudo apt update" width="800" height="283"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Select our instance, go to the monitoring tab to see the instance Metrics, click on monitoring, enable detailed monitoring and Voila! your monitoring has been set to every 1 minute.WE will log into this instance and  stress the CPU of this instance. Here, I will use gitbash to ssh into 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%2Fqlc41uen3im2dpuiowhl.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%2Fqlc41uen3im2dpuiowhl.png" alt="stress command" width="691" height="285"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;&lt;em&gt;note&lt;/em&gt;&lt;/strong&gt; for Ubuntu, always remember to update your package list before installing anything.&lt;br&gt;
After installation, execute the STRESS command to show options and example of how to stress a particular metric.&lt;br&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%2Fydzd31x2fv4ym9eq6z4w.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%2Fydzd31x2fv4ym9eq6z4w.png" alt="cpu stressing" width="520" height="316"&gt;&lt;/a&gt;&lt;br&gt;
This is an example which shows how we can stress on the RAM, CPU, the IO metric but our focus here is the CPU.&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%2Ftm4hnymkd0ppofunpzur.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%2Ftm4hnymkd0ppofunpzur.png" alt="top command" width="576" height="87"&gt;&lt;/a&gt;&lt;br&gt;
The nohup -c 4 -t 300 &amp;amp; command creates a 4 processes for us which will run for 300secs. The "nohup" and "&amp;amp;" put this command in the background.&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%2Ff90zzsdyh6jxei123lwv.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%2Ff90zzsdyh6jxei123lwv.png" alt="CPU utilization" width="775" height="476"&gt;&lt;/a&gt;&lt;br&gt;
Now we'll run command called &lt;strong&gt;TOP&lt;/strong&gt; which shows the processes running on our computer realtime and dynamically. Here we see the four stress processes and the utilization to be 99 at that point in time.&lt;br&gt;
This is to intentionally stress this instance, Cloud Watch will check it every minute and put that in the graph.&lt;br&gt;
So do we do this like few times, run STRESS just for 100 seconds, close it, run it for 200 seconds, wait for a few minutes, and now we will get a pattern in the graph.&lt;br&gt;
if we don't want to do this manually, we can create a script like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sleep 60 &amp;amp;&amp;amp; stress -c 4 -t 30 &amp;amp;&amp;amp; sleep 60 &amp;amp;&amp;amp; stress -c 4 -t 30 &amp;amp;&amp;amp; sleep 60 &amp;amp;&amp;amp; stress -c 4 -t 30. 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, we can go back to our AWS to check the graph again. Hover on the CPU metric and click on the enlarge icon to zoom.&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%2Fa9svb9g1q0krqrevyniv.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%2Fa9svb9g1q0krqrevyniv.png" alt="cloudwatch" width="800" height="308"&gt;&lt;/a&gt;&lt;br&gt;
This graph shows the usage of the CPU in the last 5mins and other minute you'd like to see. Amazing right! we can see the difference compared to when we just created the instance without stressing it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CLOUDWATCH SERVICE&lt;/strong&gt;&lt;br&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%2F2uda3i01hg1g5fgn45in.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%2F2uda3i01hg1g5fgn45in.png" alt="CLOUDWATCH SERVICE" width="784" height="236"&gt;&lt;/a&gt;&lt;br&gt;
We are prepared now! Let's go to CloudWatch Service where we will be setting up an alarm for CPU utilization for this instance. So come to all alarms section here and click on Create Alarm. Select a metric which is our CPU utilization.&lt;br&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%2Fa7ixxvbm0vqion13w2r8.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%2Fa7ixxvbm0vqion13w2r8.png" alt="create alarm" width="800" height="181"&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%2Fobl5tlb2arih8q67tb59.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%2Fobl5tlb2arih8q67tb59.png" alt="conditions" width="800" height="408"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To select a metric which in our case,is our CPU utilization for EC2, we first we click on the ec2 service, we see per instance metrics(click), find your instance and if you don't see your instance, wait for a few minutes till it loads information, find CPU utilization metric for your instance. In our case, the instance name is Cloudwatch-test so select CPU utilization for Cloudwatch test. &lt;br&gt;
&lt;strong&gt;&lt;em&gt;we can see the flow numbered from 1-4 above&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;
Next, In the next screen we will be setting conditions for Alarm. The condition states that if the CPU usage exceed 60% in the period of 5 minutes then it should be in Alarm.&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%2Fadr1d5gajwhjvknghtlo.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%2Fadr1d5gajwhjvknghtlo.png" alt="specifying conditions for metric" width="800" height="331"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;condition 1: ****Conditions set for a 5mins period&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%2Fyskldgj6rbcm8kpappy7.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%2Fyskldgj6rbcm8kpappy7.png" alt="conditions 2" width="800" height="265"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;condition 2: If usage is greater than 60, that is if it exceeds threshold&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%2F7n315kf4u955wqeqo42c.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%2F7n315kf4u955wqeqo42c.png" alt="Cloudwatch Alarm confirmation" width="800" height="287"&gt;&lt;/a&gt;&lt;br&gt;
In this screen we are just configuring the alarm notification which are the name, the title of the notification and what email should the notification be sent. For this article, we leave the other options, scroll down and click on next.&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%2Fvhv4ihui3fqo5ucnhbnp.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%2Fvhv4ihui3fqo5ucnhbnp.png" alt="Additional config" width="800" height="323"&gt;&lt;/a&gt;&lt;br&gt;
Additional configuration involves setting the alarm's name. &lt;strong&gt;&lt;em&gt;Note:&lt;/em&gt;&lt;/strong&gt; It's recommended to choose a name that grabs attention or emphasizes the urgency of the situation.&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%2Fxn850xlbzcqvkbosl4rs.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%2Fxn850xlbzcqvkbosl4rs.png" alt="Config preview" width="800" height="464"&gt;&lt;/a&gt;&lt;br&gt;
The next screen is to Preview our configurations and Create the ALARM&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%2Fkpy3crhbusks2it6nkdl.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%2Fkpy3crhbusks2it6nkdl.png" alt="Alarm creation" width="800" height="112"&gt;&lt;/a&gt;&lt;br&gt;
Our Alarm has been created!&lt;br&gt;
What this means is we when have CPU usage above 60, Cloudwatch will trigger an Alarm warning us about our usage. There are other actions we can modify on our instance like when the usage crosses the threshold we set, EC2 can reboot itself or create another EC2.&lt;/p&gt;

&lt;p&gt;Finally, I will be running the stress again to trigger Alarm notification for crossing the threshold(set at 60).&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%2Fpkd2mpetfukly7zmtfg3.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%2Fpkd2mpetfukly7zmtfg3.png" alt="sns" width="800" height="89"&gt;&lt;/a&gt;&lt;br&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%2Fbblgby2auy7elps3exs9.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%2Fbblgby2auy7elps3exs9.png" alt="graphs" width="800" height="418"&gt;&lt;/a&gt;&lt;br&gt;
For an email notification to be sent, the condition must persist for &lt;strong&gt;5 minutes&lt;/strong&gt;. Alright, the notification appeared in my inbox.&lt;br&gt;&lt;br&gt;
That’s the alert! You can now see the instance state change from &lt;strong&gt;"Insufficient Data"&lt;/strong&gt; to &lt;strong&gt;"Alarm"&lt;/strong&gt;&lt;br&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%2Ffy4lsikhqu846tbm2lw5.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%2Ffy4lsikhqu846tbm2lw5.png" alt="email" width="800" height="324"&gt;&lt;/a&gt;. &lt;/p&gt;

&lt;p&gt;&lt;em&gt;In summary, Amazon CloudWatch is a powerful monitoring and observability tool that helps businesses track performance, troubleshoot issues, and optimize their AWS environment. With features like Metrics, Logs, and Alarms, CloudWatch provides real-time insights that improve efficiency and reliability&lt;/em&gt;&lt;/p&gt;

</description>
      <category>cloudcomputing</category>
      <category>aws</category>
      <category>cloudskills</category>
      <category>cloudwatch</category>
    </item>
    <item>
      <title>AMAZON CLOUDWATCH</title>
      <dc:creator>Tolulope Olawuni</dc:creator>
      <pubDate>Sat, 15 Feb 2025 10:57:44 +0000</pubDate>
      <link>https://forem.com/startups_pal/introduction-to-simple-storage-service-5929</link>
      <guid>https://forem.com/startups_pal/introduction-to-simple-storage-service-5929</guid>
      <description>&lt;h2&gt;
  
  
  What is AWS CLOUD WATCH(PART 1)
&lt;/h2&gt;

&lt;p&gt;AWS cloudwatch is a monitoring service but now has expanded more than that, it's also a logging solution. There are amazing features that AWS cloudwatch provides. Primarily it's a service that will be monitoring performance of your AWS environment.&lt;/p&gt;

&lt;p&gt;Primarily, it is a service that monitors the performance of your AWS environment. Within a specific region, it automatically generates standard metrics for any service you use. In other monitoring tools, these metrics are commonly referred to as checks, such as CPU usage, disk utilization, or network performance for a virtual machine.&lt;/p&gt;

&lt;p&gt;So, for every service cloudwatch is going to provide some standard metrics, you really don't need to set up monitoring service. Monitoring is anyways set up through Cloud Watch. If you want you can make changes by adding more metrics of your choice, which are called CUSTOM metrics. On those metrics, you can set alarms notifications. Metrics is the primary thing in the cloud watch. If you use EBS volume, you would see some metrics for EBS volume. If you're using EC2, you should see some metrics same goes with Cloudfront, Route53 Healthchecks, RDS, Amazon S3 etc.&lt;/p&gt;

&lt;h2&gt;
  
  
  EC2 cloudwatch
&lt;/h2&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%2Fo9jvi7udcm3ri6h6jeej.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%2Fo9jvi7udcm3ri6h6jeej.png" alt="Console of a newly launched Nginx server" width="800" height="398"&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%2F358loshawe471gd1etys.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%2F358loshawe471gd1etys.png" alt="Cloudwatch security, networking, monitoring, storage tabs" width="800" height="197"&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%2Fkr2cby6gc6qmgpybmhp1.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%2Fkr2cby6gc6qmgpybmhp1.png" alt="Cloudwatch on EC2" width="800" height="442"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you're using an ec2 instance it will have a monitoring tab. All these metrics are coming from cloud watch. In the image above, you have CPU utilization(metric) currently there is no data available because it's going to take some time to collect this data. I have recently just launched an HTML website(downloaded from Tooplate.com) hosting on NGINX webserver in an EC2 Instance, so it's going to take some time to collect the metrics and then you should see the graphs.&lt;/p&gt;

&lt;p&gt;So CPU utilization, Status checks, Network in, Network Out. Network packets in .Network packets out, Disk read, Disk Operations, Disk write and Disk write Operations are the common metrics that you will see in all the ec2 instances.&lt;/p&gt;

&lt;h2&gt;
  
  
  EBS cloudwatch
&lt;/h2&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%2F5r0j0p4dauohr66jci99.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%2F5r0j0p4dauohr66jci99.png" alt="Cloudwatch on EBS" width="800" height="403"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Likewise, if you go to volume section. If you see your volumes, volume will also have monitoring and will there be metrics for volumes as well; Read bandwidth, Write bandwidth, Read throughput, Write throughput etc.&lt;/p&gt;

&lt;p&gt;So you take any service that you're using in your AWS account, it will have metrics which will be set by Cloud Watch.&lt;/p&gt;

&lt;p&gt;Apart from metrics, Cloudwatch also has EVENTS. AWS events will give you a real time stream of any events that is happening. For example, you launching an instance or Terminating or taking a snapshot or creating a volume. These are all events and cloud watch are going to capture all the events. What can you do with those events? Well, you can set triggers from these events.&lt;/p&gt;

&lt;p&gt;The next thing that Cloud Watch does is LOGS. Almost all the services will have an option to stream the logs. From your operating system,&lt;br&gt;
you can set an agent which can stream logs to cloud watch service.&lt;/p&gt;

&lt;p&gt;For now let's focus on METRICS. What do we do with the metrics, well, we set alarms on them. If one really want to monitor activity, you cant be 24hours by 7 days looking at the graphs of cloud watch&lt;br&gt;
but if something goes wrong, like the graph is spiking high, you would get some notifications. So alarms will help set your notifications it can be integrated with SNS service to send email notification.&lt;/p&gt;

&lt;p&gt;For example, if we the CPU utilization is crossing above 60. I should receive an email notification depending on my settings.&lt;/p&gt;

&lt;p&gt;There are three services in play over here.&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%2Fq1ej5pegya1ox14k2owb.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%2Fq1ej5pegya1ox14k2owb.png" alt="Cloudwatch flow" width="727" height="327"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Ec2 instance that is generating the metrics, Cloudwatch which is collecting the metrics, You or cloud watch which is also setting up alarms in the cloud watch and then the SNS service.&lt;/p&gt;

&lt;p&gt;In the next article, we'll be going all hands on; we will be seeing also how to how to collect logs from the ec2 instance and set metrics on the logs. And then based on that, you can send email notification or you can do some other stuff as well.&lt;/p&gt;

</description>
      <category>s3</category>
      <category>cloudstorage</category>
      <category>aws</category>
      <category>cloudcomputing</category>
    </item>
    <item>
      <title>SETTING UP A COST-EFFECTIVE AWS ENVIROMENT FOR A SMALL TECH COMPANY</title>
      <dc:creator>Tolulope Olawuni</dc:creator>
      <pubDate>Sat, 07 Sep 2024 17:19:40 +0000</pubDate>
      <link>https://forem.com/startups_pal/setting-up-a-cost-effective-aws-enviroment-for-a-small-tech-company-2l56</link>
      <guid>https://forem.com/startups_pal/setting-up-a-cost-effective-aws-enviroment-for-a-small-tech-company-2l56</guid>
      <description>&lt;h2&gt;
  
  
  INTRODUCTION
&lt;/h2&gt;

&lt;p&gt;Migrating both human and computing resources to the cloud is one of the smartest moves a startup or a first-time founder can make. This approach boosts efficiency, enhances security, and fosters better collaboration and delegation across teams. However, it's crucial to get the setup right—any missteps in configuring your cloud infrastructure can spell trouble for your business. In this article, I’ll guide you through the best practices for setting up a cost-effective AWS environment to ensure your tech company starts on the right foot.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Overview&lt;/strong&gt;: We'll cover AWS environment familiarization, Creating AWS account, Identity and Access Management(IAM) setup, cost management strategies(Budgeting). We'll be using Amazon free-tier account for this article.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Basic technical knowledge&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;AWS Free-tier account&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Web Browser (Access to the AWS management console)&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;AWS MANAGEMENT CONSOLE&lt;/strong&gt;&lt;br&gt;
The AWS Management Console is a web-based platform that allows users to access and manage AWS services, such as S3 storage and IAM.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1&lt;/strong&gt; &lt;strong&gt;Creating an AWS Free Tier Account&lt;/strong&gt;&lt;br&gt;
In your web browser, search for "AWS Free Tier" to get started.&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%2Fpmn09v9arkxqcfcbvijb.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%2Fpmn09v9arkxqcfcbvijb.png" alt=" " width="800" height="306"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2&lt;/strong&gt;&lt;br&gt;
Signup to create a free-tier AWS account by clicking on any of the circled button as seen in the image to create an AWS account.&lt;br&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%2Fe0dshnzo6rg6upm4m5zh.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%2Fe0dshnzo6rg6upm4m5zh.png" alt=" " width="800" height="434"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Step 3&lt;/strong&gt;&lt;br&gt;
Enter your email address and your AWS account name. Click on verify email address and wait for some seconds, a verification link will be pushed to your email. Check your email and copy the verification code&lt;br&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%2Fcc8pkxfzh6l47egq0sxy.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%2Fcc8pkxfzh6l47egq0sxy.png" alt=" " width="800" height="432"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Step 4&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Enter the code to setup your password.&lt;/strong&gt;&lt;br&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%2F19dedwy4ap3uqdmnngge.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%2F19dedwy4ap3uqdmnngge.png" alt=" " width="800" height="430"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Step 5&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;To create a free tier AWS account, you need to provide contact information, and specify the purpose of the account(in this case, it's business account), your full name, phone number, country, and address.&lt;/em&gt;&lt;br&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%2Fvku8kuszv3pn77zukeae.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%2Fvku8kuszv3pn77zukeae.png" alt=" " width="800" height="473"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Step 6&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Enter your Billing Information&lt;/strong&gt;&lt;br&gt;
AWS adopts the Pay-as-you-go method for billing its users. This means billing comes after usage of a resource. With the free-tier account, one can use some limited services for 12months and if usage is exceeded you'll be charged for extra consumption.&lt;br&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%2Fbo5ffxdg55y9iu9q29qm.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%2Fbo5ffxdg55y9iu9q29qm.png" alt=" " width="800" height="441"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;AWS CONSOLE HOME&lt;/strong&gt;&lt;br&gt;
This is the central hub for accessing and managing your Amazon Web Services which provides an easy-to-use web interface to access wide range of services that AWS offers. Located at the top of the page, the search bar allows you to quickly find AWS services like EC2, S3..&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%2Fmnm9eeook83oeu894j0j.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%2Fmnm9eeook83oeu894j0j.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Overview of AWS Services&lt;/strong&gt;&lt;br&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%2F899h15cn9goemmn1l3or.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%2F899h15cn9goemmn1l3or.png" alt=" " width="800" height="410"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Identity and Access Management(IAM)&lt;/strong&gt;&lt;br&gt;
In AWS, IAM (Identity and Access Management) is a service that allows you to manage who can access your AWS resources and what they can do with those resources. It provides secure control over authentication (who can sign in) and authorization (what actions they can perform).&lt;br&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%2Fvivlcwkiq05hw2zkjerh.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%2Fvivlcwkiq05hw2zkjerh.png" alt=" " width="800" height="447"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;IAM Components&lt;/strong&gt;&lt;br&gt;
The Major IAM Components are &lt;strong&gt;USERS&lt;/strong&gt;, &lt;strong&gt;GROUPS&lt;/strong&gt;, &lt;strong&gt;ROLES&lt;/strong&gt; AND &lt;strong&gt;POLICIES&lt;/strong&gt;.&lt;br&gt;
-&lt;strong&gt;User&lt;/strong&gt;: Individual identities that represent people needing access to AWS resources. Each user has unique credentials and can have specific permissions.&lt;br&gt;
-&lt;strong&gt;Usergroups&lt;/strong&gt;: Collections of users that share the same permissions. Groups simplify permission management by allowing you to assign policies to multiple users at once.&lt;br&gt;
-&lt;strong&gt;Roles&lt;/strong&gt;: Identities that you can assume &lt;strong&gt;&lt;em&gt;temporarily&lt;/em&gt;&lt;/strong&gt; to access resources, usually by applications, AWS services, or users from trusted entities. Roles have specific permissions and do not have &lt;em&gt;long-term credentials&lt;/em&gt;.&lt;br&gt;
-&lt;strong&gt;Policies&lt;/strong&gt;: Are set of permissions for users, groups, and roles. They specify what actions are allowed or denied on which AWS resources.&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%2F13a7t0fpse42h8ndhkon.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%2F13a7t0fpse42h8ndhkon.png" alt=" " width="800" height="322"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Creating Users And Grops In AWS IAM&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;IAM&lt;/strong&gt; is essential for securing and managing access and permissions in AWS effectively. When an AWS account is created, a &lt;strong&gt;ROOT USER&lt;/strong&gt; with full access to all resources is provided automatically. However, since we're migrating multiple teams to the cloud, resource usage will differ across departments. For instance, the I.T department might need access to services like EC2 for server management and CloudWatch for monitoring and logging I.T activities, while the Finance department would require access to services like &lt;strong&gt;BUDGET&lt;/strong&gt; to track cloud expenses. It is best practice to create &lt;strong&gt;IAM groups&lt;/strong&gt; with specific permissions (policies) tailored to each department's needs. This approach not only controls access but also supports cost-effective resource management and strengthens security.&lt;br&gt;
&lt;strong&gt;Step 1&lt;/strong&gt;&lt;br&gt;
Search for IAM in the address bar and Click on Create group&lt;br&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%2Fnbta3zap38vhvgice5p3.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%2Fnbta3zap38vhvgice5p3.png" alt=" " width="800" height="452"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Note:&lt;/em&gt;&lt;em&gt;Creating groups simplify permissions management because you can grant, change, and remove permissions for multiple users at the same time. For example, you can create a user group named "Admins" and give that group administrative permissions. Any user in that group automatically has the permissions that are assigned to the group.&lt;/em&gt;&lt;br&gt;
&lt;strong&gt;STEP 2&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Create a name for the group e.g Admin&lt;/strong&gt;&lt;br&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%2Flryyzbuplztyuc0ctrj6.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%2Flryyzbuplztyuc0ctrj6.png" alt=" " width="800" height="451"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Step 3&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Select a Policy&lt;/strong&gt;&lt;br&gt;
As shown in the image, you can see a few policies listed. You can select a policy by checking the box next to it or use the search function to find a specific policy, as demonstrated. I assigned administrative access to the Admin group, granting the group full access to all AWS services.&lt;br&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%2F9rz1kbrnnjmct43k4fjr.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%2F9rz1kbrnnjmct43k4fjr.png" alt=" " width="800" height="408"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Create Group&lt;/strong&gt;&lt;br&gt;
Navigate to the end of the page to confirm the group creation.&lt;br&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%2Fwmb11wzrlii919vfubc2.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%2Fwmb11wzrlii919vfubc2.png" alt=" " width="800" height="441"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;ANALYSIS OF THE CURRENT CONSOLE&lt;/strong&gt;&lt;br&gt;
The image illustrates "Admin" group has been created and configured with defined permissions(AdministrativeAccess),but no USER is currently assigned to the group.&lt;br&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%2Fdp03nj5eww9lp9w2xpwq.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%2Fdp03nj5eww9lp9w2xpwq.png" alt=" " width="800" height="254"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;CREATE AN IAM USER&lt;/strong&gt;&lt;br&gt;
Let's name this User Joe,who is an Admin staff in this startup. Firstly we select &lt;strong&gt;USER&lt;/strong&gt; on IAM console.&lt;br&gt;
&lt;strong&gt;STEP 1: Select "Create User"&lt;/strong&gt;&lt;br&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%2Fz4fhl61slei3eb587v1m.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%2Fz4fhl61slei3eb587v1m.png" alt=" " width="800" height="195"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;STEP 2: USER DETAILS&lt;/strong&gt;&lt;br&gt;
The image shows a section of the AWS IAM console during the process of creating a new IAM user. Here is the analysis of the configuration:&lt;br&gt;
&lt;strong&gt;Username&lt;/strong&gt;: The username "Joe" is specified in the text box at the top, indicating the new user being created.&lt;br&gt;
&lt;strong&gt;Access Type&lt;/strong&gt;: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The option "Provide user access to the AWS Management Console" is checked, meaning this user will have access to log into the AWS Management Console.&lt;/li&gt;
&lt;li&gt;"I want to create an IAM user" – This option is selected, indicating that a traditional IAM user is being created rather than using the AWS Identity Center.
&lt;strong&gt;Console Password&lt;/strong&gt;
Two options are provided for the password:
&lt;em&gt;&lt;strong&gt;Autogenerated Password&lt;/strong&gt;&lt;/em&gt;: Not selected.
&lt;em&gt;&lt;strong&gt;Custom Password&lt;/strong&gt;&lt;/em&gt;: This option is selected, allowing the user to set a custom password for the new user. The password requirements (minimum length and character mix) are listed below the input box.
&lt;em&gt;This setup shows that the user "Joe" is being configured with access to the AWS Management Console and a custom password. The configuration emphasizes the creation of a traditional IAM user rather than through AWS Identity Center, and the password is set directly rather than autogenerated.&lt;/em&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%2F9nmrqnh3qwdv8okv6iju.png" alt=" " width="800" height="396"&gt;
&lt;strong&gt;Step 3&lt;/strong&gt;
At this stage, we are prompted to set permissions for the user. Instead of assigning individual policies directly, we add the user to the Admin group. By doing this, the user will automatically inherit all the permissions associated with the Admin group's policies. This approach simplifies permission management by ensuring the user has the same access level as the group, following best practices for access control and policy consistency.
&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%2Ff3no6jtizp4culz9yx2r.png" alt=" " width="798" height="408"&gt;
&lt;strong&gt;Step 4&lt;/strong&gt;
Review the User details
&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%2Fl98a56p96gwq7ko4w7vv.png" alt=" " width="800" height="432"&gt;
&lt;strong&gt;Final Step&lt;/strong&gt;
Download User credentials
Use the downloaded details which contains the login URL for the User "Joe" to access his console.
&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%2Fgsf4pzvbq985weina1ig.png" alt=" " width="800" height="305"&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;SET UP AWS BUDGET&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;Security Best Practices: AWS recommends minimizing the use of the root account because it has unrestricted access to all resources but once the root user configures the initial budget and monitoring tools, regular account usage and management should be handled by IAM users with appropriate permissions&lt;/em&gt;&lt;br&gt;
&lt;strong&gt;STEP 1&lt;/strong&gt;&lt;br&gt;
In the AWS console, find the search bar and type "Billing" or "Budget"; you'll see a suggestion for "Billing and Cost Management." Click and create your budget.&lt;br&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%2Fz5myj8cq6et5fgr2zbc4.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%2Fz5myj8cq6et5fgr2zbc4.png" alt=" " width="800" height="449"&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%2Fvt04frebty0e7mysiznx.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%2Fvt04frebty0e7mysiznx.png" alt=" " width="800" height="451"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Step 2&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Setup your Budget&lt;/strong&gt;&lt;br&gt;
The image shows the &lt;strong&gt;AWS Budgets&lt;/strong&gt; interface for selecting the budget type. Here’s an analysis our selection elements:&lt;br&gt;
&lt;strong&gt;Budget Setup&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Customize (advanced)&lt;/strong&gt;:This option allows you to create a more tailored budget with specific parameters, such as the time period, accounts, or services to track.&lt;br&gt;
&lt;strong&gt;Budget Types&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Cost budget (Selected)&lt;/strong&gt;:This monitors the overall cost of your cloud usage. You set a dollar amount as your budget, and AWS alerts you when thresholds are met. &lt;br&gt;
&lt;em&gt;Scroll down and click "Next"&lt;/em&gt;&lt;br&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%2Fs6n1s9zdm6lr27cjyigb.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%2Fs6n1s9zdm6lr27cjyigb.png" alt=" " width="800" height="404"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Scroll down to configure your AWS Budget; Naming, Periods and Renewal options.&lt;/em&gt;&lt;br&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%2Fryxkln8u9z6ezxes79e6.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%2Fryxkln8u9z6ezxes79e6.png" alt=" " width="800" height="451"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The image below shows the AWS console’s budget creation page, where you set up a budget to monitor costs. Key details&lt;/em&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Budget Name:&lt;/strong&gt; Allows you to name the budget, with "BudgetMonitoring" used in the example.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Set Budget Amount:&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Period:&lt;/strong&gt; Set to "Monthly," tracking costs on a monthly basis.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Budget Renewal Type:&lt;/strong&gt; Options include "Recurring Budget" (resets each period) and "Expiring Budget" (stops renewing after a set time). The example uses a recurring budget.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Start Month:&lt;/strong&gt; Set to begin in September 2024.
Budgeted Amount is $50&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;strong&gt;Budget Preview:&lt;/strong&gt; Displays a graph of costs from September 2023 to June 2024, showing actual versus budgeted amounts.
&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%2Fvbs1vgj7kcm81f57f7l7.png" alt=" " width="800" height="317"&gt;
&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Budget Method&lt;/strong&gt;&lt;br&gt;
The console shows the &lt;strong&gt;AWS Budgets&lt;/strong&gt; creation interface, specifically focusing on selecting a &lt;strong&gt;budgeting method&lt;/strong&gt;. The options provided for budgeting include:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Planned&lt;/strong&gt;:Our selection/choice allows users to specify the budgeted amount for each budget period individually.&lt;br&gt;
&lt;strong&gt;Fixed&lt;/strong&gt;: Sets a single budgeted amount that applies to every month or period within the specified range.&lt;br&gt;
&lt;strong&gt;Auto-adjusting&lt;/strong&gt;: Dynamically adjusts the budget based on the user’s historical spending or usage patterns.&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%2F0d1j31s2n0ql7qb51i95.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%2F0d1j31s2n0ql7qb51i95.png" alt=" " width="800" height="444"&gt;&lt;/a&gt;&lt;br&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%2Fxafdkqkrnnsuyu3hv2uv.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%2Fxafdkqkrnnsuyu3hv2uv.png" alt=" " width="800" height="228"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Scope of options&lt;/strong&gt;&lt;br&gt;
Our budget scope selection allows us to track all AWS services in this account.&lt;br&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%2Fe9917qlk30pnaid6yg9r.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%2Fe9917qlk30pnaid6yg9r.png" alt=" " width="800" height="451"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Alert threshold&lt;/strong&gt;&lt;br&gt;
To effectively manage cloud costs, we’ve set up our AWS budget with a total allocation of &lt;strong&gt;$50&lt;/strong&gt; for the current billing period. To stay proactive and avoid overspending, we’ve configured an &lt;strong&gt;alert threshold&lt;/strong&gt; at &lt;strong&gt;80%&lt;/strong&gt; of the budget, meaning we will receive an alert when our spending reaches &lt;strong&gt;$40&lt;/strong&gt;.&lt;br&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%2Ff9hqv0n66ix8hx1n1rkr.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%2Ff9hqv0n66ix8hx1n1rkr.png" alt=" " width="800" height="449"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Budget Setup Review&lt;/strong&gt;&lt;br&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%2Frdzw3jefwk9sof17qxuo.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%2Frdzw3jefwk9sof17qxuo.png" alt=" " width="800" height="451"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Budget Created!&lt;/strong&gt;&lt;br&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%2Fbxvk2ah1s84dsdy2xg5e.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%2Fbxvk2ah1s84dsdy2xg5e.png" alt=" " width="800" height="453"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Congratulations! You've just built a fortress of cloud efficiency with just a few clicks, a couple of configs. And remember, managing AWS is a bit like riding a bike: wobbly at first, potentially painful, but once you get the hang of it, you’ll be cruising through cloud configurations like a pro. So, go forth and conquer the cloud, and may your startup be forever cost-effective and infinitely efficient.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;If you found this article helpful, please like and follow me! If there's any part where you feel I could have explained things better, feel free to leave a comment, and I'll be happy to clarify.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>cloud</category>
      <category>aws</category>
      <category>devops</category>
      <category>infrastructureascode</category>
    </item>
  </channel>
</rss>
