Containers
Graceful shutdowns with ECS
Introduction Amazon Elastic Container Service (Amazon ECS) gives customers the flexibility to scale their containerized deployments in a variety of different ways. Tasks can be scaled-out to react to an influx of requests or they can be scaled-in to reduce cost. ECS also supports different deployment options, including rolling deployments, blue/green deployments, and canary-style deployments. […]
Amazon ECS-optimized Amazon Linux AMI End-of-Life
Update April 16, 2021 – The Amazon ECS-optimized Amazon Linux AMI ended its standard support on April 15, 2021 and has entered a maintenance support phase. Since its launch in 2015, the Amazon ECS-optimized Amazon Linux AMI has helped a number of customers build containerized Linux-based applications on Amazon Elastic Compute Cloud (EC2). The AMI […]
Connecting to an interactive shell on your containers running in AWS Fargate using AWS Copilot
Since AWS Fargate launched in 2017 many developers have adopted the serverless compute model for containers. Instead of managing EC2 instances to run their containers, these developers are able to think of scaling in terms of container size and container count. Over time AWS Fargate has gained more and more features that make it capable […]
NEW – Using Amazon ECS Exec to access your containers on AWS Fargate and Amazon EC2
Today, we are announcing the ability for all Amazon ECS users including developers and operators to “exec” into a container running inside a task deployed on either Amazon EC2 or AWS Fargate. This new functionality, dubbed ECS Exec, allows users to either run an interactive shell or a single command against a container. This was one of […]
Autoscaling Amazon ECS services based on custom CloudWatch and Prometheus metrics
Introduction Horizontal scalability is a critical aspect of cloud native applications. Microservices deployed to Amazon ECS leverage the Application Auto Scaling service to automatically scale based on observed metrics data. Amazon ECS measures service utilization based on CPU and memory resources consumed by the tasks that belong to a service and publishes CloudWatch metrics, namely, […]
Deploy a Spring Boot application on a multi-architecture Amazon EKS cluster
This blog is no longer up to date as it was written for Amazon EKS Kubernetes version 1.21 and uses a version of Amazon Aurora which are no longer supported. Refer to the Amazon EKS Kubernetes versions and Amazon Aurora versions AWS documentation for supported versions. Introduction Why might customers consider deploying applications on a […]
How to build container images with Amazon EKS on Fargate
This post was contributed by Re Alvarez Parmar and Olly Pomeroy Containers help developers simplify the way they package, distribute, and deploy their applications. Developers package their code into a container image that includes the application code, libraries, and any other dependencies. This image can be used to deploy the containerized application on any compatible […]
Amazon ECR’s credential helper now supports Amazon ECR Public
amazon-ecr-credential-helper is a credential helper for the Docker daemon that makes it easier to use Amazon Elastic Container Registry (ECR). Once configured, ECR credential helper automatically uses the same credentials as the AWS CLI and the AWS SDKs to first retrieve an ECR authentication token for secure access to repositories, then lets the Docker daemon […]
Theoretical cost optimization by Amazon ECS launch type: Fargate vs EC2
This post was contributed by Julia Beck, Thomas Le Moullec, Kevin Polossat, and Sam Sanders Customers often ask about best practices when using Amazon Elastic Container Service (Amazon ECS), in particular around the Well-Architected Framework pillar of Cost Optimization. Within this, choosing between the two different launch types, EC2 and Fargate, may be one of […]
Using mTLS with SPIFFE/SPIRE in AWS App Mesh on Amazon EKS
NOTICE: October 04, 2024 – This post no longer reflects the best guidance for configuring a service mesh with Amazon EKS and its examples no longer work as shown. Please refer to newer content on Amazon VPC Lattice. ——– By Efe Selcuk and Apurup Chevuru and Michael Hausenblas You know that here at AWS we […]