In Chapter 2, Launching an EC2 Instance, we covered the process of launching EC2 instances. In this chapter, we will cover how to connect to them.
The topics that we will cover are as follows:
- Key pairs
- Logging in to Linux instances
- Adding Linux users
- Logging in to Windows instances
Key pairs consist of a public key and a private key, and are used to securely connect to your instances. The process is different for Linux and Windows instances. We will discuss ways to generate the keys, and then use them to log in to your instances.