in Academic, Coding, DevOps

DeployMan (command line tool to deploy Docker images to AWS)

DeployMan

2014-07-29 11_34_11-Java EE - Eclipse

Yesterday, I published a tool called DeployMan on GitHub. DeployMan is a command line tool to deploy Docker images to AWS and was the software prototype for my master thesis. I wrote my thesis at Informatica in Stuttgart-Weilimdorf, so first of all, I want to say thank you to Thomas Kasemir for the opportunity to put this online!

Disclaimer

At the time I am writing this post, DeployMan is a pure prototype. It was created for academic research and as a demo for my thesis. It is not ready ready for production. If you need a solid tool to deploy Docker images (to AWS), have a look at Puppet, CloudFormation (for AWS), Terraform, Vagrant, fig (for Docker) or any other orchestration tool that came up in the last couple of years.

What DeployMan does

DeployMan can create new AWS EC2 instances and deploy a predefined stack of Docker images on it. To do so, DeployMan takes a configuration file called a formation. A formation specifies how the EC2 machine should look like and which Docker images (and which configurations) should be deployed. Docker images can either be deployed from a Docker registry (the public one or a private) or a tarballs from a S3 storage. Together with each image, a configuration folder will pulled from a S3 storage and mounted to the running container.

Here is an example of a formation which deploys a Nginx server with a static HTML page:

Interfaces

DeployMan provides a command line interface to start instances and do some basic monitoring of the deployment process. Here is a screenshot which shows some formations (which can be started) and the output of a started Logstash server:

Run_Logstash_Server

To keep track of the deployment process in a more pleasant way, DeployMan has a web interface. The web interface shows details to machines, such as the deployed images and which containers are running. Here is how a Logstash server would look like:

Machine_Details

The project

GitHub-Mark

You can find the project on GitHub at https://github.com/tuhrig/DeployMan. I wrote a detailed README.md which explains how to build and use DeployMan. To test DeployMan, you need an AWS account (there are also free accounts).

The project is made with Java 8, Maven, the AWS Java API, the Docker Java API and a lot of small stuff like Apache Commons. The web interface is based on Spark (for the server), Google’s AngularJS and Twitter’s Bootstrap CSS.

Best regards,
Thomas

Write a Comment

Comment

Webmentions

  • Miami Beach Dentist September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • 럭스119 September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • Dentists in Cedar Hill TX September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • Plumbers in North Shore September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • direct to wood cornhole boards September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • japanese chidol September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • kids September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • massage in city centre dar es salaam September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • Dentallabor Essen September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • Car Dealer in Manassas Virginia September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • Komodo Boat Trip from Labuan Bajo September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • Dentist In Manhattan New York September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • Male Escorts Sydney September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • Custom Name Tumbler September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • colonial life insurance fort worth September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • dead by daylight decisive strike September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • led screens September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • tor web directory September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • Self Tape Auditions in West Hollywood September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • buy adipex-p online September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • Hotels or Inns in New York City or Schoharie Schoharie September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • Lebanese News - Lebanon Arabs and worldwide September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • St. Lawrence September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • Massage Therapist in Elizabethtown Ky September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • GentleDental September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • snapscores officiel September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • Buy Generic Klonopin Clonazepam September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • shop with your voice September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • Trezor hardware wallet September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • See Exam Results September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..

  • Home Healthcare Agencies in Houston September 11, 2017

    great Information, Thank you Thomas , Just came across your article, it makes a change to find one that’s actually an interesting read, thank you.
    great work..