<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Roboshop_Automation]]></title><description><![CDATA[Roboshop_Automation]]></description><link>https://roboshop-automation.hashnode.dev</link><image><url>https://cdn.hashnode.com/res/hashnode/image/upload/v1593680282896/kNC7E8IR4.png</url><title>Roboshop_Automation</title><link>https://roboshop-automation.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Fri, 11 Sep 2026 20:00:40 GMT</lastBuildDate><atom:link href="https://roboshop-automation.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[RoboShop Automation End to End using Terraform in AWS]]></title><description><![CDATA[Hello Everyone,  
Today in this blog i will explain Microservices architecture and production based architecture and security implementation through the Terraform.  
First lets understand the Infra of]]></description><link>https://roboshop-automation.hashnode.dev/roboshop-automation-end-to-end-using-terraform-in-aws</link><guid isPermaLink="true">https://roboshop-automation.hashnode.dev/roboshop-automation-end-to-end-using-terraform-in-aws</guid><dc:creator><![CDATA[VIJAY KAMMARI]]></dc:creator><pubDate>Tue, 05 May 2026 14:31:07 GMT</pubDate><content:encoded><![CDATA[<p>Hello Everyone,  </p>
<p>Today in this blog i will explain Microservices architecture and production based architecture and security implementation through the Terraform.  </p>
<p>First lets understand the Infra of the RoboShop architecture...  </p>
<img src="https://cdn.hashnode.com/uploads/covers/66d950bc53b6fbeba2093f57/6ca04b47-b397-4fad-accc-93a45841ec65.png" alt="" style="display:block;margin:0 auto" />

<ol>
<li><p>Lets learn the core concepts and the usage of the services provided by AWS.<br /><mark class="bg-yellow-200 dark:bg-yellow-500/30">IGW</mark> (Internet Gateway) where it let's you transfer the requests in to the internet.</p>
</li>
<li><p><mark class="bg-yellow-200 dark:bg-yellow-500/30">Bastion</mark> means , Only the employees who have access to the bastion can only login in to the servers it could be public or private. For example to check the logs and to troubleshoot purpose.</p>
</li>
<li><p>So then how can users can connect to our application ? Using the Frontend Application Loadbalancer ( <a href="https://roboshop-dev.vijayaws.fun">https://roboshop-dev.vijayaws.fun</a> ) this is my application url. Yes you seen it right it's has SSL certificate which was issued by the AWS. <mark class="bg-yellow-200 dark:bg-yellow-500/30">What is ALB</mark> ? It is an Loadbalancer where it just distribute the requests to the servers , Basically it by default uses the round robin algorithm to distribute the traffic. Means 1st request will be sent to the 1st server and 2nd request sent to the 2nd server and again 3rd request will be sent to the 1st server 4th request will be sent to the 2nd server like this goes on... in a circular way...</p>
</li>
<li><p>I have created the 2 availability zones because to increase the <mark class="bg-yellow-200 dark:bg-yellow-500/30">high availability</mark> to our application. What is availability zone means ? Example in India Mumbai is the region and in this region we having the 2 avz. Why 2avz ? Because if one avz goes down means still our application will be available because we having the backend in the 2 avz and even frontend.</p>
</li>
<li><p>Now the FE servers send the request to the Backend ALB , Where it distributes the traffic to the particular server/target group . And will connect with DB</p>
</li>
<li><p>I have implemented the <mark class="bg-yellow-200 dark:bg-yellow-500/30">Autoscaling</mark> , what do i mean based on the requests Autoscaling group will increase the servers , we need set the policy for that example i want to scale the servers if the servers CPU utilization goes to the 75% . Then ASG will increase the servers based on the CPU utilization if CPU utilization decreases the 75% then again it will terminate the server. By this we can reduce cost.</p>
</li>
<li><p>What is HTTPS ? It basically gives the security for the application means while our data is transfering in the network it should be encrypted otherwise hackers may see the data can do manipulation. so this S in the https will encrypt the data using the public key and sends to the server. Then server will decrypt the data using private key or pem file.</p>
</li>
<li><p>What AMI ? Amazon machine image means it basically take the configuration of the entire machine and it make the image , So that if you want to create the new server same the previous server then instead of manually configuring the entire server from the OS You can simply configure the server usinf the AMI which we taken from the server where we configured.</p>
</li>
</ol>
<p>All these were done using the terraform that too using modules..  </p>
<p>GitHub link : <a href="https://github.com/vija-web/Terraform_Advanced.git">https://github.com/vija-web/Terraform_Advanced.git</a>  </p>
<p>The Below is the index page of the application , where you can order the robo machine parts like amazon.</p>
<img src="https://cdn.hashnode.com/uploads/covers/66d950bc53b6fbeba2093f57/fa36b2db-7f8e-415e-9b73-e67a6d91abe7.png" alt="" style="display:block;margin:0 auto" />

<p>Catalogue page  </p>
<img src="https://cdn.hashnode.com/uploads/covers/66d950bc53b6fbeba2093f57/4cc84c17-50d0-45f5-a50c-7d7af3ca252b.png" alt="" style="display:block;margin:0 auto" />

<img src="https://cdn.hashnode.com/uploads/covers/66d950bc53b6fbeba2093f57/5b5868d0-0e6f-450b-97b1-80942c6270e7.png" alt="" style="display:block;margin:0 auto" />

<p>Cart page  </p>
<img src="https://cdn.hashnode.com/uploads/covers/66d950bc53b6fbeba2093f57/d9a48563-3a77-4e01-b40e-4cc09053dc1f.png" alt="" style="display:block;margin:0 auto" />

<p>Payment page  </p>
<img src="https://cdn.hashnode.com/uploads/covers/66d950bc53b6fbeba2093f57/a0b4001a-4839-4e2d-a5b5-c4b289d46a43.png" alt="" style="display:block;margin:0 auto" />

<img src="https://cdn.hashnode.com/uploads/covers/66d950bc53b6fbeba2093f57/93fe5a9f-c28a-4bf5-8715-0f85d3b7f9fe.png" alt="" style="display:block;margin:0 auto" />

  
<p>HTTPS SSL Certificate of domain <mark class="bg-yellow-200 dark:bg-yellow-500/30">vijayaws.fun</mark>  </p>
<img src="https://cdn.hashnode.com/uploads/covers/66d950bc53b6fbeba2093f57/f2c22b41-c561-4edb-a8a0-a7768822ef5e.png" alt="" style="display:block;margin:0 auto" />

<p><mark class="bg-yellow-200 dark:bg-yellow-500/30">AWS Images</mark>  </p>
<p>Autoscaling of the ec2 image</p>
<img src="https://cdn.hashnode.com/uploads/covers/66d950bc53b6fbeba2093f57/f0cb0858-0bd8-47b4-b847-f59752e8fd62.png" alt="" style="display:block;margin:0 auto" />

<p>Target groups of the microservices</p>
<img src="https://cdn.hashnode.com/uploads/covers/66d950bc53b6fbeba2093f57/b7401f42-a110-4855-a0e8-39aaadb2dc4e.png" alt="" style="display:block;margin:0 auto" />

<p>Application Load Balancers</p>
<img src="https://cdn.hashnode.com/uploads/covers/66d950bc53b6fbeba2093f57/99966183-838e-4be0-8c00-35dcfea67aa6.png" alt="" style="display:block;margin:0 auto" />

<p>Firewalls for the each microservice servers</p>
<img src="https://cdn.hashnode.com/uploads/covers/66d950bc53b6fbeba2093f57/57522f52-cad5-46d2-ac11-7b560a19daa5.png" alt="" style="display:block;margin:0 auto" />

<p>Machine Image ( AMI )</p>
<img src="https://cdn.hashnode.com/uploads/covers/66d950bc53b6fbeba2093f57/194a9369-a558-4ce5-8e06-e8a025cb9ae4.png" alt="" style="display:block;margin:0 auto" />

  
<p>Thank you :)</p>
]]></content:encoded></item></channel></rss>