Without the creation of these key pairs, it is not possible to connect to your EC2 instance when it has been deployed. You can still create your EC2 instance without a key pair, but you would not be able to connect to it locally to perform any kind of maintenance or local administration.
The two methods for creating key pairs that we will be looking into are as follows:
- Creating key pairs during EC2 deployment
- Creating key pairs within the EC2 console