liveBook · Manning

Cloud-native architecture

As explained in Amazon Web Services in Action, Third Edition: An in-depth guide to AWS

A cloud-native architecture is a system design that builds on cloud services, elastic resource management, and independently deployable application components.

Cloud-native architecture builds a web application from cloud services, elastic resource management, and independently deployable components. A typical arrangement places an Application Load Balancer in front of containers managed by ECS, runs those containers on Fargate, and stores application data in S3. section 18.5

A practical ECS-based architecture assigns each service a focused role:

  • The Application Load Balancer distributes incoming requests across running containers. section 18.5
  • An ECS service maintains the desired number of tasks and scales them according to CPU load. section 18.5
  • Fargate supplies the underlying compute capacity without requiring the application to manage servers. section 18.5

Notea web application

Notea combines a React user interface, a Next.js backend, ECS containers, Fargate compute, an Application Load Balancer, and S3 storage. A CloudFormation template provisions the components, starts two tasks, and can scale the service between two and four tasks using CPU utilization. A deployment circuit breaker can roll back an unsuccessful deployment. section 18.5

How Amazon Web Services in Action, Third Edition: An in-depth guide to AWS covers it

How deep it goes
Explains component roles and demonstrates CloudFormation deployment, task configuration, permissions, service scaling, and rollback.
Examples
Uses the Notea note-taking application, CloudFormation templates, ECS task definitions, service configuration, and AWS CLI commands.
What you can do after
Operate and configure a containerized web application through CloudFormation, ECS, Fargate, S3, and AWS CLI commands.
How it connects
Connects Application Load Balancer, ECS, Fargate, S3, CloudFormation, IAM, React, and Next.js.

Also explained in

Compare how 6 books explain cloud-native architecture →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Amazon Web Services in Action, Third Edition: An in-depth guide to AWS. The section links point to the parts of the book it draws on.