AWS, Azure 등 cloud 관련 정보 Current: aws cli 로 aws 를 명령행에서 관리하기 aws cli 로 aws 를 명령행에서 관리하기 command line 용 관리 툴인 aws client 로 aws 다루기(https://docs.aws.amazon.com/cli/latest/userguide) 설치 & 설정사전에 python 과 pip 를 설치해야 함. $ pip install awscli 설치후 다음 명령어로 credencial 설정 $ aws configure s3https://docs.aws.amazon.com/cli/latest/userguide/using-s3-commands.html전체 버킷 목록 aws s3api list-buckets aws s3 ls 버킷내 폴더 목록 aws s3 ls s3://my-bucket 동기화sync 명령어 뒤에 from 과 to aws s3 sync from to s3 에서 현재 폴더로 다운로드 aws s3 sync s3://my-bucket . 현재 폴더를 s3 로 업로드 aws s3 sync . s3://my-bucket sync 뒤에 --delete 옵션을 추가하면 local에서 삭제한 파일이 remote 에도 반영됨 ec2https://docs.aws.amazon.com/cli/latest/userguide/command-structure.html aws ec2 describe-instances Ref Please enable JavaScript to view the comments powered by Disqus. blog comments powered by Disqus