Machine type
A machine type is a predefined virtual-machine configuration specifying the compute, memory, storage, networking, and related resources available to an instance.
Infrastructure as Code, Patterns and Practices: With examples in Python and Terraform
A machine type is a predefined cloud virtual-machine configuration specifying the computational resources allocated to an instance.
- How it is used
- Controls virtual-machine capacity and cloud spending through infrastructure-as-code validation and cost checks.
- How deep it goes
- Explains vCPU and memory sizing, provider lookups, IaC parsing, and policy tests, but omits complete provider catalog details.
- Examples
- Uses a 32-vCPU production limit, n2d-standard-16 servers, GCP catalog queries, and a $4,500 monthly compute budget.
- What you can do after
- Apply it via Python, provider APIs, and IaC tests to enforce capacity limits and estimate machine-related spending.
Terraform in Depth: Infrastructure as Code with Terraform and OpenTofu
An instance type is a cloud virtual-machine specification that determines its available compute, memory, networking, and related capacity.
- How it is used
- Uses machine types to select suitable compute capacity while reusing Terraform modules across workloads and deployments.
- How deep it goes
- Defines CPU and memory implications and demonstrates Terraform variable wiring, but does not compare machine families or performance characteristics.
- Examples
- Demonstrates t3.micro as a testing default and shows a variable-driven aws_instance configuration.
- What you can do after
- Operate/configure Terraform modules by choosing an instance type without modifying their resource definitions.
Also covered in
- Amazon Web Services in Action, Third Edition: An in-depth guide to AWS
- Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI
What to know first
- CPUA central processing unit (CPU) is a computer processor that executes program instructions and performs general-purpose computational operations.
- scalabilityScalability is the ability of a system or process to accommodate growth in workload, size, or demand while maintaining acceptable operation.
Related concepts
- database instanceconfigures · A database instance is a distinct running or provisioned database environment with its own managed data, configuration, and allocated resources.
- instance familypart of · An instance family is a grouping of AWS EC2 instance types sharing a hardware profile and intended workload characteristics.
Questions about machine type
What is machine type?
A machine type is a predefined virtual-machine configuration specifying the compute, memory, storage, networking, and related resources available to an instance.
Which Manning books explain machine type?
Infrastructure as Code, Patterns and Practices: With examples in Python and Terraform and Terraform in Depth: Infrastructure as Code with Terraform and OpenTofu.
What should I know before learning machine type?
Manning books that teach machine type usually introduce CPU and scalability first.
What kinds of machine type are there?
Kinds of machine type include t2.medium, t2.small, g2-standard-24 and m5.large.
What is machine type part of?
Machine type is part of instance family. An instance family is a grouping of AWS EC2 instance types sharing a hardware profile and intended workload characteristics.
What is machine type also called?
Machine type is also called instance type.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

