If you have used Docker to run your Dart app in a containerized environment (such as Google Kubernetes Engine or Cloud Run), you may have been surprised at the heft of the google/dart image.

Based on a Debian 10 “Buster” image, google/dart is oriented for development — not optimized for size — and currently weighs in at a substantial 682 MB!

google/dart image size
google/dart image size

As Flutter, Google’s UI toolkit for building natively compiled applications for mobile, web, and desktop from a single codebase based on Dart continues to explode in popularity, interest in using Dart for implementing backend functionality has increased as well.

However, because of the focus on client-side development, there has been little guidance on how to optimize image size for server-side deployment. …


Tony Pujals (Sr. Developer Advocate, AWS) and Ed Cheung (Front End Engineer, AWS)

Introduction

In this article, we’re going to walk through a new Amazon ECS management console workflow for enabling AWS App Mesh support for containerized applications on ECS and Fargate. When you enable App Mesh for existing task definitions in the console using this new feature, Envoy proxy containers will be added and configured properly so that new tasks you deploy will be members of your application service mesh. …


Overview

I gave a walkthrough in my previous article on how to deploy a simple microservice application to ECS and configure AWS App Mesh to provide traffic control and observability for it. In this article, we are going to start to explore what it means when we say that App Mesh is a service mesh that lets you control and monitor services spanning multiple AWS compute environments. …


How to Deploy the Color App on Amazon ECS

Image for post
Image for post

This is a walkthrough for deploying the Color App that was demonstrated at the AWS App Mesh launch. The new service helps you to run and monitor HTTP and TCP services at scale with a consistent way to route and monitor traffic.

The following diagram shows the programming model of this simple application. This is literally the programmer’s perspective of the application:

Image for post
Image for post
Figure 1. Programmer perspective of the Color App.

In this post, we’ll walk through creating specific abstract resources for AWS App Mesh that will be used to drive a physical mapping to compute resources to stitch our application together, providing us with fine-grained control over traffic routing and end-to-end visibility of application request traffic and performance. …


Deploy an app running on Docker that consists of an API service, worker, queue, and database without managing virtual machines

The Voting App was created used to provide developers an introduction course to become acquainted with Docker. The goal is to provide a demonstration and orientation to Docker, covering a range of concepts and tasks for building, deploying and monitoring an application.

The Voting App is a great demonstration of how Docker can be used to containerize any process of a modern polyglot application — regardless of the programming language used and runtime environment needed for each one.

The application comprises a number of services:

Image for post
Image for post

AWS ECS using Fargate

Recipes will be provided for deploying the Voting App into various public cloud environments. The first cloud recipe outlined here will show how to deploy the Node.js …

About

Tony Pujals

Engineer at Google. You can DM me on Twitter @tonypujals. #serverless #dart #flutter

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store