Urgent.News

What's breaking now, across thousands of outlets.

Tech

Your container runs. Everything around it shouldn’t be your problem.

The promise with containers was simple: if it runs on your local machine, it will run in production. And this The post Your container runs. Everything around it shouldn’t be your problem. appeared first on The New Stack .

Your container runs. Everything around it shouldn’t be your problem.

Containers have long promised simplicity: what runs locally should also run in production. Yet, the surrounding setup often complicates matters. Setting up load balancers, scaling policies, networking components, and security configurations can quickly overshadow the container itself. This is where Amazon ECS Express Mode steps in, offering a streamlined approach to container orchestration on AWS.

Express Mode simplifies the deployment process by allowing you to provide a container image and two IAM roles. In return, you receive an HTTPS service running on Fargate with a load balancer, a TLS certificate, autoscaling, and canary deployments—all without the hassle of managing additional resources. This approach ensures you get a production-ready service without having to delve into the complexities of the underlying infrastructure.

Key features of Express Mode include:

- **Simplicity and Extensibility**: You give a container image and two IAM roles, and you get a fully functional service. The service shares an Application Load Balancer with up to 25 other services within a VPC, eliminating the need for individual load balancers.

- **Automatic Canary Deployments**: Each deployment starts as a canary release, routing 5% of traffic to the new revision for testing. If error rates exceed 1%, the system automatically rolls back to the previous version, ensuring stability.

- **Automatic Scaling**: Services are set to auto-scale based on CPU utilization, targeting 60% initially and up to 20 tasks by default. Custom scaling can be configured for memory or request count, providing flexibility for various workloads.

- **Infrastructure as Code (IaC) Ready**: Express Mode integrates seamlessly with CloudFormation, CDK, Terraform, and GitHub Actions, making it easy to manage and deploy your services using your preferred IaC tools.

- **Complete Ownership**: All resources created by Express Mode, such as the cluster, load balancer, target groups, and log groups, reside in your AWS account. This gives you full control and visibility, allowing you to audit and modify resources as needed.

- **Extensibility**: While Express Mode simplifies the setup, it doesn't limit you to basic container configurations. You can provide a standard ECS task definition, enabling you to add sidecar containers, custom images, and secrets from AWS Secrets Manager. This extensibility allows your applications to evolve beyond simple container setups.

Express Mode is designed to be an interface into Amazon ECS, not a separate, isolated system. This means all resources created by Express Mode are standard AWS resources, fully addressable through their ARNs. You can directly modify these resources using AWS APIs, the console, CLI, or SDKs. This flexibility ensures you maintain complete control over your infrastructure, even as you leverage the simplicity of Express Mode.

In summary, Amazon ECS Express Mode offers a practical solution for teams looking to adopt containers in production without getting bogged down by the complexities of underlying infrastructure. By providing a straightforward interface to a powerful orchestration engine, Express Mode allows teams to focus on building and deploying their applications, rather than getting lost in the setup details.

Written by urgent.news from The New Stack's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at thenewstack.io →

More in Tech

Security Audit Report: Reentrancy & Access Control Review: Grove Finance

Security Audit Report: Reentrancy & Access Control Review: Grove Finance Target Protocol : Grove Finance (TVL: $2329.4M) Security Audit Report: Reentrancy & Access Control Review Protocol: Grove…

  • Cross-chain bridge adapter receiveMessage function lacks reentrancy guard
  • Admin function upgradeImplementation vulnerable to access control issues
  • Yield distribution module distributeYield violates Checks-Effects-Interactions

SEO & Digital Marketing Basics Every Developer Should Know

You can build a fast, beautifully coded website — and it can still get zero traffic. That's usually not a coding problem. It's a marketing gap.

  • Developers should incorporate SEO from coding start, not later
  • Use semantic HTML, proper tags, unique meta titles/descriptions
  • Combine development and marketing knowledge for increased value

Tailwind Typography's prose Is Leaking Into Your Components — and the Three-Tier Fix

My CTA button had underlined links and the wrong text color, and no matter which utility class I stacked on it the issues didn't correct. The culprit wasn't the button.

  • Tailwind CSS typography plugin styles all descendants, including custom components
  • Conflicts arise when custom components have conflicting styles with plugin's rules
  • Three-tier solution: match expectations, re-tune plugin, or sandbox UI islands

More from Saturday 29 August →