Skip to main content

AWS ECS (for AWS users)

AWS ECS

We use AWS ECS for container orchestration on AWS. ECS is a lighter-weight technology but equivalent to Kubernetes.

How to handle changes via interface vs changes via infrastructure templates? The infrastructures deployed by Webcapsule rely on infrastructure as code templates. Consequently, during a redeployment, these templates may overwrite manual modifications made via the interface. While this situation occurs infrequently in practice, we recommend the following steps to avoid it:

  1. Initially, test the modifications that you wish to incorporate via the AWS visual interface.
  2. Subsequently, add these modifications to the infrastructure templates to ensure that both the template and the interface are in sync.

Pricing

To optimize costs, ECS clusters rely on EC2 capacity providers. In staging, we maximize the use of SPOT instances. In production, we use a mix of On-demand instances and SPOT instances.

AWS Native Tools

Around ECS, we use AWS's native tools:

  • Load balancer: Aws Application Load Balancer (ALB); distributes traffic across ECS services
  • Certificate: AWS Certificate Manager; manages the creation and renewal of HTTPS certificates