AWS Architect Certification Training
- 69k Enrolled Learners
- Live Class
While predicting the required computer power, there can be two scenarios, you may over-estimate the requirement, and buy stacks of servers which will not be of any use, or you may under-estimate the usage, which will lead to the crashing of your application. In this AWS EC2 Tutorial we will understand all the key concepts and instance creation in the following sequence:
Amazon Elastic Compute Cloud, EC2 is a web service from Amazon that provides re-sizable compute services in the cloud. They are re-sizable because you can quickly scale up or scale down the number of server instances you are using if your computing requirements change.
An instance is a virtual server for running applications on Amazon’s EC2. It can also be understood like a tiny part of a larger computer, a tiny part which has its own Hard drive, network connection, OS etc. But it is actually all virtual. You can have multiple “tiny” computers on a single physical machine, and all these tiny machines are called Instances.
Suppose you are a developer, and since you want to work independently you buy some servers, you estimated the correct capacity, and the computing power is enough. Now, you have to look after the updation of security patches every day, you have to troubleshoot any problem which might occur at a back end level in the servers and so on.
But if you buy an EC2 instance, you don’t have to worry about any of these things as it will all be managed by Amazon; you just have to focus on your application. That too, at a fraction of a cost that you were incurring earlier! Isn’t that interesting?
Now you have to select an Amazon Machine Image (AMI), AMIs are templates of OS and they provide the information needed to launch an instance.
When we want to launch an instance we have to specify which AMI we want to use. It could be Ubuntu, windows server etc.
Computing is a very broad term, the nature of your task decides what kind of computing you need. Therefore, AWS EC2 offers 5 types of instances which are as follows:
Now, every instance type has a set of instances which are optimized for different workloads:
|General Instances||Compute Instances||Memory Instances||Storage Instances||GPU Instances|
Next in this AWS EC2 Tutorial, let’s understand the whole EC2 instance creation process through a use case in which we’ll be creating an Ubuntu instance for a test environment.
Select t2.micro instance, which is free tier eligible.
Type a name for your AWS EC2 instance in the value box. This name, more correctly known as tag, will appear in the console when the instance launches. It makes it easy to keep track of running machines in a complex environment. Use a name that you can easily recognize and remember.
Verify the details that you have configured to launch an instance.
Next in this AWS EC2 Tutorial, select the option ‘Create a new key pair’ and give a name of a key pair. After that, download it in your system and save it for future use.
PuTTY does not natively support the private key format (.pem) generated by Amazon EC2. PuTTY has a tool called PuTTYgen, which can convert keys to the required PuTTY format (.ppk). You must convert your private key into this format (.ppk) before attempting to connect to your instance using PuTTY.
Congratulations! You have launched an Ubuntu Instance successfully.
Here’s a short AWS EC2 tutorial Video that explains Amazon AMI EC2, Demo on AMI creation, Security groups, Key pairs, Elastic IP vs Public IP and a Demo to launch an EC2 Instance etc. This AWS EC2 tutorial is very important for those who want to become AWS Certified Solutions Architect.
I hope you enjoyed this deep dive into AWS EC2 Tutorial. It is one of the most sought-after skills sets that recruiters look for in an AWS Solution Architect Professional. Here’s a collection of AWS Architect interview questions to help you prepare for your next AWS job interview. Another interesting read which you can check out is AWS S3 Tutorial and for a broader perspective of AWS, check out our Amazon AWS Tutorial.
If you found this AWS EC2 Tutorial relevant, you can check out Edureka’s live and instructor-led course on AWS Architect Certification Training, co-created by industry practitioners.
Got a question for us? Please mention it in the comments section of this AWS EC2 Tutorial and we will get back to you.