Close Menu
    Trending
    • STOP Building Useless ML Projects – What Actually Works
    • Credit Risk Scoring for BNPL Customers at Bati Bank | by Sumeya sirmula | Jul, 2025
    • The New Career Crisis: AI Is Breaking the Entry-Level Path for Gen Z
    • Musk’s X appoints ‘king of virality’ in bid to boost growth
    • Why Entrepreneurs Should Stop Obsessing Over Growth
    • Implementing IBCS rules in Power BI
    • What comes next for AI copyright lawsuits?
    • Why PDF Extraction Still Feels LikeHack
    AIBS News
    • Home
    • Artificial Intelligence
    • Machine Learning
    • AI Technology
    • Data Science
    • More
      • Technology
      • Business
    AIBS News
    Home»Machine Learning»MinIO on Windows: A Guide to High-Performance Object Storage | by Pulkit Agarwal | Feb, 2025
    Machine Learning

    MinIO on Windows: A Guide to High-Performance Object Storage | by Pulkit Agarwal | Feb, 2025

    Team_AIBS NewsBy Team_AIBS NewsFebruary 19, 2025No Comments3 Mins Read
    Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
    Share
    Facebook Twitter LinkedIn Pinterest Email


    In at the moment’s data-driven world, enterprises want scalable, high-performance, and cost-effective storage options. Cloud-based object storage like AWS S3 has turn out to be the trade commonplace, however what when you want a self-hosted, S3-compatible various on Home windows? Enter MinIO — a light-weight, high-speed object storage system that’s quickly reworking the way in which we deal with unstructured information.

    What’s MinIO?

    MinIO is an open-source, distributed object storage resolution designed for high-performance purposes. It’s absolutely suitable with Amazon S3 APIs, making it a most well-liked selection for organizations searching for an on-premises or hybrid-cloud storage various.

    Key Options:

    1. Blazing Quick Efficiency — Optimized for large-scale analytics and AI/ML workloads.
    2. S3 API Compatibility — Seamless integration with cloud-native purposes.
    3. Enterprise-Grade Safety — Helps encryption, IAM insurance policies, and entry management.
    4. Scalability — Could be deployed in a single node or distributed mode.
    5. Multi-Cloud Help — Works throughout AWS, Azure, Google Cloud, and personal clouds.

    Putting in MinIO on Home windows

    Organising MinIO on Home windows is simple. Observe these steps:

    Step 1: Obtain MinIO

    Step 2: Run MinIO Server

    • Open a Command Immediate (cmd) or PowerShell and navigate to the extracted MinIO folder.
    • Begin the MinIO server with the next command:
    minio.exe server C:MinIO

    This may begin MinIO utilizing the listing C:MinIO-Knowledge for storage.

    Step 3: Entry MinIO Internet Interface

    • Open a browser and go to http://127.0.0.1:9000
    • Login utilizing the default credentials:
    • Username: minioadmin
    • Password: minioadmin

    As soon as login, change the username and password utilizing cmd.

    MinIO Python Integration: Importing Information Programmatically

    Now that MinIO is working, let’s use Python to work together with it programmatically. Under is an easy Python script to add a file to MinIO utilizing the MinIO SDK.

    Conditions

    Set up the required dependencies:

    • pip set up minio python-dotenv

    Arrange a .env file in your working listing to retailer MinIO credentials:

    • MINIO_ACCESS_KEY=************** MINIO_SECRET_KEY=*****************
    import os
    from dotenv import load_dotenv
    from minio import Minio
    from minio.error import S3Error
    load_dotenv()# Load setting variables
    access_key = os.getenv("MINIO_ACCESS_KEY")
    secret_key = os.getenv("MINIO_SECRET_KEY")
    def primary():
    consumer = Minio(
    "127.0.0.1:9000", # Regulate the IP and port if MinIO is working remotely
    access_key=access_key,
    secret_key=secret_key,
    safe=False # Set to False for native HTTP connection, True for HTTPS
    )
    # The file to add
    source_file = "steps.txt"
    # The vacation spot bucket and filename on the MinIO server
    bucket_name = "python-test-bucket"
    destination_file = "my-test-file.txt"

    # Make the bucket if it would not exist.
    discovered = consumer.bucket_exists(bucket_name)
    if not discovered:
    consumer.make_bucket(bucket_name)
    print("Created bucket", bucket_name)
    else:
    print("Bucket", bucket_name, "already exists")

    # Add the file
    consumer.fput_object(
    bucket_name, destination_file, source_file,
    )
    print(
    source_file, "efficiently uploaded as object",
    destination_file, "to bucket", bucket_name,
    )
    if __name__ == "__main__":
    attempt:
    primary()
    besides S3Error as exc:
    print("Error occurred.", exc)
    • Masses setting variables from a .env file.
    • Connects to a native MinIO occasion working on 127.0.0.1:9000.
    • Checks if the bucket exists, creates it if vital.
    • Uploads a file (steps.txt) to MinIO.

    Try my GitHub repo: https://github.com/pulkitagar25/Data-Engineering/blob/main/Minio/app.py

    MinIO for AI & Machine Studying

    MinIO is extensively utilized in AI/ML workflows because of its high-speed entry and scalability.

    • Knowledge Storage for ML Pipelines — Shops datasets for coaching and inference.
    • Mannequin Storage & Versioning — Saves skilled fashions securely.
    • Large Knowledge Analytics — Works with Apache Spark, Presto, and Hadoop.
    • Streaming & Video Processing — Handles massive video datasets effectively.

    Conclusion: Is MinIO Proper for You?

    For those who want an S3-compatible, high-performance object storage system that gives full management, MinIO is the right selection. Whether or not you’re working AI/ML workloads, huge information analytics, or multi-cloud purposes, MinIO delivers pace, scalability, and enterprise-grade safety.

    Interview Questions on MinIO

    1. What’s MinIO and the way does it examine to AWS S3?
    2. How does MinIO guarantee information safety and integrity?
    3. Clarify MinIO’s erasure coding and the way it works.
    4. What are the deployment modes of MinIO?
    5. How does MinIO deal with replication and catastrophe restoration?
    6. Can MinIO be built-in with Kubernetes? If sure, how?
    7. What are some widespread use circumstances for MinIO in AI/ML purposes?
    8. How would you configure person entry insurance policies in MinIO?



    Source link

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleNikola, Electric Truck Maker, Files for Bankruptcy
    Next Article Data Scientist: From School to Work, Part I
    Team_AIBS News
    • Website

    Related Posts

    Machine Learning

    Credit Risk Scoring for BNPL Customers at Bati Bank | by Sumeya sirmula | Jul, 2025

    July 1, 2025
    Machine Learning

    Why PDF Extraction Still Feels LikeHack

    July 1, 2025
    Machine Learning

    🚗 Predicting Car Purchase Amounts with Neural Networks in Keras (with Code & Dataset) | by Smruti Ranjan Nayak | Jul, 2025

    July 1, 2025
    Add A Comment
    Leave A Reply Cancel Reply

    Top Posts

    STOP Building Useless ML Projects – What Actually Works

    July 1, 2025

    I Tried Buying a Car Through Amazon: Here Are the Pros, Cons

    December 10, 2024

    Amazon and eBay to pay ‘fair share’ for e-waste recycling

    December 10, 2024

    Artificial Intelligence Concerns & Predictions For 2025

    December 10, 2024

    Barbara Corcoran: Entrepreneurs Must ‘Embrace Change’

    December 10, 2024
    Categories
    • AI Technology
    • Artificial Intelligence
    • Business
    • Data Science
    • Machine Learning
    • Technology
    Most Popular

    The U.S. Wants to Break Up Google and Meta. That Could Be Hard.

    April 15, 2025

    How Data Centres Support the Growth Of Online Gaming

    April 15, 2025

    How to Generate Synthetic Data: A Comprehensive Guide Using Bayesian Sampling and Univariate Distributions

    May 26, 2025
    Our Picks

    STOP Building Useless ML Projects – What Actually Works

    July 1, 2025

    Credit Risk Scoring for BNPL Customers at Bati Bank | by Sumeya sirmula | Jul, 2025

    July 1, 2025

    The New Career Crisis: AI Is Breaking the Entry-Level Path for Gen Z

    July 1, 2025
    Categories
    • AI Technology
    • Artificial Intelligence
    • Business
    • Data Science
    • Machine Learning
    • Technology
    • Privacy Policy
    • Disclaimer
    • Terms and Conditions
    • About us
    • Contact us
    Copyright © 2024 Aibsnews.comAll Rights Reserved.

    Type above and press Enter to search. Press Esc to cancel.