EC2 Flashcards
What does EC2 stands for?
Elastic Compute Cloud
Allows which type of Cloud Computing?
Infrastructure as a Service (IaaS)
What does EC2 consists of?
- Renting virtual Machines (EC2)
- Storing data on virtual drives (EBS)
- Distributing load across machines (ELB)
- Scaling the services using an auto-scaling group (ASG)
What are EC2 sizing and configuration options?
- Operating System (OS): Linux, Windows, Mac OS
- Compute power and cores (CPU)
- Random Access Memory (RAM)
- Storage Space: Network attached (EBS & EFS) or hardware (EC2 Instance Store)
- Network Card: speed of the card, public IP address
- Firewall rules: security group
- Bootstrap script (configure at first launch): EC2 User Data
What EC2 Instance Types exist?
General Purpose, Compute Optimised, Memory Optimised
What are the characteristics of the General Purpose EC2 Instance Type?
Great for a diversity of workloads (web servers, code repos)
Balance between Compute, Memory, Networking
What are the characteristics of the Compute Optimised EC2 Instance Type?
Great for compute intensive tasks that require high performance processors
Name: c-series
What are the characteristics of the Memory Optimised EC2 Instance Type?
Fast for performance for workloads that process large data sets in memory (RAM)
What are the characteristics of the Storage Optimised EC2 Instance Type?
Great for storage-intensive tasks that require high, sequential reand and write access to large data sets on local storage
What do Security Groups control?
They control how traffic is allowed int or out of our EC2 Instances. They act as a firewall on EC2 instances and they regulate access to ports, authorised IP ranges (IPv4 and IPv6) and inbound and outbound network. They only contain allow rules and their rules can reference by IP or by security group.
What are the default security group rules for inbound/outbound traffic?
Inbound traffic is blocked
Outbound traffic is allowed
What is the SSH port and what is it for?
SSH (Secure Shell), port 22, log into a Linux instance
What is the FTP port?
FTP (File Transfer Protocol), port 21, upload files into a file share
What is the SFTP port?
SFTP (Secure File Transfer Protocol), port 22, upload files using SSH
What is the RDP port and what is it for?
RDP (Remote Desktop Protocol), port 3389, log into a Windows instance