{"type":"rich","version":"1.0","url":"https://htn20190109.hatenablog.com/entry/2020/08/01/125636","height":"190","image_url":null,"title":"AWS CLI(VPC)","blog_title":"HTN20190109\u306e\u65e5\u8a18","author_url":"https://blog.hatena.ne.jp/HTN20190109/","width":"100%","author_name":"HTN20190109","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhtn20190109.hatenablog.com%2Fentry%2F2020%2F08%2F01%2F125636\" title=\"AWS CLI(VPC) - HTN20190109\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://htn20190109.hatenablog.com/","published":"2020-08-01 12:56:36","categories":["AWS"],"provider_url":"https://hatena.blog","description":"VPC\u306e\u4f5c\u6210aws ec2 create-vpc \\--cidr-block 172.16.0.0/16 \\--instance-tenancy default \u203b\u540c\u6642\u306b\u4e0b\u8a18\u3082\u4f5c\u6210\u3055\u308c\u308b\u30eb\u30fc\u30c8\u30c6\u30fc\u30d6\u30ebDHCP\u30aa\u30d7\u30b7\u30e7\u30f3\u30bb\u30c3\u30c8 VPC\u306e\u4e00\u89a7aws ec2 describe-vpcsaws ec2 describe-vpcs | jq -r '.Vpcs.VpcId' VPC\u306e\u524a\u9664aws ec2 delete-vpc \\--vpc-id vpc-12345678901234567 \u203b\u30c7\u30d5\u30a9\u30eb\u30c8VPC\u306f\u30b3\u30de\u30f3\u30c9\u3067\u306f\u524a\u9664\u3067\u304d\u306a\u3044 \u30c7\u30d5\u30a9\u30eb\u30c8VPC\u306e\u4f5c\u6210aws ec2 create-default-vp\u2026","provider_name":"Hatena Blog"}