<?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: Shaakthi Ganapathi</title>
    <description>The latest articles on DEV Community by Shaakthi Ganapathi (@shaakthi_ganapathi_e04d18).</description>
    <link>https://dev.to/shaakthi_ganapathi_e04d18</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%2F2750813%2Fa7c88546-c05e-4ea6-bda0-a833992d5938.png</url>
      <title>DEV Community: Shaakthi Ganapathi</title>
      <link>https://dev.to/shaakthi_ganapathi_e04d18</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shaakthi_ganapathi_e04d18"/>
    <language>en</language>
    <item>
      <title>AWS EC2 Instance with S3 Integration</title>
      <dc:creator>Shaakthi Ganapathi</dc:creator>
      <pubDate>Thu, 23 Jan 2025 17:14:59 +0000</pubDate>
      <link>https://dev.to/shaakthi_ganapathi_e04d18/setting-up-an-ec2-instance-and-accessing-s3-buckets-3g9p</link>
      <guid>https://dev.to/shaakthi_ganapathi_e04d18/setting-up-an-ec2-instance-and-accessing-s3-buckets-3g9p</guid>
      <description>&lt;p&gt;Amazon Web Services (AWS) provides a robust platform for deploying and managing cloud infrastructure. In this blog, we’ll guide you through the steps to set up an EC2 instance, connect to it via SSH, assign an IAM role, and upload a file to an S3 bucket.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Launching an EC2 Instance&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1.Log in to AWS Management Console: Navigate to the EC2 service.&lt;/p&gt;

&lt;p&gt;2.Choose Amazon Linux as the Amazon Machine Image (AMI): Select the free tier-eligible Amazon Linux AMI.&lt;/p&gt;

&lt;p&gt;3.Select Instance Type: Choose t2.micro for free tier eligibility.&lt;/p&gt;

&lt;p&gt;4.Create or Choose a Key Pair: Create a new key pair or select an existing one. Download the private key file (.pem).&lt;/p&gt;

&lt;p&gt;5.Launch the Instance: Review your configuration and launch the instance.&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%2F7ny9k2v3lqakykuoszdx.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%2F7ny9k2v3lqakykuoszdx.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Configuring Security Groups&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Edit Inbound Rules:&lt;/strong&gt; Go to the instance's security group and add an inbound rule to allow SSH traffic (port 22) from your IP address.&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%2F9rs558s4qi9dq82q99xq.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%2F9rs558s4qi9dq82q99xq.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Setting Up puTTY&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Download puTTY: Download and install puTTY along with puTTYgen from putty.org.&lt;/p&gt;

&lt;p&gt;Convert .pem to .ppk: Use puTTYgen to convert your .pem file to a .ppk file.&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%2Fj9o9kuv042key8dwlohs.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%2Fj9o9kuv042key8dwlohs.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4: Connecting to the Instance&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Open puTTY: Enter the public IP address of your EC2 instance in the "Host Name" field.&lt;/p&gt;

&lt;p&gt;Upload Key: Navigate to the SSH &amp;gt; Auth section and upload your .ppk file.&lt;/p&gt;

&lt;p&gt;Connect: Click "Open" and log in as ec2-user.&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%2Fqqlzbapdjfkea3muk1l3.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%2Fqqlzbapdjfkea3muk1l3.png" alt="Image description" width="628" height="578"&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%2Fuvsqc8grnhpu4ibgpm0f.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%2Fuvsqc8grnhpu4ibgpm0f.png" alt="Image description" width="587" height="536"&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%2Fdop7whb05ydrdj843l7c.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%2Fdop7whb05ydrdj843l7c.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 5: Assigning an IAM Role to the Instance&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1.Create an IAM Role:Navigate to the IAM service and create a role with Amazon S3 full access.&lt;br&gt;
Attach the role to your EC2 instance.&lt;/p&gt;

&lt;p&gt;2.Verify Role Assignment: Confirm that the instance has the appropriate permissions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3v4qxglrsp74wnkgmtlq.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%2F3v4qxglrsp74wnkgmtlq.png" alt="Image description" width="800" height="450"&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%2Fnkuzhhtc9q82pbyggkz1.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%2Fnkuzhhtc9q82pbyggkz1.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 6: Uploading a File to S3&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Prepare a File: Create or copy a file in your EC2 instance.&lt;br&gt;
Use AWS CLI: Use the following command to upload a file to your S3 bucket:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;       aws s3 cp &amp;lt;file-path&amp;gt; s3://&amp;lt;bucket-name&amp;gt;/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&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%2Fdziku9r0z3x5agadpckm.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%2Fdziku9r0z3x5agadpckm.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 7: Cleaning Up Resources&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Terminate the Instance: Stop and terminate the EC2 instance to avoid unnecessary charges.&lt;/p&gt;

&lt;p&gt;Delete the IAM Role: Remove the role from your instance and delete it if no longer needed.&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%2F0iuqb6gdtxae7xgmav8a.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%2F0iuqb6gdtxae7xgmav8a.png" alt="Image description" width="800" height="450"&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%2F3i95i6shdw7m21gj9l86.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%2F3i95i6shdw7m21gj9l86.png" alt="Image description" width="800" height="450"&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%2Fgdoshiiqya8s7j9xdkt0.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%2Fgdoshiiqya8s7j9xdkt0.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>AWS STEP FUNCTIONS</title>
      <dc:creator>Shaakthi Ganapathi</dc:creator>
      <pubDate>Thu, 23 Jan 2025 16:28:41 +0000</pubDate>
      <link>https://dev.to/shaakthi_ganapathi_e04d18/aws-step-functions-58hl</link>
      <guid>https://dev.to/shaakthi_ganapathi_e04d18/aws-step-functions-58hl</guid>
      <description>&lt;p&gt;&lt;strong&gt;1. Service Overview&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Service Name: AWS Step Functions&lt;br&gt;
Logo:&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%2F99g66ji3m7r9rx6sm1e6.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%2F99g66ji3m7r9rx6sm1e6.png" alt="Image description" width="204" height="192"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Tagline or One-Line Description: Build and coordinate complex workflows with ease.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Key Features&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Top Features:&lt;/strong&gt;&lt;br&gt;
1.Visual Workflow Design: Create workflows using a visual interface that simplifies the orchestration of microservices and serverless applications.&lt;/p&gt;

&lt;p&gt;2.State Management: Automatically manage the state of your application, ensuring that each step in your workflow is executed in the correct order.&lt;/p&gt;

&lt;p&gt;3.Error Handling: Built-in error handling and retry mechanisms to ensure that workflows can recover from failures.&lt;/p&gt;

&lt;p&gt;4.Integration with AWS Services: Seamless integration with a wide range of AWS services, including Lambda, S3, DynamoDB, and more.&lt;/p&gt;

&lt;p&gt;5.Scalability: Automatically scales to handle the demands of your application, allowing you to focus on building rather than managing infrastructure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Technical Specifications:&lt;/strong&gt;&lt;br&gt;
1.Durability and Availability: Built on AWS infrastructure, ensuring high availability and durability.&lt;/p&gt;

&lt;p&gt;2.Serverless Architecture: Fully managed service that eliminates the need for server management, allowing developers to focus on application logic.&lt;/p&gt;

&lt;p&gt;3.Cost-Effective: Pay only for the transitions and executions of your workflows, making it a cost-effective solution for orchestrating complex processes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Use Case&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real-Life Applications&lt;/strong&gt;: Order Processing&lt;/p&gt;

&lt;p&gt;Order Processing: Automate the order fulfillment process by coordinating various services such as inventory management, payment processing, and shipping notifications, ensuring a smooth and efficient workflow from order placement to delivery.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Pricing Model&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Pricing Overview:&lt;br&gt;
AWS Step Functions follows a pay-as-you-go pricing model based on the number of state transitions.&lt;/p&gt;

&lt;p&gt;1.Free Tier: Includes 4,000 state transitions per month for the first 12 months, ideal for small projects or testing.&lt;br&gt;
2.Paid Tier: Billed per state transition, with costs decreasing as usage increases, making it scalable for larger applications.&lt;br&gt;
3.Add-Ons: Charges for additional features such as enhanced monitoring and logging capabilities.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Comparison with Similar Services&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;AWS Step Functions stands out for its deep integration with AWS services and its ability to manage complex workflows. Competitors like Apache Airflow, Google Cloud Workflows, and Azure Logic Apps offer similar functionality but may have different focuses and integration capabilities.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. Benefits and Challenges&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;AWS Step Functions is user-friendly and integrates seamlessly with other AWS services, making it an excellent choice for serverless applications. However, it may have a learning curve for users unfamiliar with workflow orchestration and can be less flexible for non-AWS environments.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7. Case Study&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Netflix uses AWS Step Functions to manage its complex video processing workflows, enabling efficient content delivery and enhancing the user experience through automated processes.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Static Webpage Hosting (S3 + Cloud front) - React app</title>
      <dc:creator>Shaakthi Ganapathi</dc:creator>
      <pubDate>Thu, 23 Jan 2025 10:56:10 +0000</pubDate>
      <link>https://dev.to/shaakthi_ganapathi_e04d18/static-webpage-hosting-s3-cloud-front-react-app-4c58</link>
      <guid>https://dev.to/shaakthi_ganapathi_e04d18/static-webpage-hosting-s3-cloud-front-react-app-4c58</guid>
      <description>&lt;p&gt;In this blog, we'll cover how to host a static React web application using Amazon S3 and CloudFront. To get started, let’s focus on the initial steps: setting up the environment, creating the React app, and preparing the S3 bucket.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Install Node.js and npm&lt;/strong&gt;&lt;br&gt;
Before creating a React app, ensure you have Node.js and npm installed on your machine.&lt;/p&gt;

&lt;p&gt;Download and Install Node.js&lt;/p&gt;

&lt;p&gt;Visit the Node.js website and download the LTS version.&lt;br&gt;
Install Node.js following the setup instructions for your operating system.&lt;br&gt;
Verify Installation&lt;br&gt;
Open a terminal or command prompt and run the following commands to confirm Node.js and npm are installed:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;                node -v
                npm -v
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;This will display the installed versions of Node.js and npm.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Create a React Application&lt;/strong&gt;&lt;br&gt;
Now, let’s create the React application that we’ll host.&lt;/p&gt;

&lt;p&gt;Initialize a React App&lt;br&gt;
Use the npx command to create a new React app:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;      npx create-react-app static-webpage-hosting
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Replace static-webpage-hosting with your desired project name.&lt;br&gt;
Navigate to the Project Directory&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;          cd static-webpage-hosting
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Start the Development Server&lt;br&gt;
To test your setup, start the local development server:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;          npm start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;This will open your default browser and display the default React application at &lt;a href="http://localhost:5173" rel="noopener noreferrer"&gt;http://localhost:5173&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%2Fk4bv27s29qh71fvy4arf.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%2Fk4bv27s29qh71fvy4arf.png" alt="Image description" width="800" height="432"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Customize the React App&lt;/strong&gt;&lt;br&gt;
Next, customize the React app with your details. For example:&lt;/p&gt;

&lt;p&gt;Open the src/App.js file in your favorite code editor.&lt;br&gt;
Replace the content with the following code to display your name and roll number:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;                  import './App.css';
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;function App() {&lt;br&gt;
  return (&lt;br&gt;
    &lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  display: 'flex',&amp;lt;br&amp;gt;
  flexDirection: 'column',&amp;lt;br&amp;gt;
  alignItems: 'center',&amp;lt;br&amp;gt;
  justifyContent: 'center',&amp;lt;br&amp;gt;
  height: '100vh',&amp;lt;br&amp;gt;
  background: 'linear-gradient(135deg, #1e90ff, #ff7f50)',&amp;lt;br&amp;gt;
  color: 'white',&amp;lt;br&amp;gt;
  fontFamily: 'Arial, sans-serif',&amp;lt;br&amp;gt;
  textAlign: 'center',&amp;lt;br&amp;gt;
}}&amp;amp;gt;&amp;lt;br&amp;gt;
  &amp;lt;h1&amp;gt;Shaakthi Ganapathi P D&amp;lt;/h1&amp;gt;&amp;lt;br&amp;gt;
  &amp;lt;h2&amp;gt;Roll Number: 714022202045&amp;lt;/h2&amp;gt;&amp;lt;br&amp;gt;
  &amp;lt;p&amp;gt;"NOTHING TO SAY!"&amp;lt;/p&amp;gt;&amp;lt;br&amp;gt;
&amp;lt;br&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;);&lt;br&gt;&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;export default App;&lt;br&gt;
Save the file and verify the changes by running the app again with npm start.&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%2F97ssfs8ti7cjdbj9r8ua.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%2F97ssfs8ti7cjdbj9r8ua.png" alt="Image description" width="800" height="396"&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%2Fentesv222salgukev9vl.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%2Fentesv222salgukev9vl.png" alt="Image description" width="724" height="933"&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%2Fva5d2oaf2hb46kw74epk.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%2Fva5d2oaf2hb46kw74epk.png" alt="Image description" width="800" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4: Create an S3 Bucket&lt;/strong&gt;&lt;br&gt;
Now that your React app is ready, we need to create an Amazon S3 bucket for hosting the static files.&lt;/p&gt;

&lt;p&gt;Log in to AWS Management Console&lt;/p&gt;

&lt;p&gt;Go to the AWS Management Console.&lt;br&gt;
Navigate to S3&lt;/p&gt;

&lt;p&gt;Search for “S3” in the AWS services search bar and open the S3 dashboard.&lt;br&gt;
Create a New Bucket&lt;/p&gt;

&lt;p&gt;Click "Create Bucket".&lt;br&gt;
Enter a unique bucket name, e.g., static-webpage-hosting.&lt;br&gt;
Choose a region close to your users for better performance.&lt;br&gt;
Uncheck "Block all public access" since we need to make the bucket publicly accessible for static hosting.&lt;br&gt;
Review and Create&lt;/p&gt;

&lt;p&gt;Review the settings and click "Create 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.amazonaws.com%2Fuploads%2Farticles%2F02l9c3d25p6csenej69j.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%2F02l9c3d25p6csenej69j.png" alt="Image description" width="800" height="385"&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%2F0gmz457o3wogw5d1tn8k.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%2F0gmz457o3wogw5d1tn8k.png" alt="Image description" width="800" height="407"&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%2Fap3cajomgvps6yqpgsbb.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%2Fap3cajomgvps6yqpgsbb.png" alt="Image description" width="800" height="384"&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%2Fm5g49yc9o69g40sb6d7u.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%2Fm5g49yc9o69g40sb6d7u.png" alt="Image description" width="800" height="382"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 5: Configure CloudFront&lt;/strong&gt;&lt;br&gt;
1.Go to the CloudFront service in AWS.&lt;br&gt;
2.Click "Create Distribution".&lt;br&gt;
3.In the Origin Settings:Set the Origin Domain Name to your S3 bucket's URL.&lt;br&gt;
4.Enable Redirect HTTP to HTTPS for secure access.&lt;br&gt;
5.In the distribution settings:Set index.html as the Default Root Object.&lt;br&gt;
Click Create and wait for the distribution status to change to Deployed.&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%2Flhv33la6914bws47jexv.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%2Flhv33la6914bws47jexv.png" alt="Image description" width="800" height="450"&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%2Fdhdcorohnurqk4ydkh2e.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%2Fdhdcorohnurqk4ydkh2e.png" alt="Image description" width="800" height="411"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 6:Delete Cloud Front&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%2F274vc1d9metnq30mqx07.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%2F274vc1d9metnq30mqx07.png" alt="Image description" width="800" height="413"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
