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 2024-12-05 04:45:58 UTC by ezri
Updated 2024-12-05 04:56:10 UTC by ezri