이 사이트를 이용함으로써, 당신은 다음에 동의합니다 개인 정보 보호 정책.
수용하다
엔터인IT엔터인IT엔터인IT
  • 집
  • IT 프로
  • TECH
  • MICROSOFT
    • 하늘빛
    • 구성 관리자/SCCM
    • DPM
    • 오케스트레이터
    • Hyper-V
    • 마이크로소프트 엣지 인사이더
    • MSI
    • 사무실 365
    • 사무실 내부자
    • 파워 BI
    • 스카이프
    • SQL 서버
    • Teams
  • WINDOWS
    • Windows 관리 센터
    • 윈도우 클라이언트
    • 윈도우 서버
  • SCCM 쿼리 컬렉션 목록
독서: How to Sync AWS S3 Files using AWS CLI: Step-by-Step Guide
글꼴 크기 조정기아아
엔터인IT엔터인IT
글꼴 크기 조정기아아
  • 집
  • IT 프로
  • TECH
  • MICROSOFT
  • WINDOWS
  • SCCM 쿼리 컬렉션 목록
Search
  • 집
  • IT 프로
  • TECH
  • MICROSOFT
    • 하늘빛
    • 구성 관리자/SCCM
    • DPM
    • 오케스트레이터
    • Hyper-V
    • 마이크로소프트 엣지 인사이더
    • MSI
    • 사무실 365
    • 사무실 내부자
    • 파워 BI
    • 스카이프
    • SQL 서버
    • Teams
  • WINDOWS
    • Windows 관리 센터
    • 윈도우 클라이언트
    • 윈도우 서버
  • SCCM 쿼리 컬렉션 목록
AWS

How to Sync AWS S3 Files using AWS CLI: Step-by-Step Guide

Published: 2월 18, 2024
4 최소 읽기
공유하다

How to Sync AWS S3 Files using AWS CLI: Step-by-Step Guide.

내용물
해결책1. Install the AWS CLI2. Get your access keys3. Configure AWS CLI4. Use AWS CLI!

How it to do manually:

1. Log into the AWS console, navigate to S3 Service;

2. Find the right bucket, find the right folder;

3. Open the first file, click download;

4. Go back, and open the next file, over and over again.

With AWS CLI, that entire process took less:

aws s3 sync s3://<bucket>/<path> </local/path>

해결책

1. Install the AWS CLI

Download AWS Client (I`m using v1) here.

메모: You can also download it and use it on macOS or Linux systems.

2. Get your access keys

Before using AWS Client we must obtain access keys (this is need for feature client configuration)

1. Log into the IAM Console;

2. 가십시오 Users.;

3. Click on your user name;

4. Go to the Security credentials tab;

5. Click Create access key (you can create only two keys for one user account);

6. You’ll see your Access key ID. Click Show to see your Secret access key.

메모: Amazon will show this secret access key only once. If you lost it – you must obtain a new key.

3. Configure AWS CLI

1. 달리다 aws configure and answer the prompts.

2. On the first run of aws configure you will just see [None];

3. In the future you can change any of these values by running aws cli 다시;

4. The prompts will look like AWS Access Key ID [****************ABCD], and you will be able to keep the configured value by hitting return.

$ aws configure
AWS Access Key ID [None]: <enter the access key you just created>
AWS Secret Access Key [None]: <enter the secret access key you just created>
Default region name [None]: <enter region - valid options are listed below >
Default output format [None]: <format - valid options are listed below >
  • Valid region names (documented here) are RegionName:
    • ap-northeast-1 [Asia Pacific (Tokyo)]
    • ap-northeast-2 [Asia Pacific (Seoul)]
    • ap-south-1 Asia [Pacific (Mumbai)]
    • ap-southeast-1 [Asia Pacific (Singapore)]
    • ap-southeast-2 [Asia Pacific (Sydney)]
    • ca-central-1 [Canada (Central)]
    • eu-central-1 [EU Central (Frankfurt)]
    • eu-west-1 [EU West (Ireland)]
    • eu-west-2 [EU West (London)]
    • sa-east-1 [South America (Sao Paulo)]
    • us-east-1 [US East (Virginia)]
    • us-east-2 [US East (Ohio)]
    • us-west-1 [US West (N. California)]
    • us-west-2 [US West (Oregon)]
  • Valid output formats are
    • json
    • table
    • text

4. Use AWS CLI!

Command sync recursively copies new and updated files from the source directory to the destination. Only creates folders in the destination if they contain one or more files. At this moment we able to download an entire collection of images with a simple

aws s3 sync s3://cdn.enterinit.com/photos/ ~/d:\AWS
태그됨:AWS명령 프롬프트 (명령)S3WindowsWindows 10
이전 기사 Microsoft Teams gets Walkie Talkie, SMS sign-in and more new features
다음 기사 Microsoft Teams Roundup January 2020
코멘트를 남겨주세요 코멘트를 남겨주세요

답장을 남겨주세요 답장 취소

귀하의 이메일 주소는 공개되지 않습니다. 필수 입력란이 표시되어 있습니다 *

이 사이트는 스팸을 줄이기 위해 Akismet을 사용합니다.. 댓글 데이터가 처리되는 방법 알아보기.

번역

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
~에 의해 Transposh - translation plugin for wordpress

인기 게시물

Windows Server의 시스템 요구 사항 2016
윈도우 서버
구성 관리자 쿼리 컬렉션 목록
구성 관리자 쿼리 컬렉션 목록
ConfigMgr
클래식 팀 사이트의 최신 페이지에서 구조적/관리형 탐색 활성화
Tech
SCCM이 DP 위치를 MP에서 예상 버전으로 가져오지 못했습니다.
ConfigMgr

최근 게시물

Ubuntu에서 SSH 보호를 위한 Fail2ban 설치 및 구성 24.04
리눅스
AlmaLinux에서 FirewallD 활성화 및 구성
리눅스
AlmaLinux에서 사용자 생성 및 SSH 키 설정
리눅스
AlmaLinux에서 비밀번호를 재설정하는 방법
리눅스

© 2023 엔터인IT

모바일 버전으로 이동하십시오
돌아온 것을 환영합니다!

귀하의 계정에 로그인하세요

사용자 이름 또는 이메일 주소
Password

비밀번호를 잃어버렸습니다?