Learn how to project your usage when using the Enterprise Accelerator on AWS
Descartes Labs integrates with the AWS Marketplace so that you have visibility into your usage and bill for using our services. In many cases, it is helpful to know how much usage you will incur before kicking off a large modeling run, or even when you are just experimenting.
A Processing Unit is 1000 tiles, where a tile is 512x512 pixels, with one band, and one timestamp.
Multipliers are applied for:
- Number of images
- Number of bands
- Size of AOI
To understand how many Processing Units a call will use, apply this formula:
pixel_factor = max(x_px * y_px, 512*512) / (512*512)
processing_units = num_images * num_bands * pixel_factor / 1000
Example 1: Stacking Imagery
For example, if you are pulling a stack of 10 images with RGB and Near-Infrared bands, and your AOI is 1024x1024 pixels:
pixel_factor = max(1024*1024, 512*512) / (512*512) = 4
processing_units = 10 * 4 * 4 / 1000 = 0.160
If you performed the same operation but for 1,000 AOIs instead of just one, you would use 160 Processing Units.
Example 2: Many Small Fields
AOIs smaller than 512x512 pixels will not reduce the number of Processing Units consumed. For instance, if you have 5,000 agricultural fields (AOIs), each 10-30 pixels on each side, and want to pull 12 bands from the most recent image for each of those:
pixel_factor = max(30*30, 512*512) / (512*512) = 1
per_field_pu = 1 * 12 * 1 / 1000 = 0.012
total_pu = 5000 * 0.012 = 60
If you performed this operation every week, you could expect to consume 60 Processing Units each time for a total of 3,120 Processing Units for the year.
Viewing your usage
You can view usage associated with your account at https://iam.descarteslabs.com/