Snappy ec2 getting started - various issues

Bug #1456390 reported by Michael Nelson
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Developer Portal
Fix Released
High
David Callé

Bug Description

A few issues I noted while following the ec2 snappy instructions at:

https://developer.ubuntu.com/en/snappy/start/#snappy-amazon

1) import-keypair: the instructions say:

$ ec2-import-keypair -f ~/.ssh/snappy-rsa snappy-key

This will attempt to upload the newly created *private* key (and fail).

I believe it should be:

$ ec2-import-keypair -f ~/.ssh/snappy-rsa.pub snappy-key

2) Down the page, for consistency when referring to the generated key, I think:

$ ssh -i ~/.ssh/ec2-rsa ubuntu@<PUBLIC DNS>

should be

$ ssh -i ~/.ssh/snappy-rsa ubuntu@<PUBLIC DNS>

3) When choosing an image to run, the instructions say to do:

$ ec2-describe-images \
      -o 099720109477 \
      | grep ubuntu-core

but that only shows alpha and devel images:
http://paste.ubuntu.com/11215934/

Those seem to be out-of-date. After running devel, sshing in and trying to follow:

https://developer.ubuntu.com/en/snappy/tutorials/using-snappy/

I can't do 'snappy list' (but can do 'snappy versions', which seems similar). If I try to update-versions, after downloading 146, it sits applying for > 10mins.

http://paste.ubuntu.com/11215937/

Are there newer images for aws?

description: updated
description: updated
summary: - Snappy ec2 getting started tries to upload private key
+ Snappy ec2 getting started - various issues
description: updated
description: updated
Revision history for this message
Robert C Jennings (rcj) wrote :

Issues #1 & #2 have good

#1 resolution is correct:
$ ec2-import-keypair -f ~/.ssh/snappy-rsa.pub snappy-key

#2 suggested resolution is correct:
$ ssh -i ~/.ssh/snappy-rsa ubuntu@<PUBLIC DNS>

#3 should be:
$ ec2-describe-images -o 099720109477 | grep Snappy

Changed in developer-ubuntu-com:
assignee: nobody → David Callé (davidc3)
Revision history for this message
Robert C Jennings (rcj) wrote :

Assigned to David to update the docs per comment #1. (Ignore that first sentence I started to write and then abandoned... "have good") :)

Changed in developer-ubuntu-com:
status: New → Confirmed
Revision history for this message
David Callé (davidc3) wrote :

Thanks Michael for pointing it out, and Robert for the fix.

Changed in developer-ubuntu-com:
importance: Undecided → High
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.