dotnet / aspire

An opinionated, cloud ready stack for building observable, production ready, distributed applications in .NET
https://learn.microsoft.com/dotnet/aspire
MIT License
3.73k stars 430 forks source link

Add S3/Minio To Aspire #1801

Open josephaw1022 opened 8 months ago

josephaw1022 commented 8 months ago

In order to fulfill that vision of being able to be completely cloud agnostic with Aspire, a cloud agnostic storage component is needed.

davidfowl commented 8 months ago

Can you motivate this some more? Why should this be a first class part of aspire?

josephaw1022 commented 8 months ago

Can you motivate this some more? Why should this be a first class part of aspire?

@davidfowl

Minio is an open source s3 api compatible bucket storage solution that can be run on any cloud through containerization.

Currently the only opinionated and first class solution is storage solution is Azure storage blob. However, some users using minio, aws s3, or even s3gw will want a first class component that fits their need.

So with minio, there is no need for a "s3 bucket" component because its a 1-1 of s3.

davidfowl commented 8 months ago

I think this proposal needs to be more fleshed out with a sample (using some SDK?) and an understanding of how deployment would work. Is minio a CNCF project? Why would we add it vs it being a 3rd party nuget package?

josephaw1022 commented 8 months ago

@davidfowl I am figuring out the sdk side now

And yes. And it should be supported because Aspire is a .net cloud native framework...

Cloud Native Bucket Storage

https://landscape.cncf.io/ Screenshot (4)

And per the docs of Aspire

image

davidfowl commented 8 months ago

Right, but we're not going to put all of the CNCF landscape in aspire. We're going to prioritize the "ubiquitous ones" and the community can fill the gaps for everything else. Then when something becomes more ubiquitous, we can consider it.

josephaw1022 commented 8 months ago

@davidfowl I wasn't trying to bring CNCF up. I was just answering your question from earlier.

But AWS s3 itself has been around since 2006 and is the first cloud services ever offered by AWS and is incredibly popular. And Minio is the DeFacto oss version of s3. You can't get more ubiquitous than s3.

And the minio sdk has no compatibility issues with AWS S3 itself. So, this would work with AWS users who want to target their s3 buckets.

Reza-Noei commented 2 months ago

Any update on this ?

@eerhardt