Merge lp:~ev/ubuntu-ci-services-itself/public-address-howto into lp:ubuntu-ci-services-itself

Proposed by Evan
Status: Merged
Approved by: Chris Johnston
Approved revision: 259
Merged at revision: 260
Proposed branch: lp:~ev/ubuntu-ci-services-itself/public-address-howto
Merge into: lp:ubuntu-ci-services-itself
Diff against target: 20 lines (+13/-0)
1 file modified
TRICKS (+13/-0)
To merge this branch: bzr merge lp:~ev/ubuntu-ci-services-itself/public-address-howto
Reviewer Review Type Date Requested Status
Chris Johnston (community) Approve
Andy Doan (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+207634@code.launchpad.net

Commit message

Short howto on exposing a service to the wider web.

Description of the change

Short howto on exposing a service to the wider web.

To post a comment you must log in.
259. By Evan

Typo.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

PASSED: Continuous integration, rev:259
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/204/
Executed test runs:

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/uci-engine-ci/204/rebuild

review: Approve (continuous-integration)
Revision history for this message
Andy Doan (doanac) :
review: Approve
Revision history for this message
Chris Johnston (cjohnston) wrote :

 merge approved

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'TRICKS'
2--- TRICKS 2014-02-20 16:50:09 +0000
3+++ TRICKS 2014-02-21 12:03:05 +0000
4@@ -107,3 +107,16 @@
5
6 Enter your ~/.juju/environments.yaml admin-secret as the password.
7
8+Accessing services from public addresses
9+========================================
10+
11+Sometimes you want to share access to a component with another engineer for
12+debugging. The following steps will give that component a public IP address and
13+expose it to the wider Internet. Please be careful to clean up unused public
14+IPs. They are a scarce resource.
15+
16+$ IP=$(euca-allocate-address)
17+$ juju status # note the IP of the service you're after, save it to SERVICE_IP.
18+$ euca-describe-instances | grep $SERVICE_IP # note the instance ID (i-xxxxxx).
19+$ euca-associate-address -i $INSTANCE_ID $IP
20+$ juju expose $SERVICE_NAME # Tell juju to allow access.

Subscribers

People subscribed via source and target branches

to all changes: