Nomad as a monolithic web application orchestrator in wide scale (around the world)

80 views
Skip to first unread message

Marek Sirový

unread,
Jul 4, 2020, 12:41:04 PM7/4/20
to Nomad
Hi,

I have hosting for more than 3000 rails applications around the world. Each application uses mysql as a db storage and one directory for the files. Last few days a have red and watch speeches about nomad and it looks like a great orchestrator for my case, but I don’t know anyone who has similar workload and who uses nomad.

Is there anyone with experience from production with the nomad as a web application platform for multiple monolithic applications?

My goal is to leave my old solution and stop to waste time by maintain it. I’m looking for platform that can manage my servers provided by plenty of providers and deploy/delete/keep running an application at the server. Nice feature could be drain that can move application to another server and change DNS but I can live without it.


My idea is:
- to have one consul and nomad master in AWS EC2 for each continent and from 2 to 45 runners connected to them
- on each runner have percona db installed physically in OS and applications deployed by nomad will use this db (no replication etc, the application will live on the same node forewer)
- each runner will run fabio routing domains to application
- in job for each application I will configure DNS record


Does it make sense? Is there anybody with experience with similar solution?

Shantanu Gadgil

unread,
Jul 11, 2020, 2:18:47 AM7/11/20
to Nomad
In my opinion, this sort of project is easily solvable by Nomad (+Consul, and Vault if needed)
By the description, it sounds just the right size of project, especially as you would be starting out on Nomad.
The way I can suggest is, you break up the deployment in pieces, Terraform for resources (EC2/asg), then the userdata to setup the machine, then Consul amd Nomad take over, and your app starts the deploy.

My shameless plug from $work-1 ..

https://www.velotio.com/engineering-blog/simplified-cloud-deployments

Alexandra Freeman

unread,
Aug 27, 2020, 9:21:41 PM8/27/20
to Nomad

Hello and thank you for your email!

On June 3, 2019 HashiCorp launched Discuss, a forum to facilitate dialogue within the HashiCorp community. This format allows answers to be more readily searched and indexed, making it easier to find answers to existing questions and to share knowledge with each other.

The HashiCorp team will be shifting to interact with practitioners on the forum, and we will be phasing out the Google Groups; on August 31 at 5pm EDT, inbound messages to this group will be disabled, and it will be used for outbound announcements only.

To prepare for this switch, please direct questions and conversations to the Nomad discussion forum. We look forward to collaborating with you there!
Reply all
Reply to author
Forward
0 new messages