FTP application | FileZillaからAmazon Lightsailへの接続方法

FileZillaとは,FTPだけではなく,TLS(FTPS)やSFTPをサポートするオープンソースのソフトウェアである.
今回,SFTPを利用し,Amazon Lightsailに接続をする方法を以下に記す.
AWS Lightsailでの確認箇所
AWSにログインし,Lightsailへアクセスすると以下画面に遷移するので,赤枠をクリックする.

以下画面に遷移するので,スクロールダウンする."static ip"と"user name"はメモしておく.SSH KEYは後程利用するので,ダウンロードし,保管しておく.

FileZillaを利用したLightsailへのアクセス方法
FileZillaを開く.

以下画面が開くので,"Edit"をクリックし,"Settings"を選択する.

以下画面に移動するので,"SFTP"を選択し,"Add key file"をクリックし,上記でダウンロードしたSSH KEYを選択する.選択後,"OK"をクリックする.

“File"をクリックし,"Site Manager"を選択する.

以下画面に遷移するので,"New site"をクリックし,適当な名前を作成する.私の場合,"amazon_lightsail_xxx"を作成した.そのサイトを選択し,"Host"には上記のstatic ipを入力し,"User"にはuser nameを入力し,"Key file"にはSSH KEYを選択し,"Connect"をクリックする.

以下のように,FileZillaが起動し,Amazon Lightsailに接続することができた.

以上