AWS question?

CyberscumCyberscum Member Posts: 795 ■■■■■□□□□□
Is there a way to auto save files put into the local HD folders into an S3 bucket of AWS?

There is a function in dropbox to do this, but can it be done in an S3 bucket?

Comments

  • DoubleNNsDoubleNNs Member Posts: 2,015 ■■■■■□□□□□
    You can mount an S3 bucket in Linux using S3FS.

    The official AWS CLI tools, s3cmd, and boto support syncing to an s3 bucket. This could probably be scheduled, such as with a cron job.

    I think there's a way to use dropbox via the CLI. And dropbox essentially is just a frontend to S3. So you could probably install dropbox and use that.
    Goals for 2018:
    Certs: RHCSA, LFCS: Ubuntu, CNCF CKA, CNCF CKAD | AWS Certified DevOps Engineer, AWS Solutions Architect Pro, AWS Certified Security Specialist, GCP Professional Cloud Architect
    Learn: Terraform, Kubernetes, Prometheus & Golang | Improve: Docker, Python Programming
    To-do | In Progress | Completed
  • CyberscumCyberscum Member Posts: 795 ■■■■■□□□□□
    DoubleNNs wrote: »
    You can mount an S3 bucket in Linux using S3FS.

    The official AWS CLI tools, s3cmd, and boto support syncing to an s3 bucket. This could probably be scheduled, such as with a cron job.

    I think there's a way to use dropbox via the CLI. And dropbox essentially is just a frontend to S3. So you could probably install dropbox and use that.

    This is for a client so anything CLI is out of the question. I will look into the dropbox compatibility into s3. They already use DB, but need to migrate to AWS for compliance issues with DB.
  • DoubleNNsDoubleNNs Member Posts: 2,015 ■■■■■□□□□□
    I meant that the dropbox application uses S3 to store all your files.

    Edit: If you essentially want a dropbox-like application but control of your own storage backend, you might want to look into OwnCloud. They seem to allow you to use your own S3 bucket, in addition to Dropbox, as your storage source.
    Goals for 2018:
    Certs: RHCSA, LFCS: Ubuntu, CNCF CKA, CNCF CKAD | AWS Certified DevOps Engineer, AWS Solutions Architect Pro, AWS Certified Security Specialist, GCP Professional Cloud Architect
    Learn: Terraform, Kubernetes, Prometheus & Golang | Improve: Docker, Python Programming
    To-do | In Progress | Completed
  • philz1982philz1982 Member Posts: 978
    Cyberscum wrote: »
    Is there a way to auto save files put into the local HD folders into an S3 bucket of AWS?

    There is a function in dropbox to do this, but can it be done in an S3 bucket?

    What is the OS? If windows you find the system level event for saves and then write a script that would:

    1) Detect the save in that folder
    2) Open a connection to the S3 bucket using the AWS API
    3) Save the file in the bucket

    ANother way would be to have an application that is hosted on a local IIS or Apache instance that then have them connect to the web page via an icon and drag the file into the page or to use uploads.

    You could also use a desktop app like WPF.

    Multiple methods, feel free to PM me if you need more ideas.

    -Phil
Sign In or Register to comment.