DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

How to Deploy GPU-Accelerated Applications on Amazon ECS with Docker Compos

4 years ago www.docker.com

Summary: This is a summary of an article originally published by the source. Read the full original article here →

The development time of such applications may vary based on the hardware of the machine we use for development.

In this tutorial, we discuss how to develop GPU-accelerated applications in containers locally and how to use Docker Compose to easily deploy them to the cloud (the Amazon ECS platform).

For this tutorial, we rely on sample code provided in the Tensorflow documentation, to simulate a GPU-accelerated translation service that we can orchestrate with Docker Compose.

We can now query the translator service which uses the trained model: Keep in mind that, for this exercise, we are not concerned about the accuracy of the translation but how to set up the entire process following a service approach that will make it easy to deploy with Docker Compose.

We can easily do this by removing the service from the Compose file: and then run docker compose up again to update the running application.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com