何かと bash/zsh で作業していると、直近の引数を再度入力したくなることがある。便利な特殊変数を紹介。
tech
tech
bashで入力の冗長を減らす
aws
fargate platform 1.4 で service を起動できない
今まで fargate で service を動かせていたが、platform 1.4 では動かせないことがあった。その対処法を紹介。
aws
ECS(fargate) 起動時間をスケジュール設定する
fargate でサービスを運用していて、夜間サービスを停止したい時がある。オートスケールの設定を流用することで、夜間停止を行うことができる。
aws
AWS Directory Service について
AWS では Active Directory / LDAP アプリケーションは大きく3つ存在している。全ての説明は Classmethod 社の記事がわかりやすかったので引用する。
aws
ALB の設定を aws cli で確認する
ALB の設定を aws cli で確認する
tech
cannot be deleted because it is currently associated with another service
NLB を削除できない。API Gateway で VPI links で NLB を登録していたが、先にその設定を解除(削除)する必要がある。
aws
The overall deployment failed because too many individual instances failed deployment, too few healthy instances are available for deployment, or some instances in your deployment group are experiencing problems.
CodeDeploy で Step 3 で失敗することがある。The overall deployment failed because too many individual instances failed deployment の対処。
aws
機械学習などで使われる p50, p90, p95 (パーセンタイル)とは
パーセンタイルパーセントと、パーセンタイルを比べるとわかりやすい。一般的な パーセントの場合は、率をあらわす。50パーセントは全体に対し、半分がという意味になる。一方でパーセンタイルは似たようでちょっと違う。全体を 100個に区切り、小さい方順にソートして 何番目にあるかを表現されている。
aws
CloudWatch の Dimensions を確認する
CLoudWatch で aws cloudwatch list-metrics --namespace AWS/ApiGateway --metric-name Count
aws
An error occurred (InvalidParameterException) when calling the PutSubscriptionFilter operation: Could not execute the lambda function. Make sure you have given CloudWatch Logs permission to execute your function.
An error occurred (InvalidParameterException) when calling the PutSubscriptionFilter operation: Could not execute the lambda function. Make sure you have given CloudWatch Logs permission to execute your function.