<?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: deepika n</title>
    <description>The latest articles on DEV Community by deepika n (@deepika_n_b58b4c6d12fe242).</description>
    <link>https://dev.to/deepika_n_b58b4c6d12fe242</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%2F2748827%2Fd3606e38-75f0-4e76-acb0-a97c82be3888.png</url>
      <title>DEV Community: deepika n</title>
      <link>https://dev.to/deepika_n_b58b4c6d12fe242</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/deepika_n_b58b4c6d12fe242"/>
    <language>en</language>
    <item>
      <title>AWS 101 Workshop</title>
      <dc:creator>deepika n</dc:creator>
      <pubDate>Mon, 31 Mar 2025 16:56:31 +0000</pubDate>
      <link>https://dev.to/deepika_n_b58b4c6d12fe242/aws-101-workshop-g7e</link>
      <guid>https://dev.to/deepika_n_b58b4c6d12fe242/aws-101-workshop-g7e</guid>
      <description>&lt;p&gt;&lt;strong&gt;AWS 101 Workshop: A Beginner’s Guide to Cloud Computing&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Introduction
&lt;/h3&gt;

&lt;p&gt;In today’s digital era, cloud computing is revolutionizing the way businesses and individuals store, manage, and process data. Amazon Web Services (AWS) is one of the leading cloud platforms, offering a wide range of services to help users build scalable and secure applications. In this &lt;strong&gt;AWS 101 Workshop&lt;/strong&gt;, we will explore the fundamentals of AWS, its core services, and how to get started with cloud computing.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is AWS?
&lt;/h3&gt;

&lt;p&gt;AWS (Amazon Web Services) is a cloud computing platform that provides on-demand computing resources, storage, and networking capabilities. It eliminates the need for physical infrastructure, offering cost-effective and scalable solutions for businesses of all sizes.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why Learn AWS?
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;High Demand:&lt;/strong&gt; AWS skills are in high demand in the IT industry.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost-Effective:&lt;/strong&gt; Pay-as-you-go pricing reduces upfront investment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scalability:&lt;/strong&gt; Easily scale applications as per business needs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Security:&lt;/strong&gt; AWS provides robust security features to protect data.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Core AWS Services Covered in This Workshop
&lt;/h3&gt;

&lt;h4&gt;
  
  
  1. &lt;strong&gt;Compute Services&lt;/strong&gt;
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Amazon EC2 (Elastic Compute Cloud):&lt;/strong&gt; Virtual servers in the cloud.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AWS Lambda:&lt;/strong&gt; Serverless computing for running code without provisioning servers.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  2. &lt;strong&gt;Storage Services&lt;/strong&gt;
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Amazon S3 (Simple Storage Service):&lt;/strong&gt; Scalable object storage.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Amazon EBS (Elastic Block Store):&lt;/strong&gt; Persistent block storage for EC2.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  3. &lt;strong&gt;Database Services&lt;/strong&gt;
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Amazon RDS (Relational Database Service):&lt;/strong&gt; Managed relational databases.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Amazon DynamoDB:&lt;/strong&gt; NoSQL database for high-speed applications.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  4. &lt;strong&gt;Networking &amp;amp; Security&lt;/strong&gt;
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Amazon VPC (Virtual Private Cloud):&lt;/strong&gt; Securely isolates AWS resources.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AWS IAM (Identity and Access Management):&lt;/strong&gt; Controls user access.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Hands-on Activities
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Setting up an AWS free-tier account.&lt;/li&gt;
&lt;li&gt;Launching and managing an EC2 instance.&lt;/li&gt;
&lt;li&gt;Hosting a static website on Amazon S3.&lt;/li&gt;
&lt;li&gt;Configuring IAM roles and permissions.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Best Practices for AWS Beginners
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Understand the Shared Responsibility Model:&lt;/strong&gt; AWS secures the infrastructure, while users must manage data security and compliance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Use IAM Roles:&lt;/strong&gt; Grant only necessary permissions to users and applications.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Leverage Auto Scaling:&lt;/strong&gt; Automatically adjust resources based on demand.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Monitor with AWS CloudWatch:&lt;/strong&gt; Track application performance and security.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;AWS is a powerful cloud platform that enables businesses and developers to build scalable and secure applications. By participating in this &lt;strong&gt;AWS 101 Workshop&lt;/strong&gt;, you will gain a foundational understanding of AWS services and hands-on experience with cloud computing. Start your cloud journey today and explore the endless possibilities AWS offers!&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%2Fkecrof8jian0cs682md3.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%2Fkecrof8jian0cs682md3.png" alt="Image description" width="800" height="421"&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%2Fj4p620h8jwy4myhz2uda.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%2Fj4p620h8jwy4myhz2uda.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>3 Tire Architecture</title>
      <dc:creator>deepika n</dc:creator>
      <pubDate>Fri, 24 Jan 2025 17:24:04 +0000</pubDate>
      <link>https://dev.to/deepika_n_b58b4c6d12fe242/3-tire-architecture-13n1</link>
      <guid>https://dev.to/deepika_n_b58b4c6d12fe242/3-tire-architecture-13n1</guid>
      <description>&lt;p&gt;***&lt;em&gt;**Here is the 3 tire archietecture diagram&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%2Fheqphkfx7qzvrcubabey.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%2Fheqphkfx7qzvrcubabey.png" alt="Image description" width="800" height="361"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Components
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Internet Gateway (Iaas):&lt;/strong&gt; Enables the VPC to communicate with the internet, facilitating public access to resources in the Web Tier.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Elastic Load Balancer (ELB) (Iaas):&lt;/strong&gt; Distributes incoming traffic across multiple EC2 instances in the Web Tier for fault tolerance and scalability.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Web Tier (Amazon EC2 - Public Subnet):&lt;/strong&gt; Hosts web servers accessible over the internet, providing the first layer for user interaction.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;App Tier (Amazon EC2 - Private Subnet):&lt;/strong&gt; Runs the business logic and processes data securely, isolated from direct internet access.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Database Tier (Amazon Aurora Primary DB - Private Subnet):&lt;/strong&gt; Manages the primary relational database in a secure environment, handling read/write operations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Aurora Read Replica - Private Subnet:&lt;/strong&gt; Provides read-only replicas to offload traffic from the primary database, ensuring high availability.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AZ1 &amp;amp; AZ2:&lt;/strong&gt; Represent Availability Zones for high availability and redundancy across isolated data centers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;VPC (Virtual Private Cloud):&lt;/strong&gt; Isolates and organizes the resources into subnets for security and control.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Public Subnet:&lt;/strong&gt; Subnet exposed to the internet, hosting resources like web servers that need public access.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Private Subnet:&lt;/strong&gt; Subnet restricted from internet access, used for resources like app servers and databases for enhanced security.&lt;/p&gt;

&lt;h2&gt;
  
  
  Part-1:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Step1: Create a S3 bucket&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%2Fn3ppmqdxjoj97p25k1sh.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%2Fn3ppmqdxjoj97p25k1sh.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;br&gt;
 go to github and download the aws 3 tire archietecture zip file&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step2: Create IAM Role&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Attach the following policies&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;AmazonS3ReadOnlyAccess&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;AmazonSSMManagedInstanceCore&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

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

&lt;h2&gt;
  
  
  Part-2
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Step3: Create a new VPC&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%2Foxxee8nl9cr244y5dr5j.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%2Foxxee8nl9cr244y5dr5j.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4: Create Subnets&lt;/strong&gt;&lt;br&gt;
You have to create 6 subnets in total.. 2 public subnets for 2 AZs and 2 private subnets 2 AZs and 2 DB subnets for 2 AZs&lt;/p&gt;

&lt;p&gt;each with 10.0.0.0/24 , 10.0.1.0/24 , 10.0.2.0/24 ,...10.0.5.0/24&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%2F82rommsojdny6wqy8i6p.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%2F82rommsojdny6wqy8i6p.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 5: Create a Internet Gateway&lt;/strong&gt;&lt;br&gt;
In order to give internet access to Public subnets Create internet gateway and attach the created VPC to the internet gateway&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%2Fzs90kr2ubc1qp8ocn1c9.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%2Fzs90kr2ubc1qp8ocn1c9.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 6: Create 2 NAT gateway for each availability zones&lt;/strong&gt;&lt;br&gt;
In order to provide our instances in app layer private subnet to access the internet, Create a NAT gateway&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%2Frlrd82kih6nhqx73s1tq.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%2Frlrd82kih6nhqx73s1tq.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 7: Create separate route table for Public subnets, and 2 Private subnets in each availability zones and connect it to the internet gateway&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%2Fm6k9qd1ait3lbiyfbp6w.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%2Fm6k9qd1ait3lbiyfbp6w.png" alt="Image description" width="800" height="421"&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%2Fq6q6ji80jc045vxihwt2.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%2Fq6q6ji80jc045vxihwt2.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 8: After connecting the internet gateway with the route table for the AZs1 then connect the public subnet with the route table.&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%2F0lavd29zm7p806079p4u.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%2F0lavd29zm7p806079p4u.png" alt="Image description" width="800" height="421"&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%2Fzlxr7curirhqleazr19u.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%2Fzlxr7curirhqleazr19u.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After completing this create the same for private subnet..&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 9: Go to security groups and create 5 security groups&lt;/strong&gt;&lt;br&gt;
SG1: create this for the public, internet facing load balancer.(HTTP, MyIP)&lt;br&gt;
SG2: create this for the public instances(web tier) in the web tier. (HTTP, Internet facing load balancer)&lt;br&gt;
SG3: Create this for internal load balancer.(HTTP,web tier)&lt;br&gt;
SG4: Configure this for the private instances (TCP-port 4000 MyIP , Internal load balancer)&lt;br&gt;
SG5:  Configure this for private database table (MYSQL / Aurora&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%2Ftbbcrbe59pss0p5hbxmr.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%2Ftbbcrbe59pss0p5hbxmr.png" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 10: Create DataBase&lt;/strong&gt;&lt;br&gt;
Go to RDS -&amp;gt; Create DB Subnet group with the VPC we have created -&amp;gt; select the chosen Subnet and the AZs -&amp;gt; Create DB Subnet&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%2Forw386i7pq5kesocz3c4.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%2Forw386i7pq5kesocz3c4.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now navigate to create database and select the following options&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Standard Create&lt;/li&gt;
&lt;li&gt;Amazon MySQL Compatible&lt;/li&gt;
&lt;li&gt;Dev/Test&lt;/li&gt;
&lt;li&gt;Credentials - self managed&lt;/li&gt;
&lt;li&gt;Aurora Standard&lt;/li&gt;
&lt;li&gt;db.t3.medium&lt;/li&gt;
&lt;li&gt;Select the Vpc&lt;/li&gt;
&lt;li&gt;Select DBSG from existing security group&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now Select Create Database&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%2Farhmzhgzyvh62wg3grpx.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%2Farhmzhgzyvh62wg3grpx.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After creating the Database Select view credentials in the pop up and copy the username, password and endpoint in the notepad&lt;/p&gt;

&lt;h2&gt;
  
  
  Part 4
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Create an EC2 instance&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%2F24c7rwd0yfwz0wg4l4qi.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%2F24c7rwd0yfwz0wg4l4qi.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Connect -&amp;gt; Session manager -&amp;gt; Connect&lt;/p&gt;

&lt;p&gt;A page like this will be shown&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%2F3g6ygy38lh9c6683tu1v.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%2F3g6ygy38lh9c6683tu1v.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Run the following command in the connected session&lt;br&gt;
 sudo -su ec2-user&lt;br&gt;
 ping 8.8.8.8&lt;br&gt;
 sudo yum install mysql -y&lt;br&gt;
 mysql -h CHANGE-TO-YOUR-RDS-ENDPOINT -u CHANGE-TO-USER-NAME -p&lt;br&gt;
 CREATE DATABASE webappdb;&lt;br&gt;
 SHOW DATABASES;&lt;br&gt;
 USE webappdb;&lt;br&gt;
 CREATE TABLE IF NOT EXISTS transactions(id INT NOT NULL&lt;br&gt;
 AUTO_INCREMENT, amount DECIMAL(10,2), description&lt;br&gt;
 VARCHAR(100), PRIMARY KEY(id));&lt;br&gt;
 SHOW TABLES;&lt;br&gt;
 INSERT INTO transactions (amount,description) VALUES ('400','groceries');&lt;br&gt;
 SELECT * FROM transactions;&lt;br&gt;
Then terminate mysql by "exit" command&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;DOWNLOAD THE ENTIRE CODE FROM THE GITHUB REPO AND UPLOAD THE FILES INTO YOUR S3 BUCKET AND CLICK UPLOAD&lt;/strong&gt;&lt;br&gt;
Again go back to your SSM Manager Session and run the following commands&lt;br&gt;
 curl -o- &lt;a href="https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh" rel="noopener noreferrer"&gt;https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh&lt;/a&gt; | bash&lt;br&gt;
 source ~/.bashrc&lt;br&gt;
 nvm install 16&lt;br&gt;
 nvm use 16&lt;br&gt;
 npm install -g pm2&lt;br&gt;
 cd ~/&lt;br&gt;
 aws s3 cp s3://BUCKET_NAME/app-tier/ app-tier --recursive&lt;br&gt;
 cd ~/app-tier&lt;br&gt;
 npm install&lt;br&gt;
 pm2 start index.js&lt;br&gt;
 pm2 list&lt;br&gt;
 pm2 logs&lt;br&gt;
 pm2 startup&lt;br&gt;
 pm2 save&lt;br&gt;
 curl &lt;a href="http://localhost:4000/health" rel="noopener noreferrer"&gt;http://localhost:4000/health&lt;/a&gt;&lt;br&gt;
 "This is the health check"&lt;br&gt;
 curl &lt;a href="http://localhost:4000/transaction" rel="noopener noreferrer"&gt;http://localhost:4000/transaction&lt;/a&gt;&lt;br&gt;
 {"result":[{"id":1,"amount":400,"description":"groceries"},{"id":2,"amount":100,"description":"class"},{"id":3,"amount":200,"description":"other groceries"},{"id":4,"amount":10,"description":"brownies"}]}&lt;/p&gt;

&lt;h2&gt;
  
  
  Part 5
&lt;/h2&gt;

&lt;p&gt;Go to ec2 instance dash board in that select the web tier instance that we have created earlier now,&lt;br&gt;
Click the instance&lt;br&gt;
Actions&lt;br&gt;
select images and templates&lt;br&gt;
Create image&lt;/p&gt;

&lt;p&gt;Create Target group for the same&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%2F0x6vc26h4k1e48rfw2tb.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%2F0x6vc26h4k1e48rfw2tb.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now go to the load balancer page and click create load balancer. This is a internal load balancer for 2 private subnets in 2 AZ&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%2Ffa6vdugrkn9zfvllspbv.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%2Ffa6vdugrkn9zfvllspbv.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And create the launch template&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%2Fl10l1gie3x30qg8jjom0.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%2Fl10l1gie3x30qg8jjom0.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Create Auto scaling group with maximum minimum and desires capacities as 2,2,2 respectively&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%2Fmdoomfe592yo9z69tvs2.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%2Fmdoomfe592yo9z69tvs2.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Part - 6
&lt;/h2&gt;

&lt;p&gt;Modify the nginx.conf file by replacing the placeholder [INTERNAL-LOADBALANCER-DNS] with your internal load balancer's DNS name.​&lt;br&gt;
DEV Community&lt;/p&gt;

&lt;p&gt;Upload the updated nginx.conf and the web-tier folder to your designated 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.amazonaws.com%2Fuploads%2Farticles%2F4l4i9rh2xdztwbu7w1h5.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%2F4l4i9rh2xdztwbu7w1h5.png" alt="Image description" width="800" height="422"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now launch a new instance and go to the session manager of the particular ec2 instance&lt;br&gt;
execute the following commands&lt;br&gt;
curl -o- &lt;a href="https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh" rel="noopener noreferrer"&gt;https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh&lt;/a&gt; | bash&lt;br&gt;
source ~/.bashrc&lt;br&gt;
nvm install 16&lt;br&gt;
nvm use 16&lt;br&gt;
cd ~/&lt;br&gt;
aws s3 cp s3://BUCKET_NAME/web-tier/ web-tier --recursive&lt;br&gt;
cd ~/web-tier&lt;br&gt;
npm install&lt;br&gt;
npm run build&lt;br&gt;
sudo amazon-linux-extras install nginx1 -y&lt;br&gt;
cd /etc/nginx&lt;br&gt;
sudo rm nginx.conf&lt;br&gt;
sudo aws s3 cp s3://BUCKET_NAME/nginx.conf .&lt;br&gt;
sudo service nginx restart&lt;br&gt;
chmod -R 755 /home/ec2-user&lt;br&gt;
sudo chkconfig nginx on&lt;/p&gt;

&lt;h2&gt;
  
  
  Part 7
&lt;/h2&gt;

&lt;p&gt;After configuring your web tier instance:&lt;br&gt;
Go to EC2 Dashboard → Instances.&lt;br&gt;
Select your web instance → Actions → Image → Create Image.&lt;br&gt;
Give it a name and description.&lt;br&gt;
Click Create Image.&lt;/p&gt;

&lt;p&gt;Go to Target Groups → Click Create target group.&lt;br&gt;
Choose Target type: Instances.&lt;br&gt;
Name your group (e.g., web-tier-tg).&lt;br&gt;
Protocol: HTTP, Port: 80, VPC: Your VPC.&lt;br&gt;
Health check path: /health or / depending on your app.&lt;br&gt;
Skip registering targets for now.&lt;br&gt;
Click Create.&lt;/p&gt;

&lt;p&gt;Navigate to Load Balancers → Create Application Load Balancer.&lt;br&gt;
Name: web-tier-lb.&lt;br&gt;
Scheme: internet-facing.&lt;br&gt;
Listener: HTTP (port 80).&lt;br&gt;
Select VPC and public subnets.&lt;br&gt;
Attach a security group that allows inbound HTTP (port 80).&lt;br&gt;
Under Target group, choose the one you created in step 2.&lt;br&gt;
Review and Create.&lt;/p&gt;

&lt;p&gt;Go to Launch Templates → Click Create launch template.&lt;br&gt;
Name: web-tier-template.&lt;br&gt;
AMI ID: Choose the one created in Step 1.&lt;br&gt;
Instance type: t2.micro (or your preferred).&lt;br&gt;
Attach key pair, IAM role, and correct security group.&lt;/p&gt;

&lt;p&gt;Go to Auto Scaling Groups → Create Auto Scaling group.&lt;br&gt;
Use the launch template from step 4.&lt;br&gt;
Name: web-tier-asg.&lt;br&gt;
VPC: Select your VPC and public subnets.&lt;br&gt;
Attach it to the target group from step 2.&lt;br&gt;
Configure scaling policies:&lt;br&gt;
Desired: 2&lt;br&gt;
Min: 1&lt;br&gt;
Max: 3&lt;br&gt;
Skip notifications for now and Create.&lt;/p&gt;

&lt;p&gt;Hit the DNS name of the load balancer. You will be able to see the output as follows&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%2Fo5jylh5soguf5pns6v9y.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%2Fo5jylh5soguf5pns6v9y.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>3tire</category>
      <category>cloudcomputing</category>
    </item>
    <item>
      <title>EC2 + S3 + IAM</title>
      <dc:creator>deepika n</dc:creator>
      <pubDate>Thu, 23 Jan 2025 16:01:54 +0000</pubDate>
      <link>https://dev.to/deepika_n_b58b4c6d12fe242/ec2-s3-iam-12oj</link>
      <guid>https://dev.to/deepika_n_b58b4c6d12fe242/ec2-s3-iam-12oj</guid>
      <description>&lt;p&gt;&lt;strong&gt;Create an EC2 Instance&lt;/strong&gt;&lt;br&gt;
Go to Ec2 in AWS Console&lt;br&gt;
Click Instance&lt;br&gt;
Launch Instance&lt;/p&gt;

&lt;p&gt;Provide Instance 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.amazonaws.com%2Fuploads%2Farticles%2Fwfofsssp8fwsqbovue7q.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%2Fwfofsssp8fwsqbovue7q.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Choose Amazon Linux&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%2Fmf98iishk8mlykabgeis.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%2Fmf98iishk8mlykabgeis.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Select t2.micro as Instance type&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%2Fv060asu8r826677n2cir.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%2Fv060asu8r826677n2cir.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Create a new key pair and download the pem file&lt;br&gt;
Scroll to the bottom of the page and click launch 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%2F03b9vzbz9lz2poyjlqcu.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%2F03b9vzbz9lz2poyjlqcu.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now a page will show the available running instances &lt;br&gt;
Select the instance&lt;br&gt;
Go to security &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%2F60qfyq5a5xsbubkl0qk3.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%2F60qfyq5a5xsbubkl0qk3.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Scroll down and there will be Inbound rules&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%2Fypjgu10wxtoe22gc799o.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%2Fypjgu10wxtoe22gc799o.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Click on edit inbound rules and select Custom and that will show a dropdown and Select MyIP&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%2Fx7p2i5jhaw6w4n8dvbir.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%2Fx7p2i5jhaw6w4n8dvbir.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Click on Save Changes&lt;/p&gt;

&lt;p&gt;Now install Putty in your Laptop and open 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%2Fytm4p796swnnr1pmj9sf.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%2Fytm4p796swnnr1pmj9sf.png" alt="Image description" width="489" height="464"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Follow these steps&lt;/p&gt;

&lt;p&gt;Connection -&amp;gt; ssh -&amp;gt; Auth -&amp;gt; Credentiels&lt;/p&gt;

&lt;p&gt;click on browse and paste the ppk file . &lt;/p&gt;

&lt;p&gt;(if it is formated as pem convert it into ppk using puttygen.)&lt;/p&gt;

&lt;p&gt;Select accept and the page will show "Login as" type "ec2-user"&lt;/p&gt;

&lt;p&gt;Your Terminal gets opened in that just create a file and add some contents in it.&lt;/p&gt;

&lt;p&gt;Command to create a file&lt;/p&gt;

&lt;p&gt;cat &amp;lt; "file_name.txt"&lt;/p&gt;

&lt;p&gt;To view the content in the file&lt;/p&gt;

&lt;p&gt;cat "file_name.txt"&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%2Fjw88euxw3mkbivnvmlrb.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%2Fjw88euxw3mkbivnvmlrb.png" alt="Image description" width="800" height="31"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now Go to AWS Console , IAM -&amp;gt; Roles -&amp;gt; Create Role&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%2Fxa72xn9h33ng1feg1xpl.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%2Fxa72xn9h33ng1feg1xpl.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This role will have S3 full access&lt;/p&gt;

&lt;p&gt;You can view your Roles as in the image below&lt;/p&gt;

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

&lt;p&gt;Go to EC2 instance and select the instance&lt;/p&gt;

&lt;p&gt;Actions -&amp;gt; security -&amp;gt; Modify IAM Role&lt;/p&gt;

&lt;p&gt;Now select the created IAM role in the dropdown and update IAM role&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%2F3w58go5cs5q6abkfqh7q.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%2F3w58go5cs5q6abkfqh7q.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Go to the terminal, we need to put the created file in the AWS S3 so enter the command&lt;/p&gt;

&lt;p&gt;aws s3 cp "file_name.txt s3://"bucket_name"&lt;/p&gt;

&lt;p&gt;If there is no bucket in the S3 then create it by using the command.&lt;/p&gt;

&lt;p&gt;aws s3 mb s3://"bucket_name"&lt;/p&gt;

&lt;p&gt;After creating it upload the created file in the bucket by using the command.&lt;/p&gt;

&lt;p&gt;aws s3 cp "file_name.txt s3://"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.amazonaws.com%2Fuploads%2Farticles%2Fmzgrotqk8odwowysiqkw.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%2Fmzgrotqk8odwowysiqkw.png" alt="Image description" width="800" height="250"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After uploading the files go check your AWS console to verify &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%2Fbatnfreapvtnizw4apyw.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%2Fbatnfreapvtnizw4apyw.png" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Completing every steps terminate all the services (EC2, S3, IAM role)&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%2Fty09n9rvsq14h4flxorh.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%2Fty09n9rvsq14h4flxorh.png" alt="Image description" 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%2Fn8ec5e996sgaaeo3ovtr.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%2Fn8ec5e996sgaaeo3ovtr.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Static Webpage Hosting (S3 + Cloud front) - React app</title>
      <dc:creator>deepika n</dc:creator>
      <pubDate>Thu, 23 Jan 2025 09:08:32 +0000</pubDate>
      <link>https://dev.to/deepika_n_b58b4c6d12fe242/static-webpage-hosting-s3-cloud-front-react-app-5a4h</link>
      <guid>https://dev.to/deepika_n_b58b4c6d12fe242/static-webpage-hosting-s3-cloud-front-react-app-5a4h</guid>
      <description>&lt;p&gt;&lt;strong&gt;Check if the requirements like npm and node are installed in your system&lt;/strong&gt;&lt;br&gt;
if it is preinstalled check for the version as given below&lt;/p&gt;

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

&lt;p&gt;Now run a command &lt;em&gt;npm install -g create-react-app&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%2Fyeiqn4x2aihu0kq7b144.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%2Fyeiqn4x2aihu0kq7b144.png" alt="Image description" width="800" height="223"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now run a command &lt;em&gt;npm create vite@latest&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%2F93twrwuyl8h3u1dpumiv.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%2F93twrwuyl8h3u1dpumiv.png" alt="Image description" width="800" height="260"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now run the following commands:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;cd Deepika react&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;npm install&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;npm run dev&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%2Fsyfext0ptoi4mkw6gz9w.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%2Fsyfext0ptoi4mkw6gz9w.png" alt="Image description" width="800" height="274"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;By following the link that has been generated we will be redirected to this page&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%2F9ruwawi5snzwfov2r6h1.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%2F9ruwawi5snzwfov2r6h1.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Now create a S3 Bucket&lt;/strong&gt;&lt;br&gt;
Amazon S3 -&amp;gt; Bucket -&amp;gt; Create Bucket&lt;br&gt;
Provide a unique bucket name as mentioned below&lt;/p&gt;

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

&lt;p&gt;Block Public Access&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%2F3lxkpfrqc8vaj6mfr3ja.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%2F3lxkpfrqc8vaj6mfr3ja.png" alt="Image description" width="800" height="239"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;Click the bucket and Enable static webpage hosting&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%2Fkmanqr9yfxpaxgoj8dk0.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%2Fkmanqr9yfxpaxgoj8dk0.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Edit the buckect policy&lt;/p&gt;

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

&lt;p&gt;Now go to the dist folder and upload the filea and folders separately&lt;br&gt;
and them one by one&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%2Fkcmgw3ab79dc6aqnhplq.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%2Fkcmgw3ab79dc6aqnhplq.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now you can view the index.html file and the output is as shown below&lt;/p&gt;

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

&lt;p&gt;Link :&lt;br&gt;
&lt;a href="http://deepikan714022202017.s3-website-us-west-2.amazonaws.com" rel="noopener noreferrer"&gt;http://deepikan714022202017.s3-website-us-west-2.amazonaws.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Open cloud front and create a Distribution&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%2F7179pbmb0n0n7lhupdom.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%2F7179pbmb0n0n7lhupdom.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The Cloud front output is as shown blow&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%2F9wnvc7mtfqwe6g6mtl6e.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%2F9wnvc7mtfqwe6g6mtl6e.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Cloudfront Link:&lt;br&gt;
&lt;a href="https://d9cod4fas679p.cloudfront.net/" rel="noopener noreferrer"&gt;https://d9cod4fas679p.cloudfront.net/&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>AWS OpsWorks</title>
      <dc:creator>deepika n</dc:creator>
      <pubDate>Wed, 22 Jan 2025 17:57:00 +0000</pubDate>
      <link>https://dev.to/deepika_n_b58b4c6d12fe242/aws-opsworks-kpo</link>
      <guid>https://dev.to/deepika_n_b58b4c6d12fe242/aws-opsworks-kpo</guid>
      <description>&lt;h2&gt;
  
  
  Overview: AWS OpsWorks
&lt;/h2&gt;

&lt;h2&gt;
  
  
  Logo:
&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%2F1rw10in3iu7zrkpn2nh4.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%2F1rw10in3iu7zrkpn2nh4.png" alt="Image description" width="373" height="135"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One line Description:&lt;/strong&gt; Simplify Configuration Management and Application Deployment with AWS OpsWorks&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Features:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Managed Configuration Management:&lt;/strong&gt;&lt;br&gt;
Automate infrastructure and application configurations using Chef and Puppet, without managing the control servers yourself.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Customizable Deployment:&lt;/strong&gt;&lt;br&gt;
Tailor deployments to fit your exact requirements with stacks, layers, and lifecycle event hooks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Integration with AWS Services:&lt;/strong&gt;&lt;br&gt;
Seamlessly integrate with Amazon EC2, RDS, and other AWS services to manage resources across your infrastructure.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Dynamic Scaling:&lt;/strong&gt;&lt;br&gt;
Automatically scale resources based on usage patterns, helping optimize costs and performance.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Built-in Monitoring:&lt;/strong&gt;&lt;br&gt;
Leverage Amazon CloudWatch integration to monitor instances and applications in real time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Support for On-Premises Servers:&lt;/strong&gt;&lt;br&gt;
Extend OpsWorks to manage servers in on-premises data centers alongside your cloud resources.&lt;/p&gt;

&lt;h2&gt;
  
  
  Technical Specifications:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Regions Supported:&lt;/strong&gt; Available in most AWS regions globally.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Data Durability:&lt;/strong&gt; Ensures configurations are reliably applied with built-in Chef and Puppet capabilities.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Request Limits:&lt;/strong&gt; Scalable to manage thousands of nodes and servers efficiently.&lt;/p&gt;

&lt;h2&gt;
  
  
  Use Cases:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Web Application Deployment:&lt;/strong&gt; Automate the setup, deployment, and scaling of web applications on EC2 instances.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Server Configuration Management:&lt;/strong&gt; Use Chef or Puppet to enforce configuration compliance across multiple environments.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Hybrid Cloud Management:&lt;/strong&gt; Manage a mix of on-premises and cloud servers using a unified toolset.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Auto-Healing Systems:&lt;/strong&gt; Automatically replace or reconfigure failed resources to maintain uptime.&lt;/p&gt;

&lt;h2&gt;
  
  
  Pricing Model:
&lt;/h2&gt;

&lt;p&gt;AWS OpsWorks follows a pay-as-you-go pricing model based on:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Number of Nodes:&lt;/strong&gt; Pricing varies based on the number of managed instances.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Data Transfer:&lt;/strong&gt; No additional charge for data transferred within a region.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Control Server Costs:&lt;/strong&gt; AWS covers the cost of running control servers for Chef Automate or Puppet Enterprise.&lt;/p&gt;

&lt;h2&gt;
  
  
  Comparison with Similar Services:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;AWS Systems Manager:&lt;/strong&gt;&lt;br&gt;
OpsWorks: Focuses on Chef and Puppet for configuration management.&lt;br&gt;
Systems Manager: Offers a broader suite for operational management, including patch management, compliance, and automation.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Ansible:&lt;/strong&gt;&lt;br&gt;
OpsWorks: Managed service requiring no setup of control nodes.&lt;br&gt;
Ansible: Open-source, but requires users to manage their control servers and environments.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Benefits and Challenges:
&lt;/h2&gt;

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

&lt;ul&gt;
&lt;li&gt;Simplified Management: AWS handles the Chef/Puppet control servers, reducing operational overhead.&lt;/li&gt;
&lt;li&gt;Flexibility: Supports custom Chef recipes and Puppet manifests.&lt;/li&gt;
&lt;li&gt;Cost-Effective: Only pay for resources you use.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;Learning Curve: Requires familiarity with Chef or Puppet scripting.&lt;/li&gt;
&lt;li&gt;Limited Customization Beyond Supported Features: Users may face constraints when trying to integrate unsupported configurations.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Real-World Example:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Company: Pinterest&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Challenge:&lt;/strong&gt;&lt;br&gt;
Pinterest, a popular visual discovery and social media platform, needed to manage a large-scale infrastructure to support millions of users and ensure a smooth experience for users across the globe. They required a solution to automate application deployments, scale resources efficiently, and ensure consistent server configurations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&lt;br&gt;
Pinterest adopted AWS OpsWorks to automate server configurations and manage application deployments. By using Chef, Pinterest streamlined their infrastructure management, enabling them to quickly deploy updates and scale their platform as needed.&lt;/p&gt;

&lt;p&gt;AWS OpsWorks is an ideal choice for businesses looking to simplify infrastructure management while leveraging the power of Chef or Puppet for configuration automation. Whether managing a few servers or thousands of nodes, OpsWorks offers scalability, flexibility, and integration to streamline operations.&lt;/p&gt;

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