<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: SANTHIYA C</title>
    <description>The latest articles on DEV Community by SANTHIYA C (@santhiya_c).</description>
    <link>https://dev.to/santhiya_c</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4125473%2F8ac8f035-d677-4e96-9ac8-df65c56446a4.png</url>
      <title>DEV Community: SANTHIYA C</title>
      <link>https://dev.to/santhiya_c</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/santhiya_c"/>
    <language>en</language>
    <item>
      <title>“Santhiya Waits for SQS: Exploring Amazon Simple Queue Service” ☁️📩</title>
      <dc:creator>SANTHIYA C</dc:creator>
      <pubDate>Tue, 15 Sep 2026 17:45:21 +0000</pubDate>
      <link>https://dev.to/santhiya_c/santhiya-waits-for-sqs-exploring-amazon-simple-queue-service-1533</link>
      <guid>https://dev.to/santhiya_c/santhiya-waits-for-sqs-exploring-amazon-simple-queue-service-1533</guid>
      <description>&lt;h1&gt;
  
  
  Santhiya Waits for SQS: Exploring Amazon Simple Queue Service ☁️📩
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;In modern applications, different components often need to communicate with each other. If one component becomes busy or temporarily unavailable, directly connecting everything can cause delays and failures. &lt;strong&gt;Amazon Simple Queue Service (Amazon SQS)&lt;/strong&gt; solves this problem by allowing applications to communicate through messages.&lt;/p&gt;

&lt;p&gt;Amazon SQS is a fully managed AWS service used to &lt;strong&gt;send, store, and receive messages between software components&lt;/strong&gt;. It helps applications work independently and improves reliability and scalability.&lt;/p&gt;




&lt;h2&gt;
  
  
  What is Amazon SQS?
&lt;/h2&gt;

&lt;p&gt;Amazon SQS stands for &lt;strong&gt;Amazon Simple Queue Service&lt;/strong&gt;. It is a message queuing service provided by AWS.&lt;/p&gt;

&lt;p&gt;A queue acts like a temporary waiting area for messages. One application can send a message to the queue, while another application can retrieve and process it later.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Student Application → SQS Queue → Processing Application&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The sender does not have to wait for the receiver to finish processing the task.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fddn4sihby9imwanrdk0e.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fddn4sihby9imwanrdk0e.png" alt=" " width="800" height="281"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Why was SQS created?
&lt;/h3&gt;

&lt;p&gt;SQS was created to help applications &lt;strong&gt;communicate without being tightly connected&lt;/strong&gt;. It is especially useful when one application produces tasks faster than another application can process them.&lt;/p&gt;

&lt;p&gt;AWS describes SQS as a service that helps decouple and scale microservices, distributed systems, and serverless applications.&lt;/p&gt;




&lt;h2&gt;
  
  
  How Amazon SQS Works
&lt;/h2&gt;

&lt;p&gt;The basic working of SQS is simple:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A &lt;strong&gt;producer&lt;/strong&gt; creates a message.&lt;/li&gt;
&lt;li&gt;The producer sends the message to an SQS queue.&lt;/li&gt;
&lt;li&gt;The message waits safely in the queue.&lt;/li&gt;
&lt;li&gt;A &lt;strong&gt;consumer&lt;/strong&gt; receives the message.&lt;/li&gt;
&lt;li&gt;The consumer processes the message.&lt;/li&gt;
&lt;li&gt;After successful processing, the message is deleted from the queue.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Simple Flow Diagram
&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fyd5wue7wgx1ztsob61xf.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fyd5wue7wgx1ztsob61xf.png" alt=" " width="740" height="367"&gt;&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;        PRODUCER
           │
           │ Send Message
           ▼
   ┌─────────────────┐
   │    Amazon SQS   │
   │      Queue      │
   │                 │
   │  Message 1      │
   │  Message 2      │
   │  Message 3      │
   └─────────────────┘
           │
           │ Receive Message
           ▼
        CONSUMER
           │
           ▼
    Process the Task
           │
           ▼
      Delete Message
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This approach means the producer and consumer do not have to be available at exactly the same time.&lt;/p&gt;




&lt;h2&gt;
  
  
  Key Features of Amazon SQS
&lt;/h2&gt;

&lt;h1&gt;
  
  
  Key SQS Features
&lt;/h1&gt;

&lt;ol&gt;
&lt;li&gt;Dead Letter Queues (DLQ):&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A DLQ is a secondary queue targeting messages that repeatedly fail to process. If a message cannot be successfully consumed after a configured maximum receive count (e.g., 5 attempts), SQS moves it to the DLQ. This prevents "poison pill" messages (messages with bad payloads that crash consumers) from blocking main queue traffic.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Long Polling vs. Short Polling:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Short Polling (Default): The receive message request queries only a subset of SQS servers and returns immediately, even if no messages are found. This can result in empty responses and higher API transaction costs.&lt;br&gt;
Long Polling: SQS waits up to 20 seconds for a message to arrive in the queue before sending a response. It is highly recommended to configure "WaitTimeSeconds &amp;gt; 0" to minimize empty API responses and lower transaction costs.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Delay Queues: This configuration postpones the delivery of newly added messages to the queue for a specified duration (up to 15 minutes). This is useful when background tasks require an initial cooling-off period before running.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Batch Operations: To reduce network overhead and lower transactional costs, SQS supports sending, receiving, and deleting messages in batches of up to 10 messages (or up to 256 KB) per single API call.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0vcxhobxfch00o89wqcg.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0vcxhobxfch00o89wqcg.png" alt=" " width="800" height="730"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  College/Student Use Case 🎓
&lt;/h2&gt;

&lt;p&gt;Amazon SQS can be useful in a &lt;strong&gt;college event registration system&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Imagine that hundreds of students register for a college hackathon at the same time. Instead of immediately processing every registration request, the application can place each request into an SQS queue.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Students
   │
   ▼
Registration Website
   │
   ▼
Amazon SQS Queue
   │
   ▼
Registration Processor
   │
   ▼
College Database
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The registration website can continue accepting requests while the backend processes them from the queue.&lt;/p&gt;

&lt;p&gt;This reduces the chance of the application becoming overloaded during peak registration time.&lt;/p&gt;

&lt;p&gt;Another example is a &lt;strong&gt;student project submission system&lt;/strong&gt;, where uploaded submissions can be placed into a queue for background processing such as file validation, plagiarism checking, or result generation.&lt;/p&gt;




&lt;h2&gt;
  
  
  Simple Practical Example
&lt;/h2&gt;

&lt;p&gt;Suppose a college application wants to process student feedback.&lt;/p&gt;

&lt;p&gt;A producer sends a message to an SQS queue:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"student_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"ST101"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"feedback"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"The cloud workshop was useful."&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The message is stored in the queue until a consumer receives it.&lt;/p&gt;

&lt;p&gt;A simple AWS CLI example for sending a message is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;aws sqs send-message &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--queue-url&lt;/span&gt; &amp;lt;QUEUE_URL&amp;gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--message-body&lt;/span&gt; &lt;span class="s2"&gt;"Student feedback received"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To receive a message:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;aws sqs receive-message &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--queue-url&lt;/span&gt; &amp;lt;QUEUE_URL&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After processing the message, it can be deleted using:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;aws sqs delete-message &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--queue-url&lt;/span&gt; &amp;lt;QUEUE_URL&amp;gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--receipt-handle&lt;/span&gt; &amp;lt;RECEIPT_HANDLE&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These operations demonstrate the basic &lt;strong&gt;send → receive → process → delete&lt;/strong&gt; workflow of SQS. AWS provides CLI commands for creating queues and sending, receiving, and deleting messages.&lt;/p&gt;




&lt;h2&gt;
  
  
  Advantages of Amazon SQS
&lt;/h2&gt;

&lt;p&gt;Amazon SQS has several advantages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Easy to use:&lt;/strong&gt; AWS manages the underlying queue infrastructure.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scalable:&lt;/strong&gt; It can handle large volumes of messages.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reliable:&lt;/strong&gt; Messages can remain in the queue until they are successfully processed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Decoupling:&lt;/strong&gt; Producers and consumers can work independently.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Flexible:&lt;/strong&gt; Developers can choose between Standard and FIFO queues.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Secure:&lt;/strong&gt; AWS provides encryption and access-control mechanisms.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Because of these features, SQS is useful for microservices, background processing, distributed applications, and serverless systems.&lt;/p&gt;




&lt;h2&gt;
  
  
  Limitations / Things to Consider
&lt;/h2&gt;

&lt;p&gt;Although SQS is powerful, there are a few things to consider.&lt;/p&gt;

&lt;h3&gt;
  
  
  Cost
&lt;/h3&gt;

&lt;p&gt;SQS follows a &lt;strong&gt;pay-for-use pricing model&lt;/strong&gt;, so cost depends mainly on the number of requests and other features used. Applications with very high message traffic should monitor their usage.&lt;/p&gt;

&lt;h3&gt;
  
  
  Complexity
&lt;/h3&gt;

&lt;p&gt;Basic SQS usage is simple, but advanced features such as FIFO queues, dead-letter queues, visibility timeout configuration, IAM permissions, and monitoring require additional understanding.&lt;/p&gt;

&lt;h3&gt;
  
  
  Message Size
&lt;/h3&gt;

&lt;p&gt;SQS is designed for messages rather than storing large files. The maximum message size is &lt;strong&gt;1 MiB&lt;/strong&gt;. For larger data, applications can store the file in Amazon S3 and send the S3 object information through SQS.&lt;/p&gt;

&lt;h3&gt;
  
  
  Ordering
&lt;/h3&gt;

&lt;p&gt;Standard queues do not guarantee strict ordering. If message order is important, a FIFO queue should be considered.&lt;/p&gt;




&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Amazon SQS is a simple but powerful AWS service for communication between applications. It provides a reliable queue where messages can wait until they are ready to be processed.&lt;/p&gt;

&lt;p&gt;Its support for &lt;strong&gt;Standard and FIFO queues, visibility timeout, dead-letter queues, scalability, and security&lt;/strong&gt; makes it useful for many real-world applications.&lt;/p&gt;

&lt;p&gt;For a college environment, SQS can be used for systems such as &lt;strong&gt;event registration, student submissions, notifications, feedback processing, and background tasks&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;As a student learning cloud computing, understanding SQS is valuable because it introduces an important concept in modern cloud architecture: &lt;strong&gt;decoupling applications so that they can work independently and reliably&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;AWS – Amazon Simple Queue Service Documentation&lt;br&gt;
&lt;a href="https://docs.aws.amazon.com/sqs/?utm_source=chatgpt.com" rel="noopener noreferrer"&gt;Amazon SQS Documentation&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;AWS – Amazon SQS Standard Queues&lt;br&gt;
&lt;a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/standard-queues.html?utm_source=chatgpt.com" rel="noopener noreferrer"&gt;Amazon SQS Standard Queues&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;AWS – Amazon SQS FIFO Queues&lt;br&gt;
&lt;a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-fifo-queues.html?utm_source=chatgpt.com" rel="noopener noreferrer"&gt;Amazon SQS FIFO Queues&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;AWS – Getting Started with Amazon SQS&lt;br&gt;
&lt;a href="https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-getting-started.html?utm_source=chatgpt.com" rel="noopener noreferrer"&gt;Getting Started with Amazon SQS&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;AWS – AWS CLI SQS Commands&lt;br&gt;
&lt;a href="https://docs.aws.amazon.com/cli/latest/reference/sqs/?utm_source=chatgpt.com" rel="noopener noreferrer"&gt;Amazon SQS AWS CLI Reference&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>productivity</category>
      <category>tutorial</category>
      <category>aws</category>
      <category>linux</category>
    </item>
    <item>
      <title>CLOUD WORKSHOP DAY 1</title>
      <dc:creator>SANTHIYA C</dc:creator>
      <pubDate>Tue, 15 Sep 2026 06:58:26 +0000</pubDate>
      <link>https://dev.to/santhiya_c/cloud-workshop-day-1-5358</link>
      <guid>https://dev.to/santhiya_c/cloud-workshop-day-1-5358</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; **Deploying a Portfolio Website on AWS S3 and CloudFront **
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;As part of my AWS learning session, I explored the fundamentals of cloud computing and Amazon Web Services (AWS).&lt;/p&gt;

&lt;p&gt;The session introduced several important AWS concepts, including:&lt;/p&gt;

&lt;p&gt;AWS and cloud computing&lt;br&gt;
Pay-as-you-go pricing&lt;br&gt;
IaaS, PaaS, FaaS, SaaS and AIaaS&lt;br&gt;
AWS infrastructure and regions&lt;br&gt;
Amazon S3&lt;br&gt;
Amazon CloudFront&lt;/p&gt;

&lt;p&gt;As a practical exercise, I deployed my personal portfolio website using Amazon S3 and then configured Amazon CloudFront to deliver the website through a content delivery network (CDN).&lt;/p&gt;

&lt;p&gt;This article documents the steps I followed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. What is AWS?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Amazon Web Services (AWS) is a cloud computing platform that provides services for computing, storage, databases, networking, security, artificial intelligence and many other applications.&lt;/p&gt;

&lt;p&gt;Instead of purchasing and maintaining physical servers, we can use cloud resources whenever required.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pay-as-you-go&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;AWS follows a pay-as-you-go model for many services.&lt;/p&gt;

&lt;p&gt;This means we generally pay for the resources we use rather than purchasing physical infrastructure upfront.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;2. Cloud Service Models&lt;br&gt;
*&lt;/em&gt;&lt;br&gt;
During the session, I learned about different cloud service models.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;IaaS&lt;/em&gt;&lt;/strong&gt; — Infrastructure as a Service&lt;/p&gt;

&lt;p&gt;Provides infrastructure such as:&lt;/p&gt;

&lt;p&gt;Virtual machines&lt;br&gt;
Storage&lt;br&gt;
Networking&lt;/p&gt;

&lt;p&gt;Example: Amazon EC2&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;PaaS&lt;/strong&gt; — Platform as a Service&lt;/p&gt;

&lt;p&gt;Provides a platform where developers can build and deploy applications without managing all the underlying infrastructure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;FaaS&lt;/strong&gt; — Function as a Service&lt;/p&gt;

&lt;p&gt;Allows developers to run code without managing servers.&lt;/p&gt;

&lt;p&gt;Example: AWS Lambda&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SaaS&lt;/strong&gt; — Software as a Service&lt;/p&gt;

&lt;p&gt;Software is provided as a service through the internet.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AIaaS&lt;/strong&gt; — AI as a Service&lt;/p&gt;

&lt;p&gt;Provides artificial intelligence and machine learning capabilities through cloud services.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;3. AWS Infrastructure Basics&lt;br&gt;
*&lt;/em&gt;&lt;br&gt;
AWS has a global infrastructure consisting of:&lt;/p&gt;

&lt;p&gt;Regions&lt;br&gt;
Availability Zones&lt;br&gt;
Data centers&lt;/p&gt;

&lt;p&gt;A Region is a geographical area containing multiple Availability Zones.&lt;/p&gt;

&lt;p&gt;An Availability Zone (AZ) is one or more isolated data centers within an AWS Region.&lt;/p&gt;

&lt;p&gt;Using multiple Availability Zones helps improve the availability and reliability of applications.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;4. Amazon S3&lt;br&gt;
*&lt;/em&gt;&lt;br&gt;
Amazon S3 (Simple Storage Service) is an object storage service provided by AWS.&lt;/p&gt;

&lt;p&gt;S3 can be used to store:&lt;/p&gt;

&lt;p&gt;Images&lt;br&gt;
Videos&lt;br&gt;
Documents&lt;br&gt;
HTML files&lt;br&gt;
CSS files&lt;br&gt;
JavaScript files&lt;br&gt;
Application data&lt;br&gt;
Backups&lt;/p&gt;

&lt;p&gt;S3 stores data as objects inside buckets.&lt;/p&gt;

&lt;p&gt;Basic S3 structure&lt;br&gt;
AWS Account&lt;br&gt;
     ↓&lt;br&gt;
   S3&lt;br&gt;
     ↓&lt;br&gt;
   Bucket&lt;br&gt;
     ↓&lt;br&gt;
   Objects&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxrh50j2wtbxb21ibo7vc.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxrh50j2wtbxb21ibo7vc.png" alt=" " width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For my practical exercise, I used an S3 bucket to store the files of my portfolio website.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;5. Creating the Portfolio Website&lt;br&gt;
*&lt;/em&gt;&lt;br&gt;
Before deploying the website, I created my portfolio website containing my personal and technical information.&lt;/p&gt;

&lt;p&gt;The website consisted of files such as:&lt;/p&gt;

&lt;p&gt;index.html&lt;br&gt;
images/&lt;/p&gt;

&lt;p&gt;The important requirement for deployment was having the website files ready to upload to S3.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Uploading the Portfolio to Amazon S3&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The next step was to create an S3 bucket and upload the portfolio files.&lt;/p&gt;

&lt;p&gt;Step 1 — Open Amazon S3&lt;/p&gt;

&lt;p&gt;Open the AWS Management Console and search for:&lt;/p&gt;

&lt;p&gt;S3&lt;/p&gt;

&lt;p&gt;Then select Amazon S3.&lt;/p&gt;

&lt;p&gt;Step 2 — Create a Bucket&lt;/p&gt;

&lt;p&gt;Click:&lt;/p&gt;

&lt;p&gt;Create bucket&lt;/p&gt;

&lt;p&gt;Provide a unique bucket name.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvfhz8kt9szoqnf11eos8.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvfhz8kt9szoqnf11eos8.png" alt=" " width="800" height="350"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;p&gt;my-portfolio-website&lt;/p&gt;

&lt;p&gt;Bucket names must be globally unique, so choose a name that is available.&lt;/p&gt;

&lt;p&gt;Step 3 — Configure the Bucket&lt;/p&gt;

&lt;p&gt;Configure the bucket according to the deployment approach being used.&lt;/p&gt;

&lt;p&gt;For a public static website configuration, the required access settings and bucket policy need to be configured appropriately.&lt;/p&gt;

&lt;p&gt;Step 4 — Upload Website Files&lt;/p&gt;

&lt;p&gt;Open the bucket and select:&lt;/p&gt;

&lt;p&gt;Upload → Add files&lt;/p&gt;

&lt;p&gt;Upload the portfolio files.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;p&gt;index.html&lt;br&gt;
images/&lt;/p&gt;

&lt;p&gt;After uploading, the files should appear as objects inside the S3 bucket.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fivvcgvqquf61lyih2ko4.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fivvcgvqquf61lyih2ko4.png" alt=" " width="800" height="384"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;7. Hosting the Portfolio Using S3&lt;br&gt;
*&lt;/em&gt;&lt;br&gt;
S3 can be used to host static websites containing files such as:&lt;/p&gt;

&lt;p&gt;HTML&lt;br&gt;
CSS&lt;br&gt;
JavaScript&lt;br&gt;
Images&lt;/p&gt;

&lt;p&gt;The website's main entry point is:&lt;/p&gt;

&lt;p&gt;index.html&lt;/p&gt;

&lt;p&gt;After configuring static website hosting/access appropriately, the S3-hosted website can be accessed through its endpoint.&lt;/p&gt;

&lt;p&gt;At this stage, the portfolio was successfully hosted using Amazon S3.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;8. Why Use CloudFront?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Although S3 can host the website, Amazon CloudFront can be used to distribute the website content through a Content Delivery Network (CDN)without delay .&lt;/p&gt;

&lt;p&gt;CloudFront uses a &lt;em&gt;global network&lt;/em&gt; of edge locations.&lt;/p&gt;

&lt;p&gt;Instead of every visitor accessing the origin directly, CloudFront can serve cached content from an edge location closer to the visitor.&lt;/p&gt;

&lt;p&gt;Basic architecture&lt;br&gt;
                 User&lt;br&gt;
                  |&lt;br&gt;
                  ↓&lt;br&gt;
             CloudFront&lt;br&gt;
                  |&lt;br&gt;
                  ↓&lt;br&gt;
                 S3&lt;br&gt;
              Bucket&lt;br&gt;
                  |&lt;br&gt;
                  ↓&lt;br&gt;
        Portfolio Website Files&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Focdcm6lx0gpx7a2z2025.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Focdcm6lx0gpx7a2z2025.png" alt=" " width="800" height="354"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This can provide benefits such as:&lt;/p&gt;

&lt;p&gt;Faster content delivery&lt;br&gt;
Global distribution&lt;br&gt;
Reduced load on the origin&lt;br&gt;
Better performance for users in different geographical locations&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;9. Deploying the Portfolio Using CloudFront&lt;br&gt;
*&lt;/em&gt;&lt;br&gt;
After successfully hosting the portfolio in S3, I configured Amazon CloudFront.&lt;/p&gt;

&lt;p&gt;Step 1 — Open CloudFront&lt;/p&gt;

&lt;p&gt;From the AWS Console, search for:&lt;/p&gt;

&lt;p&gt;CloudFront&lt;/p&gt;

&lt;p&gt;Open the CloudFront service.&lt;/p&gt;

&lt;p&gt;Step 2 — Create a Distribution&lt;/p&gt;

&lt;p&gt;Select:&lt;/p&gt;

&lt;p&gt;Create distribution&lt;/p&gt;

&lt;p&gt;For the origin, select the S3 bucket containing the portfolio website.&lt;/p&gt;

&lt;p&gt;Step 3 — Configure the Origin&lt;/p&gt;

&lt;p&gt;Select the S3 bucket that contains the website files.&lt;/p&gt;

&lt;p&gt;The CloudFront distribution uses this bucket as the origin.&lt;/p&gt;

&lt;p&gt;If using the recommended private-S3 architecture, CloudFront should access the S3 bucket using Origin Access Control (OAC) rather than making the bucket publicly readable.&lt;/p&gt;

&lt;p&gt;Step 4 — Configure Default Root Object&lt;/p&gt;

&lt;p&gt;Set:&lt;/p&gt;

&lt;p&gt;index.html&lt;/p&gt;

&lt;p&gt;as the Default root object.&lt;/p&gt;

&lt;p&gt;This tells CloudFront which file should be returned when a user accesses the root of the website.&lt;/p&gt;

&lt;p&gt;Step 5 — Create Distribution&lt;/p&gt;

&lt;p&gt;Review the configuration and create the CloudFront distribution.&lt;/p&gt;

&lt;p&gt;CloudFront then begins deploying the distribution globally.&lt;/p&gt;

&lt;p&gt;The deployment may take some time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;10. Accessing the Website Through CloudFront&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Once the CloudFront distribution becomes available, AWS provides a CloudFront domain similar to:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://xxxxxxxxxxxx.cloudfront.net" rel="noopener noreferrer"&gt;https://xxxxxxxxxxxx.cloudfront.net&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Opening this URL displays the portfolio website.&lt;/p&gt;

&lt;p&gt;The final deployment therefore becomes:&lt;/p&gt;

&lt;p&gt;Portfolio Website&lt;br&gt;
       ↓&lt;br&gt;
    Amazon S3&lt;br&gt;
       ↓&lt;br&gt;
 Amazon CloudFront&lt;br&gt;
       ↓&lt;br&gt;
   Global Users&lt;br&gt;
Conclusion&lt;/p&gt;

&lt;p&gt;This AWS session provided a practical introduction to cloud computing and AWS services.&lt;/p&gt;

&lt;p&gt;Starting from basic concepts such as IaaS, PaaS, FaaS and SaaS, I progressed to IAM, Amazon S3 and Amazon CloudFront.&lt;/p&gt;

&lt;p&gt;The key hands-on activity was deploying my portfolio website to Amazon S3 and using Amazon CloudFront to distribute it globally.&lt;/p&gt;

&lt;p&gt;This helped me understand how cloud services can be combined to deploy and deliver a real-world web application.&lt;/p&gt;

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