DEV Community

Cover image for Hacktoberfest AWS S3-Clone
JoLo
JoLo

Posted on • Updated on

Hacktoberfest AWS S3-Clone

Servus!

How are u doing with Hacktoberfest?
Just okay?

Alright, then this might be the chance to support me of my personal POC.
Here are three repositories which contains the AWS- SDK of different programming languages.
The goal is to have real-life example by building an AWS-S3 clone and get you a PR-request.

Python's boto3

GitHub logo jolo-dev / aws-s3-python

Small Example which fetches S3-Buckets by using the AWS Boto3

Introduction

It's an AWS S3-Bucket clone by using Python's boto3. This repo lists all your S3-Buckets and Files within the Bucket.

What else is used?

It is written in Python via Django and using the boto3-library in order to connect AWS via Python.

Prerequirements

Make sure that you put your credentials in ~/.aws. You can configure them by using the AWS-CLI and aws configure. See if it works by using aws s3 ls. Below is a sample output by using the command.

2019-01-01 19:34:33 bucket1
2019-02-02 09:49:17 bucket2
2019-03-03 17:09:46 bucket3

How to use

Install requirements Activate pipenv shell

cd aws-s3-python
pipenv install
pipenv shell
python manage.py runserver

Testing

Django-Pytest

Usage

cd aws-s3-python
pytest



AWS SDK for Ruby v3

GitHub logo jolo-dev / aws-s3-ruby

AWS S3-clone written in Ruby

Introduction

It's an AWS S3-Bucket clone by using Ruby SDK. It's on top of the Ruby on Rails framework.

Prerequirements

Make sure that you put your credentials in ~/.aws. You can configure them by using the AWS-CLI and aws configure. See if it works by using aws s3 ls. Below is a sample output by using the command.

2019-01-01 19:34:33 bucket1
2019-02-02 09:49:17 bucket2
2019-03-03 17:09:46 bucket3

How to use

cd aws-s3-ruby
rails server

Specs

  • Ruby: 2.6.3
  • Rails: 6.0.
  • AWS SDK for Ruby v3



Java AWS SDK 2

GitHub logo jolo-dev / aws-s3-java

AWS S3-clone by using the AWS Java SDK

Introduction

It's an AWS S3-Bucket clone by using AWS SDK for Java 2.0.

Prerequirements

Make sure that you put your credentials in ~/.aws. You can configure them by using the AWS-CLI and aws configure. See if it works by using aws s3 ls. Below is a sample output by using the command.

2019-01-01 19:34:33 bucket1
2019-02-02 09:49:17 bucket2
2019-03-03 17:09:46 bucket3

Specs

  • Java 11
  • Maven: 3.6.2



Any support is welcome :)
Happy Coding!

Top comments (2)

Collapse
 
jolodev profile image
JoLo

Yes, I will use the official SDK in order to interact with the S3-Bucket of your account (if you provide any).
I chose these 3 SDKs because I am familiar with the programming language. However, I will add a new one, NodeJS.

 
jolodev profile image
JoLo

Yes, I am not saying let's create a new AWS but customise the interface. It has also an educational value.
People would understand how to use the documentation and how to implement it for their own purpose in the future.
Do you have experience with that?