You have a new WordPress server in the cloud and you want to install a plugin. You get an error trying to install it because it only prompts for ftp or sftp username and password. Your server requires keys to connect to your server. Here is a simple workaround for installing plugins manually.
Image Uploads Not Working on WordPress AWS LAMP
Fix permissions for Wordpress files/folders for upload to work on LightSail LAMP server manual install.
AWS Lightsail LAMP Add Free SSL with Auto-Renewals
Simple auto renew SSL cert on Lightsail