DNX Tech Update: April-May

Allan Denot
DNX Labs
Published in
3 min readMay 22, 2020

--

At DNX we are committed to democratizing cloud technologies. Part of our plan is to develop and release to the public a large part of what we use with our clients.

After a little more than 1 year, this strategy translated into:

And here’s our update of that happened in the last few months.

DNX One — Updates

One is how we call our platform deployed on top of AWS. It’s a set of terraform stacks and modules to set up our client’s AWS accounts following well-architected concepts and with efficiency and cost in mind.

For this update, we focused on the themes below.

Monitoring

Added new alarms to the stack:

With these above features, we are improving the AWS Operational experience across customers, by adding crucial monitoring alarms to avoid services disruption.

Blue-Green Deployments

We improved our ECS modules to support blue-green with a manual cutover. This means the application can be deployed to production and be accessible on a different URL for validation, without affecting the live application. And then, the decision between cutting over or discarding can be made. That improves the continuous delivery model that we apply across DNX clients, allowing zero downtime and a better way to test new features without affecting real users.

  • [terraform-aws-ecs-app] Removing the blue domain as access to blue will be done using the test listener in the ALB; Changes to allow blue-green with manual cutover
  • [terraform-aws-ecs] Blue-green using test listener; Allow real blue-green with manual cutover

Cost Savings

We implemented in our stack, for non-production environments, an option to power off instances at night. This technique is also covered in a blog post.

There’s also a new module called terraform-aws-billing that helps customers track their AWS bill with alarms and budgets, sending alerts directly to their Slack using AWS Chatbot.

Security

To help with compliance, we released a new terraform module that adds alarms on CloudTrail events: terraform-aws-security-baseline.

The new security baseline module enables HIPAA customers to follow CIS Amazon Web Services Foundations.

Other important updates

Under development

one-cli

As an effort to simplify deployments of infrastructure-as-code and applications, we started developing a CLI called one.

The goal is to provide a layer of PaaS on top of AWS and reduce the complexity of scripts inside the client’s code repositories.

You can track the progress at https://github.com/DNXLabs/one-cli

For a snapshot of all our open-source code can be found at: https://modules.dnx.one/

--

--

Allan Denot
DNX Labs

Cloud, container platforms and occasionally ML