Using AWS EC2 Instances

https://d2l.ai/chapter_appendix-tools-for-deep-learning/aws.html

mxnet: use ec2

For more details on
AWS EC2 Docs
AWSEC2 UserGuide
玩转 GPU 实例 – 我的 Linux 工具箱之二 – 基础设置
Buy AWS Deep Learning AMI
using EC2 console
using Jupyter book

MXnet, PyTorch, TensorFlow2 are already installed and can be activated with:
source activate mxnet_p36
source activate pytorch_p36
source activate tensorflow2_p36

That should be all you need to run the program immediately.

For more details on using MXnet, PyTorch, TensorFlow2 on AWS,

Amazon ML blogs
Reduce inference costs on Amazon EC2 for PyTorch models with Amazon Elastic Inference

pytorch distributed training