![]() The configuration of function of the plugin follows the serverless documentation. Note that starting from version v3.1 of the plugin. Once Minio is running and initialized, we can proceed with the configuration of the plugin. In example, we spawn-up another container with aws-cli pre-installed and run initialization script, against Minio server in separate container. We also need to setup actual buckets in Minio server, we can use AWS cli tools for that. Use MinIO to build high performance infrastructure for machine learning, analytics and application data workloads. It is API compatible with Amazon S3 cloud storage service. Minio is a High Performance Object Storage released under Apache License v2.0. One of the existing implementations suitable for the task is Minio. To be able to emulate AWS S3 Bucket on local machine there should be some bucket system actually running. Then inside your project's serverless.yml file, add following entry to the plugins section before serverless-offline (and after serverless-webpack if presents): serverless-offline-s3. To do so, it listens S3 bucket events and invokes your handlers.įirst, add serverless-offline-s3 to your project: npm install serverless-offline-s3 This Serverless-offline plugin emulates AWS λ and S3 queue on your local machine.
0 Comments
Leave a Reply. |