Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ipgallery
/
devops
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d8cab095
authored
Jul 21, 2020
by
Amir Aharon
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
changes in design and multi-instance
parent
9d0495b8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
112 additions
and
18 deletions
common/docs/knowledgeBase/MultiInstance-Configuration.txt
products/MCX/design/Esp.graphml
products/MCX/design/Esp.pdf
common/docs/knowledgeBase/MultiInstance-Configuration.txt
View file @
d8cab095
CONFIGURING MULTI-INSTANCE FOR MCX
- First we need to enable private ips on all instances:
https://www.digitalocean.com/docs/networking/vpc/how-to/enable/
This way we don't pay for the traffic among those instances as long as they communicate via their
private ips.
The instances must be under the same VPC (Virtual ,private connection) to receive the same ip range and rules.
[Enable Private ip]
- Altough we have private ips, the ports among them are not open, we still need to allow ports among them.
https://www.digitalocean.com/docs/networking/vpc/how-to/enable/
In order to get from one service to another on other instance on the same VPC, we need to add the port
to the firewall but in the 'Sources' section add the VPC name and delete other tags like 'All IPV4','All IPv6'.
- Now we need to add the remote services (the services on the other instance) on each docker-compose files as 'extra_hosts'
using their private ip, e.g:
extra_hosts:
- "alerts:10.136.0.2"
- "scp:10.136.0.2"
The port binding in the docker-compose is the same e.g: '- 8090:8080' just note that now the remote service must point to
the external exposed port, not the internal (like when both services are on the same instance).
[docker port binding]
In order to get from one service to another on other instance on the same VPC, we need to add the port
to the firewall but in the 'Sources' section add the VPC name and delete other tags like 'All IPV4','All IPv6'.
products/MCX/design/Esp.graphml
View file @
d8cab095
This diff is collapsed.
Click to expand it.
products/MCX/design/Esp.pdf
View file @
d8cab095
This diff could not be displayed because it is too large.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment