AWS S3 IAM Configuration
Let's create all necessary configurations for user "di-test" and existing S3 bucket named "di-test-bucket".
Login into AWS Console - https://console.aws.amazon.com/
Go to user's creation at Identity and Access Management (IAM) -> Users -> Add users
Fill "di-test" as a User name
Choose Attach policies directly and Create policy
Choose JSON and paste following JSON data
Replace {bucket} with bucket name - di-test-bucket, {account_id} with account id without dashes which can be copied from navigation menu and {user_name} with di-test
Give it a name di-test-policy and save.
Again on the user's creation page search for di-test-policy, refresh the page and select that policy
Click on di-test user and choose Security credentials
Choose Create access key
Choose Third-party service
Click create access key and copy Access key and Secret access key
Now you have everything which is needed for proper storage configuration in Deep image.
Create storage with name "di-storage", bucket "di-test", and access and secret keys you copied.
You can use it on two ways:
as a source and/or target folder using Cloud processing in web application
with Rest API and specifying img_url as storage://di-storage/file.jpg
Last updated