AppDividend
Latest Code Tutorials

What is AWS EC2 Instance | Getting Started With AWS EC2

0

In this article, we will see What is AWS EC2 Instance | Getting Started With AWS EC2. Amazon EC2 instance is the virtual server in Amazon’s Elastic Compute Cloud (EC2) for running applications on the Amazon Web Services (AWS) infrastructure.

What is AWS EC2 Instance

Amazon Elastic Compute Cloud (Amazon EC2) provides scalable computing capacity in the Amazon Web Services (AWS) cloud. Using Amazon EC2 eliminates our need to invest in hardware up front cost so that you can build and deploy applications faster and scalable manner. You can use AWS EC2 to launch as many virtual servers or few virtual servers as we need, configure security and networking, and manage the cloud storage. AWS EC2 enables us to scale up or down to handle the traffic based on the requirements or reducing your need to forecast traffic.

AWS is the comprehensive, evolving cloud computing platform; EC2 is the service that allows business subscribers to run the application programs in the computing environment. The EC2 can serve as the practically unlimited set of virtual machines.

Virtual Servers in AWS

Amazon EC2 can be thought of as the servers in the cloud. Depending on the application’s use case, we may need to provide powerful servers or small servers. Let’s say, if you get the traffic in millions per day then you need potent servers to host the application. If you have just uploaded a new application, then you might not need to use the powerful servers for right now. As traffic goes up, you can upgrade the servers based on user demand.

These servers are called Virtual Servers. EC2 is the service that provides the virtual servers for our application. The elastic nature of the computing service chooses between small and large virtual servers. Using AWS, we can quickly change the server size, and it is beneficial.

Amazon Machine Images

AWS Instances are created from the Amazon Machine Images (AMI). The machine images or AMI are like templates that are configured with the operating system and other software, which determine a user’s operating environment.

Users can select the AMI provided by the AWS, the user community, or through an AWS Marketplace. Users can also create their own AMIs and share with other users.

Elastic IP Addresses

Elastic IP addresses are designed for dynamic cloud computing. It is created at the account level in AWS. It is not specific to any server instance. When new elastic ip is created within an account, it can control and own at the account level. It can easily be remapped from instance to instance.

Difference between Tradition IPs and Elastic IPs

In a traditional web application, we have one DNS server and one web server. Now, DNS server maps to the domain name to the web server IP. So, when the web server fails, our application will be crashed. Until the problem is resolved, our application will be dead for some time.

If the blow the server is severe then we might need to create one more server and assign the new IP to the DNS, and it takes time. It is the major drawback for the traditional IP. We can not allocate new web server IP dynamically and restart our application in no downtime.

Now, in the Amazon EC2 instance, the Elastic IP is assigned to the account level and not the web server level. So, when one web server fails, the account automatically assigns the new IP to the DNS server and user even realize that the IP address for an application is changed.

So, we can use the Elastic IP to remap the server with DNS in no downtime and web traffic drives to the new servers. It works great for handling the emergencies.

Features of Amazon EC2

Amazon EC2 provides the following features.

  1. Virtual computing environments, known as instances.
  2. Preconfigured templates for your instances, known as Amazon Machine Images (AMIs), that package the bits you need for your server (including the operating system and additional software).
  3. Various configurations of CPU, memory, storage, and networking capacity for your instances, known as instance types.
  4. Secure login information for your instances using key pairs (AWS stores the public key, and you store the private key in the safe place).
  5. Storage volumes for temporary data that are removed when you stop or eliminate your instance, known as the instance store volumes.
  6. The persistent storage volumes for our data using Amazon Elastic Block Store (Amazon EBS), known as Amazon EBS volumes.
  7. We can use the Multiple physical locations for our resources, such as the instances and Amazon EBS volumes, known as the Regions and Availability Zones.
  8. The firewall that enables us to specify the protocols, ports and the source IP ranges that can reach our instances using the security groups.
  9. We can assign the Static IPv4 addresses for dynamic cloud computing, known as Elastic IP addresses. We have discussed the elastic IPs in earlier this post.
  10. We can create The Metadata also known as tags and assign to your Amazon EC2 resources.
  11. We can create the virtual networks that are logically isolated from the rest of an AWS cloud and that you can optionally connect to your system, known as virtual private clouds (VPCs).

Conclusively, Getting Started With AWS EC2 article is over.

Leave A Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.