Security Groups and SSH keys

Security Groups (The Firewall):

Think of a security group like a bouncer at a club who checks IDs. It controls what traffic can reach your EC2 instance and what traffic can leave it. For example:

SSH Keys (Your Digital Key):


Just like you need a physical key to enter your house, you need a digital key to connect securely to your EC2 instance. 

Windows: https://www.purdue.edu/science/scienceit/ssh-keys-windows.html

Linux/macOS: open the terminal and type "ssh-keygen -t ed25519", follow the prompts and it will tell you where it saved the keys.

The file ending in .pub is the publickey, and the other one is the private key.


Revision #2
Created 4 December 2024 23:45:58 by ezri
Updated 4 December 2024 23:56:10 by ezri