Session Manager Plugin

ローカル端末などから足場サーバー等を経由せずに、Session Manager Pluginを利用してインスタンスへsshの様にログインする
検証環境はWindows のWSL2(Ubuntu 22.04)
AWS ...lambda関数のメモリ監視

メモリのメトリクスは無いのでログから作る
IAM周りadmin権限のIAMアカウントで実施したため、未確認
AWSLambdaBasicExecutionRoleAWS
aws iam attach ...
aws cliでRDSのログを取得する

事前準備IAMロールに下記のpolicyを作成し、割り当てる{ "Version": "2012-10-17", "Statement": , "Resource&quo ...
digitaloceanのkubernetesを解約

円安で高いのでやめました。
月33ドル→5500円くらい
local-wpというものでローカルでwordpressを構築してsimply staticで静的化、cloudflareのpagesへアップロードして ...
kubernetesのバックアップとレストア

kubernetesのコントロールプレーンノード
をバックアップ、レストアしてみる
ubuntu22.04
control * 1worker * 2
※cloudな ...
coredns-customが効かない環境があるのでhostAliasesに追加する

podで/etc/hostsを修正したい…
configmap/corednsに直接書けばいいのだが、突如デフォルトに戻る場合があるため、coredns-customが望ましいが、
kubernetes ...
オンプレミスな環境にkubernetesを構築

environmentubuntu22.04
kubernetesversion 1.28.2
control node * 1
worker node * 2
kubernetesversion 1.28.2
control node * 1
worker node * 2
VMなので1台作り、kubernetes ...
kubernetesへのdeploy自動化をgithubに公開

git pushでkubernetesのpodのイメージ更新まで自動化出来たので手順を残します。の記事
をgithubへ公開しました。
circle ciからkubernetesを操作するアカウントの作成の ...
git pushでkubernetesのpodのイメージ更新まで自動化出来たので手順を残します。

How To Automate Deployments to DigitalOcean Kubernetes with CircleCI
githubに公開しました。
実現したいことgit push したタイミングでcirclec ...digitaloceanのkubernetesにECRのprivate registryを追加する

add AWS ECR private registry
コンテナレジストリをDigital Ocean RegistryからAWS ECRへ変更しました。
背景circle CIからの自動デプロイのテストで、digital ...