Device Management MDM

Custom storage regions

Note

Note that this is a premium feature that might not be available in your current plan.

Check the availability on our pricing page.

Customers can now manage their own storage regions in AWS S3. This tutorial will help you properly configure your custom storage region in AWS.

Step by step configuration #

Step 1 - Bucket creation #

Log in to your Amazon Web Services console with your credentials. Once inside go to the Storage > S3 section and click the Create bucket orange button.Fill out your bucket information (Bucket name and Region).
s3-custom-bucket-name
Then scroll down until the Block Public Access settings for bucket section and just select the following two options:
  • Block public access to buckets and objects granted through new public buckets or access point policies.
  • Block public and cross-account access to buckets and objects through any public bucket or access point policies.
  • I acknowledge that the current settings might result in this bucket and the objects within becoming public.
s3-custom-bucket-security
Scroll down and click the Create bucket orange button.

Step 2 - Credentials configuration #

Now we recommend creating a new AWS User and credentials. Go to AWS IAM > Users section and create the Add user button. Select a user name and choose the Programmatic access option under the access type section.
s3-custom-bucket-user
Click Next, and follow steps 2, 3, and 4 without changing anything, maintaining the default options, and finish by clicking the Create user button. The user credentials will be displayed, copied, and stored securely. You will have to provide them to our team.
s3-custom-bucket-credentials

Step 3 - Grant permissions #

Now we have to grant some additional permissions to the new user. For this example, we will use the Inline AWS policies but as an alternative, you can create a new policy and attach it to the user.

Click on the new user and click Add inline policy under the Permissions tab. Use the {} JSON editor and enter the following AWS Policy:

				
					    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "s3:PutObject",
                "s3:GetObject",
                "s3:DeleteObject",
                "s3:GetBucketLocation",
                "s3:PutObjectAcl"
            ],
            "Resource": [
                "arn:aws:s3:::mycustom-private-bucket",
                "arn:aws:s3:::mycustom-private-bucket/*"
            ]
        }
    ]
}
				
			
Note that you have to substitute the arn:aws:s3:::mycustom-private-bucket with the ARN of the bucket you created in the previous step. 

Step 4 - Configure your Storage Region in Applivery #

Now that the AWS configuration is done, you will have to go to your Workspace Settings > Storage section and click the + Create storage provider button.

storage-regions

Complete the form with the information you generated in the AWS Console in the previous steps.

storage-regions-create

Step 5 - Select your new Storage Region #

Once created, a new record will be added to the list, easily identifiable as it will be displayed as a You or Managed by title. You can configure your Custom Storage Region at Workspace or App levels:
  • Workspace: The configuration will be applied to the entire workspace except. It will apply to all apps except those that already have a Custom Storage region configured. To do so, just click Select on this screen to enable it at the entire workspace level.
  • App: The configuration will be applied just to this App, regardless of the workspace configuration. To do so, go to your App Settings > Advanced and Select the Storage provider you’d like.
Note

Note that only the new builds uploaded will be stored in the new region. Previous ones will remain in the same place.

Disabling a Custom Storage Region #

You can disable a Custom Storage Region by clicking the Select button of the default storage region (Ireland).

Removing a Custom Storage Region #

You can permanently remove a Custom Storage Region by clicking the pencil button (1) beside it and then the Delete (2) button at the bottom of the modal view. The Storage Region will be permanently removed from the system.
storage-region-delete
Note

The builds uploaded to this storage will not be accessible anymore.

Was this article helpful?

— talk to an expert —

Schedule a demo