EC2への接続(Session Manager/EC2 Instance Connect Endpoint)をSCPでIP制限してみた
https://dev.classmethod.jp/articles/scp-ip-restriction-ec2-keypair-free-connection/
If you have a fediverse account, you can quote this note from your own instance. Search https://rss-mstdn.studiofreesia.com/users/dev_classmethod/statuses/115216789618146500 on your instance and quote it. (Note that quoting is not supported in Mastodon.)