@MooseBoys provides a good summary, however for those looking for a little more detail and examples:
Infrastructure vs architecture in computer science
Classification: CIS/IST
Computer Science (CS), Computer Information Science (CIS), Information Technology (IT), Information Systems/Services & Technology (IST)
Definitions of the infrastructure and architecture
Infrastructure
Describes the actual set of components that make up a system.
Architecture
Describes the design of the components and their relationships.
Explanation of use cases
Infrastructure
Typically, an enterprise IT implementation is built on a Infrastructure.
Architecture
IT infrastructures' architecture first necessitates IT agility, providing decisions to subsequently explain the infrastructure components' relationships, agility, lifecycle events and more to provide automations, workflows, agility and relationships of each part of the infrastructure.
IT agility
"IT agility" also known as "infrastructure agility," is an extremely important measurement when designing the IT architecture to focus efforts of how efficiently the IT infrastructure may respond to stimuli, while providing an ability to scale the IT Infrastructure in line with the demands of the business, rapidly.
Using infrastructure and architecture in a sentence
Infrastructure
- Many multiplayer game applications' backend provides a client-server infrastructure.
- "We provide core infrastructure technology services to the campus." — (source)
- "A hybrid cloud approach could involve a public cloud environment and a private cloud environment with infrastructure (facilitated by application programming interfaces, middleware, or containers) facilitating workload portability." — (source)
Architecture
- Many multiplayer game applications' backend use a client-server architecture.
- "This portability is facilitated by microservices, an architectural approach to writing software where applications are broken down into their smallest components, independent from each other." (source)
- "In order for a microservices architecture to work as a functional cloud application, services must constantly request data from each other through messaging. Building a service mesh layer into an application simplifies interservice communication, but a microservices architecture may also need to integrate with your legacy applications and other data sources." — (source)