AWS -EC2 (Amazon Elastic Compute Cloud)

What is AWS EC2 ?

 

Amazon Elastic Compute Cloud, EC2 is a web service from Amazon that provides re-sizable compute services in the cloud.

Difference between a service and an Instance?

Let’s understand it this way:

Therefore, AWS EC2 offers 5 types of instances which are as follows:

For applications that require a balance of performance and cost.

E.g email responding systems, where you need a prompt response as well as the it should be cost effective, since it doesn’t require much processing.

For applications that require a lot of processing from the CPU.

E.g analysis of data from a stream of data, like Twitter stream

For applications that are heavy in nature, therefore, require a lot of RAM.

E.g when your system needs a lot of applications running in the background i.e multitasking.

For applications that are huge in size or have a data set that occupies a lot of space.

E.g When your application is of huge size.

For applications that require some heavy graphics rendering.  

E.g 3D modelling etc.

Now, every instance type has a set of instances which are optimized for different workloads:

 

EC2 Instance Update – C5 Instances with Local NVMe Storage (C5d)

New compute-intensive C5 instances. With a 25% to 50% improvement in price-performance over the C4 instances, the C5 instances are designed for applications like batch and log processing, distributed and or real-time analytics, ad serving, highly scalable multiplayer gaming, and video encoding

New C5d Instances with Local Storage

In order to meet this need, we are introducing C5 instances equipped with local NVMe storage. Available for immediate use in 5 regions, these instances are a great fit for the applications that I described above, as well as others that you will undoubtedly dream up! Here are the specs:

Other than the addition of local storage, the C5 and C5d share the same specs. Both are powered by 3.0 GHz Intel Xeon Platinum 8000-series processors, optimized for EC2 and with full control over C-states on the two largest sizes, giving you the ability to run two cores at up to 3.5 GHz using Intel Turbo Boost Technology.

You can use any AMI that includes drivers for the Elastic Network Adapter (ENA) and NVMe; this includes the latest Amazon Linux, Microsoft Windows (Server 2008 R2, Server 2012, Server 2012 R2 and Server 2016), Ubuntu, RHEL, SUSE, and CentOS AMIs.

EC2 Instance Update – M5 Instances with Local NVMe Storage (M5d)

5 instances equipped with local NVMe storage. Available for immediate use in 5 regions, these instances are a great fit for workloads that require a balance of compute and memory resources. Here are the specs:

The M5d instances are powered by Custom Intel® Xeon® Platinum 8175M series processors running at 2.5 GHz, including support for AVX-512.

You can use any AMI that includes drivers for the Elastic Network Adapter (ENA) and NVMe; this includes the latest Amazon Linux, Microsoft Windows (Server 2008 R2, Server 2012, Server 2012 R2 and Server 2016), Ubuntu, RHEL, SUSE, and CentOS AMIs.

Available Now

M5d instances are available in On-Demand, Reserved Instance, and Spot form in the US East (N. Virginia), US West (Oregon), Europe (Ireland), US East (Ohio), and Canada (Central) Regions. Prices vary by Region, and are just a bit higher than for the equivalent M5 instances.

Is it possible to run the multiple websites on EC2 server with one Elastic IP address?

No, it’s not possible. We need more than one elastic IP in such a case.

What are the best practices for Security in Amazon EC2?

There are several best practices to secure Amazon EC2. A few of them are given below:

Key differences between Spot Instances and On-Demand Instances