Humanitec is designed to easily integrate with managed file storage (e.g., Amazon S3, Google Cloud Storage). Most required Drivers are still experimental and currently thoroughly tested by our team before being released as out-of-the-box integrations. Please contact us to get access to these experimental Drivers.
The following sections provide an overview of the integrations that are available out-of-the-box in Humanitec.
With Humanitec, you can use your existing S3 bucket or dynamically create a new one.
You can add your AWS Account in the Organization Settings.
Click on the Dynamic resources tab.
Select Amazon Web Services.
Humanitec will ask you to provide an account name (a memorable name that will be displayed for this account), an access key ID, and a secret access key (see how to create AWS access key under IAM user).
Once you have added your account you will see the available Dynamic Resource Definitions.
In Organization Settings, Dynamic Resource tab, click on your AWS account that you want to use for adding your S3 Bucket.
Click on the S3 Bucket resource definition.
Add a memorable ID for this Resource Definition and select a driver, here - aws.
Based on your resource driver, a form will be shown with the required driver parameters which will be passed to the driver on every resource creation. In this use case, the region is a mandatory driver value and it must match the region that your AWS account has access to. Add the values and click create.
Once created, the Resource Definition will appear in the list.
Assign your Resource Definition to an Environment Type.
Based on this Resource Definition, during the deployment on any of the matching environments, an Active Resource will be provisioned if required.
To integrate an existing S3 Bucket statically with Humanitec, add it as a Static Resource Definition. You need to be an owner of the S3 Bucket that you want to connect with or be granted the permissions for this Bucket (learn more).
Open the Organization Settings.
In the Organization Settings page, click Static Resources.
Click S3 Bucket, which opens a dialog to define your S3 Bucket as a static resource.
Define an ID by which you will identify your resource definition
Add S3 Bucket name and Region.
Provide Access key ID and Secret access key to allow Humanitec access the Bucket (see how to create AWS access key under IAM user).
Click Create and it will appear in the list.
Assign your Static Resource Definition to an Environment Type.
Based on this Static Resource Definition, during the deployment on any of the matching environments, the data required for the application to access the resource will be returned.