Skip to main content

Amazon S3 integration

Amazon S3 is a cloud storage service.

Instance and workspace object storage are different from using S3 resources within scripts, flows, and apps, which is free and unlimited. This is what is described in this page.

At the workspace level, what is exclusive to the Enterprise version is using the integration of Windmill with S3 that is a major convenience layer to enable users to read and write from S3 without having to have access to the credentials.

Additionally, for instance integration, the Enterprise version offers advanced features such as large-scale log management and distributed dependency caching.

Windmill provides a unique resource type for any API following the typical S3 schema.

Self-host

If you're looking for a way to self-host Windmill using AWS, see Self-Host Windmill.

Add an S3 Resource

Amazon S3's API follows the same schema as any S3 compatible API.

To integrate Amazon S3 to Windmill, you need to save the following elements as a resource.

PropertyTypeDescriptionDefaultRequiredWhere to FindAdditional Details
bucketstringS3 bucket nametrueAWS Management ConsoleName of the S3 bucket to access
regionstringAWS region for the S3 buckettrueAWS Management ConsoleRegion where the S3 bucket is located. Can also be found by checking the endpoint URL for the bucket. In the form eu-west-3
useSSLbooleanUse SSL for connectionstruefalseAWS Management Console or Custom S3-compatible APISSL/TLS is required for Amazon S3
endPointstringS3 endpointtrueAWS Management Console or Custom S3-compatible APIEndpoint URL will vary by region or custom API provider. Can be found in the AWS documentation in the form s3.eu-west-3.amazonaws.com.
accessKeystringAWS access keytrue for AmazonAWS Management Console (IAM)Access key ID for AWS account owner. Can be found in the IAM section of the AWS Management Console under "My Security Credentials". Make sure the user has the right policies allocated.
pathStylebooleanUse path-style addressingfalsetrueAWS Management Console or Custom S3-compatible APIDefault is virtual-hosted-style URLs
secretKeystringAWS secret keytrue for AmazonAWS Management Console (IAM)Secret access key for AWS account owner. Can be found in the IAM section of the AWS Management Console under "My Security Credentials". Make sure the user has the right policies allocated.


Your resource can be used passed as parameters or directly fetched within scripts, flows and apps.


Example of a Supabase resource being used in two different manners from a script in Windmill.


tip

Find some pre-set interactions with S3 on the Hub.

Feel free to create your own S3 scripts on Windmill.

Workspace object storage

Once you've created an S3 or Azure Blob resource in Windmill, you can use Windmill's native integration with S3 and Azure Blob, making it the recommended storage for large objects like files and binary data.

Workspace object storage Infographic

The workspace object storage is exclusive to the Enterprise edition. It is meant to be a major convenience layer to enable users to read and write from S3 without having to have access to the credentials.

Instance object storage

Under Enterprise Edition, Instance object storage offers advanced features to enhance performance and scalability at the instance level. This integration is separate from the Workspace object storage and provides solutions for large-scale log management and distributed dependency caching.

S3/Azure for Python/Go cache & large logs