cloud9_note

cloud9に限らないメモ

View on GitHub

Cloud9 Use Note

Cloud9を使うときに一緒に持っていきたいメモ

ドキュメントホーム

https://docs.aws.amazon.com/cloud9/index.html

git

git.md

ディスク使用量チェック

https://docs.aws.amazon.com/ja_jp/AWSEC2/latest/UserGuide/ebs-describing-volumes.html

コマンド

df -hT /dev/xvda1

ディレクトリごとの使用量確認

du -ms <対象ディレクトリ> | sort -nr | less

ant

サンプルダウンロード

git pull https://github.com/SampleUser0001/ant_Sample.git

Docker

Docker.md

AWS

グローバルIP取得

curl http://169.254.169.254/latest/meta-data/public-ipv4

S3

例のページ

down

aws s3 cp s3://ittimfn-public/index.html .

up

aws s3 cp ./index.html s3://ittimfn-public/index.html

WSL2

使用可能なメモリを増やす

Windows側から設定する。

  1. %UserProfile%\.wslconfigを開く。
  2. memoryの値を修正する。
  3. PowerShellで下記を実行する。
    • wsl --shutdown

参考

その他