Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document&minimize network dependencies // create on air-gapped network #62

Open
Klaas- opened this issue Jan 28, 2022 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@Klaas-
Copy link

Klaas- commented Jan 28, 2022

Is your feature request related to a problem? Please describe.
We have a fairly locked down network, only connections to Azure Services are allowed.
So stuff like the IP lookup:

this_ip=$(curl -s ipinfo.io/ip) >/dev/null 2>&1
export TF_VAR_Agent_IP=$this_ip
echo "Agent IP: $this_ip"
fi
if [ 1 == $called_from_ado ] ; then
this_ip=$(curl -s ipinfo.io/ip) >/dev/null 2>&1

this_ip=$(curl -s ipinfo.io/ip) >/dev/null 2>&1

this_ip=$(curl -s ipinfo.io/ip) >/dev/null 2>&1

does not work.

Also the deployer VM being created does not have access to the internet, so it can't download anything via pip for example.

I would like to minimize the dependencies towards the internet and try to operate only with Azure Services reachable. Apart from that for normal installation with internet access I think you should document what resources you actually need as a list of URLs:
http://ipinfo.io
Pip (pypi.python.org, pypi.org, pythonhosted.org)
Terraform (registry.terraform.io, releases.hashicorp.com)
I do not have a complete list yet, those were just the first things I noticed :)

As for an Non-Internet connected (air-gapped) Install:
I think it would be a good idea to have two parts
a) download everything (apart from that which is available directly from Microsoft like OS repos) you need from the internet and put it into a storage account
b) the actual SAP install

Everything in a) you can do on your desktop or on any internet connected machine
Everything in b) will work without internet connection

Describe alternatives you've considered
A lot of enterprises may have internal mirrors for pip/... so it may be a good idea to incorporate that possibility.

@Klaas- Klaas- added the enhancement New feature or request label Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants