> For the complete documentation index, see [llms.txt](https://mamawhocode.gitbook.io/aws/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mamawhocode.gitbook.io/aws/services/compute.md).

# compute

## Type of compute

* Instances (EC2): virtual computers on the cloud
* Containers (ECS, EKS):
  * like a pakage of your code & environment necessary to run the code.
  * **Suit for**: migrate to the cloud without alter the underlying code.
* Severless (Lambda):
  * don't have to provision or manage any server instances.
  * You can run stateless code in response to triggers.
  * ***Suit for:*** small, fast, modular applications.
