AWS | Episode 41 | Understanding EC2 instance types | Introduction to different EC2 instance types.

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello in this session we are going to look at the different types of ec2 instance that we have so when generally whenever you're launching our ec2 instances ec2 provides us with different different types of instance types now simply these instance types are your CPU your memory your networking capacity that you can choose from so depending on your requirement depending on your use case or the application that you're running uh you know depending on your application requirement as to how much of CPU you want or how much of a memory you want you can choose that accordingly by making use of this ec2 instance types so in this particular session we will look at what are the different types we have and then you know under that what are the different subcategories we have we will look at that once again before we start off with the session please don't forget to hit the Subscribe button so Amazon ec2 service it simply provides us with a wide range of instance types that we have and all these are optimized for different different use cases so depending on the application but depending on the use case that you have these instance types have been optimized and you can choose them depending on your requirement so these instance type they simply comprise of a varying combination so it has a combination of the CPU memory storage and the networking capacity so all of this together we call it as your instance types and this gives us the flexibility to choose from the most appropriate mix of resources for the applications that we are going to run so again depending on the application that you are going to run you can choose the CPU the memory the storage the networking capacity as a combination and then you can launch your EC termination and then deploy your applications on them so each instance type it includes one or more instance sizes and this allows us to scale the resources to the requirements of the target workload so you know under these instance types we have different different options that you can choose from so you can scale up you can choose whatever the capacity you want based on the requirement of the workloads that you have so these can be categorized or they can be further divided into six types so we have the general purpose we have compute optimized we have memory optimized we have storage optimized we have accelerated Computing and then we have your HPC optimized so here whenever we are launching our ec2 instances here you get to choose that so the CPU capacity you want the memory capacity you want you can choose from here so this is basically all the instance types that we have all right so the all these are categorized into these six types that we have so let's look at each of these one by one so first we're going to talk about your gender purpose now the general purpose instance types these provides us with the balance of the compute basically the CPU the memory and the networking resources that can be used for a variety of workloads all right so here whenever we talk about your general purpose you'll always have a balance of your compute the CPU the memory as well as your networking capacity so these instances these are ideal for applications that use these resources in an equal proportion or let's say when you have when you want all of these resources and in an equal proportion then you can go with your general purpose and the ideal use cases for your general purpose would be your web servers that you want to run or any code repositories that you want to run in that case we can make use of your general purpose now these general purpose so here this is the page where you can find more information about this now under general purpose these are again categorized as these types so we have m7g m7a so on so we have this T3 T3 a T2 so here if you look at your instances you can clearly see this is D2 dot micro So This falls under your general purpose category so likewise you have T2 dot Nano which gives you one CPU core and 0.5 GB Ram then T2 dot micro which gives you one CPU core 1GB RAM d2. small which gives you one CPU core 2GB Ram so depending on your requirement depending on how much of CPU you want how much of memory you want you can choose accordingly and then launch the instances and the AWS will allocate that resources for the ec2 instances that we have launched so under this you will you should be able to find different different options so these are all the options that we have under your general purpose the next type we have is your compute optimized now your compute optimized are basically the instance types that are ideal for compute Bond application so basically any application that needs high performance processors or you know the compound compound Bond applications where you need more processing capacity then you can go with your compute optimized so instances belonging to this category are well suited for batch processing workloads or any media transcoding high performance web servers high performance Computing any dedicated gaming servers or any machine learning applications or any compute intensive applications that you want to deploy you can deploy that on the compute optimize so any application that needs more processing power then you can go with your compute optimized so again under the compute optimized these are the options you have so you have C4 C5 ac5 and C5 and then so on so here if you look at the options you should be able to see that so let me search for C family and so let's say C4 and here you can see so C4 dot large gives you two CPU core 3.75 GB of RAM capacity c4.4x large gives you 16 CPU core and 30 GB Ram uh c4.8x large gives you 36 CPU core 60 GB RAM and then so on so again depending on the capacity you can choose um how much you want depending on the applications that you are going to run The Next Step you have is your memory optimized so these are the instance types which are designed to deliver fast performance for workloads to process large data sets in memory so if you if you have any uh heavy database heavy applications which needs to process very huge amount of data in the memory then you can go with the memory optimized so these are ideal for memory intensive workloads such as your open source databases or any in-memory cache databases or any real-time big data analytics for those applications you can go with your memory optimized so again under the memory optimized these are the options you have so let's say for example we will look for R4 so if you search for the R4 it will show you the capacity that it has so let me search for R4 over here and you will see this is the capacitor so you get with your R4 dot large you get two CPU cores 15.3 GB Ram r4.16 x large you get 64 CPU cores 488 GB of RAM capacity and then so on so these are ideal for any application that needs to process huge amount of data in the memory itself the next we have is your accelerated Computing so accelerated Computing instances are basically the instance type which uses the hardware accelerators or any co-processors which performs the functions for you such as any uh floating Point number calculations or any graphics processing or any data pattern matching for that you can go with your accelerated Computing so these are ideal for your machine learning applications a high performance Computing or any uh computational Finance or any seismic analysis applications speech recognition applications or any autonomous vehicles for that we can make use of your accelerated Computing where you need to perform different different types of functions all right so again if you go to the instance types you should be able to see the accelerated Computing and these are the options that you can see so let's say if I look for E4 so here let me search for P4 I should be able to see the capacity so under P4 this is the only option we have which gives me 696 CPU cores and 1152 GB of RAM capacity so that's like you know you need very huge amount of capacity then you can go with your accelerated Computing the next option we have is a storage optimized so this storage optimized are basically the instance types which are designed for workloads that needs High sequential read and write access so basically processing large amount of data on the local storage itself all right so if you want to process very large amount of data on your local storage then you can go with your storage optimized so they are optimized to deliver tens of thousands of low latency random IO operations so iops basically so iobs it stands for input output operations per second so if you want um iops performance then you can go with your storage optimize so these are ideal for your uh intense input output intensive applications and these are targeted for customers using the transactional databases or Amazon's open search service or any real-time analytics such as using the Apache spark then you can go with your storage optimize so once again when you need to process large amount of data on the local storage then you can go to storage optimized where it gives you the input output operations per second that you need so here you can if you go to the storage optimized these are the options you you will get so let's say if I search for D2 over here I should be able to see the different options that are available for me so these are the options we have so we have um d2.8x large which gives me 36 CPU cores to 44 GB Ram uh d2.2x touch which gives me 8 CPU core and then 61 GB Ram then I have d2.4x large which gives me 16 CPU cores 122 GB RAM and then so on and the last option that we have under this is your HPC optimize now HPC it stands for high performance Computing instance types and these are built for the best price performance for running your HPC workloads at scale on the AWS platform so this again provides you with high performing Computing capacity so again these are ideal uh where you need high performance such as your any large complex simulations that you want to run or any deep learning workloads that you want to run then you can go with your HPC optimized instance types so under this you get options like uh so the three options is what you get so HPC 7g 6id and then six a so let's say I will search for HPC over here and this is what you will see so 16 CPU core 128 GB Ram 32 CPU core 128gb Ram 64 CPU core 128 GB Ram all right now you can see this is grayed out because the Ami that I have selected does not support this so again your Ami also matters uh which am I have selected for this instance types to choose from all right so these are the different different types of instance types that we have now under the free tire you can select only one which is the D2 dot micro so you have to basically make sure you're using this free tire eligible so that you don't pay any money if you choose any other options you'll have to pay money and here you can see the cost how much you are going to pay per hour so whenever you're launching the instances don't make any changes if you're using your own personal account generally at an organization level general purpose is what is very commonly used and under that depending on your application that you're running you will be choosing the different different students types so that's basically the different different instance types that we have for your ec2 instances that's all for this session thank you once again before you leave please don't forget to hit the Subscribe button and if you like the video leave a like and please share the video
Info
Channel: DGR Uploads
Views: 5,612
Rating: undefined out of 5
Keywords: AWS, Amazon Web Services, DevOps, IAM, EC2
Id: 09CJNcwXt_4
Channel Id: undefined
Length: 12min 58sec (778 seconds)
Published: Sun Jul 30 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.