What Is Amazon EC2?
What Is Amazon EC2?
Amazon Elastic Compute Cloud (Amazon EC2) provides scalable computing capacity in the Amazon Web Services (AWS) cloud.

Amazon Elastic Compute Cloud (Amazon EC2) provides scalable computing capacity in the Amazon Web Services (AWS) cloud. Using Amazon EC2 eliminates your need to invest in hardware upfront, so you can develop and deploy applications faster. You can use Amazon EC2 to launch as many or as few virtual servers as you need, configure security and networking, and manage storage. Amazon EC2 enables you to scale up or down to handle changes in requirements or spikes in popularity, reducing your need to forecast traffic. For More Information about Amazon EC2

Features of Amazon EC2

Amazon EC2 provides the following features:

  • Virtual computing environments, known as instances 
  • 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)
  • Various configurations of CPU, memory, storage, and networking capacity for your instances, known as instance types 
  • Secure login information for your instances using key pairs (AWS stores the public key, and you store the private key in a secure place) 
  • Storage volumes for temporary data that are deleted when you stop or terminate your instance, known as instance store volumes 
  • Persistent storage volumes for your data using Amazon Elastic Block Store (Amazon EBS), known as Amazon EBS volumes 
  • Multiple physical locations for your resources, such as instances and Amazon EBS volumes, known as Regions and Availability Zones 
  • A firewall that enables you to specify the protocols, ports, and source IP ranges that can reach your instances using security groups 
  • Static IPv4 addresses for dynamic cloud computing, known as Elastic IP addresses 
  • Metadata, known as tags, that you can create and assign to your Amazon EC2 resources 
  • Virtual networks you can create that are logically isolated from the rest of the AWS cloud and that you can optionally connect to your own network, known as virtual private clouds (VPCs)

The life cycle of EC2 Instance

Before going to know the life cycle of EC2 Instance. Let’s know what happens in real-computers. In the life cycle of real-computers are they go different stages from power-on to power-off. If someone hits the power button and the computer will shut-down normally. If it is working are not we will pay money. Of course, they consume the power if is it on the condition and pay money for power. If the computer is in off-mode, but the information stored on hard drives. We will wait until the machine is power on. To avoid these problems take a look at below. To get in-Depth knowledge on Amazon EC2 you can enroll for live AWS Online Training

To avoid those problems most of the peoples go through the cloud. Different cloud has different features. In Amazon EC2 there are two different ways to boost up the instance. We will get different life-cycle methods depends upon which boost method are being used. We can boost from S3-backed AMI or ESB-backed AMI. Both methods have advantages and disadvantages. I think someone is thinking about an AMI. AMI is nothing but a pre-configured bundle software location. All software is located in this AMI no need to install software separately. We can create own AMI also. AMI is the part of the S3, it is a storage part of the Amazon. What is Amazon EC2

Suppose we can launch an AMI, need to provide some parameters. Security group instance, private pk file, how many instances we would launch and size of that instance. Likewise, we should provide lots of parameters. Once this AMI is launch, the instance would start launching. Initially, it would be a pending stage and starts copying the files from S3 and assigns parameters. After that, instance coming to the running stage. All public and private IPs are available in this instance and then we can restore the software that we want.

While we don’t use this instance it’s compulsory to terminate that one. If we terminate this instance all IPs will be terminated, this is the complete cycle. In some cases, we forget to terminate the instance, at that time Amazon should charge the cost. That is our concern, not Amazon's concern, it always charges for running instance. As above discussed Amazon has some special instance are ESB Backed instance. This can provide an additional stage called the stop instance stage. With this option, the instance will be terminated and there is no cost. Finally, this blog explains What is Amazon EC2?

Take your career to new heights of success with an AWS Training