S3 : Upload & Downlond

S3 : Upload & Downlond

1. Install AWSCLI 
       apt-get install awscli

2. Configure AWS Account
      aws configure

3. Upload on S3
      aws s3 cp SOURCE s3://DEST

      if you want to upload whole folder then using following command 
      aws s3 cp SOURCE s3://DEST--recursive

      [ If above command throws error then, Look for the pwd
      and attach it before aws. (Ex. usr/bin/aws s3 cp SOURCE s3://DEST)]

4. Download from S3
      aws s3 sync s3://SOURCE .


    • Related Articles

    • How: Change Upload File Limit in Docker Project

      Github > Common-Components >Select Particular branch >  orderhive-plus > templates > frontend.yaml add line :  nginx.ingress.kubernetes.io/proxy-body-size: "25m" in annotations Section
    • Restore Log #Core

      # Stop lifecycle policy POST /_ilm/stop # Restore Index ## Get snapshot and index name first GET /_snapshot/core_repo_s3_6.9/daily-snap-2020.11.16* ## Restore index POST ...
    • Private Bucket Access Code

      Hello all, It a pleasure to take a small steps towards establishing a good security concerns. It's been mandate now  for every developer to upload and download their precious data from AWS S3 private bucket only. How to access data from Private ...
    • Restore Log #plus

      GET .monitoring-kibana-6-2019*/_search/ {  "query": {    "match_all": {}  } } GET /filebeat-6.2.4-2019.* POST /filebeat-6.2.4-2018.11.0*/_close DELETE  /filebeat-6.2.4-2018.11.09 POST /_snapshot/s3_repository/curator-2019.02.24/_restore?pretty { ...
    • Jail User

      #reference :  https://askubuntu.com/questions/93411/simple-easy-way-to-jail-users Jailkit is a set of utilities that can limit user accounts to a specific directory tree and to specific commands. Setting up a jail is much easier using the Jailkit ...