LoginSignup
0

More than 3 years have passed since last update.

AWS SSM でコピー&ペーストが遅くなる場合の解消法

Last updated at Posted at 2019-05-23

現象

SSMでセッションマネージャーを利用する際、100文字以上のコピー&ペーストを行うと100文字以降からのペーストが遅くなる。
🐢🐢かなーりおそい🐢🐢

解決方法

session-manager-pluginを1.1.17.0へアップデートする(現状バージョンの指定方法がわからないですが。。。)

アップデートはリファレンス( https://docs.aws.amazon.com/ja_jp/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html )のインストール手順をそのまま行えばできます。(Ubuntuで確認済み)

session-manager-plugin --versionでバージョン確認できます。
ちなみに手元のUbuntu18.04LTSのでやったログは以下。

$ session-manager-plugin --version
1.0.37.0
$ curl "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/ubuntu_64bit/session-manager-plugin.deb" -o "session-manager-plugin.deb"
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 2918k  100 2918k    0     0   899k      0  0:00:03  0:00:03 --:--:--  899k
$ sudo dpkg -i session-manager-plugin.deb
(データベースを読み込んでいます ... 現在 168528 個のファイルとディレクトリがインストールされています。)
session-manager-plugin.deb を展開する準備をしています ...
Stopping session-manager-plugin
Removed /etc/systemd/system/network-online.target.wants/session-manager-plugin.service.
Preparing for install
session-manager-plugin (1.1.17.0-1)(1.0.37.0-1 に) 上書き展開しています ...
session-manager-plugin (1.1.17.0-1) を設定しています ...
新バージョンの設定ファイル /usr/local/sessionmanagerplugin/VERSION をインストールしています ...
Starting session-manager-plugin
Created symlink /etc/systemd/system/network-online.target.wants/session-manager-plugin.service → /lib/systemd/system/session-manager-plugin.service.
rm: '/usr/local/bin/session-manager-plugin' を削除できません: そのようなファイルやディレクトリはありません
ureadahead (0.100.0-21) のトリガを処理しています ...
ureadahead will be reprofiled on next reboot
$ session-manager-plugin --version
1.1.17.0

参考資料

https://github.com/aws/amazon-ssm-agent/issues/149
↑ちょっと荒れててワロタ

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0