Skip to main content

5 New Amazon EC2 Services and Features from 2015

Amazon EC2 is the most popular service from Amazon Web Services and a great general AWS introduction.

The team at AWS constantly improves its Amazon EC2 service by iterating around key offerings such as new instance types, new operating systems, new security features and other enhancements. I believe you’ll find these 5 features useful in your daily life. I worked hard to explain the advantages and drawbacks as clearly as possible. You might  disagree with me on some points and if you do, I’d love your feedback.

The New Amazon EC2 Service Feature:

1) New VM Import Options for EC2

Previously it had been a challenge for AWS enterprise customers to use the existing virtualized infrastructure: golden images, importing VMs, deployment process, and licenses. AWS addressed these issues by introducing AWS VM Import/Export and AWS Management Portals for vCenter.

In December 2015, AWS enhanced many features of the above two services by importing multi-volume VMs to EC2 from the AWS Management Portal for vCenter supporting SUSE/SLES 11-12, Oracle Enterprise Linux 6-7, Fedora 19-21, Windows 10 flavors of OSes. However, you need to upgrade the portal or use the latest version of the portal to make these upgrades work.

2) EC2 t2.nano Instance

Amazon introduced a new instance type called t2.nano in the t2 instance family. The introduction of t2.nano was intended to be used by low-traffic websites, microservices, and for dev/test environments with a very low cost. Each t2.nano instance has 512 MiB of memory and 1 vCPU and can run 32 or 64 bit operating systems and applications. These instances support EBS encryption and up to 2 Elastic Network Interfaces per instance that you can use with AWS CloudFormation. Currently, t2.nano instances are available in the following regions: US East (Northern Virginia), US West (Oregon), US West (Northern California), Europe (Ireland), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (Brazil), and AWS GovCloud (US) regions. Cost is also a compelling reason to use an EC2 t2.nano instance because the per hour price goes as low as $0.0065 for on-demand and a yearly reserved instance cost of $3.125 per month. If you select a 3 years reserved instance the cost comes down to $2.10/month.

3) Instance Protection for Auto Scaling

Autoscaling in AWS EC2 helps you to meet resource demands rapidly. Autoscaling adjusts the EC2 instances during spikes in traffic and scales down when the demand drops off.

AWS has enhanced Autoscaling by providing Instance Protection, which prevents the servers from terminating during the scale-in phase. You have may have many such requirements where you do not want to terminate a particular instance. For example, you have an instance where both app server (e.g. JBoss) and FTP servers are installed and you don’t want either one to be de-commissioned. Or, perhaps, you have an Hadoop master node which is the single point of failure in cases of  termination. There are many such examples and it depends on your design and judgment which server needs to be prevented from termination during scale-in.

4) EC2 Dedicated Hosts

In Nov 2015, AWS announced the availability of dedicated hosts. Dedicated hosts are physical servers running underneath everything the with capacity of hosting one or more EC2 instances. But the question is why do we need to use Dedicated Hosts? Assume that you have existing licenses for Oracle Databases and the licenses are usually applied on a server with a certain number of sockets or physical cores. This model works for Oracle licenses as well as  licenses for Windows Servers, SQL Servers, and SUSE Linux Enterprise Servers. For these kinds of licenses, AWS introduced dedicated hosts that map these licenses in AWS EC2 instances when you use BYOL (Bring Your Own License). This model allows you to allocate an actual physical server (the Dedicated Host) and then launch one or more EC2 instances of a given type on it. You will be charged for the hosts and not the instances you launch on the dedicated host. With dedicated hosts, you can launch M3, M4, C3, C4, G2, R3, D2, and I2 instances which you must specify while allocating a host.

In addition to allowing you to Bring Your Own License, Amazon EC2 Dedicated Hosts can help you to meet stringent compliance and regulatory requirements, track usage with AWS Config, and control over instance placement at the physical host level.

Let’s take a look at how dedicated host provisioning looks and discuss what each of the parameters mean.

Instance Type: You select a specific type of instance that can be launched on a dedicated host. Remember, you can only launch your specified instance type that you have configured.

Availability Zones: AZ where the dedicated host and its hosted instances will be located.

Allow instance auto-placement: When it is ON, the subsequent launch of the instances will be placed in this dedicated host until it has the needed capacity. Otherwise, you must specify the host.

Quantity: Number of dedicated hosts you want to purchase with this configuration.

dedicated-host

Once you allocate host, it will be created and a Host ID generated. The following table shows what kind of dedicated host will be allocated for a particular instance type.

Amazon ec2

In our configuration, we will receive a dedicated host with 2 sockets and 20 cores that can host 16 m3.large instances.  The rests of the steps are as follows:

  • From the dedicated host dashboard, select a dedicated host and click on the Actions button. It will allow you to launch instances with an option “Launch Instance(s) onto Host”.
  • Select the AMI and the Instance Type (It will only allow the Instance Type you have named during allocation of the host i.e. m3.large in our case).
  • The instances launched in a Dedicated Host must reside in a VPC. A single Dedicated Host can contain instances from more than one VPC.
    • Selecting Affinity will make sure that the instance will restart on the same host. This is ideal when you do not want the licensed software to run on the wrong host.

An important word of caution, when you launch instances in a Dedicated Host, you do not use the autoscaling feature. Moreover, the Placement Groups in VPC and RDS are not supported.

The pricing structure is as follows. Dedicated Hosts are available with on-demand pricing only with a future roadmap which make this model available for reserved pricing.

Amazon ec2

5) EC2 Run Command for Linux Instances

In earlier releases of the Amazon EC2 Run command, the support was for Windows instances only. This support offered the administer more than one Windows instances, including installing software, running ad-hoc scripts (Microsoft PowerShell commands), configuring Windows Update settings, and more.

The new Amazon EC2 service features offer the EC2 Run command for Linux instances. Run Command makes use of an agent (amazon-ssm-agent) that runs on each instance. It is available for the following Linux distributions:

  • Amazon Linux AMI (64 bit) – 2015.09, 2015.03, 2014.09, and 2014.03.
  • Ubuntu Server (64 bit) – 14.04 LTS, 12.04 LTS
  • Red Hat Enterprise Linux (64 bit) – 7.x

Here are some of my favorite things that you can do with the Run Command:

  • Run shell commands or scripts
  • Add users or groups
  • Configure user or group permissions
  • Start, stop, view all running services
  • View system resources & log files
  • Install or uninstall applications
  • Update a scheduled (cron) task

This feature is available in the US East (Northern Virginia), US West (Oregon), and Europe (Ireland) regions only at this time. There’s no charge for the command, but, as always,  you will be billed for other AWS resources that you consume. Eugene Teo has a good blog from December that provides excellent background on this topic SELinux: improve the security of your EC2 servers.

Conclusion:

AWS is vibrant, speaks to customers, and take their feedbacks seriously. The team at Amazon Web Services create amazing features and services that make our jobs easier — and more fun. That’s why AWS is the leader in the Cloud industry according to Gartner. I invite you to offer comments, questions and thoughts by starting a discussion below. Beginners who are hungry for greater understanding should take a look at the Cloud Academy course, Amazon EC2 (Elastic Cloud Compute): how to launch you instance in minutes. Cloud Academy offers a standard 7 day trial so, maybe check it out and let us know what you think. We welcome your feedback because we never stop learning and hope you don’t either.

Written by

Chandan Patra

Cloud Computing and Big Data professional with 10 years of experience in pre-sales, architecture, design, build and troubleshooting with best engineering practices.Specialities: Cloud Computing - AWS, DevOps(Chef), Hadoop Ecosystem, Storm & Kafka, ELK Stack, NoSQL, Java, Spring, Hibernate, Web Service

Related Posts

Sanket Dangi
— February 11, 2019

WaitCondition Controls the Pace of AWS CloudFormation Templates

AWS's WaitCondition can be used with CloudFormation templates to ensure required resources are running.As you may already be aware, AWS CloudFormation is used for infrastructure automation by allowing you to write JSON templates to automatically install, configure, and bootstrap your ...

Read more
  • AWS
  • formation
Andrew Larkin
— January 24, 2019

The 9 AWS Certifications: Which is Right for You and Your Team?

As companies increasingly shift workloads to the public cloud, cloud computing has moved from a nice-to-have to a core competency in the enterprise. This shift requires a new set of skills to design, deploy, and manage applications in cloud computing.As the market leader and most ma...

Read more
  • AWS
  • AWS certifications
Andrew Larkin
— November 28, 2018

Two New EC2 Instance Types Announced at AWS re:Invent 2018 – Monday Night Live

The announcements at re:Invent just keep on coming! Let’s look at what benefits these two new EC2 instance types offer and how these two new instances could be of benefit to you. If you're not too familiar with Amazon EC2, you might want to familiarize yourself by creating your first Am...

Read more
  • AWS
  • EC2
  • re:Invent 2018
Guy Hummel
— November 21, 2018

Google Cloud Certification: Preparation and Prerequisites

Google Cloud Platform (GCP) has evolved from being a niche player to a serious competitor to Amazon Web Services and Microsoft Azure. In 2018, research firm Gartner placed Google in the Leaders quadrant in its Magic Quadrant for Cloud Infrastructure as a Service for the first time. In t...

Read more
  • AWS
  • Azure
  • Google Cloud
Khash Nakhostin
Khash Nakhostin
— November 13, 2018

Understanding AWS VPC Egress Filtering Methods

In order to understand AWS VPC egress filtering methods, you first need to understand that security on AWS is governed by a shared responsibility model where both vendor and subscriber have various operational responsibilities. AWS assumes responsibility for the underlying infrastructur...

Read more
  • Aviatrix
  • AWS
  • VPC
Jeremy Cook
— November 10, 2018

S3 FTP: Build a Reliable and Inexpensive FTP Server Using Amazon’s S3

Is it possible to create an S3 FTP file backup/transfer solution, minimizing associated file storage and capacity planning administration headache?FTP (File Transfer Protocol) is a fast and convenient way to transfer large files over the Internet. You might, at some point, have conf...

Read more
  • Amazon S3
  • AWS
Guy Hummel
— October 18, 2018

Microservices Architecture: Advantages and Drawbacks

Microservices are a way of breaking large software projects into loosely coupled modules, which communicate with each other through simple Application Programming Interfaces (APIs).Microservices have become increasingly popular over the past few years. The modular architectural style,...

Read more
  • AWS
  • Microservices
Stuart Scott
— October 2, 2018

What Are Best Practices for Tagging AWS Resources?

There are many use cases for tags, but what are the best practices for tagging AWS resources? In order for your organization to effectively manage resources (and your monthly AWS bill), you need to implement and adopt a thoughtful tagging strategy that makes sense for your business. The...

Read more
  • AWS
  • cost optimization
Stuart Scott
— September 26, 2018

How to Optimize Amazon S3 Performance

Amazon S3 is the most common storage options for many organizations, being object storage it is used for a wide variety of data types, from the smallest objects to huge datasets. All in all, Amazon S3 is a great service to store a wide scope of data types in a highly available and resil...

Read more
  • Amazon S3
  • AWS
Cloud Academy Team
— September 18, 2018

How to Optimize Cloud Costs with Spot Instances: New on Cloud Academy

One of the main promises of cloud computing is access to nearly endless capacity. However, it doesn’t come cheap. With the introduction of Spot Instances for Amazon Web Services’ Elastic Compute Cloud (AWS EC2) in 2009, spot instances have been a way for major cloud providers to sell sp...

Read more
  • AWS
  • Azure
  • Google Cloud
  • SpotInst
Guy Hummel and Jeremy Cook
— August 23, 2018

What are the Benefits of Machine Learning in the Cloud?

A Comparison of Machine Learning Services on AWS, Azure, and Google CloudArtificial intelligence and machine learning are steadily making their way into enterprise applications in areas such as customer support, fraud detection, and business intelligence. There is every reason to beli...

Read more
  • AWS
  • Azure
  • Google Cloud
  • Machine Learning
Stuart Scott
— August 17, 2018

How to Use AWS CLI

The AWS Command Line Interface (CLI) is for managing your AWS services from a terminal session on your own client, allowing you to control and configure multiple AWS services.So you’ve been using AWS for awhile and finally feel comfortable clicking your way through all the services....

Read more
  • AWS