AWS EC2 Instance types


Creating Instances 
Option to request a spot instance and specify the maximum bid price Choose whether to auto-assign a public IP - default is to use the subnet setting Can add an instance to a placement group Instances can be assigned to IAM roles which configures them with credentials to access AWS resources Termination protection can be enabled and prevents you from terminating an instance Basic monitoring is enabled by default (5-minute periods), detailed monitoring can be enabled (1-minute periods, chargeable) Can define shared or dedicated tenancy T2 unlimited allows applications to burst past CPU performance baselines as required (chargeable) Can add a script to run on start-up (user data) Can join to a directory (Windows instances only) There is an option to enable an Elastic GPU (Windows instances only) Storage options include adding additional volumes and choosing the volume type Non-root volumes can be encrypted Root volumes can be encrypted if the instance is launched from an encrypted AMI There is an option to create tags (or can be done later) 

You can select an existing security group or create a new one You must create or use an existing key pair - this is required An Amazon Machine Image (AMI) provides the information required to launch an instance An AMI includes the following: A template for the root volume for the instance (for example, an operating system, an application server, and applications) Launch permissions that control which AWS accounts can use the AMI to launch instances A block device mapping that specifies the volumes to attach to the instance when it's launched AMIs are regional. You can only launch an AMI from the region in which it is stored. However, you can copy AMI's to other regions using the console, command line, or the API 


Amazon Elastic Compute Cloud | Amazon EC2


Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers 

You are limited to running up to a total of 20 On-Demand instances across the instance family, purchasing 20 Reserved Instances, and requesting Spot Instances per your dynamic spot limit per region (by default) Amazon EC2 currently supports a variety of operating systems including: Amazon Linux, Ubuntu, Windows Server, Red Hat Enterprise Linux, SUSE Linux Enterprise Server, Fedora, Debian, CentOS, Gentoo Linux, Oracle Linux, and FreeBSD EC2 compute units (ECU) provide the relative measure of the integer processing power of an Amazon EC2 instance  

With EC2 you have full control at the operating system layer  

Key pairs are used to securely connect to EC2 instances: 
A key pair consists of a public key that AWS stores, and a private key file that you store For Windows AMIs, the private key file is required to obtain the password used to log into your instance For Linux AMIs, the private key file allows you to securely SSH into your instance  

Metadata and User Data: 
User data is data that is supplied by the user at instance launch in the form of a script Instance metadata is data about your instance that you can use to configure or manage the running instance User data is limited to 16KB User data and metadata are not encrypted Instance metadata is available at http://169.254.169.254/latest/meta-data The Instance Metadata Query tool allows you to query the instance metadata without having to type out the full URI or category names 


More?