Automating with AWS CloudFormation
AWS CloudFormation has long been the preferred way to automate infrastructure builds and operations on AWS (https://aws.amazon.com/cloudformation). You could certainly write a book on the topic, but we'll stick to the basics in this section.
The first step in using CloudFormation is to write a template – that is, a JSON or YAML text file describing the resources that you want to build, such as an EC2 instance or an S3 bucket. Resources are available for almost all AWS services, and SageMaker is no exception. If we look at https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_SageMaker.html, we see that we can create SageMaker Studio applications, deploy endpoints, and more.
A template can (and should) include parameters and outputs. The former help make templates as generic as possible. The latter provide information that can be used by downstream applications, such as endpoint URLs or bucket names.
Once you&apos...