<?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: Girija</title>
    <description>The latest articles on DEV Community by Girija (@girija_2e3a52e67a669424c6).</description>
    <link>https://dev.to/girija_2e3a52e67a669424c6</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%2F2749200%2Fb70dc2a4-3952-4055-826b-fd04e3ebbf2b.png</url>
      <title>DEV Community: Girija</title>
      <link>https://dev.to/girija_2e3a52e67a669424c6</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/girija_2e3a52e67a669424c6"/>
    <language>en</language>
    <item>
      <title>3 Tier Architecture</title>
      <dc:creator>Girija</dc:creator>
      <pubDate>Fri, 24 Jan 2025 16:00:42 +0000</pubDate>
      <link>https://dev.to/girija_2e3a52e67a669424c6/3-tier-architecture-2jog</link>
      <guid>https://dev.to/girija_2e3a52e67a669424c6/3-tier-architecture-2jog</guid>
      <description>&lt;h2&gt;
  
  
  Part 0:Architecture
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Table of contents&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ol&gt;
&lt;li&gt;Architecture&lt;/li&gt;
&lt;li&gt;Download Code from Github Repository&lt;/li&gt;
&lt;li&gt;S3 Bucket Creation&lt;/li&gt;
&lt;li&gt;IAM EC2 Instance Role Creation&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;code&gt;1.Architecture&lt;/code&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%2Fvkud7gnnz4a3fky61ymr.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%2Fvkud7gnnz4a3fky61ymr.png" alt="Architecture of 3 tier web application " width="800" height="361"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;2.First download the code from the GitHub&lt;/code&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%2F1q79zzp83qbxni4n9i7j.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%2F1q79zzp83qbxni4n9i7j.png" alt="GitHub page to download the code for deployment " width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;3.Create S3 bucket&lt;/code&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%2Fahg1te99v5uwo6xkgo2x.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%2Fahg1te99v5uwo6xkgo2x.png" alt="S3 Dashboard for creating new S3 bucket " width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;4.IAM role&lt;/code&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%2Fqe6gd8il6pssdeavrvmq.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%2Fqe6gd8il6pssdeavrvmq.png" alt="IAM dashboard for setting roles and permission " width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Part 1:Networking and Security
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Table of contents&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ol&gt;
&lt;li&gt;VPC Creation&lt;/li&gt;
&lt;li&gt;Subnet Creation&lt;/li&gt;
&lt;li&gt;Internet Connectivity&lt;/li&gt;
&lt;li&gt;NAT Gateway&lt;/li&gt;
&lt;li&gt;Routing Configuration&lt;/li&gt;
&lt;li&gt;Security Groups&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;code&gt;1.Create VPC&lt;/code&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%2Fl809cs4zuutkh20rabdl.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%2Fl809cs4zuutkh20rabdl.png" alt="VPC dashboard for creating new VPC" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;2.Create subnets(6)&lt;/code&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%2Fj4iq33nc6etmtt06jcso.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%2Fj4iq33nc6etmtt06jcso.png" alt="from VPC dashboard we can access subnet and create new subnets" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;3.Create Internet gateway and attach to VPC&lt;/code&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%2F5tls04zs8n9k4csl0u9k.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%2F5tls04zs8n9k4csl0u9k.png" alt="from VPC dashboard we can access Internet gateway and create new internet gateway" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;4.Create NAT gateway&lt;/code&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%2Ftr4lathls1yq2dcfx6nu.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%2Ftr4lathls1yq2dcfx6nu.png" alt="from VPC dashboard we can access NAT gateway and create new NAT gateway" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;5.Route tables&lt;/code&gt;&lt;br&gt;
  &lt;code&gt;i)Create route table for public subnet&lt;/code&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%2Fu6z1psftx89zolu2hdbv.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%2Fu6z1psftx89zolu2hdbv.png" alt="from VPC dashboard we can access route table and create new route table" 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%2Ftyw4k7ik1e5nfr7ievn9.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%2Ftyw4k7ik1e5nfr7ievn9.png" alt="editing route details " 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%2Far8rwfic8r4s7tv5ob8s.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%2Far8rwfic8r4s7tv5ob8s.png" alt="editing subnet association " width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;ii)Create route table for private subnet(two for AZ-1,AZ-2)&lt;/code&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%2Fg56rz0zm6ijx514z4dqz.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%2Fg56rz0zm6ijx514z4dqz.png" alt="from VPC dashboard we can access route table and create new route table" 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%2F9uferqkly4gyzc0z6g7q.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%2F9uferqkly4gyzc0z6g7q.png" alt="editing route details" 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%2Fwdg9lxuglf3rqhtfqqtw.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%2Fwdg9lxuglf3rqhtfqqtw.png" alt="editing subnet association" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;6.Security Group&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;1.external-lb&lt;/code&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%2Fsfbdlxpkmy02kuigeocr.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%2Fsfbdlxpkmy02kuigeocr.png" alt="from VPC dashboard we can access Security group and create sg for external load balancer" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;2.ec2-public(web tier)&lt;/code&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%2Fcqp0b98wuud2m1ufhqo6.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%2Fcqp0b98wuud2m1ufhqo6.png" alt="from VPC dashboard we can access Security group and create sg for web tier" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;3.internal-lb&lt;/code&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%2Fp2rnywa7c0kx48am7px1.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%2Fp2rnywa7c0kx48am7px1.png" alt="from VPC dashboard we can access Security group and create sg for internal load balancer" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;4.ec2-private(app tier)&lt;/code&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%2Fahbf64qctluyuqjob70k.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%2Fahbf64qctluyuqjob70k.png" alt="from VPC dashboard we can access Security group and create sg for app tier" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;5.DB&lt;/code&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%2Fjhk261u5zsda6deg76jl.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%2Fjhk261u5zsda6deg76jl.png" alt="from VPC dashboard we can access Security group and create sg for database" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Part 2: Database Deployement(RDS)
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Table of contents&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ol&gt;
&lt;li&gt;Subnet Groups&lt;/li&gt;
&lt;li&gt;Database Deployement&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;code&gt;1.DB subnet group&lt;/code&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%2F45k2abl3zx9bbqzisyeo.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%2F45k2abl3zx9bbqzisyeo.png" alt="RDS dashboard and create database subnet" 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%2Fnovxg5ozu1vt473alasc.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%2Fnovxg5ozu1vt473alasc.png" alt="adding availability zone and subnets" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;2.Database&lt;/code&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%2Fmjfkt271qe4e2rqxd77a.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%2Fmjfkt271qe4e2rqxd77a.png" alt="Create database" 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%2Fywyo1zya8ffn43rdxr02.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%2Fywyo1zya8ffn43rdxr02.png" alt="Competed the database" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Clean up
&lt;/h2&gt;

&lt;p&gt;1.&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%2F9omur3j1xxdunjp0ahfj.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%2F9omur3j1xxdunjp0ahfj.png" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;br&gt;
   2.&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%2Fb4jrr1xvk4i3d461k256.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%2Fb4jrr1xvk4i3d461k256.png" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;br&gt;
   3.&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%2Fv67rve9r2y6htc60jteh.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%2Fv67rve9r2y6htc60jteh.png" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;br&gt;
   4.&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%2F9oibrou7b7ozkcf1c0gc.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%2F9oibrou7b7ozkcf1c0gc.png" alt="Image description" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>awsthreetierwebarchitecture</category>
      <category>react</category>
      <category>node</category>
      <category>mongodb</category>
    </item>
    <item>
      <title>Architecture diagram</title>
      <dc:creator>Girija</dc:creator>
      <pubDate>Fri, 24 Jan 2025 15:59:38 +0000</pubDate>
      <link>https://dev.to/girija_2e3a52e67a669424c6/architecture-diagram-4267</link>
      <guid>https://dev.to/girija_2e3a52e67a669424c6/architecture-diagram-4267</guid>
      <description>&lt;h2&gt;
  
  
  Architecture diagram for the web application.
&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%2Fi3hmj1j2p99whlv6qpzz.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%2Fi3hmj1j2p99whlv6qpzz.png" alt="Image description" width="800" height="450"&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;Building a Robust and Secure AWS Architecture for Your Web Application

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

&lt;/div&gt;



&lt;p&gt;Designing a web application that is both scalable and secure is crucial for modern businesses. With AWS, you can craft a powerful architecture that balances performance, availability, and security. In this blog, we’ll walk through a reference architecture that exemplifies these principles.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Overview of the Architecture
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This architecture leverages the best practices of AWS cloud services to build a highly available, secure, and scalable web application. Here’s a breakdown of its components and how they come together to deliver a seamless user experience:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;1. The Foundation: Virtual Private Cloud (VPC)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;At the heart of this architecture is an AWS Virtual Private Cloud (VPC). The VPC provides an isolated network environment for the application, segmented into:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Public Subnets&lt;/code&gt;: Hosting internet-facing resources like the Application Load Balancer (ALB) and NAT Gateways.&lt;br&gt;
&lt;code&gt;Private Subnets&lt;/code&gt;: Securing critical application servers, such as web servers, from direct internet exposure.&lt;br&gt;
This segmentation ensures secure communication between components while adhering to the principle of least privilege.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;2. Redundancy Across Availability Zones
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To ensure fault tolerance and minimize downtime, the architecture spans two Availability Zones (AZs). Each AZ houses its own set of public and private subnets, providing high availability and resilience against failures.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;3. Scalability with Application Load Balancer (ALB)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The ALB sits in the public subnets, acting as the gateway for incoming traffic. It intelligently routes requests to the web servers in the private subnets, ensuring optimal performance.&lt;/p&gt;

&lt;p&gt;Additionally, it adds an extra layer of security by isolating backend servers from direct internet access.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;4. Secure Outbound Internet Access with NAT Gateways
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Private subnets rely on NAT Gateways in the public subnets to connect to the internet for tasks like fetching updates or accessing external APIs. This setup avoids exposing private resources directly to the internet, maintaining a strong security posture.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;5. Seamless Integration with Amazon S3 via VPC Endpoint
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The architecture integrates with Amazon S3 using a VPC Endpoint. This allows private subnet resources to access S3 without traversing the public internet, reducing latency and improving security.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;6. Comprehensive Security with Security Groups
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Security Groups act as virtual firewalls, controlling inbound and outbound traffic to each component. For example:&lt;/p&gt;

&lt;p&gt;The ALB’s Security Group ensures only HTTP/HTTPS traffic is allowed from the internet.&lt;br&gt;
The web servers’ Security Group only accepts traffic from the ALB, adding an additional layer of protection.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;7. Designed for Scalability and Performance
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This architecture is inherently scalable:&lt;/p&gt;

&lt;p&gt;Elastic Load Balancing ensures even distribution of traffic across servers, scaling automatically as demand increases.&lt;br&gt;
Redundant resources in multiple AZs ensure high availability.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;8. The Role of Internet Gateway
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;An Internet Gateway connects the VPC to the internet, enabling public-facing resources like the ALB to communicate with end-users worldwide.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Why This Architecture Stands Out
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This AWS architecture combines best practices for security, high availability, and performance:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Security&lt;/code&gt;: Private subnets, NAT Gateways, Security Groups, and VPC Endpoints ensure a robust security layer.&lt;br&gt;
&lt;code&gt;High Availability&lt;/code&gt;: The use of multiple AZs and load balancing guarantees uptime, even in case of failures.&lt;br&gt;
&lt;code&gt;Scalability&lt;/code&gt;: The architecture scales seamlessly as your user base grows, making it suitable for applications of any size.&lt;br&gt;
&lt;/p&gt;

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

&lt;/div&gt;



&lt;p&gt;This AWS architecture is a shining example of how to design a cloud-based application that is both future-proof and secure. By using services like VPC, ALB, NAT Gateways, and S3 VPC Endpoints, you ensure a smooth, reliable, and safe experience for your users.&lt;/p&gt;

&lt;p&gt;If you’re looking to build or optimize your application on AWS, this architecture provides a rock-solid foundation to start with.&lt;/p&gt;

</description>
      <category>awsarchitecture</category>
      <category>cloudcomputing</category>
      <category>laravel</category>
      <category>secureclouddesign</category>
    </item>
    <item>
      <title>AWS Certificate Manager (ACM)</title>
      <dc:creator>Girija</dc:creator>
      <pubDate>Wed, 22 Jan 2025 18:26:25 +0000</pubDate>
      <link>https://dev.to/girija_2e3a52e67a669424c6/aws-certificate-manager-acm-22h3</link>
      <guid>https://dev.to/girija_2e3a52e67a669424c6/aws-certificate-manager-acm-22h3</guid>
      <description>&lt;p&gt;1.Introduction&lt;br&gt;
         AWS Certificate Manager (ACM) is a fully managed service provided by AWS that allows you to easily provision, manage, and deploy SSL/TLS certificates for your AWS-based applications and services. ACM makes it easier to handle the lifecycle of certificates, including issuing, renewing, and rotating them, without requiring you to manually manage any of the underlying infrastructure.&lt;/p&gt;

&lt;p&gt;ACM integrates seamlessly with other AWS services, such as Elastic Load Balancers (ELBs), Amazon CloudFront, and Amazon API Gateway, to simplify certificate deployment for your web applications. It’s designed to help you improve security while reducing the operational overhead associated with certificate management.&lt;/p&gt;

&lt;p&gt;2.Key Features&lt;br&gt;
      1. Free Public SSL/TLS Certificates&lt;br&gt;
      ACM provides free public certificates, reducing costs associated with purchasing certificates from third-party vendors.&lt;br&gt;
     2. Automatic Certificate Renewal&lt;br&gt;
      Forget manual renewals—ACM ensures certificates are renewed automatically, preventing downtime due to expired certificates.&lt;br&gt;
      3. Seamless Integration with AWS Services&lt;br&gt;
      ACM integrates easily with Elastic Load Balancing, Amazon CloudFront, Amazon API Gateway, and AWS Elastic Beanstalk, simplifying deployment.&lt;br&gt;
      4. Centralized Certificate Management&lt;br&gt;
      Manage and monitor all your SSL/TLS certificates from a single, user-friendly dashboard.&lt;br&gt;
      5. Support for Modern Encryption Standards&lt;br&gt;
      ACM issues certificates using industry-leading encryption standards to protect data during transmission.&lt;/p&gt;

&lt;p&gt;Technical Specifications:&lt;br&gt;
      Public certificates support wildcard and multi-domain (SAN) configurations.&lt;br&gt;
      Regional and global availability for certificate deployment.&lt;br&gt;
      Private certificates available via ACM Private CA.&lt;/p&gt;

&lt;p&gt;3.Use Cases&lt;br&gt;
      1. Securing Websites and Applications&lt;br&gt;
      Example: A retail business hosting its e-commerce platform on AWS can use ACM to secure its website with HTTPS, ensuring customer data like credit card information remains protected.&lt;br&gt;
      2. Enabling Secure APIs&lt;br&gt;
Example: An organization building APIs using Amazon API Gateway can secure REST or GraphQL endpoints with ACM certificates.&lt;br&gt;
Example: An organization building APIs using Amazon API Gateway can secure REST or GraphQL endpoints with ACM certificates.&lt;br&gt;
      3. Enhancing Content Delivery&lt;br&gt;
      Example: A media company delivering video content through Amazon CloudFront can use ACM to encrypt data in transit, improving security and performance.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Multi-Domain and Wildcard Certificates
Example: A SaaS provider hosting multiple customer subdomains (e.g., customer1.example.com, customer2.example.com) can use ACM wildcard certificates to secure all subdomains with a single certificate.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Pricing Model&lt;br&gt;
Public Certificates&lt;br&gt;
Free of charge.&lt;br&gt;
Includes automated renewals.&lt;br&gt;
Private Certificates&lt;br&gt;
Pricing depends on the number of certificates issued and the usage of ACM Private CA.&lt;br&gt;
Example costs:&lt;br&gt;
ACM Private CA pricing starts at $400 per CA per month.&lt;br&gt;
$0.75 per private certificate per month.&lt;br&gt;
Example:&lt;br&gt;
If you're securing a website using a public ACM certificate on Amazon CloudFront, you'll pay only for CloudFront usage (e.g., data transfer fees) but nothing for the certificate itself.&lt;/p&gt;

&lt;p&gt;Comparison with Similar Services&lt;br&gt;
Let's Encrypt&lt;br&gt;
Pros: Free SSL/TLS certificates, widely used.&lt;br&gt;
Cons: Requires manual or scripted renewals, while ACM automates this.&lt;br&gt;
DigiCert&lt;br&gt;
Pros: Offers advanced certificates, such as Extended Validation (EV).&lt;br&gt;
Cons: Higher costs compared to ACM\u2019s free public certificates.&lt;br&gt;
Example Comparison:&lt;br&gt;
Let’s Encrypt may work well for simple websites, but ACM excels for AWS-hosted resources due to its seamless integration and automation.&lt;/p&gt;

&lt;p&gt;Benefits and Challenges&lt;br&gt;
Advantages&lt;br&gt;
Ease of Use: No complex certificate management.&lt;br&gt;
Cost-Effective: Free public certificates for AWS services.&lt;br&gt;
Automation: Automatic renewals eliminate operational headaches.&lt;br&gt;
Integration: Perfect for AWS-hosted services like Elastic Load Balancers or CloudFront.&lt;/p&gt;

&lt;p&gt;Challenges&lt;br&gt;
AWS Dependency: Certificates are limited to use with AWS resources.&lt;br&gt;
Limited Advanced Features: No support for EV certificates, which some organizations might need for enhanced trust.&lt;/p&gt;

&lt;p&gt;Real-World Example: Expedia Group&lt;br&gt;
Challenge: Expedia needed to secure millions of customer transactions while reducing operational complexity.&lt;br&gt;
Solution: By using AWS Certificate Manager with Elastic Load Balancers, Expedia ensures secure HTTPS communication and benefits from ACM’s automatic renewals. This has helped them scale without worrying about certificate management.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>typescript</category>
      <category>learning</category>
      <category>cloud</category>
    </item>
  </channel>
</rss>
