Lab 1‐2: Key Pairs and Security Groups - seabar24/SYS-360 GitHub Wiki

Key Pairs

To create a Key Pair for your Instance, go over to Services>EC2>Key Pairs.

image

From there, select Create Key Pair to create your key pair.

  • Select .pem for OpenSSH connection to Instance
  • Select .ppk for PuTTY connection to Instance

image

From there, your private key will be downloaded. THIS IS IMPORTANT TO KNOW WHERE IT'S STORED FOR SSH CONNECTION.

Security Groups

To create a new security group, go over to Services>EC2>Security Groups.

image

From here, you select Create Security Group, for the purposes of this lab, select the same Inbound Rules as below:

image

** INBOUND RULES **

  • HTTP - Source: Anywhere
  • HTTPS - Source: Anywhere
  • SSH - Source: My IP