JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Gallery
2. Amazon Elastic Compute Clouds (EC2)
Amazon EC2
IP Addresses
Placement Groups
Elastic Network Interfaces
NAT Gateway vs NAT Instances
Instance Lifecycle
Billing and Provisioning Options
AWS Nitro System and Enclaves
Misc
More
Share
Explore
Amazon EC2
Public and Private Subnets
Amazon Machine Images(AMIs)
Instance Types
Overview
Service Description
: Amazon EC2 is a web service that provides
resizable compute capacity
in the AWS cloud.
Instances
: Virtual servers launched on the AWS cloud are known as instances.
Amazon Machine Images (AMIs)
Definition
:
Preconfigured templates for EC2 instances
.
Contents
: Includes the operating system and any software packages needed to launch the instance.
Supported Operating Systems
:
Amazon Linux
Ubuntu
Windows Server
MacOS
Red Hat Enterprise Linux
SUSE Linux Enterprise Server
Fedora
Debian
CentOS
Gentoo Linux
Oracle Linux
FreeBSD
EC2 Compute Units (ECUs)
: Provide a relative measure of the integer processing power of an EC2 instance.
Control and Access
Full Control
: Users have root/admin access at the operating system layer.
Key Pairs
:
Components
:
A public key stored by AWS and a private key file stored by the user.
Usage
:
Windows AMIs
: Private key file required
to obtain the password
for logging in.
Linux AMIs
: Private key file used to securely
SSH
into the instance.
Metadata and User Data
User Data
:
Purpose
: Supplied by the user at instance launch, typically in the form of a script. It must be
base64-encoded
.
Limit
: 16KB
.
Availability
: Not encrypted and accessible at
http://169.254.169.254/latest/user-data
.
Instance Metadata
:
Purpose
:
Data about the instance
used for configuration or management.
Access
: Available at
http://169.254.169.254/latest/meta-data/
(trailing "/" required).
Usage Example
: On Linux, use the
curl
command to view metadata:
curl http://169.254.169.254/latest/meta-data/
.
Query Tool
: Instance Metadata Query tool for querying metadata without typing out the full URI.
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.