1,2,3でECS タスク数をUp/Downするcli (CloudShell)
![Thumbnail of post image 049](https://oji-cloud.net/wp-content/uploads/2023/06/ECS.png)
概要メンテナンス等の理由により、ECS タスク数をゼロにしたり、元の数に戻したい時があると思います。今回は、1,2,3 であっという間にECS タスク数をUp/Downする方法を紹介します。CloudShell を使用して、aws cli ...
![Thumbnail of post image 046](https://oji-cloud.net/wp-content/uploads/2019/06/Gnu-bash-logo.svg_-100x100.png)
IPアドレスからWHOISの国コード,組織を一覧するワンライナー
はじめに 今回、とてもシンプルですが、IPアドレスからWHOISの国コード,組織を一覧する ...
![Thumbnail of post image 156](https://oji-cloud.net/wp-content/uploads/2019/06/Gnu-bash-logo.svg_-100x100.png)
キーボード入力をaws cliの環境変数にセットするスクリプト
![Thumbnail of post image 167](https://oji-cloud.net/wp-content/uploads/2019/06/ec2.jpg)
EC2 user-data を使ってNAME Tagを設定する(Linux)
前提条件 今回は、EC2のName Tag をOSのスクリプトから設定する方法を紹介します ...
![Thumbnail of post image 163](https://oji-cloud.net/wp-content/uploads/2019/07/MS_logo-100x100.png)
SSMからEC2 Windowsをsysprepする方法
Windowsにログインせず、SSM(CLI)からsysprepを投げる 概要 はじめに ...
![Thumbnail of post image 074](https://oji-cloud.net/wp-content/uploads/2019/06/Gnu-bash-logo.svg_-100x100.png)
シェルスクリプトでJSONと変数を使う方法
前提条件 今回は、JSONを使ったシェルスクリプトで、JSON内に変数を組み込む方法をご紹 ...
![Thumbnail of post image 174](https://oji-cloud.net/wp-content/uploads/2019/06/Gnu-bash-logo.svg_-100x100.png)
Linux dateコマンドTips(CentOS , Ubuntu)
前提条件 今回は、シェルスクリプトの変数にdateで取得した値を使用する場合のTipsをご ...
![Thumbnail of post image 052](https://oji-cloud.net/wp-content/uploads/2019/06/dynamo.jpg)
DynamoDB出力のJSONをjqで加工する
DynamoDBのCLI出力を加工する DynamoDBのCLI出力結果はJSONフォーマ ...
![Thumbnail of post image 167](https://oji-cloud.net/wp-content/uploads/2019/06/Gnu-bash-logo.svg_-100x100.png)
yes or no を使ったbashスクリプト
bashスクリプトで、yes or no を入力させたい 目的 bashスクリプトで、ye ...
![Thumbnail of post image 030](https://oji-cloud.net/wp-content/uploads/2018/10/aws_logo-100x100.png)
やさしいaws cli のインストール方法
Linux + aws cli のはじめ方 準備 今回は、Linux にaws cli を ...
![Thumbnail of post image 054](https://oji-cloud.net/wp-content/uploads/2019/06/Gnu-bash-logo.svg_-100x100.png)