cloud:intro
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
cloud:intro [2019/12/06 14:26] – chudler | cloud:intro [2019/12/06 15:21] – [Annotated Example] chudler | ||
---|---|---|---|
Line 242: | Line 242: | ||
You could also use the web interface to access the console, but that's not quite the same. | You could also use the web interface to access the console, but that's not quite the same. | ||
As before, in the Network Gear section, get a campus IP address from our pool. | As before, in the Network Gear section, get a campus IP address from our pool. | ||
- | < | + | < |
+ | openstack server add floating ip myserver 128.135.37.XX | ||
+ | </ | ||
+ | |||
+ | Note that the command is showing you a deeper and more rare UX pattern than before: | ||
+ | |||
+ | < | ||
+ | openstack server $action $subresource $more_options | ||
+ | </ | ||
At last, you can ssh into 128.135.37.XX. It is important for you to realize that your __local__ server IP does not change (no new interface is given to the instance). Instead, the router on the subnet simply performs DNAT on behalf of the clients. Here's another possibility: | At last, you can ssh into 128.135.37.XX. It is important for you to realize that your __local__ server IP does not change (no new interface is given to the instance). Instead, the router on the subnet simply performs DNAT on behalf of the clients. Here's another possibility: | ||
< | < | ||
- | **Now** your server does have a new interface attached to it, and will be served a DHCP address | + | **Now** your server does have a **new** network |
+ | |||
+ | This section added a floating ip address directly to the server. You must realize that a router was needed on the subnet for that to happen. We had created the router earlier for the purpose of SNAT, and had we not done that, this command would have failed. This means that if you are not doing SNAT, you should create a router anyway, but __do not__ give it a campus address of its own. | ||
== A WORD ABOUT CLOUD INIT == | == A WORD ABOUT CLOUD INIT == | ||
- | Your author uses cloud init extensively and does not imagine a life without it. It is optional. The file used in these examples is attached to this email, but you should develop your own if you use it at all. | + | Your author uses cloud init extensively and does not imagine a life without it. It is optional. The file used in these examples is available on request, but you should develop your own if you use it at all. |
- | == FAQ, NAQ (Never Asked Questions) == | + | === NAQ (Never Asked Questions) |
Q: Why does it use a self-signed certificate? | Q: Why does it use a self-signed certificate? |
/var/lib/dokuwiki/data/pages/cloud/intro.txt · Last modified: 2021/04/15 17:50 by chudler