<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Robin Rawat on Medium]]></title>
        <description><![CDATA[Stories by Robin Rawat on Medium]]></description>
        <link>https://medium.com/@rrrt3031?source=rss-faa9561c8536------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*wmcr-jwwJp7ahZaH</url>
            <title>Stories by Robin Rawat on Medium</title>
            <link>https://medium.com/@rrrt3031?source=rss-faa9561c8536------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 14:31:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rrrt3031/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[AWS Day 04]]></title>
            <link>https://rrrt3031.medium.com/aws-day-04-3a16197bdce8?source=rss-faa9561c8536------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a16197bdce8</guid>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[day-04]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[Robin Rawat]]></dc:creator>
            <pubDate>Fri, 04 Oct 2024 08:20:37 GMT</pubDate>
            <atom:updated>2024-10-04T08:20:37.388Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*kQhvPVl-Uh6f-N_AP96cNQ.png" /></figure><p>Playlist of the course which I am <a href="https://youtube.com/playlist?list=PL6XT0grm_TfgtwtwUit305qS-HhDvb4du&amp;si=1hV3AfW103eKth0K">following</a>.</p><p>Today I completed 15–17 videos of the Playlist.</p><h3>Topics covered…</h3><ol><li><strong>Security Groups.<br></strong>It acts like a firewall before the instance and controls the inbound and outbound rules, such as allowing the port for the traffic, etc. <br>We can only do the allow traffic we can’t do the deny traffic rules.<br><strong>How to do...<br>* </strong>Create a security group</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HpgkKeeWOPMaefzHkqatNA.png" /><figcaption>this is for the SSH inbound and outbound rules</figcaption></figure><p>* Now again we make a security Group <br>(Agar Man lo ek IP address see continue attack aa raha hai tho hm security groups se hm in cheezo block nahi kar skate )</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MDgbCnir5H6Yt1z4n6enww.png" /><figcaption>web services inbound and outbound rules…</figcaption></figure><p>* Create an instance and attach the SSH security group with that by choosing the existing security group with that</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AnldCuoen996Mj7L5ngg1Q.png" /><figcaption>existing security group</figcaption></figure><p>* Launch instance (we can add multiple security groups in one instance)</p><p>* install Nginx in this server (<strong>sudo apt-get update -y;sudo apt-get install nginx -y</strong>)<br> * to check the status (<strong>service nginx status</strong>) it&#39;s running….<br> * but if you try to access this server you cannot because the HTTP port was not opened this means the rule is not configured.</p><p>* we can add another security group on the fly without shutting down the ec2.<br> * instance — → actions — → security groups — → select the security group — → save.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lml4iOd1IAFF6CsqDnaOkA.png" /><figcaption>adding other security group to the EC2</figcaption></figure><p>* Now you can access this from the web server…</p><p>2 . <strong>AWS EC2 Instance Type.</strong></p><p><strong>How to know at which time we have to choose that instance????</strong></p><ul><li>Usually AWS provide 6 types of instances.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/210/1*MljLqj4tVONzQSL74XFBKw.png" /><figcaption>Instance Types</figcaption></figure><ul><li>HERE IS THE LINK FOR THE <a href="https://aws.amazon.com/ec2/instance-types/"><strong>BLOG</strong></a></li></ul><p><strong>3 . AWS Pricing | Reserve Instance | Spot Instance | Saving Plan | Dedicated Host</strong></p><p><strong>* ON Demand instance -: </strong>it is costly but it provides the services as fly your needs. When we are making instance t2 micro that is also an on-demand instance. It is mostly used for short-term outcomes eg. a Learning basis</p><p><strong>* Reserve Instance-: </strong>a billing discount model that allows you to reserve a specific instance type for a set period of time. <a href="https://aws.amazon.com/ec2/pricing/reserved-instances/"><strong>link</strong></a></p><p><strong>* Spot Instance-:</strong> This type of service lacks reliability; while you may receive the maximum discount, it comes with certain drawbacks. It is just like the bidding system if one pays more the services get transferred to the other user. <a href="https://aws.amazon.com/ec2/spot/"><strong>link</strong></a></p><p><strong>* Dedicated Host-: </strong>A physical server that is completely dedicated to a single customer’s use. Can be used in two ways on-demand-based (hourly) and reservation-based (max. discounted). <a href="https://aws.amazon.com/ec2/dedicated-hosts/pricing/"><strong>link</strong></a></p><p><strong>* Saving Plan-: </strong>Savings Plans is a flexible pricing model that can help you reduce your bill by up to 72% compared to On-Demand prices, in exchange for a commitment to a consistent amount of usage (measured in $/hour) for a 1- or 3-year term. link</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a16197bdce8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS Day 03]]></title>
            <link>https://rrrt3031.medium.com/aws-day-03-1d1a52478199?source=rss-faa9561c8536------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d1a52478199</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[day-03]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[Robin Rawat]]></dc:creator>
            <pubDate>Tue, 01 Oct 2024 19:33:47 GMT</pubDate>
            <atom:updated>2024-10-05T07:00:29.944Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*JCHNdcx9XaA2tKA5h8_UCw.png" /></figure><p>Playlist of the course which I am <a href="https://youtube.com/playlist?list=PL6XT0grm_TfgtwtwUit305qS-HhDvb4du&amp;si=1hV3AfW103eKth0K">following</a>.</p><p>Today I completed 13–14 videos of the Playlist.</p><h3>Topics covered…</h3><ol><li><strong>Installing the Nginx in the EC2 instance</strong>.</li></ol><p>Before doing this practical let us know what Nginx is</p><p>(<strong>Nginx</strong> (pronounced &quot;Engine-X&quot;) is a high-performance web server and reverse proxy server designed to handle a large number of simultaneous connections with minimal resource usage. It is widely used for serving static content, as a load balancer, and as a reverse proxy for handling HTTP, HTTPS, and other protocols.)</p><ul><li>for more information <a href="https://youtu.be/iInUBOVeBCc?si=YY5opnqGsMy569sE">click here</a>.</li></ul><p>Installing Nginx and printing the hello world command by the curl command.</p><ul><li>Connect the EC2 instance.</li><li>cmd (sudo -i)…………...to log in as a root user.</li><li>cmd (apt update)………to update the operating system(ubuntu).</li><li>cmd (nginx -t)………….to check whether the nginx is installed or not</li><li>cmd (apt install nginx)…installing nginx.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/614/1*GOh6MjesqXNCF0HGNkkcSg.png" /><figcaption>sucessfull installed</figcaption></figure><ul><li>cmd (service nginx status)….checking the status of the nginx whether start or stopped.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KySjyHvyWLibYnQDv2zlTg.png" /><figcaption>active</figcaption></figure><ul><li>cmd (curl localhost)…….to enter the nginx</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0ql5C2gLuvlEZvSVZ3lvvQ.png" /><figcaption>welcome</figcaption></figure><ul><li>cmd (cd /var/www/html)….go there and then again cmd (cat index.nginx-debian.html)….to view.</li><li>cmd (echo “hi my name is Robin Rawat and I am a passionate learner”&gt; index.html)…….to add in the HTML file</li><li>cmd (curl localhost)….to get the output</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K9gum_auuSrZEro0-0AA8A.png" /><figcaption>output</figcaption></figure><p>2. <strong>Bootstrap Script in EC2 Instance.</strong></p><p>In this, we will attach the bootstrap script and it will install the nginx and generate the output.</p><ul><li>Create an instance, go to advanced details, and write the simple script in the user data.</li><li>#!/bin/bash<br># Update package list<br>sudo apt-get update -y<br># Upgrade all installed packages<br>sudo apt-get upgrade -y<br># Install Nginx if it’s not installed<br>sudo apt-get install nginx -y<br># Replace content in the default Nginx index.html<br>echo “hi my name is robin rawat and i am a passionate learner so remember my name” | sudo tee /var/www/html/index.html<br># Optional: Restart Nginx to apply changes<br>sudo systemctl restart nginx</li><li>adding this script to the user data and launch the instance.</li><li>Copy the public IP address and you will see the output.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jgMKSmIKNLOFDnrUN57gMQ.png" /><figcaption>output of the script</figcaption></figure><ul><li>By this, you can automate your task.</li></ul><p><strong>Let’s decode the shell script…</strong></p><ul><li>The <strong>tee</strong> command in Linux is used to read from standard input and write it to both standard output and a file simultaneously. This can be especially useful when you want to display something on the terminal and save it to a file simultaneously.<br><strong>summary…</strong></li><li><strong>tee</strong>: Writes to the file and overwrites it.</li><li><strong>tee -a</strong>: Appends to the file, keeping the existing content intact.</li></ul><p>THANKS</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d1a52478199" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS Day 02]]></title>
            <link>https://rrrt3031.medium.com/aws-day-02-dd674cebbfc6?source=rss-faa9561c8536------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd674cebbfc6</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[day-2]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Robin Rawat]]></dc:creator>
            <pubDate>Mon, 30 Sep 2024 18:09:12 GMT</pubDate>
            <atom:updated>2024-09-30T18:09:12.169Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*VCSIJhtsFgUA3qX7Q-kkCQ.png" /></figure><p>Playlist of the course which I am <a href="https://youtube.com/playlist?list=PL6XT0grm_TfgtwtwUit305qS-HhDvb4du&amp;si=1hV3AfW103eKth0K">following</a>.</p><p>Today I completed 9–12 videos of the Playlist.</p><h3>Topics covered…</h3><ol><li><strong>Creating a Free-tier AWS account</strong></li></ol><ul><li><strong>Go to AWS</strong>: <a href="http://aws.amazon.com./">Visit</a></li><li><strong>Click “Create an AWS Account”</strong>: Find the sign-up button on the homepage.</li><li><strong>Enter Email</strong>: Provide your email address and set an account name.</li><li><strong>Set a Password</strong>: Create a secure password for your account.</li><li><strong>Select Account Type</strong>: Choose <strong>“Personal”</strong> or <strong>“Business”</strong> (personal is fine for learning).</li><li><strong>Provide Contact Info</strong>: Enter your details (address, phone number).</li><li><strong>Payment Method</strong>: Add your credit/debit card (used for identity verification, but won’t be charged for Free-tier services).</li><li><strong>Identity Verification</strong>: Complete verification via SMS or a phone call.</li><li><strong>Select Support Plan</strong>: Choose the <strong>Basic (Free)</strong> support plan.</li><li><strong>Sign In</strong>: Log in to your new AWS account and access Free-tier services</li></ul><p>(<em>The services available in the </em><strong><em>AWS Free Tier</em></strong><em> can be accessed through the following</em> <a href="https://aws.amazon.com/free/?all-free-tier.sort-by=item.additionalFields.SortRank&amp;all-free-tier.sort-order=asc&amp;awsf.Free%20Tier%20Types=*all&amp;awsf.Free%20Tier%20Categories=*all">link</a>)</p><p>2. <strong>Creation and Overview of EC2 Instance.</strong></p><p>EC2 (Elastic Compute Cloud) is one of the most widely used AWS services and is commonly referred to as a virtual server in the cloud.</p><p><strong>Steps</strong> to create an EC2 instance:</p><ul><li><strong>Log in to AWS</strong>: Go to the AWS Management Console and search for <strong>EC2</strong></li><li><strong>Launch Instance</strong>: Click <strong>“Launch Instance”</strong>.</li><li><strong>Choose AMI</strong>: Select an operating system (e.g., Amazon Linux).</li><li><strong>Select Instance Type</strong>: Pick <strong>t2.micro</strong> for Free Tier.</li><li><strong>Configure Security Group</strong>: Allow <strong>SSH</strong> (Linux) or <strong>RDP</strong> (Windows)</li><li><strong>Launch</strong>: Review settings, select/create a key pair, and click <strong>“Launch”.</strong></li></ul><p>(Ensure that the <strong>EC2 instance state</strong> is set to <strong>Running</strong> and that the <strong>status checks</strong> show <strong>2/2 passed</strong> to confirm the instance is healthy and ready to use.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*vWx6aJs8KguwS4g4p-6Vbw.png" /></figure><p>(when you create an EC2 instance, AWS will automatically use the <strong>Default VPC</strong> and <strong>Default security group</strong> if you don’t specify custom ones. <strong>Default VPC</strong> is pre-configured to allow instances to communicate with the internet. The <strong>default security group</strong> allows all outbound traffic but restricts inbound traffic to essential services like SSH (port 22) for Linux or RDP (port 3389) for Windows.)</p><p>{<strong>Don’t worry about these complex terms for now. As we continue our journey, we’ll explore them in more detail, and they’ll become easier to understand.</strong>}</p><p>(Inbound traffic refers to the data or requests sent to your EC2 instance, such as a user trying to access your website or connect to your server.)</p><p>(Outbound traffic refers to the data or requests your EC2 instance sends to other servers or users. Eg. communicate with external API or the Databases.)</p><p>3. <strong>Access EC2 Instance</strong></p><ul><li>For Linux, you can connect to your EC2 instance using the SSH (Secure Shell) command. For example, if your key pair name is <strong>youtube-learning.pem</strong>, the command would be:</li></ul><p><strong>ssh -i “youtube-learning.pem” </strong><a href="/service/mailto:ubuntu@ec2-13-232-46-206.ap-south-1.compute.amazonaws.com"><strong>ubuntu@ec2–13–232–46–206.ap-south-1.compute.amazonaws.com</strong></a></p><p>In this command:</p><p><strong>“youtube-learning.pem”</strong> is your key pair file.</p><p><strong>“ubuntu”</strong> is the NOS of instance (Network Operating System).</p><p><strong>“ec2–13–232–46–206.ap-south-1.compute.amazonaws.com”</strong> is the public IPv4 DNS (Domain Name System) address of your EC2 instance.</p><ul><li>Run this command, if necessary, to ensure your key is not publicly viewable.</li></ul><p>“chmod 400 “youtube-learning.pem”</p><p>Hurray! you are connected with your instance with the local host.</p><ul><li>For Windows, you can use <a href="https://hpc.nmsu.edu/discovery/software/PuTTY/#:~:text=their%20PC&#39;s%20memory.-,Purpose%20of%20PuTTY,that%20allows%20a%20secure%20connection.">PuTTY</a> to connect to your EC2 instance, but a more efficient method is to use the <a href="https://www.atlassian.com/git/tutorials/git-bash#:~:text=How%20to%20install%20Git%20Bash,open%20to%20execute%20Git%20Bash.">Git Bash</a> terminal, which allows you to run Linux commands seamlessly.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd674cebbfc6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS Day 01]]></title>
            <link>https://rrrt3031.medium.com/aws-day-01-f2919ce2dc5f?source=rss-faa9561c8536------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2919ce2dc5f</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[enginnering]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[Robin Rawat]]></dc:creator>
            <pubDate>Sun, 29 Sep 2024 07:38:22 GMT</pubDate>
            <atom:updated>2024-09-29T08:10:14.183Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*-XrkIBqSRNYWuSEVsMMzZg.png" /></figure><p>Playlist of the course which I am <a href="https://youtube.com/playlist?list=PL6XT0grm_TfgtwtwUit305qS-HhDvb4du&amp;si=1hV3AfW103eKth0K">following</a>.</p><p>Today I completed 8 videos of the Playlist.</p><h3>Topics covered…</h3><ol><li><strong>What is AWS? Traditional V/S Cloud Computing</strong></li></ol><p>Traditionally, deploying a website or online service required setting up and managing your servers, which could be a complex and costly process. You often had to predict your infrastructure needs in advance, which could lead to overestimating user demand and wasting resources. This is where Cloud Computing comes into play. It offers a flexible solution by providing scalable services that adapt to your actual needs, helping to reduce unnecessary infrastructure costs. This approach is commonly known as the “Pay As You Go” model, where you only pay for what you use, making it both cost-effective and efficient.</p><p>2. <strong>Types of Services?</strong></p><p>Cloud platforms offer three main service models: IaaS (Infrastructure as a Service), PaaS (Platform as a Service), and SaaS (Software as a Service). Below is a simple illustration that clarifies which services are included under each model, helping to eliminate any confusion. <a href="https://www.redhat.com/rhdc/managed-files/iaas-paas-saas-diagram5.1-1638x1046.png">Illustration</a></p><p>(RDS is known to be the services of the AWS for the PAAS)</p><p>3. <strong>Types of Cloud?</strong></p><p>Cloud environments can be classified into three types: Public Cloud, Private Cloud, and Hybrid Cloud. A Public Cloud is accessible via the internet and is offered by third-party providers to multiple users, making it a widely available option. On the other hand, a Private Cloud is dedicated to a single organization and is accessed through a secure intranet, requiring the appropriate credentials for use. Hybrid Cloud combines both Public and Private Clouds, allowing organizations to share data and applications between these environments for greater flexibility and resource optimization.</p><p>4. <strong>AWS pricing?</strong></p><p>AWS typically charges based on three main factors: Compute (CPU utilization), Storage (the amount of data stored), and Data Transfer (the cost of uploading or downloading data).</p><p>5. <strong>Region and Zones?</strong></p><p>To find the total number of regions and zones of Amazon, visit this<a href="https://aws.amazon.com/about-aws/global-infrastructure/"> link</a>. Each AWS region typically contains multiple availability zones, usually three, and each zone consists of data centres. For more details, refer to this <a href="https://www.researchgate.net/profile/Ivan_Beres/publication/360541079/figure/fig1/AS:1154856056291328@1652350548135/AWS-Regions-and-Availability-Zones-Scott-nd.ppm">Diagram.</a></p><p>6. <strong>Local Zones?</strong></p><p>They offer single-digit latency to users in specific areas, such as the local zone in Delhi. Certain target services are available within these local zones.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2919ce2dc5f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>