Amazon EC2 P4d instances are designed for optimal performance in machine learning training and high-performance computing (HPC) applications within the cloud environment. Equipped with NVIDIA A100 Tensor Core GPUs, these instances provide exceptional throughput and low-latency networking capabilities, boasting 400 Gbps instance networking. P4d instances are remarkably cost-effective, offering up to a 60% reduction in expenses for training machine learning models, while also delivering an impressive 2.5 times better performance for deep learning tasks compared to the older P3 and P3dn models. They are deployed within expansive clusters known as Amazon EC2 UltraClusters, which allow for the seamless integration of high-performance computing, networking, and storage resources. This flexibility enables users to scale their operations from a handful to thousands of NVIDIA A100 GPUs depending on their specific project requirements. Researchers, data scientists, and developers can leverage P4d instances to train machine learning models for diverse applications, including natural language processing, object detection and classification, and recommendation systems, in addition to executing HPC tasks such as pharmaceutical discovery and other complex computations. These capabilities collectively empower teams to innovate and accelerate their projects with greater efficiency and effectiveness.