r/devops • u/analogj • Apr 06 '18
tools for interacting with/maintaining configs for multiple Bastion/Jumphosts
We have a globally distributed application, with different shards living in different datacenters/regions. Each datacenter is protected by a group of jumphost/bastions
In addition, as part of our development process we maintain multiple environments, all running different versions of our application, ie. dev, testing, performance, staging, production.
Each of these environments may have one or more shards.
As you can see, the number of bastion servers can grow significantly, pretty quickly.
We have in-house scripts that generate ssh config files following our custom conventions, but everything is hardcoded and specific to our deployment. The scripts also have a cli "ui" that makes it easy to select the correct stack, and it then chooses the associated ssh config file and opens the tunnel.
Is this a problem that you guys have as well? Are there existing tools for maintaining ssh configs for multiple environments & bastions?
If not, I'm considering creating an open source, naming-convention agnostic tool that will let you manage your ssh configs/tunnels without any assumptions.
Anyone interested in helping out/providing their use-cases?
View all comments
Show parent comment
1
u/analogj Apr 06 '18
hmmm.. ok let me make sure we're on the same page.
We have devops engineers who can connect to various deployed applications across multiple environments. These deployed applications are global, and are distributed across multiple shards/VPC's. Each shard has its own bastion host.
Some engineers can also deploy a custom version of the application on demand, to as many shards/VPCs as they would like.
Now, since there are so many bastion servers these engineers need to tunnel to, naming and management of the ssh config file can get complicated. We've written scripts to generate ssh config files on demand, customized to each VPC.