From the course: AWS: Networking

Unlock this course with a free trial

Join today to access over 25,600 courses taught by industry experts.

Configuring security groups

Configuring security groups

- Let's jump right back in and adjust the configuration of a security group. I'm going to go ahead and connect to each one of these instances. To do so, I can simply select the instance and click the Connect button. Notice that to connect, I need to specify the private key file, which I've already downloaded to my laptop. I simply copy the example command and paste it into one of my terminal windows. Note that the first time you connect to an EC2 instance, you have to verify the authenticity of the host. When you say yes here, the authenticity is stored in your known hosts file on your local machine. In this case, on my laptop. Closing out of that window, I unselect the sgdemo 1 instance and select sgdemo 2. In order to connect to sgdemo 2, I simply click the Connect button and copy the example command. In my second terminal window, I go ahead, paste that in, say yes, and connect. Looking at both…

Contents