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.
Fix permissions for Wordpress files/folders for upload to work on LightSail LAMP server manual install.
Simple auto renew SSL cert on Lightsail