<?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 Sudipta Pati on Medium]]></title>
        <description><![CDATA[Stories by Sudipta Pati on Medium]]></description>
        <link>https://medium.com/@iamsudipta?source=rss-e6879f39ed22------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*0cYHOIGpcVZPDP9v</url>
            <title>Stories by Sudipta Pati on Medium</title>
            <link>https://medium.com/@iamsudipta?source=rss-e6879f39ed22------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 00:55:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@iamsudipta/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[Shell Scripting PART 2]]></title>
            <link>https://medium.com/@iamsudipta/shell-scripting-part-2-5c1608581802?source=rss-e6879f39ed22------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c1608581802</guid>
            <category><![CDATA[shell]]></category>
            <category><![CDATA[shell-script]]></category>
            <category><![CDATA[script]]></category>
            <category><![CDATA[scripting]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Sudipta Pati]]></dc:creator>
            <pubDate>Mon, 15 Apr 2024 16:33:57 GMT</pubDate>
            <atom:updated>2024-04-15T16:39:38.392Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9QZVB-vkjgwtH-oj75RtZQ.png" /></figure><p><strong>Types of Shell</strong></p><p>→ There are different types of shells in Linux. To check which shells are installed on your Linux system, run the command <strong>cat /etc/shells</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/746/1*ZBa7PycnwW3FqJAL1h_dog.png" /></figure><ol><li><strong>sh [Bourne Shell]: </strong>One of the oldest shells, it serves as the basis for many other shells. It’s relatively simple compared to more modern shells but is still used in some scripts for portability.</li><li><strong>bash [Bourne Again Shell]: </strong>This is the default shell for most Linux distributions. It’s a powerful shell with extensive features, scripting capabilities, and is backward-compatible with the Bourne Shell (sh).</li><li><strong>csh [C Shell]: </strong>C Shell has a syntax similar to the C programming language. It offers interactive features like command history and job control. However, its scripting capabilities are not as powerful as those of Bash.</li><li><strong>tcsh [TENEX C Shell]:</strong> This is an enhanced version of the C Shell (csh) with features like command-line editing, command history, and spelling correction.</li></ol><p>To check the current shell your user is using, run the command <strong>echo $SHELL</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/771/1*Apmu2xnRMrZXb53RjSWWZw.png" /></figure><p><strong>How to change your shell</strong></p><p>→ There are two ways to change your shell:</p><ol><li><strong>Using the chsh command: </strong>This command is used to change the user’s login shell (currently login shell).</li></ol><p>→ For the root user, the current shell is bash.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/1*2d9eCQEVTOhJ9OLahlQncg.png" /></figure><p>→ To change the shell, run the command <strong>chsh -s &lt;path_to_shell&gt;</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*XPXqaJUHLxt7LlzdX2DZZw.png" /></figure><p>→ Now exit from the root and switch back to see the effect</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*3TaRvEBXFHSwQZTQmm9zpQ.png" /></figure><p>This will change the default shell to sh for the root user until you change it back to bash.</p><p>Now we will execute our helloworld.sh file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*ARby8Uk3_e5Icsos-qUABA.png" /><figcaption><strong>Contents of</strong> <strong>helloworld.sh file</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/1*nDD_nQ8fYqzQAe8TtgxV8g.png" /><figcaption><strong>Ran the helloworld.sh file</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*dPjwEbkpMUU2F00u42CMRA.png" /><figcaption><strong>The current default shell</strong>,<strong> ‘sh’ is showing in the ps -ef command</strong></figcaption></figure><p>2. <strong>Shebang: </strong>The shebang line, also known as the hashbang, is the first line in a script file that begins with the characters “#!”, which is a hash followed by an exclamation mark.</p><p>→ The shebang line is followed by the interpreter or command that should be used to execute the script.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/691/1*G8klrGH0GcJ9Rd2fno2xmQ.png" /><figcaption><strong>Shebang line in helloworld.sh file</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/582/1*mS5T35suK1KHrc6IFX2ykA.png" /><figcaption><strong>Ran the helloworld.sh file</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X4Orh6lGBo5_AD4OzTLV1A.png" /><figcaption><strong>The bash shell is now executing the file</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/1*hWLuOSrU6R49DzVWa03DXg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c1608581802" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Shell Scripting PART 1]]></title>
            <link>https://medium.com/@iamsudipta/shell-scripting-part-1-bfad1c6b44d1?source=rss-e6879f39ed22------2</link>
            <guid isPermaLink="false">https://medium.com/p/bfad1c6b44d1</guid>
            <category><![CDATA[shell-script]]></category>
            <category><![CDATA[script]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[shell]]></category>
            <dc:creator><![CDATA[Sudipta Pati]]></dc:creator>
            <pubDate>Thu, 21 Mar 2024 16:28:45 GMT</pubDate>
            <atom:updated>2024-03-21T17:13:52.678Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2PUy0j-Y_y17LR1lWGUkPw.png" /></figure><p><strong>What is a Shell Script?</strong></p><p>→ A shell script is essentially a series of commands stored in a file, designed to be executed by the Unix shell, a command-line interpreter. Typically, these scripts include comments describing each step.</p><p>→ Key features of a shell script include:</p><ol><li>Facilitating the execution of if-else statements and loops.</li><li>It’s essentially a plain text file containing a sequence of commands.</li><li>Each command within the script is executed sequentially, one line at a time.</li><li>Contrary to the usual single-command execution in terminals, shell scripts allow for the combination and execution of multiple commands together.</li></ol><p><strong>Why would you use a shell script?</strong></p><p>A shell script becomes essential in various scenarios:</p><ol><li><strong>Repetitive Commands:</strong> When you have to execute multiple shell commands repeatedly, and you anticipate the need to do so in the future.</li><li><strong>Automation of Routine Tasks: </strong>If you understand how a particular task needs to be performed, encapsulating that knowledge into a shell script streamlines its execution.</li><li><strong>Task Automation:</strong> Shell scripts are adept at eliminating repetitive tasks, thereby enhancing efficiency and productivity.</li><li><strong>Error Reduction: </strong>Utilizing well-crafted scripts can significantly diminish the likelihood of errors compared to manual execution.</li><li><strong>Speed:</strong> Shell scripts can execute tasks faster than manual intervention, making them particularly advantageous for tasks requiring swift completion.</li><li><strong>Occasional but Recurring Tasks:</strong> Even for tasks that are infrequent but recur periodically, using a shell script can save time and effort over the long term.</li></ol><p><strong>What are the advantages of utilizing Shell scripting?</strong></p><p>Shell scripting offers numerous benefits, including:</p><ol><li><strong>Rapid Deployment:</strong> Shell scripting facilitates swift deployment of tasks or processes.</li><li><strong>Abstraction from Low-Level Programming:</strong> Users need not concern themselves with low-level programming objects, simplifying the scripting process.</li><li><strong>Ease of Learning and Use: </strong>Shell scripting is known for its ease of learning and quick mastery, enabling users to get up to speed swiftly.</li><li><strong>Enhanced Performance and Efficiency:</strong> Shell scripts are optimized for performance, contributing to enhanced efficiency in executing tasks.</li><li><strong>Automation of Command Line Operations: </strong>Anything achievable through the command line interface can be automated through shell scripting, offering significant automation capabilities.</li><li><strong>Streamlining of Tedious Tasks:</strong> Shell scripts excel at automating repetitive or tedious tasks, reducing manual effort and potential errors.</li><li><strong>Delegation of Work: </strong>Shell scripts enable the delegation of tasks, allowing users to hand off work to others with clear instructions encapsulated in the script.</li><li><strong>Documentation: </strong>Shell scripts can act as a form of documentation, outlining the steps required to execute specific tasks or processes.</li><li><strong>Quick and Easy Development: </strong>Shell scripts are relatively quick and straightforward to write, offering a rapid development cycle for automating tasks or processes.</li></ol><p><strong>HELLO WORLD DEMO</strong></p><p>→ Create a file with helloworld.sh</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*hUnL-J_0yzYxDW8VtnmgZw.png" /></figure><p>→ Put the echo command for printing Hello World</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/448/1*nThne8lKnb8tDFkvRrZ2sg.png" /></figure><p>→ Check if the file has permission to execute or not</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/805/1*t2HcC919wbnTd1WZ61poXA.png" /></figure><p>→ Change the permission for the file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*ll595pbgu-vOtaoET2Qtkg.png" /></figure><p>→ Check the file permission again</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*f2c3ZK0OYGK9yqp4H_x6rA.png" /></figure><p>→ Execute the file with format: ./&lt;file name&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*d7bWcKdRmF5gohwuSNB7rA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bgxUYLPoXoTg4nGsmjW7JQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bfad1c6b44d1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS EC2 Instance Purchasing Options: On-Demand, Savings Plan]]></title>
            <link>https://medium.com/@iamsudipta/aws-ec2-instance-purchasing-options-on-demand-savings-plan-e5abc0daff50?source=rss-e6879f39ed22------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5abc0daff50</guid>
            <category><![CDATA[aws-ec2]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[ec2-instance-type-pricing]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[cloud]]></category>
            <dc:creator><![CDATA[Sudipta Pati]]></dc:creator>
            <pubDate>Sat, 13 Jan 2024 05:23:21 GMT</pubDate>
            <atom:updated>2024-01-13T05:23:21.236Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3a73qNZh0EUMwYnW4bZD1g.png" /></figure><p>It’s Tuesday morning at 10 AM. Sudipta came to Pooja’s desk looking for her. Fortunately, Pooja was there.</p><p><strong>Sudipta:</strong> Hi Pooja, good morning. So early today.</p><p><strong>Pooja:</strong> Hi Sudipta, good morning. Yes, I am having some issues with my laptop, so I came early to check with the laptop support team to fix the issue. But why are you so early today?</p><p><strong>Sudipta: </strong>Actually, our TL has organized a team lunch today, and after that, I need to go out for some work, so I came early thinking to complete today’s training before that.</p><p><strong>Pooja: </strong>That sounds great. Just give me ten minutes. I will quickly hand over my laptop to the support and meet you in the training room.</p><p><strong>Sudipta: </strong>Okay, sure. I will wait for you there</p><p>After 20 minutes, Pooja entered the training room.</p><p><strong>Pooja: </strong>Hey Sudipta, sorry for being late. I needed to explain the issue to them.</p><p><strong>Sudipta:</strong> No problem. So, what topic are we going to discuss today?</p><p><strong>Pooja: </strong>Today we will see the different purchasing options for EC2. So AWS offers you different purchasing options to enable you to optimize your costs based on your needs. Let’s discuss them one by one.</p><h4>On-Demand Instances</h4><ul><li>Here, you are going to pay for what you use.</li><li>If you’re using Linux or Windows instances, you’ll be billed per second after the first minute. For other operating systems, billing is per hour.</li><li>These instances have the highest cost but no upfront payments. Also, there is no long-term commitment required when you purchase these instances.</li><li>You have full control over the instance’s lifecycle — you decide when to launch, stop, hibernate, start, reboot, or terminate it.</li><li>AWS recommends using these instances for applications with short-term, irregular workloads that cannot be interrupted.</li><li>On-demand instances free you from the cost and complexities of planning, purchasing, and maintaining hardware.</li></ul><p><strong>Sudipta: </strong>Got it.</p><p><strong>Pooja:</strong> So the instances we have used during our practical sessions are on-demand instances. Next is Savings Plans.</p><h4>Savings Plans</h4><ul><li>Savings Plans offer a flexible pricing model that provides savings on AWS usage, allowing you to save up to 72% on your AWS compute workloads. For EC2 instances, there are Compute Savings Plans and EC2 Savings Plans.</li><li>Compute Savings Plans provide maximum flexibility with prices up to 66% off On-Demand rates. These plans automatically apply to your EC2 instance usage, covering various factors such as instance family, size, region, operating system, and also apply to Fargate and Lambda usage.</li><li>EC2 Instance Savings Plans offer savings up to 72% off On-Demand rates, requiring a commitment to a specific instance family in a selected AWS Region. These plans automatically apply to usage within the specified family, regardless of size, operating system, or tenancy.</li><li>With Compute Savings Plans, you have the flexibility to shift your workload between instance types (e.g., from C5 to M5), change your usage region (e.g., from EU (Ireland) to EU (London)), or migrate your application from Amazon EC2 to Amazon ECS using Fargate at any time. However, it’s important to note that any usage beyond the savings plan will be billed at the on-demand price.</li><li>When it comes to an EC2 Instance Savings Plan, you can modify your instance size within the same family (e.g., from c5.xlarge to c5.2xlarge) or change the operating system (e.g., from Windows to Linux). Additionally, you can transition from Dedicated tenancy to Default while still benefiting from the discounted rate provided by your EC2 Instance Savings Plan. Usage beyond the savings plan will also be charged at the on-demand price.</li></ul><p><strong>How to Enable a Savings Plan</strong></p><ul><li>To enable a Savings Plan, log in to your console, navigate to the EC2 service page, and click on <strong>Savings Plan</strong> from the left side menus.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/272/1*0B5gpJfqHVFDgFrEUZ98cA.png" /></figure><ul><li>Once on the Savings Plan page, click on <strong>Purchase Savings Plans</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*82teBDde1qw6dK9vBF6CGw.png" /></figure><ul><li>Now click on <strong>Purchase a Savings Plan</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/1*6rK-uKKOQ7DQAuGB4aMtHg.png" /></figure><ul><li>Next, select the Savings Plans type and commitment term.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N2Hr2xPj4CpzRVynXExTDw.png" /></figure><ul><li>For example, choose EC2 Instance Savings Plans and a 1-year term. Then, specify the region and instance.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SZHpagsIWUsAlTtYr4EMYQ.png" /></figure><ul><li>In the purchase commitment section, enter the hourly commitment amount and choose the payment option.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lnzyP3ja_8ocTgt4YMr_NA.png" /></figure><p>Explore the payment options, which include:</p><ul><li><strong>All upfront: </strong>With the All Upfront payment option, you pay for the entire term of your Savings Plan upfront, resulting in the highest discount compared to on-demand pricing. This option is ideal for organizations that have the budget available to make a significant upfront payment in exchange for maximum cost savings.</li><li><strong>Partial upfront: </strong>The Partial Upfront payment option allows you to pay a portion of your Savings Plan upfront and the remaining balance on a monthly basis. This option provides a balance between upfront commitment and ongoing flexibility, with a lower discount compared to the All Upfront option.</li><li><strong>No upfront: </strong>With the No Upfront payment option, you pay for your Savings Plan on a monthly basis, with no upfront payment required. This option provides the lowest discount compared to on-demand pricing but offers the greatest flexibility for organizations with limited budgets or uncertain future usage requirements.</li></ul><p>To determine the amount you need to add in the hourly commitment section, click here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*XXgtextK6tdO8DnAekE3lQ.png" /></figure><p>You will be directed to the following page:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yX5gE9WKoa_Ud6v0mwT-EA.png" /></figure><p>On this page, enter the details based on your planned purchase of the Savings Plan. Once you input the details, it will display the charges as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d8nCrBBnCSj5vMgCRVXXqw.png" /></figure><p>As you can see, there is a comparison between the Savings Plan rate and the on-demand rate. Enter the amount accordingly, depending on your usage and considering the provided information.</p><p>Suddenly, there was a knock at the door. It was Arun, Sudipta’s colleague. He came to call her so that they could leave for the place where their TL has arranged lunch. Sudipta asked Arun to wait in the lobby.</p><p><strong>Pooja:</strong> Let’s continue tomorrow with the rest of the purchasing options. Enjoy your team lunch.</p><p><strong>Sudipta:</strong> Thank you. Let’s meet tomorrow at our regular time and finish this topic.</p><p><strong>Pooja:</strong> Bye, have a good day.</p><p>Sudipta also said goodbye and left for her team lunch.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5abc0daff50" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Git: Bridging Paths in DevOps]]></title>
            <link>https://medium.com/@iamsudipta/git-bridging-paths-in-devops-faed3de7a693?source=rss-e6879f39ed22------2</link>
            <guid isPermaLink="false">https://medium.com/p/faed3de7a693</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[devops-practice]]></category>
            <dc:creator><![CDATA[Sudipta Pati]]></dc:creator>
            <pubDate>Thu, 28 Dec 2023 07:46:08 GMT</pubDate>
            <atom:updated>2023-12-28T07:46:08.153Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*acAFknJoYbI50Pfw5b31vQ.png" /></figure><h4>Definition, Types of VCS || Advantages of GIT</h4><p>In the IT industry, you’ll often hear about Source Code Management. Before understanding what it is, let’s grasp why it’s necessary. Understanding the ‘why’ makes it easier to comprehend the definition.</p><p>Imagine an e-commerce website like Mantra. Designing the entire website isn’t a one-person job. There are numerous employees working on various sections — some on login, some on the application page, and others on payment processing.</p><p>Initially, without such tools, everything was managed manually. An employee would write some code, send it manually to another, who’d merge it with theirs, and the process continued. It was tedious.</p><p>To reduce this, the team’s manager stepped in, asking everyone to send their code daily for merging and testing. But soon, tracking the backlog became an issue.</p><p>For these problems, <strong>Source Code Management (SCM)</strong> emerged. It saves different versions of developers’ code — each version representing a change. For instance, Employee1’s code today might be saved as file-v1.txt, and if they make more changes tomorrow, it becomes file-v1.1.txt.</p><h4><strong>Definition of SCM:</strong></h4><ul><li>Source Code Management (SCM) is the process of tracking and controlling changes made to a software project’s source code. It’s also known as Version Control System (VCS).</li></ul><h4><strong>Types of VCS:</strong></h4><p>There are two types of Version Control Systems (VCS): Centralized and Distributed.</p><p><strong>Centralized version control system (CVCS)</strong></p><p>· In CVCS, there’s a remote repository. An employee updates the code locally and then commits it to the remote repository.</p><p>· To check others’ updates, they fetch the source from the remote repository, make changes, and commit them back.</p><p>· However, CVCS requires an internet connection as it doesn’t support offline access.</p><p>· It’s slower due to constant communication with the remote server. Also, if the central server fails, data loss can occur.</p><p>· Common examples are Concurrent Versions System (CVS), Subversion (SVN), and Perforce.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/1*N2a7nrALtyzbfOd1nUCGsg.png" /></figure><p><strong>Distributed version control system (DVCS)</strong></p><p>· In a DVCS, every contributor maintains a local copy of the central repository. This means each contributor has their own repository containing all files and metadata present in the central repository.</p><p>· Changes are pushed to a branch and then to the central repository.</p><p>· DVCS can be challenging for beginners due to the need to remember multiple commands.</p><p>· Working on branches is simpler in DVCS compared to CVCS.</p><p>· DVCS functions offline as users have a complete repository copy on their local machine.</p><p>· It’s faster since users mostly interact with the local copy without accessing the central repository every time.</p><p>· If the DVCS server is down, developers can continue working using their local copies.</p><p>· <strong>Git</strong>, a distributed version control system, tracks changes in computer files and coordinates collaborative work. It’s free, open-source software originally developed by Linus Torvalds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/940/1*XYdDPb2G3OPU2xyHrHe_TA.png" /></figure><h4><strong>Advantages of Git</strong></h4><p>· Git is a free and open-source tool.</p><p>· It operates at impressive speeds since most Git operations occur on the local repository.</p><p>· Git maintains security through the cryptographic method SHA-1. It uses SHA1 (Secure Hash Function) to name and identify objects within its repository, ensuring the integrity of files and commits by verifying their checksum during checkout.</p><p>· It’s scalable, capable of handling increased user numbers effectively.</p><p>· The Git branching model allows multiple independent local branches.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/514/1*jA5naMu0ISh11nAlIUg5Fg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=faed3de7a693" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Demystifying AWS: Creating and Accessing Windows EC2 Instances]]></title>
            <link>https://medium.com/@iamsudipta/demystifying-aws-creating-and-accessing-windows-ec2-instances-24a3c46de303?source=rss-e6879f39ed22------2</link>
            <guid isPermaLink="false">https://medium.com/p/24a3c46de303</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws-ec2]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[ec2]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Sudipta Pati]]></dc:creator>
            <pubDate>Tue, 21 Nov 2023 17:38:01 GMT</pubDate>
            <atom:updated>2023-11-21T17:38:01.285Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O_i6YIn5StS-5SV2VYS_Yg.png" /></figure><p>On a Monday morning at 11 AM, Pooja was waiting for Sudipta in the training room. She received a message on her MS Teams chat — it was Sudipta.</p><p><strong>Sudipta:</strong> Hi Pooja. Calling you.</p><p>Just as Pooja finished reading the message, her Teams app rang — it was Sudipta calling her.</p><p><strong>Sudipta: </strong>Hey Pooja, Good Morning.</p><p><strong>Pooja:</strong> Hi Sudipta, Good Morning. You haven’t arrived at the office yet?</p><p><strong>Sudipta:</strong> No, Pooja. That’s why I called. I’m working from home today as I have some tasks post 12:30 PM.</p><p><strong>Pooja:</strong> Ah, I see. Let’s start the training quickly then.</p><p><strong>Sudipta:</strong> Sure.</p><p><strong>Pooja:</strong> In today’s session, we’ll launch another EC2 instance, but this time, the OS will be Windows.</p><p><strong>Sudipta: </strong>Alright. Let me log in quickly and navigate to the instance launch page.</p><p><strong>Pooja:</strong> Okay. Once you’re there, name the instance “Windows test instance,” then move to the AMI section.</p><p><strong>Sudipta:</strong> Got it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/948/1*QrZgc8Fpp_1_JH9_vv7OyA.png" /></figure><p>In the AMI section, which option should I choose?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/909/1*KHeAELHYhWZqyYCRof6cpg.png" /></figure><p><strong>Pooja:</strong> Click on the Windows option and keep the default server version since it’s within the free tier.</p><p>Let me explain what the AWS free tier is.</p><ul><li>The AWS Free Tier allows customers to explore and try out AWS services without charges, up to specified limits for each service.</li><li>It includes a 12-month Free Tier, an Always Free offer, and short-term trials.</li><li>Services with a 12-month Free Tier allow free usage for one year from the account activation date.</li><li>Always Free services offer usage up to specified limits as long as you’re an AWS customer.</li><li>Short-term trials are free for a specific period or up to a one-time limit.</li></ul><p><strong>Sudipta: </strong>Okay, I understand. The Windows Server 2022 version is displayed here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*SYbac5X4lacuPFd3u7vPRQ.png" /></figure><p><strong>Pooja:</strong> Keep it as is for now. Also, retain the instance type and select the same key pair used for our previous Linux instance.</p><p><strong>Sudipta: </strong>Understood. I’ve kept the instance type as t2.micro and selected the test-key as the key pair.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*VeIJ2KZT8-Q6RlxcFZIoXw.png" /></figure><p>Do I need to change anything in Network settings?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/937/1*s8XIbhdp6mTJNrc1nKHilg.png" /></figure><p><strong>Pooja:</strong> No, leave them as they are. Also, maintain the volume size as indicated.</p><p><strong>Sudipta:</strong> Alright, the volume size is set at 30 GiB. I’ve left it unchanged.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/937/1*NsYcQk5PPV2EB_uMALNl-w.png" /></figure><p><strong>Pooja:</strong> Perfect. No further alterations needed. Now, click on <strong>Launch Instance</strong>.</p><p><strong>Sudipta:</strong> Done. I’ve clicked on <strong>Launch Instance.</strong> It’s successfully launched now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/1*fdSQb5T5hgMIaecABEQNfg.png" /></figure><p><strong>Pooja:</strong> Excellent. Check if it has passed the status check.</p><p><strong>Sudipta: </strong>Yes, it shows 2/2 under status check.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qqwT9M_ZItuIQTl4jy48jQ.png" /></figure><p><strong>Pooja:</strong> Let’s connect to this server.</p><p><strong>Sudipta:</strong> Should I open PuTTY again for SSH?</p><p><strong>Pooja:</strong> For Windows, we use RDP. Let me explain.</p><ul><li>We connect to EC2 instances running Windows using Remote Desktop Protocol (RDP).</li><li>Remote Desktop enables connection and usage of your instance similar to a local computer, utilizing the Remote Desktop Protocol (RDP).</li><li>The Windows Server license allows for two simultaneous remote connections for administrative purposes.</li><li>The license for Windows Server is covered in the cost of your Windows instance.</li><li>If you need more than two simultaneous remote connections, you’ll need to acquire a Remote Desktop Services (RDS) license. An error will occur if you attempt a third connection.</li></ul><p><strong>Sudipta:</strong> Understood. Which application should I open to initiate RDP?</p><p><strong>Pooja: </strong>Search for <strong>Remote Desktop Connection</strong> in your search bar and open that application.</p><p><strong>Sudipta: </strong>Found it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*h7f__fPSzMcLnBAr3f6fXw.png" /></figure><p>Should I enter the public IP address there?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BMlsIWLEHyFL45LV87E1eQ.png" /></figure><p><strong>Pooja:</strong> Yes, enter the public IP address.</p><p><strong>Sudipta: </strong>Alright, I’ve entered the public IP address and clicked <strong>Connect</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/536/1*VVCclqC7rkv75QzlaY3KXA.png" /></figure><p>Now it’s asking for a <strong>Username </strong>and <strong>Password. </strong>Where do I find these?</p><p><strong>Pooja: </strong>On the console page, click on the <strong>Connect</strong> option</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hoZfvNpzGrW9D666_uQKuQ.png" /></figure><p><strong>Sudipta: </strong>Okay, I clicked on <strong>Connect</strong>, and now I see the following options:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1018/1*-R5vKO8ot7RF6xSEhqNhyA.png" /></figure><p><strong>Pooja: </strong>Now, select the RDP client option.</p><p><strong>Sudipta:</strong> Got it. I only see the username here. How do I get the password?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*h-PRZuexF-aYFfX3EbZfwQ.png" /></figure><p><strong>Pooja: </strong>Click on <strong>Get password </strong>now</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/930/1*RKpEGbL8bk-tHWY2kMjVFg.png" /></figure><p><strong>Sudipta:</strong> It’s asking me to upload a private key file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/972/1*bol0rYKk9W20d56nCulSJg.png" /></figure><p><strong>Pooja: </strong>Click on <strong>Upload private key file</strong> and choose <strong>test-key.pem</strong>.</p><p><strong>Sudipta: </strong>Done. Should I click on the <strong>decrypt password</strong> option?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3tjarkefkayijt1TIhpDkA.png" /></figure><p><strong>Pooja:</strong> Yes, go ahead. That will provide you with the password.</p><p><strong>Sudipta: </strong>Let me check. Yes, I’ve got the password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*ECNh1nrQVS_9jlgwtfYItQ.png" /></figure><p>Now, I’ll enter this username and password in the RDP window.</p><p><strong>Pooja: </strong>Yes, go ahead.</p><p><strong>Sudipta:</strong> Alright, I’ve entered the details and clicked <strong>OK</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/527/1*hk_D488vvyPI_wgGxRfmEA.png" /></figure><p>Now, it’s asking if I should click <strong>Yes</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/511/1*18KGj8IA8aX45nwxUDU_lg.png" /></figure><p><strong>Pooja: </strong>Yes, please go ahead.</p><p><strong>Sudipta: </strong>Okay, I’ve clicked <strong>Yes</strong>. Now I’m inside the server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HCv1nCj-lWc_LvIVmFnbQg.png" /></figure><p><strong>Pooja:</strong> Great, we’ve completed our next practical successfully.</p><p><strong>Sudipta:</strong> yeah.</p><p>Sudipta glanced at the time, noting it was 12:25 PM.</p><p><strong>Sudipta:</strong> Pooja, it’s 12:25 PM, and I need to leave. Can we end the session here?</p><p><strong>Pooja:</strong> Of course. You’ll be in the office tomorrow, right?</p><p><strong>Sudipta: </strong>Yes, I will.</p><p><strong>Pooja: </strong>Alright, let’s meet in the training room at our usual time tomorrow.</p><p><strong>Sudipta: </strong>Sure. Bye. Have a good day.</p><p><strong>Pooja:</strong> Don’t forget to stop your instance. You too, have a good day. Bye.</p><p><strong>Sudipta:</strong> Yes, I’ll stop it now.</p><p>Sudipta bid goodbye and disconnected the call.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=24a3c46de303" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Roadmap to Linux EC2 Instances: A Step-by-Step Guide]]></title>
            <link>https://medium.com/@iamsudipta/your-roadmap-to-linux-ec2-instances-a-step-by-step-guide-fd2cdb6b6ee6?source=rss-e6879f39ed22------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd2cdb6b6ee6</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-ec2]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[Sudipta Pati]]></dc:creator>
            <pubDate>Fri, 03 Nov 2023 11:10:26 GMT</pubDate>
            <atom:updated>2023-11-19T05:54:49.017Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dtVrxdwmi2Dh-ep6L5qvNg.png" /></figure><p>It was Friday morning at 11 AM, and Pooja had arrived in the training room, patiently waiting for Sudipta. Pooja had been waiting for the past 15 minutes. In an attempt to locate Sudipta, Pooja decided to call her. Just as she was about to make the call, Sudipta entered the training room.</p><p><strong>Sudipta: </strong>Hi Pooja, Good morning. I’m sorry I’m late today; I had some urgent work to attend to.</p><p><strong>Pooja:</strong> Hi Sudipta, Good morning. Is everything alright?</p><p><strong>Sudipta:</strong> Yes, everything is fine. I had some bank-related tasks to complete, which is why I got delayed. We can start the training now.</p><p><strong>Pooja: </strong>Great. So today, we will launch our first EC2 instance and discuss all the important terms step by step. Do you have an AWS account?</p><p><strong>Sudipta: </strong>Yes, I do.</p><p><strong>Pooja: </strong>Great, can you please log in to the console and navigate to the EC2 service page?</p><p><strong>Sudipta: </strong>Sure, I’ve logged into the console, and I’m on the EC2 service page now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G2brqaEtPQKKUZ7w10sMMQ.png" /></figure><p><strong>Pooja: </strong>You can see that the number of instances is currently showing as 0, which means we don’t have any instances in this region. Now, click on the <strong>Instances</strong> option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lpAeRYL76DqbIuFtfz6I7A.png" /></figure><p><strong>Sudipta:</strong> I’ve clicked on the <strong>Instances</strong> option, and it’s showing that we don’t have any instances in this region.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LQXuEBc0rkX7pyjqmjq22w.png" /></figure><p><strong>Pooja: </strong>The term <strong>region</strong> here refers to the fact that EC2 is a regional service. Now, click on <strong>Launch Instances</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pi6FfjOjMHJ0wQE5zVL5MA.png" /></figure><p><strong>Sudipta:</strong> I’ve clicked on that option, and now this page appears.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dAF0FftWxnoKGgE15AUUmA.png" /></figure><p><strong>Pooja:</strong> The first option you see here is <strong>Name and tags.</strong></p><p>Let’s discuss what a <strong>tag</strong> is.</p><ul><li>A tag is a label you assign to an AWS resource, allowing you to categorize your resources by various criteria, such as purpose, owner, or environment.</li><li>For example, if you’ve built servers for production and testing environments, using tags can help you identify which server belongs to which environment.</li><li>Each tag consists of a <strong><em>key</em></strong> and an optional <strong><em>value</em></strong>, both of which you define. In the case of our example, the key could be the environment and the value could be production or testing.</li><li>The maximum number of tags per resource is 50, and it’s important to note that tag keys and values are case-sensitive.</li></ul><p><strong>Sudipta:</strong> Got it.</p><p><strong>Pooja: </strong>Now, let’s give our instance a name, for example, ‘Linux-test-Instance.</p><p><strong>Sudipta: </strong>Sure, I’ve entered the name. What’s next?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BeuM4eB6m8Kw7ASfSJIcjA.png" /></figure><p><strong>Pooja:</strong> Now click on <strong>Add additional tags</strong>. Let’s add one more tag for our instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AeqvHm2TRIs4iVt_ZiKEhA.png" /></figure><p><strong>Sudipta: </strong>Okay, I’ve done that. Here’s what I see.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GJXhUZHrLb6x0-gjqZFfCQ.png" /></figure><p><strong>Pooja: </strong>As I mentioned earlier, each tag consists of a key-value pair. You can see for the Name tag, the key is <strong>Name</strong> and the value is <strong>Linux-text-Instance</strong>. Now, click on <strong>Add new tag</strong> and enter the key name as <strong>Environment</strong> and the value as <strong>testing</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WI4dg2MlHzvZszT7nQjQ2g.png" /></figure><p><strong>Sudipta: </strong>Done.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TN-glwhy3gU_JadnB_DqLw.png" /></figure><p><strong>Pooja: </strong>Great. The next section is <strong>Application and OS Images </strong>which we collectively refer to as an <strong>Amazon Machine Image (AMI)</strong>.</p><p>What is <strong>AMI</strong>?</p><ul><li>An <strong>AMI </strong>is a supported and maintained image provided by AWS, containing the information required to launch an instance.</li><li>It includes software configuration, such as the operating system, application server, and applications required for your instance.</li><li>An AMI may contain one or more Amazon Elastic Block Store (Amazon EBS) snapshots or a template for the root volume of the instance.</li><li>AMIs also have launch permissions that control which AWS accounts can use them to launch instances.</li><li>Additionally, they include a block device mapping that specifies the volumes to attach when the instance is launched.</li><li>The AMI catalog is organized into the following categories:</li></ul><ol><li><strong>Quick Start AMIs:- </strong>A selection of popular AMIs grouped by OS to help you get started quickly.</li><li><strong>My AMIs:- </strong>Private AMIs you’ve created or those shared with you by other AWS accounts.</li><li><strong>AWS Marketplace AMIs:- </strong>Publicly available AMIs published by AWS or trusted third parties.</li><li><strong>Community AMIs:- </strong>Publicly available AMIs published by AWS account holders.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mhFGv4Psxa_qLJkwV7eJ4Q.png" /></figure><p>From the AMI information, we can identify that the operating system is Amazon Linux, and the root device is EBS. Each AMI is distinguished by a unique AMI ID. There are different AMI IDs for x86 and arm processors.</p><p><strong>Sudipta: </strong>I see, but what does Virtualization: hvm mean?</p><p><strong>Pooja: </strong>Good question. Let me explain.</p><ul><li>AWS AMIs use the Xen hypervisor on bare metal, which offers two kinds of virtualization: HVM (Hardware Virtual Machine) and PV (Paravirtualization).</li><li><strong>HVM</strong> uses the advantages provided by modern hardware and doesn’t require any custom kernel or patches. HVM is generally faster for certain workloads.</li><li><strong>PV</strong> used to be the recommended choice because it offered better performance, with closer integration between the virtualization host and the guest through specialized kernels/drivers on both the host and guest.</li><li>However, the main differences between PV and HVM AMIs are in how they boot and their ability to take advantage of special hardware extensions (CPU, network, and storage) for improved performance.</li><li>HVM AMIs are fully virtualized and boot by executing the master boot record of the root block device of your image. This virtualization type allows running an operating system directly on a virtual machine without any modification, as if it were on bare-metal hardware. The Amazon EC2 host system emulates some or all of the underlying hardware for the guest.</li><li>PV AMIs boot with a special boot loader called PV-GRUB, which initiates the boot cycle and then chain-loads the kernel specified in the menu.lst file on your image. While PV guests can run on host hardware without explicit support for virtualization, they cannot take advantage of special hardware extensions such as enhanced networking or GPU processing. Historically, PV guests had better performance than HVM guests, but that’s no longer true due to enhancements in HVM virtualization and the availability of PV drivers for HVM AMIs.</li><li>HVM guests can leverage hardware extensions for fast access to the underlying host hardware, while PV guests cannot use special hardware extensions like enhanced networking or GPU processing. All current generation instance types support HVM AMIs, while the previous generation instance types (C1, C3, M1, M3, M2, and T1) support PV AMIs, but the current generation does not.</li></ul><p><strong>Sudipta: </strong>I see, that clarifies it. Pooja, you mentioned AMI catalogs like Quick Start AMIs and My AMIs, but I can only see Quick Start AMIs on this page. Where can I find the other options?</p><p><strong>Pooja: </strong>That’s a great question. To access the other options, you need to click on <strong>Browse more AMIs.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tDhqZovlXYY4qyglmm7Sww.png" /></figure><p><strong>Sudipta: </strong>I see them now. Thanks!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*o8l2oNzeUPhihfuEEj2yEw.png" /></figure><p><strong>Pooja: </strong>Great. Now go back to the launch instance page and keep the settings as they are.</p><p><strong>Sudipta:</strong> Okay.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VCi4KDcIIBFBnz1r389m2Q.png" /></figure><p><strong>Pooja:</strong> The next option is the <strong>Instance type</strong>. Since this is a demo, you can keep the default t2.micro instance type.</p><p><strong>Sudipta: </strong>I’ll keep t2.micro as it is.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pQXWgBspT1WW9fh4sapUzw.png" /></figure><p><strong>Pooja:</strong> Now, let’s discuss the <strong>Key pair</strong>.</p><ul><li>A <strong>key pair</strong>, consisting of a public key and a private key, is used to prove your identity when connecting to an Amazon EC2 instance.</li><li>The public key is used to encrypt data, while the private key is used to decrypt it.</li><li>Amazon EC2 stores the public key on your instance, and you store the private key.</li><li>It’s crucial to keep the private key secure because anyone with access to it can connect to your instances.</li><li>You can have up to 5,000 key pairs per Region.</li></ul><p>For our first instance, we’ll create a new key pair. Click on <strong>Create new key pair</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bdqBVVtFTNsLyCxg9QOzuw.png" /></figure><p><strong>Sudipta: </strong>I’ve clicked on that option, and this is what I see.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*J0sX8a2-ufIb-zI_xPAV5w.png" /></figure><p><strong>Pooja:</strong> EC2 supports ED25519 and 2048-bit SSH-2 RSA keys. You’ll have two formats for the private key file: <strong>.pem</strong> and <strong>.ppk</strong>. For now, select the .pem option and give the key pair the name test-key.</p><p><strong>Sudipta:</strong> Sure, I’ve entered the name and clicked on ‘Create key pair.’ It’s downloaded</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*e5HNRr6DRDsIL9wydOl74w.png" /></figure><p><strong>Pooja: </strong>Keep that file for now; we’ll need it when we access the system.</p><p><strong>Sudipta: </strong>Sure. what’s next?</p><p><strong>Pooja: </strong>Next is the <strong>Network Settings</strong>. Just keep them as they are for now; we’ll discuss these terms and their importance later.</p><p><strong>Sudipta:</strong> Okay, I’ve kept them as they are.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n7Pc7f0ds7Dn-cASJIedog.png" /></figure><p><strong>Pooja: </strong>Now, let’s move on to the <strong>Storage</strong> option. You can also keep the default settings for now.</p><p><strong>Sudipta: </strong>Sure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/1*2NYKEXR9-37rpYH32JzS6g.png" /></figure><p>Do I need to make any changes to the <strong>Advanced details?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*MKyHKBjjJUY5QTvACMSoKQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*kl41At_Y1SD4dpjtPrY8iw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*IOnyKtNDrV285LoBtuvidw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AbjtsMkATQeANvzxL1dWBg.png" /></figure><p><strong>Pooja: </strong>No need to make changes in the <strong>Advanced details</strong> for now. Just keep them as they are. Now, click on <strong>Launch instance.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ChXX-uPSZ8iHePsQOKNbJQ.png" /></figure><p><strong>Sudipta: </strong>Got it. I’ve clicked on <strong>Launch instance</strong>. This is what I see now:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uEof8j28gykN_28nPk4vCQ.png" /></figure><p><strong>Pooja: </strong>Okay, now click on the instance ID that starts with <strong>i-.</strong></p><p><strong>Sudipta: </strong>I’ve selected the instance. What do I do next?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9-ZmBYtmQRPH5feKvznOEw.png" /></figure><p><strong>=================================</strong></p><p><strong>Pooja:</strong> You can see that the status check is currently “initializing.” Let it complete and show “2/2.”</p><p><strong>Sudipta:</strong> What does “2/2” mean, and the status check now shows “2/2” for this instance?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GveDAc4klnGhwEDNEPKvHA.png" /></figure><p><strong>Pooja: </strong>Great, let me explain. To detect problems with your EC2 instance, you need to monitor its status. Amazon EC2 performs automated checks on every running instance to identify hardware and software issues. These checks are performed every minute and return a “pass” or “fail” status. If all checks pass, the overall status of the instance is “OK.” If one or more checks fail, the overall status is “impaired.”</p><ul><li>Status checks are built into Amazon EC2, so they cannot be disabled or deleted.</li><li>There are two types of status checks: System status checks and Instance status checks.</li></ul><h4>System Status Checks</h4><ul><li>System status checks monitor the AWS systems on which your instance runs.</li><li>These checks identify underlying problems that require AWS involvement to repair.</li><li>When a system status check fails, you can choose to wait for AWS to fix the issue or resolve it yourself.</li><li>For instances backed by Amazon EBS, you can stop and start the instance, which often results in the instance being migrated to a new host.</li><li>For Linux instances backed by instance store, you can terminate and replace the instance.</li><li>Reasons for system status check failures include loss of network connectivity, loss of system power, software issues on the physical host, and hardware issues on the physical host that affect network reachability.</li></ul><h4>Instance Status Checks</h4><ul><li>Instance status checks, on the other hand, monitor the software and network configuration of your individual instance.</li><li>Amazon EC2 checks the health of the instance by sending an address resolution protocol (ARP) request to the network interface (NIC).</li><li>These checks detect problems that typically require your involvement to resolve.</li><li>If an instance status check fails, you generally need to address the problem yourself, such as by rebooting the instance or making instance configuration changes.</li><li>Reasons for instance status check failures can include failed system status checks, incorrect networking or startup configuration, exhausted memory, corrupted file systems, and incompatible kernels.</li></ul><p><strong>Sudipta: </strong>I see. So, how can I view these status checks?</p><p><strong>Pooja: </strong>To view these status checks, select the instance and click on the <strong>Status Check </strong>column.</p><p><strong>Sudipta:</strong> I see, thanks for explaining. I can see both the status checks now. What’s next?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*luJEd8GDoyOmOYVbAc39Nw.png" /></figure><p><strong>Pooja:</strong> Let’s try to connect to the instance. To connect to any Linux instance, we’ll use SSH. For this, we need to convert the .pem file to .ppk. Now, open PuTTYgen</p><p><strong>Sudipta: </strong>Okay, I’ve opened PuTTYgen. What’s next?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*1HByXW6-g87AbtBSh4Qzzw.png" /></figure><p><strong>Pooja:</strong> Now, click on <strong>Load</strong> and select our key, which is test-key.pem .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*A0w8_CGjrCSRKVs2rne9bw.png" /></figure><p><strong>Sudipta: </strong>I’ve done that, and something like this is showing:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*QU259oI5Yaj5Hj--8NpkZA.png" /></figure><p><strong>Pooja:</strong> Perfect. Now, click on <strong>Save private key.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*IbSOu7J4DiN-LBci_H8UzA.png" /></figure><p><strong>Sudipta:</strong> I’ve saved it with the same name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/742/1*-WhZi84FiOz3e8IwlmLumQ.png" /></figure><p><strong>Pooja:</strong> Now, open the PuTTY application.</p><p><strong>Sudipta:</strong> I’ve opened PuTTY. What do I do next?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*tJ25GLmkoiK-tJow0wIPkQ.png" /></figure><p><strong>Pooja:</strong> Copy the public IP of your instance and paste it under <strong>Host Name</strong>.</p><p><strong>Sudipta:</strong> Okay, I’ve copied the address and pasted it. What should I do next?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*kZ2gVeD-KaO9EOt1iYNCOA.png" /></figure><p><strong>Pooja:</strong> Now, click on <strong>SSH.</strong></p><p><strong>Sudipta: </strong>Which option should I choose next?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*uasUJOY4GBuSd_7ME_Uj8w.png" /></figure><p><strong>Pooja: </strong>First, click on <strong>Auth</strong>, and then click on <strong>Credentials</strong>.</p><p><strong>Sudipta: </strong>Sure, I’ve done that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*yKrAxxsyu1YzeZKevT-DgQ.png" /></figure><p><strong>Pooja: </strong>The first option is for the private key file. Click on <strong>Browse</strong> and select the .ppk file we saved earlier.</p><p><strong>Sudipta:</strong> I’ve selected the .ppk file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/676/1*iMzg15Cn7eXvEI9gc8PdXA.png" /></figure><p>Clicked <strong>Open</strong>. This screen has popped up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/985/1*QEGQGvol7aYk9xXW4dz7fQ.png" /></figure><p><strong>Pooja: </strong>Click on <strong>Accept</strong>. It will now ask for the username. Enter <strong>ec2-user</strong>.</p><p><strong>Sudipta:</strong> Got it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/537/1*TlWxgFj3qGU69xRRkBSNpw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/973/1*AE_2Wal2O-elwIOGmAXyww.png" /></figure><p><strong>Pooja: </strong>Great! You’re in. That’s it for today’s session. Tomorrow, we’ll meet at the same time and complete another practical. For now, stop the instance to avoid AWS charges if it remains in a running state.</p><p><strong>Sudipta: </strong>Okay, how do I do that?</p><p><strong>Pooja: </strong>Select the instance in the console and click on <strong>Instance state</strong>.</p><p><strong>Sudipta: </strong>Alright. Now which option should I choose?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EYqk9cK__vcPaYzYJRnlUQ.png" /></figure><p><strong>Pooja: </strong>Select <strong>Stop instance</strong>. We’ll discuss Instance State in later sessions.</p><p><strong>Sudipta: </strong>Okay, it’s in a stopped state now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bN7QdVUIvttSVE_z5Z305w.png" /></figure><p><strong>Pooja: </strong>Excellent. Goodbye for now, and see you tomorrow.</p><p><strong>Sudipta: </strong>Same here, goodbye!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd2cdb6b6ee6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HPC Optimized Instance Type]]></title>
            <link>https://medium.com/@iamsudipta/hpc-optimized-instance-type-5a7393fad7e5?source=rss-e6879f39ed22------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a7393fad7e5</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[cloud-services]]></category>
            <category><![CDATA[aws-ec2]]></category>
            <dc:creator><![CDATA[Sudipta Pati]]></dc:creator>
            <pubDate>Thu, 28 Sep 2023 15:25:24 GMT</pubDate>
            <atom:updated>2023-11-18T16:45:26.443Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wwnWY-KdETAu27PhWpas_w.png" /></figure><p>Thursday, a sunny morning at 11:00 AM, Sudipta and Pooja gathered in the meeting room as scheduled.</p><p><strong>Sudipta: </strong>Hi Pooja. Good Morning.</p><p><strong>Pooja: </strong>Hi Sudipta. Good morning. Today, we’ll discuss the last instance type, HPC Optimized.</p><p><strong>Sudipta:</strong> Finally, the instance type is coming to an end.</p><p><strong>Pooja: </strong>Then, what are we waiting for? Let’s start.</p><ul><li>HPC stands for High-Performance Computing.</li><li>HPC Optimized instances are purpose-built for the best price performance for running HPC workloads at scale on AWS.</li><li>They’re ideal for tasks like complex simulations and deep learning.</li></ul><p>Pooja continued, There are 4 instances in this list: Hpc6a, Hpc6id, Hpc7a, Hpc7g. Let’s discuss them one by one.</p><h4>Hpc6a Instances</h4><ul><li>HPC6a instances feature third-generation AMD EPYC processors (AMD EPYC 7R13) with speeds of up to 3.6 GHz.</li><li>They’re optimized for tightly coupled, compute-intensive high-performance computing (HPC) workloads, offering cost-efficient performance.</li><li>Ideal for computational fluid dynamics, molecular dynamics, and weather forecasting, they boast improved network throughput and packet-rate performance.</li><li>Elastic Fabric Adapter (EFA) enables network bandwidth speeds of up to 100 Gbps, while simultaneous multithreading is disabled for performance optimization.</li><li>There’s only one instance size available.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nPX1zKoHeNX4a3-RICvt5w.png" /></figure><h4>Hpc6id Instances</h4><ul><li>HPC6id instances are powered by Intel Xeon Scalable processors, boasting a 3.5 GHz all-core turbo frequency, 64 cores, 5 GB/s per vCPU of memory bandwidth, and 1024 GiB of memory.</li><li>Designed for memory-bound and data-intensive HPC workloads, like finite element analysis, seismic reservoir simulations, and structural simulations.</li><li>EFA provides inter-node network bandwidth speeds of up to 200 Gbps.</li><li>Simultaneous multithreading is disabled, and there’s just one instance size.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zzhvo7JqaVXXDG3u094RDw.png" /></figure><h4>Hpc7a Instances</h4><ul><li>HPC7a instances shine with 4th Gen AMD EPYC processors, offering 192 cores and 768 GiB of memory (AMD EPYC 9R14).</li><li>Ideal for tightly coupled, compute-intensive HPC workloads such as computational fluid dynamics, weather forecasting, and multiphysics simulations.</li><li>They deliver 2.5x better performance compared to HPC6a instances and offer 300 Gbps EFA network bandwidth.</li><li>Hpc7a instances feature Double Data Rate 5 (DDR5) memory, which provides 50% higher memory bandwidth compared to DDR4 memory to enable high-speed access to data in memory.</li><li>Multiple sizes are available:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AcoNJHewHz0JpXEJSUYDKA.png" /></figure><h4>Hpc7g Instances</h4><ul><li>HPC7g Instances offer exceptional price performance for high-performance computing (HPC) workloads on AWS, boasting up to 70% improved performance and nearly 3x better price performance compared to earlier Graviton-based instances for compute-intensive tasks.</li><li>These instances feature Up to 64 cores of Graviton3E processors with 128 GiB of memory, designed for compute-intensive HPC workloads like CFD, weather forecasting, and molecular dynamics.</li><li>They also support Elastic Fabric Adapter (EFA) for network bandwidth speeds up to 200 Gbps, enhancing network-intensive applications’ performance.</li><li>Multiple sizes are available:-</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S4CWpLDv6Fsh0hGMbWsCkQ.png" /></figure><p>That wraps up the HPC optimized instance types.</p><p><strong>Sudipta: </strong>Which instances utilize Nitro systems here?</p><p><strong>Pooja: </strong>All instances here run on AWS Nitro System. Let’s summarize.</p><ul><li><strong>Hpc — High-performance computing</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/1*hMcj1CQcC6tUGuuB_aRv9Q.png" /></figure><p>With that, we’ve covered all EC2 instance types. Let’s conclude today’s session. See you tomorrow at the same time to discuss more EC2 features and advantages.</p><p><strong>Sudipta: </strong>Absolutely.</p><p>Sudipta and Pooja bid farewell and returned to their desks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/514/1*jA5naMu0ISh11nAlIUg5Fg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a7393fad7e5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Accelerated Computing Instance Type]]></title>
            <link>https://medium.com/@iamsudipta/accelerated-computing-instance-type-98add65ee8a5?source=rss-e6879f39ed22------2</link>
            <guid isPermaLink="false">https://medium.com/p/98add65ee8a5</guid>
            <category><![CDATA[aws-ec2]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[cloud-services]]></category>
            <category><![CDATA[cloud]]></category>
            <dc:creator><![CDATA[Sudipta Pati]]></dc:creator>
            <pubDate>Tue, 19 Sep 2023 16:29:54 GMT</pubDate>
            <atom:updated>2023-11-18T16:42:50.876Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J0pZ2EUoeS7M2hc5RfriDg.png" /></figure><p>Wednesday at 10:30 AM, the rain was pouring outside. Sudipta sat in the training room, wondering where Pooja was. Just then, her phone rang, and it was Pooja on the line.</p><p><strong>Sudipta: </strong>Hi Pooja, where are you? I’ve been waiting for you in the training room.</p><p><strong>Pooja:</strong> Hi Sudipta. I’m working from home today due to the heavy rain, and there’s no reliable communication available.</p><p><strong>Sudipta:</strong> Oh, I managed to reach the office before the rain started. Should we proceed with the training through Teams?</p><p><strong>Pooja: </strong>Yes, let’s do that. I’ll call you on Teams in a moment.</p><p><strong>Sudipta: </strong>Sure.</p><p>After about 15 minutes, Pooja initiated the Teams call.</p><p><strong>Sudipta: </strong>Hey Pooja.</p><p><strong>Pooja:</strong> Hi Sudipta, let’s get started. Today, we’re going to discuss Accelerated Computing Instance types.</p><p><strong>Sudipta:</strong> Sounds interesting, Pooja. What exactly are Accelerated Computing Instances designed for?</p><p><strong>Pooja:</strong> Great question.</p><ul><li>These instances are tailor-made for applications that demand high processing power.</li><li>They leverage hardware accelerators, or co-processors, to execute tasks like floating-point calculations, graphics processing, or data pattern matching far more efficiently than software running on standard CPUs.</li></ul><p><strong>Sudipta: </strong>I see. And what series are available for these instances?</p><p><strong>Pooja:</strong> You’ll find the P and G series. Additionally, there are some specialized ones like Inf1, Inf2, DL1, Trn1, F1, and VT1.</p><p><strong>Sudipta:</strong> That’s quite a variety. Where should we start?</p><p><strong>Pooja:</strong> Let’s begin with the P series. Within this series, you’ll come across P2, P3, P4, and P5 instances.</p><h4>P2 Instances</h4><ul><li>P2 instances are designed to excel in general-purpose GPU compute applications.</li><li>They harness the power of High-Frequency Intel Xeon Scalable Processors (Broadwell E5–2686 v4), paired with high-performance NVIDIA K80 GPUs. Each K80 GPU boasts an impressive 2,496 parallel processing cores and a substantial 12GiB of GPU memory.</li><li>These instances provide robust support for GPUDirect™, enabling peer-to-peer GPU communications.</li><li>Furthermore, they offer Enhanced Networking capabilities through Elastic Network Adapter (ENA), boasting an aggregate network bandwidth of up to 25 Gbps within a Placement Group. EBS optimization comes as a default feature at no extra cost.</li><li>Available sizes:-</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pCZvWmmorZ9yNlG1PwiEuQ.png" /></figure><h4>P3 Instances</h4><ul><li>These instances offer high-performance computing in the cloud, featuring up to 8 NVIDIA® V100 Tensor Core GPUs, each equipped with 5,120 CUDA Cores and 640 Tensor Cores.</li><li>Additionally, they provide a remarkable 100 Gbps of network throughput, catering to machine learning and high-performance computing applications.</li><li>The p3.2xlarge, p3.8xlarge, and p3.16xlarge instances are powered by the High-frequency Intel Xeon Scalable Processor (Broadwell E5–2686 v4). However, the p3dn.24xlarge instance is driven by the High-frequency 2.5 GHz (base) Intel Xeon Scalable Processor (Skylake 8175).</li><li>These instances deliver an impressive one petaflop of mixed-precision performance per instance, significantly accelerating machine learning and high-performance computing applications. Also, they have proven to reduce machine learning training times from days to minutes and increase the number of simulations completed for high-performance computing by 3–4 times.</li><li>Furthermore, these instances support NVLink for peer-to-peer GPU communication and provide up to 100 Gbps of aggregate network bandwidth.</li><li>Notably, the p3dn.24xlarge instance supports EFA (Elastic Fabric Adapter).</li><li>Available instance sizes include:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fvqgn4q1EqRMSM0mEJsb1Q.png" /></figure><h4>P4 Instances</h4><ul><li>P4 instances deliver high performance for machine learning training and high-performance computing in the cloud.</li><li>They are powered by 3.0 GHz 2nd Generation Intel Xeon Scalable processors (Cascade Lake P-8275CL) and can accommodate up to 8 NVIDIA A100 Tensor Core GPUs.</li><li>These instances offer an impressive 400 Gbps of instance networking and support both Elastic Fabric Adapter (EFA) and NVIDIA GPUDirect RDMA (Remote Direct Memory Access).</li><li>Additionally, they facilitate lightning-fast peer-to-peer GPU communication at 600 GB/s with NVIDIA NVSwitch.</li><li>These instances are deployed in Amazon EC2 UltraClusters, which consist of over 4,000 NVIDIA A100 Tensor Core GPUs. These clusters are equipped with petabit-scale networking and scalable low-latency storage using Amazon FSx for Lustre.</li><li>Available instance sizes:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zmnaF3Z_0dTFGswmNwq3Xw.png" /></figure><h4>P5 Instances</h4><ul><li>P5 Instances represent the latest generation of GPU-based instances and deliver the highest performance available in Amazon EC2 for deep learning and high-performance computing (HPC).</li><li>These instances can be configured with up to 8 NVIDIA H100 GPUs, offering a total of up to 640 GB HBM3 GPU memory per instance. They are powered by 3rd Gen AMD EPYC processors (AMD EPYC 7R13).</li><li>These instances provide remarkable network bandwidth, delivering up to 3,200 Gbps, and support Elastic Fabric Adapter (EFA) and NVIDIA GPUDirect RDMA for efficient remote direct memory access.</li><li>Notably, these instances support up to 900 GB/s of NVSwitch GPU interconnect, resulting in a total of 3.6 TB/s bisectional bandwidth in each instance. This enables each GPU to communicate directly with every other GPU in the same instance with single-hop latency.</li><li>These instances are deployed in Amazon EC2 UltraClusters, which can accommodate up to 20,000 NVIDIA H100 Tensor Core GPUs. These clusters feature petabit-scale networking and scalable low-latency storage using Amazon FSx for Lustre.</li><li>Available instance sizes:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t9v5ofLWjzV9lRPxX0jnyQ.png" /></figure><p>With this, we’ve completed the P series.</p><p><strong>Sudipta: </strong>Alright, what’s next?</p><p><strong>Pooja: </strong>Now, let’s dive into the G series. In this series, we’ll explore instances G3, G4ad, G4dn, G5, and G5g.</p><h4>G3 Instances</h4><ul><li>G3 instances are tailored for graphics-intensive applications such as 3D visualizations, mid to high-end virtual workstations, virtual application software, 3D rendering, application streaming, video encoding, gaming, and various other server-side graphics workloads.</li><li>These instances represent the latest generation of Amazon EC2 GPU graphics instances, delivering a potent combination of CPU, host memory, and GPU capacity. They are powered by High-frequency Intel Xeon Scalable Processors (Broadwell E5–2686 v4).</li><li>G3 instances provide access to NVIDIA Tesla M60 GPUs, each equipped with up to 2,048 parallel processing cores and 8 GiB of GPU memory.</li><li>They enable NVIDIA GRID Virtual Workstation features, including support for up to 4 monitors with resolutions up to 4096x2160 per GPU. Each GPU included in your instance is licensed for one “Concurrent Connected User.”</li><li>Moreover, G3 instances enable NVIDIA GRID Virtual Application capabilities, making them suitable for application virtualization software like Citrix XenApp Essentials and VMware Horizon, supporting up to 25 concurrent users per GPU.</li><li>Each GPU features an on-board hardware video encoder designed to support up to 10 H.265 (HEVC) 1080p30 streams and up to 18 H.264 1080p30 streams, enabling low-latency frame capture and encoding, as well as high-quality interactive streaming experiences</li><li>These instances offer Enhanced Networking using the Elastic Network Adapter (ENA) with 25 Gbps of aggregate network bandwidth within a Placement Group.</li><li>Available instance sizes:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1009/1*Xglg-TY5dNJybiVyD3LHZw.png" /></figure><h4>G4ad Instances</h4><ul><li>G4ad instances feature the latest AMD Radeon Pro V520 GPUs and 2nd-generation AMD EPYC processors.</li><li>They provide the best price performance in the cloud for graphics applications, including remote workstations, game streaming, and graphics rendering, offering up to 45% better price performance compared to G4dn instances.</li><li>These instances are equipped with up to 4 AMD Radeon Pro V520 GPUs, 64 vCPUs, 25 Gbps networking, and 2.4 TB of local NVMe-based SSD storage.</li><li>Available instance sizes include:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lhDB4031r30Ijh719VdvuQ.png" /></figure><h4>G4dn Instances</h4><ul><li>G4dn instances are designed to accelerate machine learning inference and handle graphics-intensive workloads.</li><li>They are powered by 2nd Generation Intel Xeon Scalable Processors (Cascade Lake P-8259L) and feature up to 8 NVIDIA T4 Tensor Core GPUs.</li><li>These instances offer up to 100 Gbps of networking throughput and up to 1.8 TB of local NVMe storage.</li><li>Available instance sizes:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KeYlQ871DkwQmyk7lzdM5w.png" /></figure><h4>G5 Instances</h4><ul><li>G5 instances represent the latest generation of NVIDIA GPU-based instances, suitable for accelerating graphics-intensive applications and machine learning inference. They can also be used for training simple to moderately complex machine learning models.</li><li>G5 instances deliver up to 3x better performance for graphics-intensive applications and machine learning inference, along with up to 3.3x higher performance for machine learning training compared to Amazon EC2 G4dn instances.</li><li>They feature up to 8 NVIDIA A10G Tensor Core GPUs and second-generation AMD EPYC processors.</li><li>These instances support up to 192 vCPUs, up to 100 Gbps of network bandwidth, and up to 7.6 TB of local NVMe SSD storage.</li><li>Available instance sizes:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kljT7PAG7M4My0qCaUCOig.png" /></figure><h4>G5g Instances</h4><ul><li>G5g instances are powered by AWS Graviton2 processors with 64-bit Arm Neoverse cores.</li><li>They also feature up to 2 NVIDIA T4G Tensor Core GPUs, offering the best price-performance in Amazon EC2 for graphics workloads like Android game streaming.</li><li>These instances are the first Arm-based instances in a major cloud to feature GPU acceleration, making them cost-effective for ML inference.</li><li>Furthermore, G5g instances provide up to 25 Gbps of networking bandwidth and are EBS-optimized by default.</li><li>Available instance sizes:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8QlXLfoC53-DfP3oCjlQhA.png" /></figure><p>With the G-series complete, let’s move on to finishing Inf1 and Inf2.</p><p><strong>Sudipta: </strong>Okay.</p><p><strong>Pooja: </strong>So the<strong> Inf</strong> stands for <strong>AWS Inferentia</strong>. First, let’s understand what AWS Inferentia is. AWS Inferentia is a custom machine learning chip designed by AWS that offers high performance at the lowest cost for your deep learning (DL) inference applications.</p><p><strong>Sudipta:</strong> Do these chips have any specific advantages?</p><p><strong>Pooja:</strong> Absolutely. Businesses across various industries are embracing artificial intelligence (AI) to drive innovation, enhance customer experiences, and streamline processes. However, the ML models powering these AI applications are becoming more complex, leading to increased compute infrastructure costs. In many cases, up to 90% of the infrastructure expenditure for developing and running ML applications is spent on inference. This is where AWS Inferentia comes in as a cost-effective infrastructure solution for deploying ML applications in production.</p><p>Now, let’s discuss the instances Inf1 and Inf2.</p><h4>Inf1 Instances</h4><ul><li>Inf1 instances are purpose-built to support machine learning inference applications. They offer high-performance and cost-effective ML inference.</li><li>Compared to comparable Amazon EC2 instances, they provide up to 2.3x higher throughput and up to 70% lower cost per inference.</li><li>These instances are equipped with up to 16 AWS Inferentia chips, high-performance ML inference chips developed by AWS. Additionally, Inf1 instances feature 2nd Generation Intel Xeon Scalable processors and up to 100 Gbps networking, ensuring high-throughput inference.</li><li>Inf1 instances are suitable for running large-scale ML inference applications such as search, recommendation engines, computer vision, speech recognition, natural language processing (NLP), personalization, and fraud detection.</li><li>Developers can deploy their ML models on Inf1 instances using the AWS Neuron SDK, which seamlessly integrates with popular ML frameworks like TensorFlow, PyTorch, and Apache MXNet. This allows developers to continue using their existing ML workflows with minimal code changes and no vendor-specific lock-ins.</li><li>Available instance sizes:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*py0pvEBz-d9salMnxxAqHQ.png" /></figure><h4>Inf2 Instances</h4><ul><li>Inf2 instances are purpose-built for deep learning inference, providing high performance at a competitive cost in Amazon EC2. They are ideal for generative artificial intelligence (AI) models, including large language models (LLMs) and vision transformers.</li><li>Additionally, these instances can be used for text summarization, code generation, video and image generation, speech recognition, personalization, fraud detection, and more.</li><li>Inf2 instances are powered by up to 12 AWS Inferentia2 accelerators connected with ultra-high-speed NeuronLink for efficient collective communications. Compared to Inf1 instances, Inf2 instances offer 3x higher compute performance, 4x more accelerator memory, up to 4x higher throughput, and up to 10x lower latency.</li><li>They are supported by the AWS Neuron SDK and feature dual AMD EPYC processors (AMD EPYC 7R13), up to 384 GB of shared accelerator memory (32 GB HBM per accelerator), and up to 100 Gbps networking.</li><li>Available instance sizes:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yZUMDNgxPLENmhnL-k7Iyg.png" /></figure><p><strong>Sudipta:</strong> Understood. So, what’s next?</p><p><strong>Pooja: </strong>We have four more instances in this category. Let’s cover them quickly.</p><p><strong>Sudipta:</strong> Sure.</p><p><strong>Pooja:</strong> The next one is DL1.</p><h4><strong>DL1 Instances</strong></h4><ul><li>Amazon EC2 DL1 instances, powered by Gaudi accelerators from Habana Labs (an Intel company), deliver cost-effective training for deep learning models in applications such as natural language processing, object detection, and image recognition.</li><li>DL1 instances offer up to a 40% improvement in price performance for training deep learning models compared to the current generation of GPU-based EC2 instances.</li><li>These instances feature 8 Gaudi accelerators, each with 32 GiB of high-bandwidth memory (HBM), totaling 768 GiB of system memory. They are equipped with custom 2nd generation Intel Xeon Scalable processors, providing 400 Gbps of networking throughput and 4 TB of local NVMe storage.</li><li>There is only one size available for DL1 instances:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-LSHAQI9ajqwrnaVyBh4vg.png" /></figure><p><strong>Sudipta:</strong> Three more to finish.</p><p><strong>Pooja:</strong> Yes, let’s complete them quickly.</p><p><strong>Sudipta: </strong>Sure</p><p><strong>Pooja: </strong>So we are left with Trn1, F1, and VT1. Let’s discuss them one by one.</p><h4>Trn1 Instances</h4><ul><li>Trn1 instances are powered by AWS Trainium accelerators and are purpose-built for high-performance deep learning (DL) training of generative AI models, including large language models (LLMs) and latent diffusion models.</li><li>AWS Trainium represents the second-generation machine learning (ML) accelerator purpose-built by AWS for deep learning training, capable of handling models with over 100 billion parameters. Trn1 instances offer up to 50% cost savings for training compared to other comparable Amazon EC2 instances.</li><li>These instances can deploy up to 16 AWS Trainium accelerators, providing a high-performance, cost-effective solution for deep learning (DL) training in the cloud.</li><li>The AWS Neuron SDK assists developers in training models on AWS Trainium and deploying models on the AWS Inferentia accelerators.</li><li>Technical specifications include:</li></ul><p>→ Powered by 3rd Generation Intel Xeon Scalable processors (Ice Lake SP)</p><p>→ Up to 1600 Gbps of second-generation Elastic Fabric Adapter (EFA) networking bandwidth</p><p>→ Up to 8 TB of local NVMe storage</p><p>→ High-bandwidth intra-instance connectivity enabled by NeuronLink</p><p>→ These instances are seamlessly integrated into EC2 UltraClusters, allowing scaling to accommodate up to 30,000 AWS Trainium accelerators. These clusters are interconnected through a petabit-scale nonblocking network and feature scalable low-latency storage with Amazon FSx for Lustre.</p><p>→ Additional features include Amazon EBS optimization and enhanced networking.</p><ul><li>Available instance sizes:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oXutTMg_Gvkt3vVYm3La8A.png" /></figure><h4>F1 Instances</h4><ul><li>F1 instances utilize FPGAs (Field Programmable Gate Arrays) to enable the delivery of custom hardware accelerations.</li><li>They are straightforward to program and come with everything needed to develop, simulate, debug, and compile hardware acceleration code, including an FPGA Developer AMI and support for hardware-level development in the cloud.</li><li>These instances feature Xilinx Virtex UltraScale+ VU9P FPGAs, 64 GiB of ECC-protected memory on 4x DDR4, a dedicated PCI-Express x16 interface, approximately 2.5 million logic elements, and approximately 6,800 Digital Signal Processing (DSP) engines.</li><li>They are powered by High-frequency Intel Xeon Scalable Processors (Broadwell E5–2686 v4).</li><li>They also offer support for Enhanced Networking and NVMe SSD Storage.</li><li>Available instance sizes:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*KtBMCHLOlE1Gxc_XwEfkWA.png" /></figure><h4>VT1 Instances</h4><ul><li>VT1 instances are designed to accelerate real-time video transcoding and provide cost-effective transcoding for live video streams.</li><li>They can deliver up to 30% lower cost per stream compared to Amazon EC2 G4dn GPU-based instances and up to 60% lower cost per stream compared to Amazon EC2 C5 CPU-based instances for transcoding live video streams.</li><li>These instances are powered by 2nd Generation Intel Xeon Scalable Processors (Cascade Lake P-8259CL).</li><li>VT1 instances support streams up to 4K UHD resolution at 60 frames per second (fps) and can transcode up to 64 simultaneous 1080p60 streams in real-time.</li><li>They are equipped with up to 8 Xilinx® Alveo™ U30 media accelerator cards and support up to 96 vCPUs, 192GB of memory, 25 Gbps of enhanced networking, and 19 Gbps of EBS bandwidth.</li><li>Available instance sizes:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*urAJ9Qpu8Vi8X91cvRdYZg.png" /></figure><p>With this, we have covered the Accelerated computing instance types.</p><p><strong>Sudipta: </strong>Finally, we only have one instance type left to discuss.</p><p><strong>Pooja:</strong> Yes, there are a few points remaining. Let’s cover them and conclude the session.</p><p><strong>Sudipta:</strong> Sure, I’m ready.</p><p><strong>Pooja:</strong> In Accelerated computing, except for G3, P2, and F1 instances, all other instances are built on the Nitro System.</p><p>Now, let’s summarize the accelerated computing instances:</p><ul><li><strong>DL1:- Suited for Deep Learning</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/392/1*l6cIoD2fqgY7aNUJOxGDVw.png" /></figure><ul><li><strong>F1:- Utilizes field-programmable gate arrays (FPGAs)</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/1*pi0-CZOJE-NjFB-L9xivGg.png" /></figure><ul><li><strong>G:- Designed for Graphics-intensive applications</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_-QTRnndVfJN38L28FxsuQ.png" /></figure><ul><li><strong>Inf — AWS Inferentia</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oiCVyq0foGQUcCGuQkHEKg.png" /></figure><ul><li><strong>P — GPU accelerated</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EyYCApcxiIwokzZn9IE4Dg.png" /></figure><ul><li><strong>Trn — AWS Trainium</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4e6aY3QvBwMsh3IzGn-5kA.png" /></figure><ul><li><strong>VT — Specialized for video transcoding</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C2oJ42Jnn4G6traWnT8WHg.png" /></figure><p>If you have any doubts, feel free to ask.</p><p><strong>Sudipta: </strong>Currently, I don’t have any questions. I’ll review the material and get back to you.</p><p><strong>Pooja: </strong>Excellent. We can conclude today’s session.</p><p><strong>Sudipta: </strong>Great, thank you. See you tomorrow at the same time.</p><p><strong>Pooja: </strong>Absolutely. Let’s wrap up by discussing the final instance type. Have a wonderful day!</p><p><strong>Sudipta: </strong>You too, goodbye!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bH5d9FerKWv7qlDiqOAwhQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=98add65ee8a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Storage-Optimized Instance Type]]></title>
            <link>https://medium.com/@iamsudipta/storage-optimized-instance-type-8feb280d59ac?source=rss-e6879f39ed22------2</link>
            <guid isPermaLink="false">https://medium.com/p/8feb280d59ac</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[ec2]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[cloud-services]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Sudipta Pati]]></dc:creator>
            <pubDate>Sat, 02 Sep 2023 17:20:24 GMT</pubDate>
            <atom:updated>2023-11-18T16:41:21.294Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f7UPgRYGd_JPUvnZlC34hg.png" /></figure><p>On a sunny Tuesday morning at 11:00 AM, Sudipta and Pooja gathered in the training room as scheduled.</p><p><strong>Pooja: </strong>Good morning, Sudipta. Are you feeling okay? You seem a bit sleepy.</p><p><strong>Sudipta:</strong> Hey Pooja, Good morning. I’m alright. Just a bit tired due to lack of proper sleep last night.</p><p><strong>Pooja: </strong>How about we grab some coffee before we dive into the training?</p><p><strong>Sudipta:</strong> That sounds like a plan.</p><p>Pooja and Sudipta made their way to the pantry for coffee, engaging in a casual conversation along the way.</p><p><strong>Sudipta: </strong>So, what instance type are we exploring today? I’m curious to know as we’re getting closer to covering all of them.</p><p><strong>Pooja: </strong>Well, we’ve tackled instance types related to CPU and RAM. Today, we’re delving into <strong>storage-optimized instance types</strong>, specifically tailored for storage-heavy workloads.</p><p>Sudipta: Exciting stuff!</p><p>After savoring their coffee, Pooja and Sudipta returned to the training room.</p><p><strong>Sudipta: </strong>Let’s get started, shall we?</p><p><strong>Pooja:</strong> Absolutely.</p><p>Pooja began to delve into the world of <strong>storage-optimized instance types:</strong></p><ul><li>Storage-optimized instance types are great for intensive storage workloads requiring high, sequential read and write access to large data sets on local storage.</li><li>The use cases are:<br> → High-frequency online transactional processing (OTLP) systems<br> → Cache for in-memory databases for example Redis<br> → Relational and NoSQL databases<br> → Data warehousing applications<br> → Distributed file systems</li><li>The instance names in this type start with I or D or H where:<br> → I stands for Storage optimized<br> → D stands for Dense storage<br> → H stands for HDD</li></ul><p>Let’s begin by discussing the I-series instances. There are several instance types in this category: I3, I3en, I4i, I4g, Im4gn, and Is4gen. Let’s go through them one by one.</p><h4>I3 Instances</h4><p>→ I3 instances are powered by high-frequency Intel Xeon Scalable Processors (Broadwell E5–2686 v4) with a base frequency of 2.3 GHz.</p><p>→ They are equipped with Non-Volatile Memory Express (NVMe) SSD-backed instance storage, designed to optimize low latency, high random I/O performance, substantial sequential read throughput, and robust IOPS at an economical cost.</p><p>→ Elastic Network Adapter (ENA)-based Enhanced Networking supports network bandwidth of up to 25 Gbps.</p><p>→ These instances deliver exceptional Random I/O performance and high Sequential Read throughput.</p><p>→ The available sizes include:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t-QMW6kVJ-26x2m8-M5aIA.png" /></figure><h4>I3en Instances</h4><p>→ These instances feature either the 1st or 2nd generation Intel® Xeon® Scalable processor (Skylake or Cascade Lake) with a sustained all-core Turbo CPU clock speed of up to 3.1 GHz.</p><p>→ I3en instances shine with up to 60 TB of low-latency Non-Volatile Memory Express (NVMe) SSD instance storage, tailored for applications demanding extensive random I/O access to vast datasets.</p><p>→ The instances boast up to 100 Gbps networking bandwidth, 96 vCPUs, and 768 GiB of memory.</p><p>→ Exceptional performance metrics include up to 2 million random IOPS at 4 KB block sizes and up to 16 GB/s of sequential disk throughput.</p><p>→ The i3en.24xlarge size additionally supports Elastic Fabric Adapter.</p><p>→ Other available sizes are:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9q9ELSPXarm_wf7_g5ouZw.png" /></figure><h4>I4g Instances</h4><p>→ Powered by AWS Graviton2 processors, these instances are the highlight.</p><p>→ Featuring up to 15 TB of NVMe SSD instance storage with AWS Nitro SSDs, I4g instances deliver up to 60% lower I/O latency and up to 75% reduced latency variability compared to I3 and I3en instances. The instances come with always-on encryption.</p><p>→ Elastic Network Adapter (ENA)-based enhanced networking provides up to 38 Gbps of network bandwidth.</p><p>→ The i4g.16xlarge size is geared with Elastic Fabric Adapter.</p><p>→ These instances also grant up to 20 Gbps of bandwidth to the EBS.</p><p>→ Torn Write Prevention (TWP) support enhances performance and reduces latencies in database workloads such as MySQL and MariaDB.</p><p>→ Available sizes include:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JNWfi86eHQTv9kU3xiB2ag.png" /></figure><h4>I4i Instances</h4><p>→ Powered by 3rd generation Intel Xeon Scalable processors (code named Ice Lake) running at an all-core turbo frequency of 3.5 GHz, these instances incorporate support for continuous memory encryption through Intel Total Memory Encryption (TME).</p><p>→ Featuring a capacious 30 TB of locally hosted AWS Nitro SSD storage, these Nitro SSDs, built on NVMe technology and custom-crafted by AWS, offer remarkable I/O performance, minimal latency, consistent latency behavior, and fortified security through perpetual encryption. I4i instances deliver superior compute price performance by up to 30%, slashing storage I/O latency by a staggering 60%, and diminishing storage I/O latency fluctuations by an impressive 75%, when measured against I3 instances.</p><p>→ These instances outclass I3 instances in compute price performance by up to 30%. Moreover, they introduce a novel size, boasting an impressive 128 vCPUs and a whopping 1,024 GiB of memory, which doubles the capacity of the largest I3 instance.</p><p>→ Networking capabilities extend up to 75 Gbps of speed, coupled with an up to 40 Gbps bandwidth to the EBS.</p><p>→ A fresh instance size (32xlarge) equipped with 128 vCPUs and 1,024 GiB of memory offers support for Elastic Fabric Adapter.</p><p>→ Advanced features encompass continuous memory encryption via Intel Total Memory Encryption (TME), integration of new Intel Advanced Vector Extensions (AVX 512) instructions to accelerate cryptographic algorithms, and incorporation of Torn Write Prevention (TWP) for amplified performance and latency reduction in database workloads such as MySQL and MariaDB.</p><p>→ The available sizes are:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5g3jebBCGOmC5tbLqQjlHQ.png" /></figure><h4>Im4gn Instances</h4><p>→ These instances utilize the advanced AWS Graviton2 processors, delivering an impressive 40% improvement in price-to-performance ratio. Additionally, they boast a remarkable 44% reduction in cost per terabyte of storage when compared to I3 instances.</p><p>→ Offering a storage capacity of up to 30 TB with high-speed NVMe SSD instance storage driven by AWS Nitro SSDs, these instances exhibit up to 60% lower I/O latency and an exceptional 75% decrease in latency variability compared to I3 and I3en instances. Data integrity is further enhanced with always-on encryption.</p><p>→ Specifically designed for workloads requiring 4 GB of memory per vCPU, these instances excel in efficiency. They showcase double the NVMe SSD storage density per vCPU compared to I3 instances.</p><p>→ Featuring a remarkable network bandwidth of up to 100 Gbps through Elastic Network Adapter (ENA)-based Enhanced Networking, these instances ensure smooth and swift communication.</p><p>→ Facilitating up to 38 Gbps of bandwidth for the Amazon Elastic Block Store, these instances empower storage operations with high throughput.</p><p>→ With built-in Support for Torn Write Prevention (TWP), these instances offer heightened performance and reduced latencies for database workloads like MySQL and MariaDB.</p><p>→ Notably, the im4gn.16xlarge size extends its capabilities with Elastic Fabric Adapter support.</p><p>→ Various sizes are available, catering to different workload demands and preferences:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8jldiXm90fG06OK03D8Brw.png" /></figure><h4>Is4gen Instances</h4><p>→ These instances are propelled by AWS Graviton2 processors, offering the most competitive cost per TB of SSD storage and the highest SSD storage density per vCPU available in Amazon EC2 for storage-intensive workloads.</p><p>→ With up to 15% lower cost per TB and a remarkable 48% boost in compute performance per vCPU compared to I3en instances, they’re a budget-conscious powerhouse.</p><p>→ Is4gen instances shine with up to 30 TB of NVMe SSD instance storage, leveraging AWS Nitro SSDs to achieve up to a 60% reduction in I/O latency and an impressive 75% decrease in latency variability when juxtaposed with I3 and I3en instances. Additionally, they guarantee continuous encryption.</p><p>→ These instances are tailor-made for workloads that align with 6 GB of memory per vCPU, optimizing performance.</p><p>→ In terms of storage efficiency, they offer 50% more NVMe SSD storage per vCPU compared to I3en instances.</p><p>→ When it comes to network capabilities, Is4gen instances soar with up to 50 Gbps of network bandwidth, facilitated by Elastic Network Adapter (ENA)-based Enhanced Networking.</p><p>→ Furthermore, they deliver up to 19 Gbps of bandwidth to the Amazon Elastic Block Store (EBS).</p><p>→ Additional size options within this instance family include:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G74EoY-t180splUA_4pcqQ.png" /></figure><p>With that, we’ve covered the <strong>i</strong> instance family. Now, let’s shift our focus to the <strong>D</strong> instance family, including D2, D3, and D3en.</p><p><strong>Sudipta:</strong> Understood.</p><p><strong>Pooja:</strong> Let’s dive right in.</p><h4>D2 Instances</h4><p>→ D2 instances boast an impressive 48 TB of HDD-based local storage, delivering remarkable disk throughput while maintaining the most competitive price-to-disk-throughput performance ratio on Amazon EC2.</p><p>→ These instances are equipped with High-frequency Intel Xeon Scalable Processors (Haswell E5–2676 v3).</p><p>→ They come with HDD storage by default.</p><p>→ Additionally, they offer consistent high performance upon launch, impressive disk throughput, and support for Enhanced Networking.</p><p>→ A variety of sizes are available:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x8rdki7wM1nyO7IveikQkg.png" /></figure><h4>D3 Instances</h4><p>→ These instances excel in applications demanding remarkable sequential I/O performance and disk throughput.</p><p>→ Representing an ideal upgrade path for workloads transitioning from D2 instances, D3 instances provide enhanced compute and network capabilities at a more budget-friendly price per terabyte.</p><p>→ Empowered by 2nd Generation Intel® Xeon® Scalable Processors (Intel Cascade Lake 8259CL) clocking at speeds of up to 3.1 GHz and featuring the new Intel Advanced Vector Extension (AVX-512) instruction set.</p><p>→ Offering substantial storage capacity ranging from 6 to 48 TB of local HDD storage.</p><p>→ Delivering aggregated disk throughput in the range of 580 MiB/s to 4,600 MiB/s.</p><p>→ Providing a robust network bandwidth of up to 25 Gbps.</p><p>→ Equipped with a maximum memory capacity of up to 256 GiB.</p><p>→ D3 instances represent the evolution of dense HDD storage instances, delivering a 30% boost in processor performance, expanded storage capacity, and reduced overall cost when compared to their D2 predecessors.</p><p>→ Furthermore, D3 instances feature a 2.5x increase in networking speed and a 45% improvement in disk throughput compared to D2 instances.</p><p>→ These instances find their stride in various use cases, including file systems such as HDFS and MapReduce, Big Data and analytics workloads like Elastic MapReduce (EMR), Spark, Hadoop, and SAS, as well as Massively Parallel Processing (MPP) Data warehouses such as Redshift, HPE Vertica, and log or data processing applications like Kafka and Elastic Search.</p><p>→ A variety of sizes is at your disposal:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GAElb9IyEC4c3UlkdCBjrw.png" /></figure><h4>D3en Instances</h4><p>→ D3en instances excel in applications demanding robust sequential I/O performance, high disk throughput, and economical storage solutions for extensive datasets. These instances boast the most competitive pricing for dense storage among all cloud offerings.</p><p>→ They are fueled by 2nd Generation Intel® Xeon® Scalable Processors (Intel Cascade Lake 8259CL) with a clock speed of up to 3.1 GHz and feature the new Intel Advanced Vector Extension (AVX-512) instruction set.</p><p>→ These instances offer a storage capacity ranging from 28 to a substantial 336 TB of local HDD storage.</p><p>→ Furthermore, they provide an impressive range of aggregated disk throughput, spanning from 500 MiB/s up to a remarkable 6,200 MiB/s.</p><p>→ Networking capabilities are equally impressive, delivering up to 75 Gbps of network bandwidth.</p><p>→ Additionally, they offer a generous memory capacity of up to 192 GiB.</p><p>→ D3en instances represent the evolution of dense HDD storage instances, offering a 30% boost in processor performance, increased capacity, and reduced costs when compared to D2 instances. Moreover, these instances introduce enhanced storage options and high-speed networking variants, boasting a 7.5x increase in networking speed, 100% higher disk throughput, a storage capacity that scales up to 336 TB, and an 80% reduction in cost-per-TB of storage compared to D2 instances.</p><p>→ They also provide up to 2x higher read and write disk throughput compared to EC2 D2 instances.</p><p>→ Ideal use cases include multi-node file storage systems such as Lustre, BeeGFS, GPFS, VxCFS, and GFS2, as well as high-capacity data lakes demanding consistent sequential I/O performance.</p><p>→ These instances come in the following sizes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MGZxoJ5a7ZmyY5SB3HHzEw.png" /></figure><p>With the inclusion of H1, we’ve covered all the D instance family. Just one more remains in the storage-optimized instance type — H1.</p><p><strong>Sudipta</strong>: Great, let’s dive into it.</p><p><strong>Pooja:</strong> Alright, let’s explore what H1 has to offer.</p><h4>H1 Instances</h4><p>→ H1 instances represent the latest generation of Amazon EC2 Storage Optimized instances, tailored for applications requiring economical solutions, high disk throughput, and extensive sequential disk I/O access to large datasets.</p><p>→ Featuring up to 16 TB of HDD-based local storage, these instances provide robust disk throughput while maintaining a balanced blend of computing power and memory.</p><p>→ They are powered by a 2.3 GHz Intel Xeon Scalable Processor (Broadwell E5 2686 v4).</p><p>→ Offering the best price/performance ratio in the magnetic disk storage EC2 instance family, H1 instances excel in data-intensive tasks like MapReduce-based workflows, distributed file systems (e.g., HDFS and MapR-FS), network file systems, log or data processing applications such as Apache Kafka, and big data workload clusters.</p><p>→ H1 instances support Enhanced Networking based on Elastic Network Adapter (ENA) technology, ensuring high throughput and low-latency networking interfaces. H1 instances provide up to 25 Gbps of network bandwidth and up to 10 Gbps for smaller instance sizes.</p><p>→ The available sizes are as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PHkfUsl81yoXn7yDVVt21g.png" /></figure><p>With this, we conclude the discussion on storage-optimized instances.</p><p>There’s one important detail I forgot to mention in our memory-optimized instance session.</p><p><strong>Sudipta: </strong>What’s that?</p><p><strong>Pooja:</strong> I want to clarify which instances from memory-optimized and storage-optimized types are built on Nitro systems.</p><p><strong>Sudipta: </strong>My apologies for not asking earlier.</p><p><strong>Pooja: </strong>No problem at all. So, from the memory-optimized instance type, all instances except R4, X1, and X1e are built on the Nitro system. From the storage-optimized instance type, all instances except D2, H1, and I3 are built on Nitro systems.</p><p>Now, let’s provide a brief overview of the storage-optimized instance types:</p><ul><li><strong>I:- Storage optimized</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QoEPnF6Zr6OdpzcIm_AYeA.png" /></figure><ul><li><strong>D:- Dense storage</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5-Z-0PbPiRJT28S0IEOexw.png" /></figure><ul><li><strong>H:- HDD</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*afY6kyGzdV29Opfzhsg-tA.png" /></figure><p>We can wrap up for today and reconvene at the same time tomorrow to delve into the next instance type.</p><p><strong>Sudipta: </strong>Excellent, we’re making good progress with the instance types.</p><p><strong>Pooja:</strong> Absolutely, just two more to go, and we’ll move on to explore the next features of the EC2 service.</p><p><strong>Sudipta:</strong> Agreed. Goodbye for now. See you tomorrow.</p><p><strong>Pooja:</strong> Farewell, until tomorrow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/514/1*jA5naMu0ISh11nAlIUg5Fg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8feb280d59ac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Memory-Optimized Instance Type]]></title>
            <link>https://medium.com/@iamsudipta/memory-optimized-instance-type-55db57f97574?source=rss-e6879f39ed22------2</link>
            <guid isPermaLink="false">https://medium.com/p/55db57f97574</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[ec2]]></category>
            <category><![CDATA[cloud-services]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Sudipta Pati]]></dc:creator>
            <pubDate>Thu, 17 Aug 2023 07:04:11 GMT</pubDate>
            <atom:updated>2023-11-18T16:39:56.787Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9VfVoL_AFD42rM7lABwgeA.png" /></figure><p>Just another bustling day. Sudipta patiently waited for Pooja in the training room for about 25 minutes, yet Pooja was nowhere to be seen. Sudipta tried reaching out to Pooja on Teams, but she was offline. Consequently, Sudipta headed over to Pooja’s desk to search for her, but she wasn’t present. However, Bharath, Pooja’s colleague, was at his workstation.</p><p><strong>Sudipta: </strong>Hi Bharath, Good morning. Do you happen to know where Pooja is?</p><p><strong>Bharath:</strong> Hi Sudipta, Good morning. Absolutely, I spoke to Pooja. She mentioned being on her way to the office but was caught in traffic. Just wait for 10–15 minutes, she should be arriving at the office soon.</p><p><strong>Sudipta: </strong>Alright, once she’s here, please let her know I’m waiting for her in the training room.</p><p><strong>Bharath:</strong> Certainly.</p><p><strong>Sudipta: </strong>Thank you, and goodbye.</p><p><strong>Bharath:</strong> Yeah, bye.</p><p>After approximately 25 minutes, Pooja finally entered the training room.</p><p><strong>Pooja: </strong>Hi Sudipta, Good morning. I apologize for the delay; I got held up in traffic.</p><p><strong>Sudipta:</strong> No worries, Bharath already informed me. I was actually waiting for you, and when you didn’t show up, I went to your desk to find you. Bharath had already let me know you’d be late due to traffic. Anyway, it’s alright, I understand.</p><p><strong>Pooja:</strong> Thank you. So, let’s kick off today’s session with the next instance type: Memory-optimized.</p><p><strong>Sudipta: </strong>Absolutely, let’s get started.</p><p><strong>Pooja:</strong> Memory-optimized instances deliver remarkable performance for workloads involving large in-memory datasets, utilizing high RAM capacity<strong>.</strong></p><p>These instances are optimized for various scenarios such as:</p><ol><li>High performance for relational or non-relational databases</li><li>Distributed web-scale cache store</li><li>In-memory databases tailored for business intelligence</li></ol><ul><li>Real-time processing of substantial unstructured data</li></ul><p>Instances within this category are distinguished by their starting letters:</p><ul><li>R:- Memory optimized</li><li>X:- Memory intensive</li><li>z:- High performance</li></ul><p>Now, let’s dive into the subset of instances starting with <strong>R</strong>.</p><p><strong>Sudipta:</strong> Understood.</p><p><strong>Pooja: </strong>Within this category, there are a total of 11 instances. Let’s take a closer look at each of them.</p><h4>R4 Instances:</h4><ul><li>R4 instances are tailored for memory-intensive applications, offering a more economical price per GiB of RAM compared to their predecessor, R3. The R3 instances belong to the previous generation of memory-optimized instances.</li><li>These instances are powered by high-frequency Intel Xeon Scalable (Broadwell E5–2686 v4) processors.</li><li>Furthermore, R4 instances support DDR4 memory and enhanced networking capabilities.</li><li>Let’s explore the various sizes available for R4 instances:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/1*TiLNAYQOfIDNNJgTgb6Duw.png" /></figure><h4>R5 Instances:</h4><ul><li>These instances are powered by either the 1st or 2nd generation Intel Xeon Platinum 8000 series processor (Skylake-SP or Cascade Lake), featuring a consistent all-core Turbo CPU clock speed of up to 3.1 GHz. They also introduce support for the new Intel Advanced Vector Extensions 512 (AVX-512) instruction set, presenting up to 2x the FLOPS per core compared to the previous generation R4 instances.</li><li>R5 instances offer a 5% increase in memory per vCPU compared to R4 instances, with the largest size providing an impressive 768 GiB of memory. Additionally, R5 instances bring about a 10% price per GiB improvement and an approximate 20% enhancement in CPU performance over R4 instances.</li><li>In the case of R5d instances, local NVMe-based SSDs are directly connected to the host server, offering block-level storage that is inherently linked to the lifespan of the R5 instance.</li><li>Let’s now delve into the assortment of sizes that are available for R5 instances:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9hIX4kcwZgVq5to1bZLIIA.png" /></figure><h4>R5b Instances</h4><ul><li>The <strong>b</strong> attribute in R5b signifies a focus on high EBS performance. R5b instances, the latest memory-optimized type, deliver remarkable EBS performance, offering up to 60 Gbps bandwidth and 260K IOPS.</li><li>These instances amplify EBS performance by threefold when compared to equivalently sized R5 instances. Equipped with 2nd generation Intel Xeon Scalable Processors (Cascade Lake), R5b instances feature an all-core Turbo CPU frequency of 3.1 GHz.</li><li>Moreover, these instances provide support for the new Intel Advanced Vector Extensions 512 (AVX-512) instruction set, delivering up to twice the FLOPS per core compared to the prior generation R4 instances.</li><li>Notably, these instances boast up to 96 vCPUs, 768 GiB of memory, 25 Gbps network bandwidth, and a robust 60 Gbps of EBS bandwidth.</li><li>Available sizes include:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j2OVT4aeZ6k5lCI-_EKjgg.png" /></figure><h4>R5n Instances</h4><ul><li>R5 instances excel in memory-bound workloads, encompassing high-performance databases, distributed web-scale in-memory caches, mid-sized in-memory databases, real-time big data analytics, and other enterprise applications. The R5n and R5dn instance variants, offering heightened bandwidth, are tailored for applications capitalizing on enhanced network throughput and packet rate performance.</li><li>These instances supply a robust 100 Gbps of network bandwidth and a dedicated 19 Gbps of bandwidth to Amazon EBS. They are equipped with the second-generation Intel Xeon Scalable Processors (Cascade Lake), boasting a sustained all-core Turbo CPU frequency of 3.1 GHz. Moreover, they feature support for the new Vector Neural Network Instructions (AVX-512 VNNI*), markedly accelerating common machine learning operations like convolution and automatically enhancing inference performance across a broad spectrum of deep learning workloads.</li><li>For smaller instance sizes, they deliver up to 25 Gbps of peak bandwidth, while the largest instance size showcases a remarkable 100 Gbps of network bandwidth.</li><li>Let’s explore the available sizes:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WTF-9l6VmzKzCVoxH9EfQg.png" /></figure><h4>R5a Instances</h4><ul><li>Introducing R5a and R5ad instances, powered by AMD EPYC 7000 series processors with an all-core turbo clock speed of 2.5 GHz.</li><li>These AMD-based instances offer flexibility for customers with varying compute needs, unlocking potential cost savings of 10%.</li><li>Experience up to 20 Gbps network bandwidth through enhanced networking, coupled with an impressive 768 GiB of memory per instance.</li><li>Discover a range of available sizes to suit your requirements:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AJ647lFpjKwRX7vj2PMc2A.png" /></figure><h4>R6a Instances</h4><ul><li>R6a instances are powered by 3rd generation AMD EPYC processors, offering a 35% improvement in price performance over R5a instances, and costing 10% less than comparable x86-based Amazon EC2 instances.</li><li>R6a instances maintain an 8:1 ratio of memory to vCPU, mirroring R5a instances, and support expanded sizes, accommodating up to 192 vCPUs per instance.</li><li>These instances hold SAP certification and excel in memory-intensive workloads such as SQL and NoSQL databases, distributed web-scale in-memory caches like Memcached and Redis, as well as in-memory databases and real-time big data analytics encompassing Apache Hadoop and Apache Spark clusters, alongside other enterprise applications.</li><li>They offer a remarkable networking speed of up to 50 Gbps, coupled with 40 Gbps bandwidth to the EBS. The 48xlarge and metal sizes are equipped with Elastic Fabric Adapter support.</li><li>Furthermore, these instances embrace always-on memory encryption using AMD Transparent Single Key Memory Encryption (TSME), and incorporate new AMD Advanced Vector Extensions (AVX-2) instructions for faster execution of cryptographic algorithms.</li><li>Let’s explore the available sizes below:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JCKGTVhBbeYUTr3PnkuHAA.png" /></figure><h4>R6g Instances</h4><ul><li>These instances utilize a custom-built AWS Graviton2 Processor, featuring 64-bit Arm Neoverse cores.</li><li>They exhibit a remarkable 40% improvement in price performance compared to R5 instances, specifically designed for executing memory-intensive workloads. Such workloads encompass open-source databases, in-memory caches, and real-time big data analytics.</li><li>Furthermore, these instances provide support for Enhanced Networking, furnishing a network bandwidth of up to 25 Gbps. Additionally, they come EBS-optimized by default to optimize storage performance.</li><li>For applications necessitating high-speed, low-latency local storage, you can opt for R6g instances equipped with local NVMe-based SSD block-level storage (R6gd).</li><li>Explore the various available sizes within this category:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uVVMSmkm1mwvsi1NIG1ojA.png" /></figure><h4>R6i Instances</h4><ul><li>R6i instances are powered by 3rd Generation Intel Xeon Scalable processors, offering a remarkable 15% improvement in price performance when compared to R5 instances.</li><li>These instances maintain an 8:1 ratio of memory to vCPU, akin to R5 instances, and boast support for up to 128 vCPUs per instance — an impressive 33% increase over R5 instances.</li><li>Additionally, they support up to 50 Gbps of networking speed and a bandwidth of 40 Gbps for Amazon Elastic Block Store (EBS).</li><li>The instances in the sizes of 32xlarge and metal offer support for Elastic Fabric Adapter, elevating networking capabilities.</li><li>Furthermore, these instances also incorporate the support for always-on memory encryption through Intel Total Memory Encryption (TME), along with embracing new Intel Advanced Vector Extension (AVX-512) instructions, designed to accelerate cryptographic algorithm execution.</li><li>With the inclusion of R6id instances, you gain access to a substantial 7.6 TB of local NVMe-based SSDs, intimately connected to the host server. These SSDs offer block-level storage intrinsically tied to the lifecycle of the R6i instance.</li><li>The spectrum of available sizes in this category encompasses:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MDUXBVfLzwFyFVbwYgMhlw.png" /></figure><h4>R6in Instances</h4><ul><li>R6in instances are optimized for memory-intensive workloads harnessing robust networking bandwidth, such as SAP, SQL, NoSQL databases, and in-memory databases like SAP HANA.</li><li>TFueled by 3rd Generation Intel Xeon Scalable processors (Ice Lake), these instances operate at an all-core turbo frequency of 3.5 GHz.</li><li>Both R6in and R6idn instances deliver an impressive 200 Gbps network bandwidth and up to 80 Gbps Amazon Elastic Block Store (EBS) bandwidth.</li><li>The 32xlarge and metal variants of these instances support Elastic Fabric Adapter (EFA), an Amazon EC2 network interface. EFA-enabled instances excel in scaling applications requiring heightened inter-node communication.</li><li>Furthermore, these instances facilitate continuous memory encryption using Intel Total Memory Encryption (TME) and leverage Intel Advanced Vector Extensions (AVX-512) for swift cryptographic algorithm processing.</li><li>In the case of R6idn instances, they house up to 7.6 TB of local NVMe-based SSDs, directly connected to the host server, offering block-level storage synchronized with the R6idn instance’s lifecycle.</li><li>Various sizes of R6in instances are available to suit different needs:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KJmmBsb9QtymNV7JQT9gzg.png" /></figure><h4>R7g Instances</h4><ul><li>Introducing the R7g instances, powered by Arm-based AWS Graviton3 processors.</li><li>They present a remarkable 25% boost in performance compared to the sixth-generation AWS Graviton2-based R6g instances.</li><li>With Double Data Rate 5 (DDR5) memory, R7g instances grant a 50% surge in memory bandwidth over DDR4 memory, ensuring swift access to data in memory.</li><li>Notably, R7g instances deliver a substantial 20% increase in enhanced networking bandwidth compared to R6g instances, and they come EBS-optimized by default.</li><li>Elevating capabilities, the r7g.16xlarge and r7g.metal instances are equipped with Elastic Fabric Adapter.</li><li>Discover the array of available sizes below:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SDAT9ngneSvtm6Iy5AArLw.png" /></figure><h4>R7iz Instances</h4><ul><li>R7iz instances excel as memory-optimized, high-frequency instances. <br>They pioneer the utilization of 4th Generation Intel Xeon Scalable processors, boasting a sustained all-core turbo frequency of up to 3.9 GHz, a 20% performance leap compared to EC2 z1d instances (which we’ll explore later). <br>They are also the inaugural x86-based EC2 instances to harness DDR5 memory, bestowing 2.4x higher memory bandwidth over z1d instances.</li><li>R7iz instances showcase an impressive 8:1 memory to vCPU ratio, accommodating up to 128 vCPUs and a staggering 1,024 GiB of memory. With network speeds reaching up to 50 Gbps and bandwidth capabilities up to 40 Gbps for Amazon Elastic Block Store (EBS), they shine across various scenarios.</li><li>Their unique blend of high compute performance and expansive memory footprint positions R7iz instances optimally for tasks like frontend Electronic Design Automation (EDA), relational databases with intensive per-core licensing, as well as financial, actuarial, and data analytics simulations.</li><li>It’s worth noting that the sizes for R7iz instances are not yet available on Amazon websites.</li></ul><p>The R series concludes here.</p><p><strong>Sudipta:</strong> Clear. What’s the next topic?</p><p><strong>Pooja:</strong> We’ll now move on to the x series.</p><p><strong>Sudipta:</strong> Roger that.</p><p><strong>Pooja:</strong> The x series comprises 6 instance types. Let’s delve into each of them step by step.</p><h4>X1 Instances</h4><ul><li>X1 Instances excel at executing large-scale, memory-intensive applications within the AWS Cloud ecosystem.</li><li>Boasting a generous 1,952 GiB of DRAM-based memory, each X1 instance derives its power from four Intel® Xeon® E7 8880 v3 processors (codenamed Haswell) and offers an impressive capacity of up to 128 vCPUs.</li><li>Incorporating SSD instance storage for temporary block-level storage and coming EBS-optimized by default, these instances provide this advantage without any extra charges.</li><li>Here’s a glimpse at the available instance sizes:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A9hgVW_7Qih1sMQ_lpykng.png" /></figure><h4>X1e Instances</h4><ul><li>The <strong>e </strong>attribute in X1e instances signifies additional storage or memory capacity.</li><li>Driven by four Intel® Xeon® E7 8880 v3 processors, these instances provide an impressive array of up to 128 vCPUs and 3,904 GiB of DRAM-based memory.</li><li>SAP has certified the x1e.32xlarge instance for various workloads, including the next-generation Business Suite S/4HANA, Business Suite on HANA (SoH), Business Warehouse on HANA (BW), and Data Mart Solutions on HANA on the AWS Cloud.</li><li>Various sizes of these instances are available to meet your requirements:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/951/1*f5yPIucUKrCV5p0CpMVsfw.png" /></figure><h4>X2gd Instances</h4><ul><li>These instances are driven by Arm-based AWS Graviton2 processors, offering the most budget-friendly cost per GiB of memory within Amazon EC2.</li><li>They yield a remarkable 55% improvement in price performance compared to the current generation of x86-based X1 instances. Additionally, they present double the memory per vCPU when compared to R6g/R5 instances, all while maintaining the most competitive cost per GiB of memory in Amazon EC2.</li><li>Furthermore, these instances support Enhanced Networking, furnishing an impressive network bandwidth of up to 25 Gbps.</li><li>X2gd instances also incorporate local NVMe-based SSD block-level storage. This feature caters to applications demanding high-speed, low-latency data access for tasks such as caching and real-time analytics.</li><li>The sizes available for these instances are as follows:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_C3tjTDjrrVEg3R4x_u78w.png" /></figure><h4>X2idn Instances</h4><ul><li>X2idn instances are powered by 3rd generation Intel Xeon Scalable processors, boasting an all-core turbo frequency of up to 3.5 GHz. These instances outperform comparable X1 instances with up to 50% better compute price performance.</li><li>Featuring a flexible choice between a 16:1 or 32:1 ratio of memory to vCPU, they’re a perfect match for memory-intensive databases and electronic design automation (EDA) workloads.</li><li>These instances offer remarkable networking capabilities, with support for up to 100 Gbps of networking speed and a substantial 80 Gbps bandwidth to Amazon Elastic Block Store.</li><li>Furthermore, X2idn instances ensure robust security through always-on memory encryption using Intel Total Memory Encryption (TME). They also incorporate the cutting-edge Intel Advanced Vector Extensions (AVX-512) instructions, which enhance cryptographic algorithm execution for quicker results.</li><li>Available sizes are as follows:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hmq7AIYYGm-qdelh1EF-Vg.png" /></figure><h4>X2iedn Instances</h4><ul><li>X2iedn instances leverage 3rd generation Intel Xeon Scalable processors with an all-core turbo frequency of up to 3.5 GHz.</li><li>These instances exhibit a 50% improved price-performance ratio compared to X1 instances.</li><li>X2iedn instances boast local NVMe SSD storage of up to 3.8 TB and networking bandwidth of up to 100 Gbps, accompanied by a maximum memory capacity of 4 TiB.</li><li>Further enhancing their capabilities, these instances provide a bandwidth of up to 80 Gbps to the Amazon Elastic Block Store.</li><li>Moreover, they encompass support for continuous memory encryption via Intel Total Memory Encryption (TME) and incorporate the new Intel Advanced Vector Extensions (AVX-512) instructions, expediting cryptographic algorithm execution.</li><li>Below are the available instance sizes:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SFZVPYwBFMdT1f0jG31gfg.png" /></figure><h4>X2iezn Instances</h4><ul><li>X2iezn instances are fueled by the swiftest Intel Xeon Scalable processors, codenamed Cascade Lake, available in the cloud. They boast an impressive all-core turbo frequency of up to 4.5 GHz, making them an excellent option for memory-intensive electronic design automation (EDA) workloads.</li><li>These instances are equipped with an ample memory capacity of up to 1.5 TiB, providing an extraordinary computational environment. Moreover, they offer an impressive 55% enhancement in price performance compared to X1e instances.</li><li>Leveraging their robust architecture, X2iezn instances deliver exceptional networking capabilities, with network speeds reaching up to 100 Gbps. Additionally, they offer up to 19 Gbps of bandwidth to the Amazon Elastic Block Store, ensuring seamless data handling.</li><li>Among their notable features, the 12xlarge and metal instance sizes provide support for Elastic Fabric Adapter, enhancing their networking prowess.</li><li>Below are the available instance sizes:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bXKp0ZoPuEJtUDaZx-8_8w.png" /></figure><p>Concluding the X series, if you have any questions, feel free to ask.</p><p><strong>Sudipta:</strong> I’m clear about the X series of memory-optimized instances. I suppose the only remaining instance types are z1d.</p><p><strong>Pooja:</strong> My apologies, there are actually two more. I forgot to mention the High Memory instance type within this category. We’ll cover that after discussing z1d.</p><p><strong>Sudipta: </strong>Understood.</p><p><strong>Pooja: </strong>Let’s proceed to explore z1d instances.</p><h4>Z1d Instances</h4><ul><li>Z1d instances offer a powerful combination of high compute capacity and substantial memory capacity.</li><li>These instances excel in high single-thread performance, powered by a custom Intel® Xeon® Scalable processor with a sustained all-core frequency of up to 4.0 GHz.</li><li>They support a remarkable 1.8 TB of instance storage and feature an impressive 1:8 vCPU to memory ratio, providing up to 384 GiB of RAM.</li><li>Furthermore, z1d instances are equipped with local NVMe-based SSDs that are directly connected to the host server, offering block-level storage intrinsically tied to the z1d instance’s lifecycle.</li><li>The available sizes in this category are:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oH2Ni-ofb_5RBPM032sFAg.png" /></figure><h4>High memory Instances</h4><ul><li>Instances in this category are denoted by names starting with ‘u’, such as u-3tb1.56xlarge, where ‘u’ signifies High Memory.</li><li>These instances are tailored to support extensive in-memory databases, including SAP HANA, facilitating cloud-based production deployments. They also enable the operation of large in-memory databases and associated business applications within the same Amazon Virtual Private Cloud (VPC). This approach streamlines complex networking management and guarantees consistent performance.</li><li>These instances are available in both bare metal and virtualized memory configurations.</li><li>They are inherently EBS-Optimized, boasting up to 38 Gbps of dedicated storage bandwidth. Additionally, they provide exceptional networking throughput and minimal latency, leveraging Amazon Elastic Network Adapter (ENA)-based Enhanced Networking to achieve an aggregate network bandwidth of up to 100 Gbps.</li><li>High Memory instances with storage capacities of 3 TiB, 6 TiB, 9 TiB, and 12 TiB employ an 8-socket platform powered by Intel® Xeon® Platinum 8176M (Skylake) or 8280L (Cascade Lake) processors. Notably, EC2 High Memory instances with 18 TiB and 24 TiB capacities mark a milestone as the first Amazon EC2 instances to utilize an 8-socket platform equipped with 2nd Generation Intel® Xeon® Scalable (Cascade Lake) processors.</li><li>Various sizes are accessible within this category:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*juw1n7iulGOOl-BAr-wb9Q.png" /></figure><p>As we wrap up this overview of memory-optimized instances, please don’t hesitate to reach out if you have any questions.</p><p><strong>Sudipta:</strong> I’ll review again and let you know if any queries arise.</p><p><strong>Pooja:</strong> Let’s summarize memory-optimized instances.</p><ul><li><strong>R:- Memory optimized</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DhdWWyQHFgMU7zeqC51CnA.png" /></figure><p>where <strong>a:- AMD processors</strong>, <strong>d:- Instance store volumes</strong>, <strong>b:- high EBS performance</strong>, <strong>n:- Network and EBS optimized</strong>, <strong>g:- AWS Graviton processors</strong>, <strong>i:- Intel processors</strong></p><ul><li><strong>X:- Memory intensive</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Aho0pfwqgrAbWghYRHm-lQ.png" /></figure><ul><li><strong>z:- High performance</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nuZd4u4syuD6DoOH2a83Ww.png" /></figure><ul><li><strong>U:- High memory</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N28w8Xo1cHTDayDnCtx9tA.png" /></figure><p><strong>Sudipta: </strong>Now I have a clear understanding of memory-optimized instances.</p><p><strong>Pooja: </strong>Excellent, then let’s conclude today’s session as I have scheduled meetings to attend.</p><p><strong>Sudipta:</strong> Of course, let’s reconvene tomorrow.</p><p><strong>Pooja:</strong> Indeed, tomorrow we’ll delve into another instance type.</p><p><strong>Sudipta: </strong>Perfect. Farewell for now, see you tomorrow.</p><p>Pooja bade goodbye and headed to her meetings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YXj0UHIEDzLW9I-GLA2yQA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55db57f97574" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>