본문 바로가기

반응형

aws-cli

AWS CLI 설치하는 방법 AWS CLI 설치하는 방법 테스트 환경 $ lsb_release -d Description: Ubuntu 22.04.1 LTS $ uname -m x86_64 ** AWS CLI v2는 v1과 비교하여 더 많은 기능을 제공하며 보안 및 성능 개선이 이루어진 새로운 버전입니다. AWS CLI 설치(AWS CLI v1) 더보기 apt 저장소 업데이트 sudo apt-get update pip(파이썬 패키지 관리자) 설치 sudo apt-get install -y python3-pip pip3 --version $ pip3 --version pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10) AWS CLI 설치 sudo pip3 install .. 더보기
[aws] Amazon ECR(Amazon Elastic Container Registry) 구성 Amazon ECR(Amazon Elastic Container Registry) 구성 퍼블릭 리포지토리 생성 eksadmin 인스턴스 작업 인증 명령 $ aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/xxxxxxxx WARNING! Your password will be stored unencrypted in /home/ec2-user/.docker/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference.. 더보기
[aws] AWS CLI로 액세스 키(Access Key, Secret Access Key) 설정 AWS CLI로 액세스 키(Access Key, Secret Access Key) 설정 기본 자격 증명 사용 액세스 키 등록 $ aws configure AWS Access Key ID [None]: AKIAAWSAccessKeyID AWS Secret Access Key [None]: 4YoZAWSSecretAccessKey Default region name [None]: ap-northeast-2 Default output format [None]: json AWS 구성 파일 : ~/.aws/config 공유 자격증명 파일 : ~/.aws/credentials 액세스 키 리스트 확인 $ aws configure list Name Value Type Location ---- ----- ---- ---.. 더보기

728x90
반응형