Amazon Glue interactive session pricing
Amazon charges for Amazon Glue interactive sessions based on how long the session is active and
the number of Data Processing Units (DPU) used. You are charged an hourly rate for the number
of DPUs used to run your workloads, billed in increments of one second. Amazon Glue interactive
sessions assigns a default of 5 DPUs and requires a minimum of 2 DPUs. There is also
a 1-minute minimum billing duration for each interactive session. To see the Amazon Glue
rates and pricing examples, or to estimate your costs using the Amazon Pricing Calculator,
see Amazon Glue pricing
Configure your Amazon Glue interactive sessions
You can use Jupyter magics in your Amazon interactive session to modify your session
and configuration parameters. Magics are short commands prefixed with %
at the start of
Jupyter cells that provide a quick and easy way to help you control your environment.
For example, if you want to change the number of workers allocated to your job from the
default 5 to 10, you can specify %number_of_workers 10
. If you want to configure your
session to stop after 10 minutes of idle time instead of the default 2880, you can specify %idle_timeout 10
.
For the complete list of Amazon magics available, see Configuring Amazon interactive sessions for Jupyter and Amazon Glue Studio notebooks