<div dir="auto">If you don't want users to specify network details, then use the get me a network extension or just have them boot to a public (or other pre-created) network. <div dir="auto"><br></div>In your thought experiment, why is your iPhone app developer not just using a PaaS that handles instance scaling, load balancing and HA? Why would he/she want to spend time managing security updates and log rotation for an operating system running inside another program pretending to be hardware? Different levels of abstraction solve different use cases.<div dir="auto"><br></div><div dir="auto"><span style="font-family:sans-serif">Amazon VPC exists (and is the default) for the same reason neutron provides network virtualization primitives. People moving legacy apps onto these systems end up needing specific addressing schemes and isolation topologies. </span></div><div dir="auto"><br></div><div dir="auto"><font face="sans-serif"><br></font><div class="gmail_extra" dir="auto"><div class="gmail_quote">On Jan 12, 2017 20:59, "Joshua Harlow" <<a href="mailto:harlowja@fastmail.com" target="_blank">harlowja@fastmail.com</a>> wrote:<br type="attribution"><blockquote class="m_-6582657028280800386quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_-6582657028280800386quoted-text">Sean M. Collins wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Joshua Harlow wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So I don't want to start to much of a flame-war and am really just trying to<br>
understand things that may be beyond me (so treat me nicely, ha).<br>
<br>
The basic question that I've been wondering revolves around the following<br>
kind of 'thought experiment' that asks something along the lines of:<br>
<br>
"""<br>
If I am a user of openstack, say I'm an iphone developer, trying to get my<br>
'game' and associated 'game APIs' setup in a manner that is HA (say fronted<br>
by a load-balancer), using my custom image, secure and visible to either an<br>
intranet or to the large internet then what is the steps I would have to do<br>
when interacting with openstack to accomplish this and what would the<br>
provider of openstack have to give to me as endpoints to make this possible.<br>
"""<br>
</blockquote>
<br>
<br>
We have a guide that sort of fits this usecase:<br>
<br>
<a href="http://developer.openstack.org/firstapp-libcloud/" rel="noreferrer" target="_blank">http://developer.openstack.org<wbr>/firstapp-libcloud/</a><br>
<br>
The networking section, can always use improvement:<br>
<br>
<a href="http://developer.openstack.org/firstapp-libcloud/networking.html" rel="noreferrer" target="_blank">http://developer.openstack.org<wbr>/firstapp-libcloud/networking.<wbr>html</a><br>
<br>
</blockquote>
<br></div>
Interesting good to know that this exists; though I still have this weird gut feeling that the following isn't really what people want to be doing (though they may have to just because that is what it is):<br>
<br>
$ openstack network list<br>
$ openstack network create worker_network<br>
$ openstack network create webserver_network<br>
$ openstack subnet create webserver_subnet --network webserver_network --subnet-range <a href="http://10.0.2.0/24" rel="noreferrer" target="_blank">10.0.2.0/24</a><br>
$ openstack network create api_network<br>
$ openstack subnet create api_subnet --network api_network --subnet-range <a href="http://10.0.3.0/24" rel="noreferrer" target="_blank">10.0.3.0/24</a><br>
$ openstack floating ip create public (1st floating IP)<br>
$ openstack floating ip create public (2nd floating IP)<br>
$ openstack router create project_router<br>
$ openstack router set project_router --external-gateway public<br>
$ openstack router add subnet project_router worker_subnet<br>
$ openstack router add subnet project_router api_subnet<br>
$ openstack router add subnet project_router webserver_subnet<br>
<br>
And then:<br>
<br>
$ nova boot --flavor m1.tiny --image cirros-0.3.3-x86_64-disk --nic net-id=953224c6-c510-45c5-8a29<wbr>-37deffd3d78e worker1<br>
<br>
ANNND then:<br>
<br>
$ openstack network list<br>
$ nova boot --flavor 1 --image 53ff0943-99ba-42d2-a10d-f66656<wbr>372f87 --min-count 2 test<br>
$ openstack floating ip create public --fixed-ip-address 10.0.0.2 --port 523331cf-5636-4298-a14c-f545bb<wbr>32abcf<br>
$ openstack floating ip create public --fixed-ip-address 10.0.2.4 --port 462c92c6-941c-48ab-8cca-3c7a73<wbr>08f580<br>
$ neutron lb-member-create --address 203.0.113.21 --protocol-port 80 mypool<br>
$ neutron lb-member-create --address 203.0.113.22 --protocol-port 80 mypool<br>
<br>
ANDDDD then:<br>
<br>
........... (how many more are there, woah)<div class="m_-6582657028280800386elided-text"><br>
<br>
<br>
<br>
<br>
<br>
<br>
______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a></div></blockquote></div></div></div></div>