Softwr

Cloud · head to head

Amazon S3 vs BentoML

Amazon S3 logo

Amazon S3

Cloud

Amazon Web Services' pay-as-you-go object storage service

From
On request
Free plan
No
BentoML logo

BentoML

Machine Learning

Open source Python framework that packages models into deployable inference services

From
Free
Free plan
Yes

The short version

  • BentoML is free; Amazon S3 prices on request.
  • Only Amazon S3 lists object storage in buckets; only BentoML lists bento packaging format.
  • Where Amazon S3 falls short: billing depends on storage class, requests and transfer, so total cost is hard to predict.

How do Amazon S3 and BentoML differ?

Amazon S3 and BentoML differ on starting price (On request against Free), pricing model (Usage-based against Freemium) and free tier (No against Yes). Only the attributes on which Amazon S3 and BentoML actually diverge.

Attributes where Amazon S3 and BentoML differ
AttributeAmazon S3BentoML
Starting priceOn requestFree
Pricing modelUsage-basedFreemium
Free tierNoYes
PlatformsWebLinux, macOS, Windows
CategoryCloudMachine Learning

Not yet recorded: founded for Amazon S3.

Which features does each one have?

They share no listed features; 9 appear only for Amazon S3 and 8 only for BentoML. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Amazon S3

  • Object storage in buckets
  • Multiple storage classes including Glacier
  • S3 Intelligent-Tiering
  • Versioning
  • Replication
  • Encryption by default
  • Static website hosting
  • Time-limited authenticated URLs

Only in BentoML

  • Bento packaging format
  • Container image build
  • Adaptive batching
  • HTTP and gRPC serving
  • Multi-model composition
  • Model store
  • Framework support
  • Managed platform option

What is each one used for?

Amazon S3 is most often brought in for data lake storage for analytics. The jobs each tool is most often brought in to do.

Amazon S3

  • Data lake storage for analyticsnot BentoML
  • Application and mobile app file storagenot BentoML
  • Long-term archives in Glacier classesnot BentoML
  • Static website hostingnot BentoML

BentoML

  • Standardising how a team ships models, so every service has the same structure, the same health checks and the same build processnot Amazon S3
  • Serving a model on a GPU where request batching is the difference between one accelerator and severalnot Amazon S3
  • Composing preprocessing, one or more models and postprocessing into a single deployable unit rather than a chain of servicesnot Amazon S3
  • Handing a model from a data science group to a platform team as a container image without either side learning the other's toolingnot Amazon S3

Where do Amazon S3 and BentoML fall short?

Amazon S3's most cited limit: billing depends on storage class, requests and transfer, so total cost is hard to predict. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon S3

  • Billing depends on storage class, requests and transfer, so total cost is hard to predict
  • Outbound internet data transfer is charged beyond the first 100 GB per month
  • Objects larger than 5 GB need multipart upload because single uploads are capped at 5 GB
  • Versioning is disabled by default and must be switched on per bucket
  • Available only on AWS; moving data elsewhere means egress and re-integration work

BentoML

  • The service interface was reworked between major versions, with the Runner abstraction of the 1.0 and 1.1 line replaced by the service decorator style in 1.2, so older internal services and the majority of tutorials found through search do not run unmodified against a current install
  • It is Python only, so a model that has to be served from Go, Java or C++, or embedded directly inside an existing application process, falls outside what the framework does
  • The framework is free but inference is not, and an accelerator held by a service receiving one request a minute costs the same as one running flat out, so utilisation is a problem the packaging layer does not solve for you
  • Self-hosting at scale means Kubernetes, an autoscaler, a container registry and someone who maintains them, so a small team either takes on that operational load or moves to the vendor's managed platform, where the commercial relationship begins
  • Batch size, worker count and concurrency limits are tuning parameters with real throughput consequences, and getting them wrong appears as tail latency under load rather than as an error, so it needs someone who will actually run a load test before launch

How much do Amazon S3 and BentoML cost?

BentoML is free to use. Plan by plan below, from each vendor's own pricing page.

Amazon S3

On request

No published plan breakdown. See the Amazon S3 review.

BentoML

Free
  • Open SourceFree
    • Model packaging
    • API creation
    • Local serving
  • BentoCloudFree
    • Managed deployment
    • Auto-scaling
    • Monitoring

Which should you pick?

Choose Amazon S3 if

  • You need object storage in buckets.
  • You also want multiple storage classes including glacier.

Choose BentoML if

  • You need bento packaging format.
  • You want to start without paying.
  • You work on Linux, macOS, Windows.
  • You also want container image build.

Questions people ask

Is Amazon S3 or BentoML better?
It depends on the job. Amazon S3 fits data lake storage for analytics; BentoML fits standardising how a team ships models, so every service has the same structure, the same health checks and the same build process. Amazon S3 starts at On request and BentoML at Free.
Which is cheaper, Amazon S3 or BentoML?
BentoML has a free tier; the other does not. Paid plans start at On request for Amazon S3 and Free for BentoML.
Does Amazon S3 or BentoML run on more platforms?
Amazon S3 runs on Web. BentoML runs on Linux, macOS, Windows.
Can I use BentoML for free?
Yes. BentoML has a free tier, so you can try it without paying. Amazon S3 starts at On request.
What is Amazon S3 best used for?
Amazon S3 is most often used for data lake storage for analytics, application and mobile app file storage, long-term archives in glacier classes, static website hosting. Of those, data lake storage for analytics and application and mobile app file storage are not what BentoML is typically brought in for.
What can Amazon S3 do that BentoML cannot?
Amazon S3 covers Object storage in buckets, Multiple storage classes including Glacier, S3 Intelligent-Tiering, Versioning. BentoML covers Bento packaging format, Container image build, Adaptive batching, HTTP and gRPC serving.

Answered from the vendors’ own pages

Amazon S3: What is Amazon S3?

Amazon S3 is an object storage service from AWS, described as built to retrieve any amount of data from anywhere. It is used for data lakes, cloud-native applications and mobile apps.

Source
BentoML: Is BentoML free?

The framework is, under Apache 2.0, and you can run it entirely on your own infrastructure. BentoCloud, the managed platform run by the company, is a paid service billed on the compute it runs for you.

Amazon S3: How is S3 priced?

AWS says the cost depends on object size, storage duration and storage class, with no minimum charge. Inbound transfer from the internet is free, as are transfers between buckets in the same Region, and the first 100 GB per month out to the internet is free.

Source
BentoML: Do I need Kubernetes?

Not for a single service, which is just a container. You need it once you want autoscaling, multiple models and rolling deployments on your own infrastructure, which is the point at which the managed option starts to look attractive.

Amazon S3: What is the maximum object size in S3?

Objects can be up to 5 TB. A single upload operation is capped at 5 GB, so larger objects use the multipart upload API.

Source
BentoML: How is this different from just writing a FastAPI app?

For one model it is not very different and FastAPI is simpler. The difference is at four or ten models, where you would otherwise be maintaining ten sets of the same Dockerfile, batching logic, dependency pinning and health check code.

Amazon S3: Is S3 versioning on by default?

No. Versioning is available but disabled by default. Default bucket-level encryption was added in November 2017.

Source
BentoML: Can it serve large language models?

Yes, and the project publishes tooling aimed at that specifically, but the constraints are the usual ones: accelerator memory, batching strategy and the cost of holding a GPU that is idle between requests.

BentoML: What actually is a Bento?

A directory, versioned and archivable, containing your service code, the model files it needs, the exact Python dependencies and instructions for running it. It is the unit you build into an image and deploy.

Share

Related pages

Other head to heads