AWS Architect Certification Training (16 Blogs) Become a Certified Professional
AWS Global Infrastructure

Cloud Computing

Topics Covered
  • AWS Architect Certification Training (16 Blogs)
  • AWS Development (7 Blogs)
  • SFDC Administration Foundation (3 Blogs)
  • Salesforce Admin and Dev Foundation (9 Blogs)
SEE MORE

MI-new-launch

myMock Interview Service for Real Tech Jobs

myMock-widget-banner-bg

Everything You Need To Know About Instances In AWS

249 Views
11 / 11 Blog from Getting Startred With AWS

MI-new-launch

myMock Interview Service for Real Tech Jobs

myMock-mobile-banner-bg

myMock Interview Service for Real Tech Jobs

  • Mock interview in latest tech domains i.e JAVA, AI, DEVOPS,etc
  • Get interviewed by leading tech experts
  • Real time assement report and video recording

AWS has become a lifesaver for many organizations like Adobe Systems, 21st Century Fox, AirAsia, Airbnb and a lot more. One of the biggest reasons behind the success stories of these organizations is using AWS as their infrastructure. What does Amazon provide that has grabbed so many user’s attention? Funny question, because they have a lot to serve and one of them is Amazon Elastic Cloud Compute(EC2). This article on Instances in AWS gives a detailed explanation of Amazon EC2.

Agenda for this article:

Introduction To Instances In AWS

In school, when I had just started learning Linux, I had labs that provided systems with Linux OS. I’m sure none of us really had Linux on our personal laptops and neither did I. Every time I had to practice, I had to use the school labs. A similar situation occurred while learning MySql or for a matter of fact any new technology.

We wanted to concentrate on learning how to work with the technology instead of spending time on the “setting up” part. How I wish I was introduced to Amazon EC2 back then. Never knew getting Linux OS on my personal system would be as easy as launching an EC2 instance.

Developers face a very similar issue. They would rather spend their time developing instead of setting up the development environment. That’s when Instances in AWS came to their rescue. If the developers needed an environment with Linux and MySql, all they had to do was launch an instance. Honestly, Amazon provides a machine image for almost every requirement.

Instances in AWS are basically virtual environments. These virtual environments are isolated from the underlying base OS. It’s an On-demand service, i.e. a user can rent the virtual server(instances) on an hourly base and deploy their applications on it. EC2 Instances are highly scalable, meaning, you can scale up or scale down based on your requirement dynamically. Using EC2 Instances as your cloud computing environment eliminates the need to invest in hardware and software dependencies.

Types Of Instances In AWS

Amazon provides a wide range of instances to fit different use cases. You can select the one that suits you the best. Let’s have a look at different types of instances that’ll help you select your perfect match.

General Purpose Instances

It’s the most widely used instance type. Its mainly used for web-servers and running deployment environments for mobile or gaming applications. It’s perfect if you’re a newbie. General purpose instances include – A1, M5, M5a, M4, T3, T3a, T2

Compute Optimized Instances

Compute optimized instance types are perfect when you have to prioritize raw compute power, such as gaming servers, scientific modeling, high-performance web servers, and media transcoding. They are faster but more expensive(cost based on memory, CPU, instance storage, network, and EBS bandwidth). Compute Optimized instances include – C5, C5n, C4

Memory Optimized Instances

These instances are ideal for memory sensitive application, such as real-time big data analytics, high-performance databases, etc. Memory optimized instances include – R5, R5a, R4, X1e, X1, Z1d, High Memory

Accelerated Computing Instances

Accelerated computing instances use separate Graphical Processing Unit or Field Programmable Gate Arrays for graphic sensitive calculations. Accelerated Computing instances include – P3, P2, G3, F1

Storage Optimized Instances

These kinds of instances provide high sequential read-writes for large data sets. These instances are used when a user requires high SSD storage. Storage optimized instances include – I3, I3en, D2, H1

Let’s further have a look at features of instances in AWS to relate to the hype.

Features Of Instances In AWS

  1. Instances consist of Amazon Machine Images(AMI) which are pre-configured templates that wraps everything you need for your server including the operating system.
  2. Multiple options for configuring your instance memory, CPU, storage and networking, making various Instance Types available for you.
  3. Very secure login as it uses key pairs.
  4. It provides a storage volume called Instance Store Volumes for temporarily storing your instance data. These storage volumes are deleted when the instance stops.
  5. Provides persistent storage for your data using Amazon EBS Volumes.
  6. Provides multiple physical locations for your resources. These resources could be anything – instances, Amazon EBS Volumes, etc. This is possible because of Regions and Availability Zones.
  7. It provides a firewall that lets you specify ports, protocols, and source IP range that reaches your instance. This is configured using the Security Groups.
  8. By default, the instances you create have dynamic IP. You can provide your instance with a static IP using Elastic IP Addresses.
  9. You can provide metadata for your instances in the form of Tags.
  10. It lets you configure your network such that its isolated from the rest of the AWS Cloud using Virtual Private Clouds(VPC).

Demo: To launch a free tier(t2.micro) EC2 Instance

Goto AWS Management Console and type EC2. Click on the EC2 service that pops up.

ec2 - Instances In AWS - Edureka

You’ll see EC2 dashboard. Click on Launch Instance to launch it.

launch - Instances In AWS - Edureka

You’ll then be prompted to select the AMI. AMI stands for Amazon Machine Image. Select the one that you need. Make sure of what you choose as these instances cost. So if you’re a beginner it’s better to go for the Free Tier one. For this demo, I’ve selected the Ubuntu Server 18.04.

ami - Instances In AWS - Edureka

Next step is to choose an instance type. You have different options as I’ve mentioned earlier. For this demo, I’ve selected a free tier one(t2.micro).

t2.micro - Instances In AWS - Edureka

Go ahead and click on Next: Configure Instance Details. Add the number of instances you wish to create, the network and subnet you’d like. I’ve selected from the available Network and Subnet and kept the rest as it is.

configure - Instances In AWS - Edureka

Once you’re done configuring your instance, go ahead and click on Next: Add Storage. I’ve used the 8GiB General Purpose SSD.

storage - Instances In AWS - Edureka

Once you’ve added storage, click on Next: Add Tags. Tags are basically meta description for your instance. If you wish to add, you can click on Add Tag on the bottom left.

tags - Instances In AWS - Edureka

Once you’re done adding tags, click on Next: Configure Security Group. Add rules by clicking on Add Rule.

secgroup - Instances In AWS - Edureka

Once you’re done adding security groups, click on Review and Launch.

review - Instances In AWS - Edureka

Review your instance details and click on Launch. You’ll see the launch status like in the image below.

launchstatus - Instances In AWS - Edureka

Click on the Instance ID as highlighted in the above image.

launched - Instances In AWS - Edureka

Yayyy! Your instance is in the running state. This is just the initial stage. Once you’ve created an instance you can use these instances with other AWS services and do a lot of things from running a small docker image to handling an entire organization’s deployment.

This brings us to the end of Instances In AWS article. I hope this blog was helpful. For more such blogs, visit “Edureka Blog“.

If you wish to learn more about Cloud Computing and build a career in Cloud Computing, then check out our Cloud Computing Courses which comes with instructor-led live training and real-life project experience. This training will help you understand Cloud Computing in depth and help you achieve mastery over the subject.

Got a doubt? Please mention it in the comments section or post it on Edureka Community and we will get back to you. At Edureka Community we have more than 1,00,000+ tech-fanatics ready to help.

Comments
0 Comments

Browse Categories

Subscribe to our Newsletter, and get personalized recommendations.