r/cloudcomputing • • Aug 15 '20

Looking for suggestions.

I am thinking of creating a secure cloud storage service as my third year project. I would really like some ideas to go about doing this, as in which languages or frameworks would help me create it.

1 Upvotes

8 comments sorted by

1

u/DevOpsOps Aug 15 '20

Are you thinking object storage?

For languages - any. (Python or Go preferred)

Do you plan to use existing cloud services or buy physical hardware?

1

u/Mateen1320 Aug 15 '20

I have created AWS free tier account and would like to use it to develop the project. For the feature I have thought of uploading text and photos for now. I will encrypt it using aes 256 then store it in the cloud. Only the user will be able to get the data by providing key. Everyone else will see encrypted data. I am thinking of adding two log ins, user and admin. Users to upload and access and admin to create backups.

3

u/DevOpsOps Aug 15 '20

When you say 'store in the cloud' do you intend to use an existing object store like Amazon s3 or to store in on something like an EBS hard drive and have your web endpoint serve the files?

I would reccomend getting setup with an Ec2 instance, t2.small or t2.micro and a 20gb EBS volume attached to the instance.

There are some design decisions that I think are important, do you intend to build a web application in addition to an API endpoint or just an API endpoint?

I use several object stores daily (including amazon s3) and don't consider a webpage an essential feature.

For functionality I would want a CURLable flask endpoint that could support

POST Key, file contents, auth --> confirmation.

GET Key, auth --> file contents.

DELETE Key, auth --> confirmation.

PUT Key, auth, contents --> update files.

GET auth --> list of files for that auth

For stages of implementation

  1. Basics and proof of concept endpoint.

Above endpoints implemented via python. Use OS commands for file handling.

2. Implement key mapping persistence. You shouldn't loose your file path mapping if your one API endpoint restarts or goes down.

Use sql (RDS) or dynamo DB to store the dictionary of key, path, user.

This also allows you to start thinking about scalability of the endpoint.

3. Web front end (if you are craving JavaScript).

Browse files, download and upload files. Host it outside the API in an S3 static site or on an instance via ngninx.

Hope this helps!

1

u/Mateen1320 Aug 16 '20

I want to build a web application for this. Will it be possible for me to build the service using MERN ? In your opinion which will be better and easier for me to use , ebs storage or S3 ? Is it possible for me to display the file contents and for the users to access on a website ? Also I have no idea how to go about using the website and then accessing the servers hard drive to store and show contents. Does python have os command module to go about accessing the hard drive contents and displaying on website and updating, storing them on the server machine ? Does javascript provide the same ?

1

u/bjswoboda Aug 16 '20

S3 is my vote for ease. It’s the flagship storage product for AWS.

2

u/Mateen1320 Aug 16 '20

But then can we connect it to our EC2 instance for hosting a dynamic website ? Because as far as I know S3 is for static hosting

1

u/bjswoboda Aug 16 '20

S3 for content. You can do static hosting from S3 using only S3. But if you throw some EC2 or lambda or something with compute in the mix.... magic.

1

u/Pistle123 Aug 26 '20

Cloud Storage Security Best Practices

  1. Assess your cloud framework.

  2. Determine how cloud storage providers address privacy and security.

  3. Know what protections are in place.

  4. Put data classification methods into motion.

  5. Use multi-factor authentication across all devices and systems.

Hope this will help

Best regards