Durch die Nutzung dieser Website, Sie stimmen dem zu Datenschutzrichtlinie.
Akzeptieren
EnterEnterEnter
  • HEIM
  • IT-PROFI
  • Technik
  • MICROSOFT
    • Azurblau
    • Configmgr/sccm
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Büro 365
    • Büro-Insider
    • Power Bi
    • Skype
    • SQL-Server
    • Mannschaften
  • FENSTER
    • Windows Admin Center
    • Windows-Client
    • Windows-Server
  • SCCM-Abfragesammlungsliste
Lektüre: How to Sync AWS S3 Files using AWS CLI: Schritt-für-Schritt-Anleitung
Schriftart-ResizerAa
EnterEnter
Schriftart-ResizerAa
  • HEIM
  • IT-PROFI
  • Technik
  • MICROSOFT
  • FENSTER
  • SCCM-Abfragesammlungsliste
Suchen
  • HEIM
  • IT-PROFI
  • Technik
  • MICROSOFT
    • Azurblau
    • Configmgr/sccm
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Büro 365
    • Büro-Insider
    • Power Bi
    • Skype
    • SQL-Server
    • Mannschaften
  • FENSTER
    • Windows Admin Center
    • Windows-Client
    • Windows-Server
  • SCCM-Abfragesammlungsliste
AWS

How to Sync AWS S3 Files using AWS CLI: Schritt-für-Schritt-Anleitung

Veröffentlicht: Februar 18, 2024
4 Min. Lesezeit
AKTIE

How to Sync AWS S3 Files using AWS CLI: Schritt-für-Schritt-Anleitung.

Inhalt
Lösung1. 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>

Lösung

1. Install the AWS CLI

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

NOTIZ: 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. Gehe zu Users.;

3. Click on your user name;

4. Gehe zum Security credentials Tab;

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

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

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

3. Configure AWS CLI

1. Laufen 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 wieder;

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 [Kanada (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
GETAGGT:AWSEingabeaufforderung (CMD)S3FensterFenster 10
Vorheriger Artikel Microsoft Teams erhält Walkie Talkie, SMS-Anmeldung und weitere neue Funktionen
Nächster Artikel Microsoft Teams Roundup Januar 2020
Hinterlassen Sie einen Kommentar Hinterlassen Sie einen Kommentar

Hinterlassen Sie eine Antwort Antwort abbrechen

Ihre E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind markiert *

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahren Sie, wie Ihre Kommentardaten verarbeitet werden.

Übersetzung

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
von Transposh - Übersetzungs-Plug-In für WordPress

Beliebte Beiträge

Systemanforderungen für Windows Server 2016
Windows-Server
Configuration Manager-Abfragesammlungsliste
Configuration Manager-Abfragesammlungsliste
ConfigMgr
Strukturierte/verwaltete Navigation auf modernen Seiten in klassischen Teamsites aktiviert
Techn
SCCM konnte DP-Standorte nicht als erwartete Version von MP abrufen
ConfigMgr

Aktuelle Beiträge

Installieren und Konfigurieren von Fail2ban für den SSH-Schutz unter Ubuntu 24.04
Linux
Aktivieren und Konfigurieren von FirewallD auf AlmaLinux
Linux
Benutzererstellung und SSH-Schlüsseleinrichtung in AlmaLinux
Linux
So setzen Sie das Passwort unter AlmaLinux zurück
Linux

© 2023 Enter

Gehen Sie zur mobilen Version
Willkommen zurück!

Melden Sie sich bei Ihrem Konto an

Benutzername oder E-Mail-Adresse
Passwort

Passwort verloren?