{"action":"created","issue":{"url":"https://api.github.com/repos/nanobox-io/nanobox-docs/issues/15","repository_url":"https://api.github.com/repos/nanobox-io/nanobox-docs","labels_url":"https://api.github.com/repos/nanobox-io/nanobox-docs/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/nanobox-io/nanobox-docs/issues/15/comments","events_url":"https://api.github.com/repos/nanobox-io/nanobox-docs/issues/15/events","html_url":"https://github.com/nanobox-io/nanobox-docs/issues/15","id":196829056,"number":15,"title":"Provider Q&A Content","user":{"login":"danhunsaker","id":1534396,"avatar_url":"https://avatars.githubusercontent.com/u/1534396?v=3","gravatar_id":"","url":"https://api.github.com/users/danhunsaker","html_url":"https://github.com/danhunsaker","followers_url":"https://api.github.com/users/danhunsaker/followers","following_url":"https://api.github.com/users/danhunsaker/following{/other_user}","gists_url":"https://api.github.com/users/danhunsaker/gists{/gist_id}","starred_url":"https://api.github.com/users/danhunsaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danhunsaker/subscriptions","organizations_url":"https://api.github.com/users/danhunsaker/orgs","repos_url":"https://api.github.com/users/danhunsaker/repos","events_url":"https://api.github.com/users/danhunsaker/events{/privacy}","received_events_url":"https://api.github.com/users/danhunsaker/received_events","type":"User","site_admin":false},"labels":[{"id":491886865,"url":"https://api.github.com/repos/nanobox-io/nanobox-docs/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"sanderson","id":181484,"avatar_url":"https://avatars.githubusercontent.com/u/181484?v=3","gravatar_id":"","url":"https://api.github.com/users/sanderson","html_url":"https://github.com/sanderson","followers_url":"https://api.github.com/users/sanderson/followers","following_url":"https://api.github.com/users/sanderson/following{/other_user}","gists_url":"https://api.github.com/users/sanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/sanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanderson/subscriptions","organizations_url":"https://api.github.com/users/sanderson/orgs","repos_url":"https://api.github.com/users/sanderson/repos","events_url":"https://api.github.com/users/sanderson/events{/privacy}","received_events_url":"https://api.github.com/users/sanderson/received_events","type":"User","site_admin":false},"assignees":[{"login":"tylerflint","id":6357,"avatar_url":"https://avatars.githubusercontent.com/u/6357?v=3","gravatar_id":"","url":"https://api.github.com/users/tylerflint","html_url":"https://github.com/tylerflint","followers_url":"https://api.github.com/users/tylerflint/followers","following_url":"https://api.github.com/users/tylerflint/following{/other_user}","gists_url":"https://api.github.com/users/tylerflint/gists{/gist_id}","starred_url":"https://api.github.com/users/tylerflint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tylerflint/subscriptions","organizations_url":"https://api.github.com/users/tylerflint/orgs","repos_url":"https://api.github.com/users/tylerflint/repos","events_url":"https://api.github.com/users/tylerflint/events{/privacy}","received_events_url":"https://api.github.com/users/tylerflint/received_events","type":"User","site_admin":false},{"login":"sanderson","id":181484,"avatar_url":"https://avatars.githubusercontent.com/u/181484?v=3","gravatar_id":"","url":"https://api.github.com/users/sanderson","html_url":"https://github.com/sanderson","followers_url":"https://api.github.com/users/sanderson/followers","following_url":"https://api.github.com/users/sanderson/following{/other_user}","gists_url":"https://api.github.com/users/sanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/sanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanderson/subscriptions","organizations_url":"https://api.github.com/users/sanderson/orgs","repos_url":"https://api.github.com/users/sanderson/repos","events_url":"https://api.github.com/users/sanderson/events{/privacy}","received_events_url":"https://api.github.com/users/sanderson/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-12-21T02:13:12Z","updated_at":"2016-12-28T20:00:40Z","closed_at":null,"body":"From a conversation [in Slack on Nov 16th at 4:49 PM (MST)](https://nanoboxio.slack.com/archives/integration/p1479340152000024):\r\n\r\n- **@tylerflint**: I'm gonna go ahead and answer these questions here, and then I'll update the docs afterward\r\n  - **Q**: A base Ubuntu OS is easy enough, but is there a minimum supported version\r\n    **A**: Probably. We'll need to figure out what that is specifically. Newer versions will work.\r\n  - **Q**: Can I provision a VM or container for this, or does it have to be bare metal (that is, would virtualization interfere with correct operation in any way)?\r\n    **A**: A VM or bare metal machine will work fine. As long as the OS isn't sharing a kernel (ie: the host can't be a docker container).\r\n  - **Q**: The public NIC is pretty obvious, but what is the private NIC used for?  What else is expected and/or allowed on the private network?\r\n    **A**: Nanobox builds a virtual network on top of the private/internal network. It's a layer 2/3 vxlan implemented in the linux kernel. It *could* work on the public network, but connection from the web to the database would just be too slow. - Update: in case it's not clear, nanobox builds and configures the vxlan automatically. No special configuration or setup is required. If there's 2 nics, nanobox will do the rest.\r\n  - **Q**: - If all my regions support all the same sizes, is there an alternate format I can use to reduce payload size?  Even if I don't support all sizes in all locations, I may at least have a standard set, which means my payload will still contain a large amount of duplicate data...\r\n    **A**: Right now it'd have to be duplicated. Fortunately since it's just a JSON text api, the compressed response is very small even if the data is duped.\r\n  - **Q**: Is there a minimum size required to support the Nanobox infrastructure, before the user's app is added in?  It wouldn't make sense to advertise server sizes that won't boot properly.\r\n    **A**: The nanobox app platform runs in under 50MB of RAM. So anything larger than 128MB of RAM would be sufficient to run the platform and the app... but it might be a squeeze. I'd recommend 512 as the smallest but technically nanobox can go smaller.\r\n  - **Q**: Is there a timeout in the Nanobox dashboard after which it assumes the system isn't going to be provisioned? \r\n    **A**: Nope. In fact we just added a meta attribute to set an expectation of time to the end user. It could be a really long time.\r\n- **@danhunsaker**: On the private NIC, is there any reason it needs to be a real NIC, backed by hardware, or can it be a virtual NIC, only available to the Docker-host itself?\r\n- **@tylerflint**: It can be virtual. As long as the OS sees two nics.\r\n- **@danhunsaker**: I assume it would be preferred that it be hardware backed if the user wants their apps to be able to talk to each other ... especially across separate Docker-hosts.\r\n- **@tylerflint**: honestly if it becomes a real sticking point, we could modify our configuration to use a single nic if two aren't available. It's just not that way right now.\r\n- **@danhunsaker**: I doubt it'll be a big issue.  Might look into setting up a virtual device programmatically, though, instead of stacking the private net on the public NIC.\r\n- **@tylerflint**: our network really only cares that the nic has a MAC address and an IP address.\r\n\r\nThis information has been very reluctant to let itself be added to the docs :wink:, so I'm hoping to trick it into showing up anyway by putting it here, where it will get lost less easily."},"comment":{"url":"https://api.github.com/repos/nanobox-io/nanobox-docs/issues/comments/269532250","html_url":"https://github.com/nanobox-io/nanobox-docs/issues/15#issuecomment-269532250","issue_url":"https://api.github.com/repos/nanobox-io/nanobox-docs/issues/15","id":269532250,"user":{"login":"sanderson","id":181484,"avatar_url":"https://avatars.githubusercontent.com/u/181484?v=3","gravatar_id":"","url":"https://api.github.com/users/sanderson","html_url":"https://github.com/sanderson","followers_url":"https://api.github.com/users/sanderson/followers","following_url":"https://api.github.com/users/sanderson/following{/other_user}","gists_url":"https://api.github.com/users/sanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/sanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanderson/subscriptions","organizations_url":"https://api.github.com/users/sanderson/orgs","repos_url":"https://api.github.com/users/sanderson/repos","events_url":"https://api.github.com/users/sanderson/events{/privacy}","received_events_url":"https://api.github.com/users/sanderson/received_events","type":"User","site_admin":false},"created_at":"2016-12-28T20:00:40Z","updated_at":"2016-12-28T20:00:40Z","body":"I've just grouped these into checklists to make progress a little easier to track.\r\n\r\n#### Original Questions\r\n- [ ] **Q:** A base Ubuntu OS is easy enough, but is there a minimum supported version    \r\n    **A:** Probably. We'll need to figure out what that is specifically. Newer versions will work.\r\n- [ ] **Q:** Can I provision a VM or container for this, or does it have to be bare metal (that is, would virtualization interfere with correct operation in any way)?  \r\n    **A:** A VM or bare metal machine will work fine. As long as the OS isn't sharing a kernel (ie: the host can't be a docker container).\r\n- [ ] **Q:** The public NIC is pretty obvious, but what is the private NIC used for? What else is expected and/or allowed on the private network?  \r\n    **A:** Nanobox builds a virtual network on top of the private/internal network. It's a layer 2/3 vxlan implemented in the linux kernel. It could work on the public network, but connection from the web to the database would just be too slow. - Update: in case it's not clear, nanobox builds and configures the vxlan automatically. No special configuration or setup is required. If there's 2 nics, nanobox will do the rest.\r\n- [ ] **Q:** - If all my regions support all the same sizes, is there an alternate format I can use to reduce payload size? Even if I don't support all sizes in all locations, I may at least have a standard set, which means my payload will still contain a large amount of duplicate data...  \r\n    **A:** Right now it'd have to be duplicated. Fortunately since it's just a JSON text api, the compressed response is very small even if the data is duped.\r\n- [ ] **Q:** Is there a minimum size required to support the Nanobox infrastructure, before the user's app is added in? It wouldn't make sense to advertise server sizes that won't boot properly.  \r\n    **A:** The nanobox app platform runs in under 50MB of RAM. So anything larger than 128MB of RAM would be sufficient to run the platform and the app... but it might be a squeeze. I'd recommend 512 as the smallest but technically nanobox can go smaller.\r\n- [ ] **Q:** Is there a timeout in the Nanobox dashboard after which it assumes the system isn't going to be provisioned?  \r\n    **A:** Nope. In fact we just added a meta attribute to set an expectation of time to the end user. It could be a really long time.\r\n- [ ] **Q:** On the private NIC, is there any reason it needs to be a real NIC, backed by hardware, or can it be a virtual NIC, only available to the Docker-host itself?  \r\n    **A:** It can be virtual. As long as the OS sees two nics.\r\n    **Q:** I assume it would be preferred that it be hardware backed if the user wants their apps to be able to talk to each other ... especially across separate Docker-hosts.  \r\n    **A:** honestly if it becomes a real sticking point, we could modify our configuration to use a single nic if two aren't available. It's just not that way right now.\r\n    **Q:** I doubt it'll be a big issue. Might look into setting up a virtual device programmatically, though, instead of stacking the private net on the public NIC.  \r\n    **A:** our network really only cares that the nic has a MAC address and an IP address.  \r\n\r\n#### New Questions\r\n- [ ] **Q:** What user does Nanobox expect to use on the created servers? Is there a way to specify a different user to use instead? And what permissions will the user need on the system?\r\n- [ ] **Q:** Is there a way to indicate to the user/dashboard about how long it will take to provision a given server? A key in the POST /servers response?\r\n- [ ] **Q:** Can I use non-standard ports? Something other than HTTP:80/HTTPS:443? SSH:22?\r\n- [ ] **Q:** Do my servers absolutely need public IPs for each server, or can I put them behind load balancers of some sort?"}}
{"actor":{"display_login":"sanderson"}}