Architecting on AWS - Amazon EC2 Instance
Aditya Mahajan
Previous Video: https://www.youtube.com/watch?v=b_J2mUw9yCg Architecting on AWS Playlist: https://www.youtube.com/watch?v=b_J2mUw9yCg&list=PL6B1YJCaP_O4TXteBSGAx7-tZuXYS7rRS
Today we will be looking at a very interesting topic which is glorified a lot and that is a server when we say server, what is the first thing that pops up in your mind, a very big box kept in a large room, but wait thatโs not the case every time. A server can be as small as your laptop/PC on which you are watching this video. To know more watch the video till the end.
Hello and welcome to my Architecting on AWS series in the last tutorial we got used to with the Amazon S3 service and saw a simple use case of hosting a static website, if you have not watched it, I will give the link in the description or a card at the top.
You may be confused by the thing I just said that a laptop can be a server, so it can do all the things that those big servers can do ?? yes definitely server is just a simple Computer but with a lot more processing power.
Then you would ask, can small scale tasks like my personal website or very small business application can be done by using my laptop ??
The answer is actually Yes & No, let me clarify, you can set up and host everything for your customers and use your laptop exactly as a server but there is a catch here! are you willing to keep your laptop or PC turned on 24 x 7? The answer would be obviously no.
For robustness, you need a computer that stays on for a complete-time period of a year or more, until the maintenance task comes up. And thatโs where the production environment comes in. These servers or computers have the latest release of the application installed and is used by public users.
Handling of all these production servers is not an easy task you have lots of things to do, you would need to set up the hardware, install the OS, do all the patching, configure the network, install the application and then your users can use it and donโt forget about the maintenance.
And after doing all this if your application does not get traffic then all the server is for waste as you would need to pay for its electricity and all the things.
To Ease our Work AWS Elastic Cloud Compute service comes in and says what if you get the PC from us on rent run whenever you need and shut it down when you are done. And we just pay for the time you use the server.
Each PC that AWS provides us, we call it an instance so the number of PCs is equivalent to the number of instances. Now there are various types of instances available. And based on our need we can select which to use. We will look at their details in the next part.
Types Of Instances General Purpose Instances - T2, M5, M4, M3. Computer Optimized Instances - C5, C4, C3. Memory-Optimized Instances - X1, R4, R3. Accelerated Computing Instances - P3, P2, G3, F1. Storage Optimized Instances - I3. Dense Storage Instances - D2.
Step 1: Choosing the AMI Step 2: Choosing an Instance type Step 3: Configure Instance Details Step 4: Add Storage Step 5: Tags Step 6: Security Group Step 7: Review and Launch
Note: DO NOT FORGET to terminate your instance otherwise you may be billed for the instance that is left on. AWS Animated Video: https://www.youtube.com/watch?v=TsRBftzZsQo
๐ Social Media ๐ ๐ LinkedIn: https://www.linkedin.com/in/adityamahajan123/ ๐ Website: http://adityamahajan.ml/ ๐ GitHub: https://github.com/skystone1000/ ๐ธ Instagram: https://www.instagram.com/skystone1000/ ... https://www.youtube.com/watch?v=bVK154jaHv0
48050871 Bytes