<?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 Prakash Agarwal on Medium]]></title>
        <description><![CDATA[Stories by Prakash Agarwal on Medium]]></description>
        <link>https://medium.com/@kruzes?source=rss-520d61cf9d0e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*uAd1H0ruk1m3yj_CrbR7KQ.jpeg</url>
            <title>Stories by Prakash Agarwal on Medium</title>
            <link>https://medium.com/@kruzes?source=rss-520d61cf9d0e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 00:02:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kruzes/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[Consensus Mechanisms : Blockchain]]></title>
            <link>https://kruzes.medium.com/consensus-mechanisms-blockchain-910c8274368e?source=rss-520d61cf9d0e------2</link>
            <guid isPermaLink="false">https://medium.com/p/910c8274368e</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[consensus]]></category>
            <category><![CDATA[proof-of-stake]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Prakash Agarwal]]></dc:creator>
            <pubDate>Tue, 18 Oct 2022 21:04:43 GMT</pubDate>
            <atom:updated>2022-10-21T10:33:56.174Z</atom:updated>
            <content:encoded><![CDATA[<h3>4. Consensus Mechanisms : Blockchain</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*evKdKGW8fefJYPEzoOwOUw.png" /><figcaption>source — Internet</figcaption></figure><p>In the process to study Blockchain, Consensus is one of the most important things to take care of. You must’ve read about blockchain in <a href="https://medium.com/coinmonks/3-blockchain-working-and-layer-infrastructure-e348d677a5b6"><em>my recent articles.</em></a></p><p>When you will google <em>What is the meaning of Consensus? </em>You will get the result as “<strong>agreement among a group of people</strong>”, which is the basic idea behind whole Blockchain technology. Let’s understand this now.</p><p>The term consensus mechanism refers to the entire stack of protocols, incentives, and ideas that allow a network of nodes to agree on the state of a blockchain.</p><p>In simpler terms, A consensus mechanism refers to any number of methodologies used to achieve agreement, trust, and security across a decentralized computer network. By consensus, we mean that a general agreement has been reached.</p><h4>Why do we need a Consensus Mechanism?</h4><p>For example, In any centralized system, One database holding all the data comes with one central administration working as a central authority to maintain and update the database, who remains the sole in charge to make sure that it is genuine data.</p><p>While Public Blockchains operate independently and decentralized without any single authority worldwide. They involve hundreds of thousands of different participants in operations working together on verification and authentication activities for transactions to take place on the blockchain. In such an environment, Blockchain needs an efficient, fair, real-time, functional, reliable, and secure mechanism to ensure that all the transactions occurring on the network are <strong>genuine</strong> and that all participants agree on a <strong>consensus</strong> on the status of the ledger(data).</p><p>This most important work is done by the Consensus Mechanism, which is a set of protocols, ideas, and incentives to ensure the <strong>legitimacy of data</strong> <strong>and contributions</strong> done by contributors( (i.e., nodes or <em>transactors</em>) on the blockchain.</p><h4>Types of Consensus Mechanisms:</h4><p>There are different kinds of Consensus Algorithms, which have different principles.</p><p><strong>Proof of Work(PoW) :</strong> Its most common consensus algorithm is used by big cryptocurrencies like bitcoin, dogecoin, litecoin, etc. It requires a node to prove that the work done qualifies to add a valid transaction, but this whole mining and validation mechanism needs <strong>High Energy Consumption and Longer Processing Time.</strong></p><p><strong>Proof of Stack(PoS) : </strong>This algorithm/mechanism was developed as the alternative to <strong>PoW</strong> as It’s Low Cost, Low Energy consuming mechanism, How? It involves the allocation of responsibility for maintaining data in proportion to the number of virtual currency tokens held by the participant node. The drawback of this mechanism is it incentivizes crypto coin hoarding instead of spending. Like, As for the ETH blockchain, Proof-of-stake is done by validators who have staked ETH to participate in the system.</p><blockquote>Actually, if we go a little deep into technicality, Proof-of-work and proof-of-stake alone are not consensus protocols, but they are often referred to as such for simplicity. They are actually <strong>Sybil resistance mechanisms and block author selectors</strong>; they are a way to decide who is the author of the latest block.</blockquote><p>While PoW and PoS are the most common Consensus Mechanism, there are many other consensus algorithms available in the field with different principles like:</p><ul><li><strong>Proof of Activity (PoA) </strong>which is a combination of different aspects of PoS and PoW.</li><li><strong>Proof of Capacity (PoC) </strong>works on basis of the capacity of memory and hard disk space a node has.</li><li><strong>Proof of Burn (PoB) </strong>requires a little amount of currency to send to validate the transaction as in burning them.</li><li><strong>Proof of History (PoH) </strong>works on the basis of past passage of transactions which was developed as part of the Solana Project similar to <strong>Proof of Elapsed Time (PoET).</strong></li></ul><h4>Final Words</h4><ul><li>There are many consensus algorithms and mechanisms developed over time for different blockchains and principles, Like ETH is shifting its PoW mechanism to PoS to reduce energy consumption and processing time.</li><li>Consensus Mechanisms are important to know if you want to study the working of Blockchain Networks and Cryptocurrencies. This is just the tip of the ice, just to give you an idea of what is for you in it, if you want to research and go in depth about these concepts.</li><li>I am bringing this series of blogs on Blockchain to explain the technology in the simplest explanation possible. If you still have some doubts or ideas, We can connect and discuss 👇</li></ul><p><a href="https://www.linkedin.com/in/prakashag/">https://www.linkedin.com/in/prakashag/</a></p><ul><li>You can write your views/ideas in the comment section below so that we can discuss them. If you found this blog helpful, please click the clap 👏 button below a few times to show your support…</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=910c8274368e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3. Blockchain : Working and Layer Infrastructure]]></title>
            <link>https://medium.com/coinmonks/3-blockchain-working-and-layer-infrastructure-e348d677a5b6?source=rss-520d61cf9d0e------2</link>
            <guid isPermaLink="false">https://medium.com/p/e348d677a5b6</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[infrastructure]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[cryptocurency]]></category>
            <dc:creator><![CDATA[Prakash Agarwal]]></dc:creator>
            <pubDate>Tue, 13 Sep 2022 13:39:40 GMT</pubDate>
            <atom:updated>2022-09-21T17:35:07.646Z</atom:updated>
            <content:encoded><![CDATA[<h3>3. Blockchain : Working and Layer Infrastructure</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/959/1*ycLA42F6ZpNHaLmz1sfWpQ.jpeg" /><figcaption>source -- Internet</figcaption></figure><p>As you may have already read about blockchain in <a href="https://kruzes.medium.com/2-blockchain-theory-97d6428af198">my recent articles <em>here.</em></a><em> </em>Now, We will understand How Blockchain works!</p><p><strong>The genesis block</strong> is the first ever block recorded on its respective blockchain network, i.e. the starting of a blockchain network, which is occasionally referred to as Block 0. A Block has some constraints like It can store a certain amount of data(Limited Number of Transactions) and when it’s filled, the Next Block (A New Block) gets created by Network.</p><p>Let’s take an example of a blockchain that consists of 3 blocks with some transaction data stored in them. To link these blocks, a unique <strong>Hash ID</strong> is assigned to each block which is <strong>generated using the data stored in the block. </strong>So, whenever someone tries to change the block’s data, Its hash id changes as well. which takes up a lot of computing power, making Blockchain data immutable.</p><p>What is a Hash ID? It’s a unique string of characters randomly generated for any data transaction over a blockchain and used to verify or locate that transaction.</p><p>Let’s say <em>Radhe sends 1 BTC to Shyam.</em> For an example of a real-world transaction, The Hash ID for this will look something like this:</p><blockquote>975B68A9EDF7EFFDA27705EFD64F785980C77B79E5637D92CB6A7D516A27</blockquote><p>What does BTC mean? BTC is the symbol for Bitcoin Cryptocurrency, the native currency for Bitcoin Blockchain. Every blockchain has its currency, which is used by users to do transactions and the blockchain and currency support each other to maintain sustainability. For example, Ether is the currency supported by Ethereum Blockchain Network.</p><p>Now, Let’s get a little technical, How about Blockchain layers?</p><p><strong>Layer 0 </strong>consists of components like the Internet, Hardware and Support system that enable the overall network to stay online.</p><p><strong>Layer 1</strong> known as the “implementation layer”, refers to the core architecture of the Blockchain Network. It provides the foundational base for a blockchain network. A layer one protocol defines a set of rules for operations like transaction throughput, block time, consensus algorithm, etc., that governs the entire network. like Ethereum is temporarily using a proof-of-work (PoW) consensus algorithm before transitioning to a proof-of-stake (PoS) network.</p><p><strong>Layer 2, </strong>Currently Layer 1 is facing some performance issues like low transaction throughput, Speed, etc. as the number of users is increasing. Layer 1 works on the PoW consensus algorithm, which is more secure but requires high computational power and affects performance.</p><p>To solve this problem, Layer 2 acts like a third-party integration that works in conjunction with Layer 1. Hence, the work gets divided between layer 1 and layer 2. Layer 2 also follows the same protocols as layer 1. Overall, We can say, <strong>Layer 2 is a framework that provides a full-fledged solution to Layer 1 to improve its overall performance. </strong>An example is Polygon Matic Network for Ethereum Network.</p><p><strong>Layer 3 </strong>is on top of layers 1 and 2 which enable the development of applications and smart contracts over the base network, which are known as Decentralized Applications(DApps). It hosts these applications and allows users to interact with Blockchain directly. Some Examples of Programmable Blockchains are Ethereum and Solana.</p><h4>Final Words:</h4><ul><li>Blockchain is an emerging technology and going to replace what we know as traditional data storage resources. It’s completely going to change the applications and online behavior of users.</li><li>I am bringing this series of blogs on Blockchain to explain the technology in the simplest explanation possible. If you still have some doubts or ideas, We can connect and discuss 👇</li></ul><blockquote><a href="https://www.linkedin.com/in/prakashag/">https://www.linkedin.com/in/prakashag/</a></blockquote><ul><li>Next blogs will have a little more technical terminologies, As we will discuss about DApps and Smart Contracts, So BE READY!!!</li><li>You can write your views/ideas in the comment section below so that we can discuss them. If you found this blog helpful, please click the clap 👏 button below a few times to show your support…</li></ul><blockquote>New to trading? Try <a href="https://medium.com/coinmonks/crypto-trading-bot-c2ffce8acb2a">crypto trading bots</a> or <a href="https://medium.com/coinmonks/top-10-crypto-copy-trading-platforms-for-beginners-d0c37c7d698c">copy trading</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e348d677a5b6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coinmonks/3-blockchain-working-and-layer-infrastructure-e348d677a5b6">3. Blockchain : Working and Layer Infrastructure</a> was originally published in <a href="https://medium.com/coinmonks">Coinmonks</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[2. Blockchain Theory]]></title>
            <link>https://medium.com/thecapital/2-blockchain-theory-97d6428af198?source=rss-520d61cf9d0e------2</link>
            <guid isPermaLink="false">https://medium.com/p/97d6428af198</guid>
            <category><![CDATA[decentralized]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[blockchain-technology]]></category>
            <dc:creator><![CDATA[Prakash Agarwal]]></dc:creator>
            <pubDate>Sat, 03 Sep 2022 19:14:10 GMT</pubDate>
            <atom:updated>2022-09-15T02:57:21.790Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4lhUK_DsnpLxXwHYsk7Nkg.jpeg" /><figcaption>src — Google</figcaption></figure><p>You must have heard about Cryptocurrency, NFT, Bitcoin, Ethereum, Blockchain, Dogecoin, etc. Why are these terms trendy and essential for you to understand?</p><p>Before understanding all these terms, you need to understand what Blockchain is? Why is it useful? And why do we need it? As Blockchain is the technology lying behind all these concepts/products.</p><p>First, let’s understand the meaning of <strong>Centralized Systems. </strong>A centralized system is a network of computers connected(dependent) to one central computer, also known as a <strong>Server. </strong>All the data is stored and controlled by this server.</p><p>But there are some problems with centralized systems, which are:</p><ul><li>The nodes (or computers) connected in the network depend on just one machine(server), which makes the whole network vulnerable to attack from hackers.</li><li>A server is maintained by a few people in an organization who could always exploit the server; thus, a server doesn’t guarantee the safety of data.</li><li>A central server should always be connected to its nodes. If there is any network connection issue, all nodes stop working. As it frequently happens with the current banking system.</li></ul><p>While <strong>Blockchain </strong>is a <strong>decentralized network.</strong> Hence, It doesn’t have a server storing all data and controlling all nodes, but the data is distributed (duplicated) among all the nodes (computers) of the network.</p><p>Here nodes are the ones that manage the blockchain network. For instance, if one node tries to alter some data, other nodes need to validate that modification, and if the other nodes find out that the data is incorrect, they will reject the modification.</p><p>Blockchain can also handle network issues as it has multiple nodes working simultaneously, and the network doesn’t depend on a single machine; so even if several nodes go down, it will not affect the whole network, ensuring the overall consistency of the network.</p><p>Now, it’s time to understand what <strong>Blockchain </strong>means! Blockchain is a public database for storing real-world data, shared and updated with many nodes (computers) across the globe. It’s kind of a Public Ledger.</p><p>As we break the word; It consists of two parts: Block and Chain.</p><p>“Block” is an entity that stores the data, you can visualize it as an Empty Box or Paper on which data would be written(stored). “Chain” can be defined as a cryptographic link of a block with the previous block.</p><p>In other words, the link between blocks forms a chain of blocks. Basically, Blockchain is a collection of blocks chained together using cryptography. You can read more about its application in <a href="https://kruzes.medium.com/1-evolution-of-internet-what-is-web-3-0-29b17d9d4cc7">my recent article <em>here</em>.</a></p><h4>Features of Blockchain:</h4><p>Blockchain is an immutable public data storage that is:</p><ul><li><strong>Decentralized: </strong>Blockchain is a distributed technology that is not controlled by any individual or organization. i.e. It doesn’t have any central authority.</li><li><strong>Trustless:</strong> People have always been dependent on some organization or central authority such as Banks or some intermediaries for reliability or trust on any network. But with blockchain technology, people don’t have to rely on any third party for their transactions and holdings. It’s the fundamental part of Blockchain Technology.</li><li><strong>Permission-less: </strong>You don’t need anyone’s permission or authorization to join the network or become a node.</li><li><strong>Secure: </strong>Blockchain uses decentralization, cryptography and consensus at its core, making it secure.</li></ul><p>In my next blog, we will know more about how blockchain works and what is consensus mechanism! Follow me so that you will get notified when the next blog publishes.</p><p><strong>Check out our new platform </strong>👉<strong> </strong><a href="https://thecapital.io/"><strong>https://thecapital.io/</strong></a></p><p><a href="https://twitter.com/thecapital_io">https://twitter.com/thecapital_io</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Ff%2F3c1144%3Fas_embed%3Dtrue&amp;dntp=1&amp;display_name=Upscribe&amp;url=https%3A%2F%2Fupscri.be%2F3c1144&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/3b6b127891c5c8711ad105e61d6cc81f/href">https://medium.com/media/3b6b127891c5c8711ad105e61d6cc81f/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97d6428af198" width="1" height="1" alt=""><hr><p><a href="https://medium.com/thecapital/2-blockchain-theory-97d6428af198">2. Blockchain Theory</a> was originally published in <a href="https://medium.com/thecapital">The Capital</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[1. Evolution of Internet… What is Web 3.0 ?]]></title>
            <link>https://kruzes.medium.com/1-evolution-of-internet-what-is-web-3-0-29b17d9d4cc7?source=rss-520d61cf9d0e------2</link>
            <guid isPermaLink="false">https://medium.com/p/29b17d9d4cc7</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[web-3-point-0]]></category>
            <category><![CDATA[internet]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[metaverse]]></category>
            <dc:creator><![CDATA[Prakash Agarwal]]></dc:creator>
            <pubDate>Fri, 19 Aug 2022 19:51:38 GMT</pubDate>
            <atom:updated>2022-09-18T13:04:09.024Z</atom:updated>
            <content:encoded><![CDATA[<h3>1. Evolution of Internet… What is Web 3.0?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*3JCH_XFEn-h2PNfIEmef_w.jpeg" /></figure><p><strong>Web 1.0(Read)</strong> : When First data transfer/communication protocol is introduced in 80s, Internet was born. Now, People could read information published by some other person on Internet with the help of protocols like HTTP, TCP etc. This First Era of Internet is known as Web 1.0, Where one could only read data/information that some other person wrote and published. They searched for an article, read it and closed it, that’s mostly how far it went. <em>Example:</em> Yahoo, MSN etc.</p><p><strong>Web 2.0(Read, Write) : </strong>From 2000s’ a new era of internet began, As people were tired of just following some other person’s instructions. They wanted to contribute, interact and express their own thoughts through internet. This was catalyzed by social media industry and companies like Facebook, Orkut etc. People were eager to share their opinion and interact with the data available on internet and thus everyone jumped onto it. and still most of the world is using Web 2.0 and interacting with more and more data and big companies started collecting this data. <em>Example: </em>Facebook, YouTube etc.</p><p><strong>Web 3.0 : </strong>With the Rise and Popularity of Web 2.0, One concern was raised, About <strong>The Centralization of Data and It’s use, </strong>i.e. The Privacy of individual. As people started interacting with information online, their interactions and personal data was stored in the particular company’s database and they can use that data in however way possible, which is evident with Today’s world of online Advertising and Marketing. As this concern is peaking, Web 3.0 was introduced, with the whole mindset of <strong>Read, Write and Own. </strong>With Web3, participants will have full ownership over their content, data, and assets. It represents a democratized Internet, which stores data in decentralized way, i.e. No one person/organization can be the owner of everything. <em>Example: </em>DeSo, Pancakeswap, D.Tube etc.</p><blockquote>It’s an Internet that is governed by users for the benefit of users.</blockquote><p>As we will move more into this, Web3 will give users full ownership of their assets, data, practically anything via blockchains.</p><p><strong>Blockchain </strong>is the technology lying behind all this Web 3.0 infrastructure. Basically Blockchain is Public Ledger(Set of Records). It stores the data/information in set of <strong>Blocks</strong>. These blocks are linked together forming a <strong>Chain. </strong>Each block is like a page of book.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*G9CR1NWIlx_nUAmPQR8S3Q.png" /><figcaption>src — Google</figcaption></figure><p>Blockchain is NOT a cryptocurrency.</p><p>Blockchain is NOT a programming language, NOT a Framework</p><p>Blockchain is NOT an AI or Machine Learning technology.</p><h4>So, How can we use it? OR What is the benefit of Blockchain?</h4><p>Blockchain works as an <strong>immutable</strong> (unchangeable, fixed) records of data/transactions, that doesn’t need to rely on any centralized authority or organization for validation. (Even if to update any data, It will not remove previously stored data but will replace that data, with creating a new block of data and adding to the chain.)</p><h4>So, How will it get validated?</h4><p>As I told you earlier, It’s a Public Ledger, i.e. All data will be transparent and publicly available and The power lies in these public accessors(nodes) to validate the transaction/data. That’s how, millions of users on the Internet help manage and maintain these records. Hence, making it truly Decentralized and Democratized.</p><p>To sum up, <strong>Web 3.0</strong> will provide an open, trustless, permission-less and secure network. As, It is open-source which is available for Everyone to use and explore, Users can directly interact without any Third-party intervention(No need of Trust as Everything will be transparent) and User/Suppliers don’t need permission of any authority to use it and no person/organization can own or control it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29b17d9d4cc7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to create a Real-World MBA — 1]]></title>
            <link>https://kruzes.medium.com/how-to-create-a-real-world-mba-1-75670a070214?source=rss-520d61cf9d0e------2</link>
            <guid isPermaLink="false">https://medium.com/p/75670a070214</guid>
            <category><![CDATA[business]]></category>
            <category><![CDATA[tim-ferriss]]></category>
            <category><![CDATA[angel-investing]]></category>
            <category><![CDATA[investment]]></category>
            <category><![CDATA[mba]]></category>
            <dc:creator><![CDATA[Prakash Agarwal]]></dc:creator>
            <pubDate>Sun, 31 Jul 2022 19:03:34 GMT</pubDate>
            <atom:updated>2022-07-31T19:03:34.936Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to create a Real-World MBA — 1</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mhmRr6ucya-2Un3j9fXpew.jpeg" /><figcaption>src - Google</figcaption></figure><p>It’s fun to think about getting MBA.</p><p>MBA is interesting for many reasons:</p><ul><li>Developing new business skills</li><li>Developing a better business network</li><li>Most often, Taking a <strong>2-year vacation</strong>(effectively) that looks good on a resume.</li></ul><p>I also wanted to do MBA, So I research about it a bit. I attended some online lectures and googled experiences (<em>Best Research</em> <em>;)</em> )… I realized pursuing MBA in INDIA would cost somewhere between <strong>18 lacs to 23 lacs</strong> (Tuition Fee of IIM Bangalore ~ 23 lacs), which will result in Some of the great lectures and Real-life Examples but Many of presentations and repeating same nuisance.</p><p>“One teacher spent 45 minutes on slides after slides of equations that could be summed up with, “<strong>If you build a crappy product, people won’t buy it.</strong>” with calculus and People were amused by that.</p><p>Coming to the topic,</p><p>There are two things : Venture Capital and Angel Investing.</p><p>Compared to traditional VC, Angel Investing involves putting relatively small amounts of money (Often from 5 to 50 lac) into early-age startups. The angels usually have relevant business experience and are considered “Smart Money” (Their advice and introductions are more valuable).</p><pre>In words of <strong>Mike Maple</strong>, Co-Founder of Motive Communications(IPO to $260mn Market Cap), &quot;<strong>Early-Stage</strong>&quot; could mean two engineers with a prototype of website, or it could be a successful serial entrepreneur with a new idea.</pre><p>Here is the plan :</p><p>Make a 2-Year “<strong>Self-MBA Fund</strong>”, No Formal Steps to create a Fund, Just Keep the money aside that you wanted to spend in MBA (approx 25 lacs for India). Aim to spend these 25 lacs over 2 years on Angel Investing in 2 lac to 5 lac chunks, meaning 5 to 10 companies in total.</p><p>The goal of this “Self-MBA Fund” would be to learn as much as possible about Startup Finance, Deal Structuring, Rapid Product Design, Acquisition Conversations etc. as possible.</p><p>But Curriculum is just part of Business School. The other part is getting to know people, who will be The Movers and Shakers of Startup Investing World.</p><blockquote><em>Business School = Curriculum + Network</em></blockquote><pre>The most important characteristic of This MBA: I planned on &quot;losing&quot; 25 lacs, Looking as Sunk Tuition Fee, but expecting the lesson learned and people met would be worth it.<br>The 2-year plan is to methodically spend 25 lacs for Learning Experience, not for the ROI.</pre><p>Only Follow the above plan, if:</p><ul><li>You have clear Info advantage(insider access) that gives you a competitive edge. i.e. Already know some CEOs or Founders, so entry would be easy.</li><li>You are 100% comfortable losing your “MBA” funds. If the prospective financial loss drives you to even mild desperation or depression, you shouldn’t do it.</li><li>You have started or managed successful businesses in the past.</li><li>You limit Angel Investment Fund(MBA Fund) to 20 to 30% or less of your liquid assets.</li></ul><p>Even if the above criteria are met, People over-estimate their risk tolerance.</p><pre>Even If you say, Your <strong>risk tolerance</strong> is 20%,  Unless you have lost 20% in a quarter, It&#39;s practically impossible to predict your response. Also, You might be fine losing 2000Rs out of 10000Rs, but freak out when you&#39;re down 2lac out of 10lac. (Absolute number can matter as much as percentage).</pre><p>As Cus D’Amato, Mike Tyson’s legendary first trainer, famously said:</p><blockquote><strong><em>“Everyone has a plan until they get punched in the face.”</em></strong></blockquote><p>Suggestion would be, Go to Casino and Don’t leave until you’ve spent 20% of a typical investment and watched it disappear, Let it bleed slowly and understand your own reaction. If you can remain unaffected, then only consider making your first angel investment.</p><p>But proceed with caution, There is an expression in Startup world: “ If you want to make a small fortune, start with a large fortune and angel invest.”</p><p>PS: This is summary of Story of Tim Ferriss, interpreted in INDIAN context, In next part, We will talk about Experience of his own “<strong>Tim Ferriss Fund</strong>” and investing in startups as Angel Investor.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75670a070214" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Configuring HTTPD Server and Setting Up Python Interpreter on Docker Container]]></title>
            <link>https://kruzes.medium.com/configuring-httpd-server-and-setting-up-python-interpreter-on-docker-container-d2a4dc308a43?source=rss-520d61cf9d0e------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2a4dc308a43</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[httpd]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[redhat-linux]]></category>
            <category><![CDATA[configuration]]></category>
            <dc:creator><![CDATA[Prakash Agarwal]]></dc:creator>
            <pubDate>Sat, 17 Jul 2021 12:40:29 GMT</pubDate>
            <atom:updated>2021-07-24T00:27:40.074Z</atom:updated>
            <content:encoded><![CDATA[<p>(A) — Configuring HTTPD Server on Docker Container<br>(B) — Setting up Python Interpreter and running Python Code on Docker Container</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*CJEU5c6jsI3Fcw3fW6Fc7g.png" /></figure><p>Let’s Start with <strong>Docker</strong>:</p><p>Docker is a set of platform as a service products that use OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries and configuration files.</p><ol><li>First we have to install docker on our system, For that, Go To: /etc/yum/repos.d (Yum Repo Directory) and Run the following command:</li></ol><blockquote><em>wget </em><a href="https://download.docker.com/linux/centos/docker-ce.repo"><em>https://download.docker.com/linux/centos/docker-ce.repo</em></a></blockquote><p>This command will download the repo file of docker inside the particular directory of your OS.</p><p>2. Now, To install Docker, Run Following command:</p><blockquote><em>yum install docker-ce --nobest</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*PMkNGM-rC83EpBJaIgM3pg.png" /></figure><p>3. We will start docker with following command:</p><blockquote><em>systemctl start docker</em></blockquote><p>To check the status of Docker Service, Run command:</p><blockquote>systemctl status docker</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*eRF4Yo0TshQFrpl5nRA74w.png" /></figure><h3>Configuring HTTPD Server on Docker Container</h3><p>Now, We will need a docker image to launch the container, To download Centos Docker Image from Docker Hub, Use the following command:</p><blockquote><em>docker pull centos:latest</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/785/1*vHbg1io2tJA7KWLs6bbGRw.png" /></figure><p>Now As we have Docker Image, We will launch the container using command:</p><blockquote>docker run -it --name c1 -p 8080:80 centos:latest</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R1XTisbBUuPpkoyELkRsFQ.png" /></figure><p>Command Explanation:</p><p>-i:- It creates the interactive connection with Conatiner.</p><p>-t:- Creates the Terminal inside the Docker Container.</p><p>-p:- Expose the host’s 80 port with the 8080 port of Docker Container. As we mapped the host’s 80 port with the 8080 port of the container, In order to use the Public IP of Host Machine along with 8080 Port which forwards this request to Apache Webserver running on port number 80 inside the docker container.</p><p>Now first we have to install the Web Server. With Command:-</p><blockquote>yum install httpd</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wExVMOWhA6o1HV0GSog1Pg.png" /></figure><p>As we know… In Apache Httpd Server, We have to keep files at, /var/www/html, So we will create an index.html file in that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*hwK2ioYL6L6Na_gTRgEcdw.png" /></figure><p>As we don’t have access of systemctl command in the container, To run the webserver, We will use :</p><blockquote>/usr/sbin/httpd</blockquote><p>This command will give us localhost IP, which we can run in browser and check if our web server is working fine or not, We can also use the curl command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/959/1*tZUOsp_HgDLK7SurWa5kvQ.png" /></figure><p>Hence, Task First of Configuring an Apache Web Server in container is completed.</p><h3>Setting up Python Interpreter in Docker Container</h3><p>As we already have a docker container running in our system, We just have to install Python to run Python Code, with command:</p><blockquote>yum install python3</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1002/1*ydgUbTYd9aRoPc8fqYnwgw.png" /></figure><p>To see, whether the software is successfully installed or not, check with the command;</p><blockquote>python --version</blockquote><p>And to start dynamic python interpreter, use command</p><blockquote>python3</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/795/1*M_20z8P-PKjW-m1l1VZIvA.png" /></figure><p>With That, We have completed our both tasks, successfully!!!</p><p>If you have any feedback or doubt, Feel free to comment below or Reach me out at:</p><p><a href="https://www.linkedin.com/in/prakashag/">Prakash Agarwal - Co-Founder - Nanhe Munne Kalakaar | LinkedIn</a></p><p>Thanks for reading this article, If you like this article, you can clap for the article and follow me for more such articles.</p><p>signing off!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2a4dc308a43" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Integrating Amazon RDS with WordPress]]></title>
            <link>https://towardsaws.com/integrating-amazon-rds-with-wordpress-8cc150d86e85?source=rss-520d61cf9d0e------2</link>
            <guid isPermaLink="false">https://medium.com/p/8cc150d86e85</guid>
            <category><![CDATA[ec2]]></category>
            <category><![CDATA[mysql]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[rds]]></category>
            <category><![CDATA[wordpress]]></category>
            <dc:creator><![CDATA[Prakash Agarwal]]></dc:creator>
            <pubDate>Mon, 31 May 2021 20:51:25 GMT</pubDate>
            <atom:updated>2021-07-17T13:10:29.340Z</atom:updated>
            <content:encoded><![CDATA[<p>We will connect the WordPress site with AWS RDS, launching via AWS EC2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*KhUMIfryz2wz2mQV.jpg" /></figure><p><strong>Task Description</strong>📄</p><p>🔅 Create an AWS EC2 instance</p><p>🔅 Configure the instance with Apache Webserver.</p><p>🔅 Download PHP application name “WordPress”.</p><p>🔅 WordPress stores data at the backend in the MySQL Database Server. Therefore, you need to set up a MySQL server using AWS RDS service using Free Tier.</p><p>🔅 Provide the endpoint/connection string to the WordPress application to make it work.</p><p>Let’s First understand:</p><h4>What is AWS RDS?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qHaB7Rm6BGg_n7tq.png" /></figure><p><strong>Amazon Relational Database Service (Amazon RDS)</strong> makes it easy to set up, operate, and scale a relational database in the cloud. It provides cost-efficient and resizable capacity while automating time-consuming administration tasks such as hardware provisioning, database setup, patching, and backups. It frees you to focus on your applications so you can give them the fast performance, high availability, security, and compatibility they need.</p><p><strong>Let’s Begin with the Task of launching an EC2 instance:</strong></p><p>We will launch an instance as a standard process with Amazon Linux 2 AMI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XBDtkHUEkrTkDgifdwADyQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pd1WBTmB5I9QEeIxfCHqtA.png" /></figure><p>Now, We will connect with the <strong>CLI Terminal</strong> and Configure it with <strong>Apache Webserver</strong>, <strong>WordPress,</strong> and <strong>MySQL</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xb1T-vcXOZ99KvAsToYzRg.png" /></figure><pre><em># sudo su -<br># yum install httpd -y<br># systemctl start httpd<br># systemctl enable httpd (To start it permanently)</em></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uY6uDY_-vrKocgxerQdPDw.png" /></figure><blockquote># amazon-linux-extras install -y php7.2</blockquote><p>With this cmd You can install PHP 7.2 then you will have to download the WordPress files and unzip them as follows:</p><pre># wget <a href="http://wordpress.org/latest.tar.gz">http://wordpress.org/latest.tar.gz</a></pre><pre># tar -xvzf latest.tar.gz (After download the “TAR” file “UNTAR” it)</pre><p>Now Copy All the Files in the folder of Apache Web Server, So that It can access the files. (/var/www/html)</p><pre>cp -rf wordpress/* /var/www/html</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sCA1k-RPXTs8KCcbwwZQWA.png" /></figure><p>Install MySQL as same with cmd:</p><pre>yum install mysql -y</pre><p>Now, We will set up the AWS RDS instance while creating a database in it too.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nheki-KlYUuFjTwAHu5tXw.png" /></figure><p>Fill all the fields as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j2ELmv6l-RfEg8PYoEuMHQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k5ybpLvp534inDUzlecgBg.png" /></figure><p>In Public Access, Give No as It will be in the same VPC as EC2 and So It should connect internally.</p><p>Now, We will initiate a database named <strong><em>mydb</em></strong> to connect with the site</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fcQUvYHl1vUW4if6tnKQQA.png" /></figure><p>Then click on Create and It will create an SQL Instance in RDS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3a0RoFcOOAFxNMl_PZcjGw.png" /></figure><h4><strong>Now, We will connect RDS with WordPress:</strong></h4><p>Go to Configured EC2 instance and Copy the Public IP Address.</p><pre>http://&lt;public_ip&gt;/</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zi6qlMzDJ87e7aprI9xrMA.png" /></figure><p>Click on Let’s Go:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mH0YxM4DWZvE_DWHymmuIw.png" /></figure><p>Fill in Your Details, As Username, Password, and Endpoints of RDS Instance in Host. and Submit.</p><p>It will Open the WordPress Configuration File, Which You will have to Copy in Your instance file. You will see the instruction on Page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yWqn7QnRZD_WXFR-TU935w.png" /></figure><p>We will create a new <em>wp-config.php</em> file, as our system couldn’t create one and copy-paste the configuration data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FW-vAY60bWMN1KVqzoHThg.png" /></figure><p>After Saving the File, Go to Browser Page and Click on Run The Installation.</p><p>The next Page will ask you for Your WordPress account details:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7i-jvpnQiMrbKTvL9PrVcA.png" /></figure><p>Fill in Your Details and Click on install WordPress.</p><p>One Confirmation Page will display:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wzgeXmU2M80GaPJKOPZc-A.png" /></figure><p>After that, log in with Your Account Credentials that you set up for WordPress Account and One Dash-Board Page will display like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8qrsKZnnhPp1wnffTbBjPQ.png" /></figure><p>To display Your Site Just Go to Home and Visit Your Site.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hq_MsfnztMH5xEVRbmP3-w.png" /></figure><h3>Finally, Our Task is Completed Successfully!!!</h3><p>Now You can modify your site as you want and Store Data in AWS RDS with MySQL successfully!!!!</p><blockquote><em>I Hope from these Article you get Idea to Integrate RDS MySQL with WordPress! If You have any Doubt or Suggestion, You can connect with me:</em></blockquote><p><a href="https://www.linkedin.com/in/prakashag/">Prakash Agarwal - Co-Founder - Nanhe Munne Kalakaar | LinkedIn</a></p><p>Thank You!!! Keep Learning!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8cc150d86e85" width="1" height="1" alt=""><hr><p><a href="https://towardsaws.com/integrating-amazon-rds-with-wordpress-8cc150d86e85">Integrating Amazon RDS with WordPress</a> was originally published in <a href="https://towardsaws.com/">Towards AWS</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Amazon SQS : What? Why? How?]]></title>
            <link>https://towardsaws.com/amazon-sqs-what-why-how-20ba6cfc2c2c?source=rss-520d61cf9d0e------2</link>
            <guid isPermaLink="false">https://medium.com/p/20ba6cfc2c2c</guid>
            <category><![CDATA[bmw]]></category>
            <category><![CDATA[nasa]]></category>
            <category><![CDATA[sqs]]></category>
            <category><![CDATA[sns]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Prakash Agarwal]]></dc:creator>
            <pubDate>Mon, 24 May 2021 14:06:03 GMT</pubDate>
            <atom:updated>2021-05-28T16:43:20.654Z</atom:updated>
            <content:encoded><![CDATA[<h3>Amazon SQS : What? Why? How?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*MvI0H28rzwu7PAle2Rieng.png" /></figure><h4>What is SQS?</h4><p>Amazon Simple Queue Service (SQS) is a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and server-less applications. Using SQS, you can send, store, and receive messages between software components at any volume, without losing messages or requiring other services to be available.</p><p>SQS offers two types of message queues. Standard queues offer maximum throughput, best-effort ordering, and at-least-once delivery. SQS FIFO queues are designed to guarantee that messages are processed exactly once, in the exact order that they are sent.</p><h4>Benefits:</h4><ul><li><strong>Eliminate administrative overhead</strong>: With SQS, there is no upfront cost, no need to acquire, install, and configure messaging software, and no time-consuming build-out and maintenance of supporting infrastructure. SQS queues are dynamically created and scale automatically so you can build and grow applications quickly and efficiently.</li><li><strong>Reliably deliver messages: </strong>Multiple copies of every message are stored redundantly across multiple availability zones so that they are available whenever needed.</li><li><strong>Keep sensitive data secure: </strong>You can use Amazon SQS to exchange sensitive data between applications using server-side encryption (SSE) to encrypt each message body. AWS KMS logs every use of your encryption keys to AWS CloudTrail.</li><li><strong>Scale elastically and cost-effectively: </strong>Amazon SQS leverages the AWS cloud to dynamically scale based on demand. SQS scales elastically with your application so you don’t have to worry about capacity planning and pre-provisioning. There is no limit to the number of messages per queue, and standard queues provide nearly unlimited throughput.</li></ul><h3>How , The simple case:</h3><p>Suppose that you run a major auction platform where people buy and sell a wide range of products. Your platform requires that transactions from buyers and sellers get processed in exactly the order received. Here’s how a FIFO queue helps you keep all your transactions in one straight flow.</p><p>A seller currently is holding an auction for a laptop, and three different bids are received for the same price. Ties are awarded to the first bidder at that price so it is important to track which arrived first. Your auction platform receives the three bids and sends them to a FIFO queue before they are processed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lUI4zvsA-soQE4emIQHxYA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3SMSVxULB4tyiGqiwnfwlg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kbd5t2YTpjOU7OGP7xbVTw.png" /></figure><p><em>Amazon Simple Queue Service supports tasks that process asynchronously. Instead of one application having to invoke another application directly, the service enables an application to submit a message to a queue, which another application can then pick up at a later time.</em></p><h3>How AWS SQS solves Big Companies use-cases?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/442/1*lgzVmexJEEIwhQ-kqFOT8A.png" /></figure><h4>Architecture</h4><p>The NASA Image and Video Library is a cloud-native solution, with the front-end web app separated from the backend API. It runs as immutable infrastructure in a fully automated environment, with all infrastructure defined in code to support continuous integration and continuous deployment (CI/CD).</p><p>NASA uses tons of AWS services like EC2, ELB, S3, RDS, <a href="https://aws.amazon.com/elastictranscoder/">Amazon Elastic Transcoder</a>, <a href="https://aws.amazon.com/cloudsearch/">Amazon CloudSearch</a>, <a href="https://aws.amazon.com/sns/">Amazon Simple Notification Service (Amazon SNS)</a>, <a href="https://aws.amazon.com/cloudformation/">AWS CloudFormation</a> etc, and <strong>AWS SQS</strong> is one of them too.</p><p><a href="https://aws.amazon.com/sqs/">Amazon Simple Queue Service (Amazon SQS)</a>, used to decouple incoming jobs from pipeline processes in NASA.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/951/1*4ZUw2BYmNlJaP0zsVVzWSA.png" /></figure><p>Through its use of AWS, with support from ManTech International, NASA is making its vast wealth of pictures, videos, and audio files — previously in some 60 “collections” across NASA’s 10 centers — easily discoverable in one centralized location, delivering these benefits:</p><ul><li>Easy Access to the Wonders of Space.</li><li>Built-in Scalability</li><li>Good Use of Taxpayer Dollars. By building its Image and Video Library in the cloud, NASA avoided the costs associated with deploying and maintaining server and storage hardware in-house.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ydxSqw9p6DvHQvaBcEPAXQ.png" /></figure><p><a href="https://www.bmwusa.com/">The BMW Group</a> is using AWS for its new connected-car application that collects sensor data from BMW 7 Series cars to give drivers dynamically updated map information.</p><p>BMW built its new car-as-a-sensor (CARASSO) service in only six months leveraging <a href="https://aws.amazon.com/s3/">Amazon Simple Storage Service</a> (Amazon S3), <a href="https://aws.amazon.com/sqs/">Amazon Simple Queue Service</a> (Amazon SQS), Amazon DynamoDB, <a href="https://aws.amazon.com/rds/">Amazon Relational Database Service</a> (Amazon RDS), and <a href="https://aws.amazon.com/elasticbeanstalk/">AWS Elastic Beanstalk</a>. By running on AWS, CARASSO can adapt to rapidly changing load requirements that can scale up and down by two orders of magnitude within 24 hours.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*FO16KZHw3Yh903ByrxI80A.jpeg" /></figure><p>R<a href="https://www.redbus.in/">edBus</a> is an Indian travel agency that specializes in bus travel throughout India by selling bus tickets throughout the country. Tickets are purchased through the company’s Website or through the Web services of its agents and partners. The company also offers software, on a Software as a Service (SaaS) basis.</p><p>The travel agency anticipates expanding the AWS solution to include <a href="https://aws.amazon.com/sns/">Amazon Simple Notification Service</a> (Amazon SNS) and <a href="https://aws.amazon.com/sqs/">Amazon Simple Queue Service</a> (Amazon SQS) for monitoring, alerts, and intercommunication. “Amazon SQS is an especially good solution for enabling messaging between external applications and our applications,” says Padmaraju.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b0N6p9oH4FwV_q9SXekuQA.png" /></figure><p>For Any Doubts or Suggestions, Contact:</p><p><a href="https://www.linkedin.com/in/prakashag/">Prakash Agarwal - Co-Founder - Nanhe Munne Kalakaar | LinkedIn</a></p><p>Thank you!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20ba6cfc2c2c" width="1" height="1" alt=""><hr><p><a href="https://towardsaws.com/amazon-sqs-what-why-how-20ba6cfc2c2c">Amazon SQS : What? Why? How?</a> was originally published in <a href="https://towardsaws.com/">Towards AWS</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create High Availability Architecture with AWS CLI]]></title>
            <link>https://towardsaws.com/create-high-availability-architecture-with-aws-cli-154080989dbe?source=rss-520d61cf9d0e------2</link>
            <guid isPermaLink="false">https://medium.com/p/154080989dbe</guid>
            <category><![CDATA[architecture]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[cloudfront]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-cli]]></category>
            <dc:creator><![CDATA[Prakash Agarwal]]></dc:creator>
            <pubDate>Mon, 17 May 2021 11:10:06 GMT</pubDate>
            <atom:updated>2021-07-18T01:26:09.381Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1017/1*O5H_uWG53Ho784fLSWEq6Q.png" /></figure><h4><strong>This Task includes:</strong></h4><ul><li>Webserver configured on EC2 Instance</li><li>Document Root(/var/www/html) made persistent by mounting on EBS Block Device.</li><li>Static objects used in code such as pictures stored in S3</li><li>Setting up Content Delivery Network using CloudFront and using the origin domain as S3 bucket.</li><li>Finally place the Cloud Front URL on the webapp code for security and low latency.</li></ul><h4>Prerequisites:</h4><p>1. Install and Configure AWS CLI in your system.<br>2. Create IAM Role and Give Access to AWS Account to AWS CLI</p><p>Now Let’s Start Working on Task:</p><p>First, Understand What is CloudFront?</p><p><strong>CloudFront</strong>: Amazon CloudFront is a fast content delivery network (CDN) service that securely delivers data, videos, applications, and APIs to customers globally with low latency, high transfer speeds, all within a developer-friendly environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IK8JXwEYMrL8urLI3C56Xg.png" /></figure><p>We will check if the AWS is successfully installed with cmd</p><p>#aws --version</p><p>Then configure the CLI with AWS Access Key ID and AWS Secret Access Key with cmd</p><p>#aws configure</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AIW7lbq4bTaUT3IP0xET1g.png" /></figure><p>Now create a key pair with cmd:</p><p>#aws ec2 create-key-pair --key-name &lt;Key_Name&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3_Ccd3in126lr5TfIJnxeQ.png" /></figure><p>We can check if the key-pair is successfully in Console WebUI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zb0R0evVYNKbrQa3UFPqcw.png" /></figure><p>Now, We create a Security Group with cmd:</p><p>#aws ec2 create-security-group — group-name “Security_Group_Name” — description “Sec_Group” — vpc-id &lt;VPC_ID&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oCXPAjPQpGSs3tH2Il0wCw.png" /></figure><p>Now we go to security group in console and Update the Inbound Rule for Connectivity and Check them if they are updated!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zc7TXxdcd1Y1jyEGviTeOg.png" /></figure><p>Now we will launch a Instance with cmd:</p><p>#aws ec2 run-instances --image-id &lt;ami-0a9d27a9f4f5c0efc&gt; --instance-type &lt;t2.micro&gt; --count &lt;1&gt; /--subnet-id &lt;subnet-id&gt; --security-group-ids &lt;sg-091586fa8140667b1&gt; --key-name &lt;keypair1&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZfA0F0cTnUisgzf9DBGfYw.png" /></figure><p>We can check with the console:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ywwcmhsvxU1bRH8wfgkbkg.png" /></figure><p>Now we will create a volume storage with cmd:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*brxIWfqkPOlz5e_-6SwcQw.png" /></figure><p>We can check the volume in console as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pQ3PxfOsSm17z83XKzH6iQ.png" /></figure><p>Now we will attach the volume to our created instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u9UfzHarE0ah8W-9f0h1yg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xECjqBxRkqQxx44sa5iYyg.png" /></figure><p>Now we will install and configure the Apache HTTPD server in instance to use.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a_BBB3rsGCDf0xJHmqTMCA.png" /></figure><p>We will create an <em>index.html</em> file for the homepage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X8l6N-bxzEXedBAoluG-hw.png" /></figure><p>We can see if HTTPD server is running or not with cmd:</p><p>#netstat -tnlp | grep httpd</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3o1wa8xaxJrGZAHueJdcgQ.png" /></figure><p>We can also check in the instance whether it is attached or not with cmd:</p><p>#fdisk -l</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wT0bPnkLX7tKTvtgmfrE6A.png" /></figure><p>Now we have to make the document root of Apache webserver ( httpd ) permanent so first let’s create one partition in the block storage ( /dev/xvdf ) with ext4 format type and then we will mount it with the document root.</p><p>Partition of the attached EBS Volume:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hVF3mmmYFA60wUORmMwiEA.png" /></figure><p>We can confirm with the cmd:</p><p>#lsblk</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nM3ugyVqA0pSS2cIAEwQ9A.png" /></figure><p>Now we will format the partition and then mount it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e5zN7D7XyF6MKpg9GsynWA.png" /></figure><p>Now, We will create a S3 Bucket with cmd.</p><p>#aws s3 mb s3://&lt;1234bucket12&gt; --region &lt;ap-south-1&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rtM-SU3hDx5HdRUslvB44A.png" /></figure><p>We can check it in console:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0v29JGXJKkr24E6kJhmDpw.png" /></figure><p>Now we will upload a file in the bucket and Make it Public.</p><p>Now, we have to create a distribution in the <strong>CloudFront delivery network</strong>, in which the origin domain name is the S3 bucket.</p><p>#aws cloudfront create-distribution --origin-domain-name &lt;domain of s3 bucket&gt; --default-root-object &lt;Image/Object_File_Name&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8BXNyJgacng2Yr9JZeOLoA.png" /></figure><p>We can check it in the console:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AN_thiecJOB6HvQiVuwwoA.png" /></figure><p>Details of CloudFront distribution:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*40tdRF6-5kUGG0YAEBM3Hg.png" /></figure><p>Now we will update this link in our index.html file, So that It will be updated in our Homepage with CDN.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ycMJptn-BvtqJNk9RXraUg.png" /></figure><p>Save it and Return to Instance details, Now when we Browse the Public IP of Instance, We will get the homepage with required CDN</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pDdIncpbOS8Df-_ozpACQA.png" /></figure><p>And that’s it!</p><p>Thank you for reading. I hope you have found this useful. If you have any questions, feel free to let me know in the comments.</p><p><a href="https://www.linkedin.com/in/prakashag/">Prakash Agarwal - Co-Founder - Nanhe Munne Kalakaar | LinkedIn</a></p><p><em>More content at </em><a href="http://plainenglish.io/"><strong><em>plainenglish.io</em></strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=154080989dbe" width="1" height="1" alt=""><hr><p><a href="https://towardsaws.com/create-high-availability-architecture-with-aws-cli-154080989dbe">Create High Availability Architecture with AWS CLI</a> was originally published in <a href="https://towardsaws.com/">Towards AWS</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Network Topology Setup to connect Google but Not Facebook]]></title>
            <link>https://kruzes.medium.com/network-topology-setup-to-connect-google-but-not-facebook-c1bcf413a709?source=rss-520d61cf9d0e------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1bcf413a709</guid>
            <category><![CDATA[facebook]]></category>
            <category><![CDATA[network]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[topology]]></category>
            <dc:creator><![CDATA[Prakash Agarwal]]></dc:creator>
            <pubDate>Fri, 12 Mar 2021 08:01:01 GMT</pubDate>
            <atom:updated>2021-03-12T08:01:01.811Z</atom:updated>
            <content:encoded><![CDATA[<p>Here We setup a network topology where our system can connect with Google.com, at the same time can’t connect with Facebook.com</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oRrEm60N-FqW4ccs8XQoXA.png" /></figure><p><strong>Routing Table</strong>, is a <a href="https://en.wikipedia.org/wiki/Data_table">data table</a> stored in a <a href="https://en.wikipedia.org/wiki/Router_(computing)">router</a> or a <a href="https://en.wikipedia.org/wiki/Network_host">network host</a> that lists the routes to particular network destinations, and in some cases, <a href="https://en.wikipedia.org/wiki/Metrics_(networking)">metrics</a> (distances) associated with those routes. The routing table contains information about the <a href="https://en.wikipedia.org/wiki/Network_topology">topology of the network</a> immediately around it.</p><p><strong>Netmask</strong> is a 32-bit “mask” used to divide an IP address into subnets and specify the network’s available hosts. In a <strong>netmask</strong>, two bits are always automatically assigned.</p><p>The <strong>Default Gateway</strong> is the path used to pass information when the device doesn’t know where the destination is. More directly, a <strong>default gateway</strong> is a router that connects your host to remote network segments.</p><p><strong>Route Command in Linux</strong> is <strong>used</strong> when you want to work with the IP/kernel routing table. It is mainly <strong>used</strong> to set up static <strong>routes</strong> to specific hosts or networks via an interface.</p><h4>Now, Let’s go to implementation part:</h4><blockquote>#route -n</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/795/1*qWOnEbqaDKyv-ePsECoUFQ.png" /></figure><p>Now, We will check if our system can ping to Google and Facebook before we do any setup initialization:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*wOZViyQEFlced2jAFeT93g.png" /></figure><p>As here, We can see, Our system can connect with Google as well as Facebook without any problem.</p><p>Now, Create one text file where we can put all the information of our ips’ for future reference.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*mgEQ7ImyHux7gIW4HRsRVg.png" /></figure><h4>Now, We will delete the Default Gateway of our system:</h4><blockquote>#route del -net 0.0.0.0</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/1*bvrSr0fVvFH64hYC2dLUkA.png" /></figure><p>Let’s check if anything is connected even after removing the default gateway</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*o3EOsxjVormouxWvce52LA.png" /></figure><p>Now, We will add some new rules to Routing Table, So that Network can allow to ping with Google</p><blockquote>#route add -net 172.217.166.0/24 gw 192.168.43.1 enp0s3</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CbuWASx_87WMzaymMT1m4Q.png" /></figure><p>Let’s try to Ping Google and Facebook :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*39R0fvAWNyEUIVbUOgOa1g.png" /></figure><p>As we can clearly see, We can ping to Google.com without any problem while We are not able to ping Facebook.com with our System, Hence Our Goal is attained.</p><p>We have successfully created A Network Topology Setup where Our System can ping with google but can’t ping with facebook.</p><p>For any query or doubt, You can connect with me:</p><p><a href="https://www.linkedin.com/in/prakashag/">Prakash Agarwal - Co-Founder - Nanhe Munne Kalakaar | LinkedIn</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1bcf413a709" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>