Skip to content

Instantly share code, notes, and snippets.

@GitSumito
GitSumito / file0.txt
Created April 4, 2018 07:48
AWSセキュリティグループ設定をコマンド(aws-cli)でやる ref: https://qiita.com/S-T/items/3d4197bbed1022ccac43
VpcId="vpc-12345678"
NewGroup="application.stg.sg"
aws ec2 create-security-group --group-name ${NewGroup} --description "${NewGroup}" --vpc-id ${VpcId} --description "${NewGroup}" > create-security-group
vi README.md
@GitSumito
GitSumito / file0.txt
Created April 12, 2018 09:43
MySQLのちゃんとしたサンプルデータ ref: https://qiita.com/S-T/items/923cf689ee5f44525457
# unzip world.sql.zip
# mysql -uroot -p < world.sql
@GitSumito
GitSumito / file0.txt
Last active May 18, 2018 11:42
一歩先のDBやserverへ接続する ref: https://qiita.com/S-T/items/1ab8537ad08d0100e94d
ssh -f -N -L 13306:dbserver:3306 gatewayユーザー名@bastion