Differences between revisions 39 and 40
Revision 39 as of 2014-07-24 13:39:46
Size: 4681
Comment: Deprecate 6.0.9 AMIs
Revision 40 as of 2014-09-10 15:42:29
Size: 3942
Comment: Remove 9.0.9 AMIs (replaced by 6.0.10, deprecated 6 weeks ago)
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
 * [[#6.0.9|6.0.9]] (deprecated 24 July; scheduled for removal 30 August 2014)
Line 36: Line 35:
----

== 6.0.9 ==
<<Anchor(6.0.9)>>

Images were created on 16/Feb/2014 by James Bromberger using [[https://github.com/andsens/bootstrap-vz|bootstrap-vz]].

|| '''Region''' || '''32-bit PVM''' || '''64-bit PVM''' ||
|| US-East-1 || ami-574f483e || ami-0740476e ||
|| US-West-1 || ami-7c586439 || ami-72586437 ||
|| US-West-2 || ami-fe264bce || ami-fc264bcc ||
|| US-Gov-West-1 || || ||
|| EU-West-1 || ami-ccdd2dbb || ami-d8dd2daf ||
|| AP-Northeast-1 || ami-cdec99cc || ami-cbec99ca ||
|| AP-Southeast-1 || ami-eaecbab8 || ami-e4ecbab6 ||
|| AP-Southeast-2 || ami-15d24b2f || ami-17d24b2d ||
|| SA-East-1 || ami-8bc46796 || ami-89c46794 ||

Using the aws-cli, you may find this useful: '''aws --region us-east-1 ec2 describe-images --owners 379101102735 --filters "Name=tag:Name,Values=*6.0.9*" --query "Images[*].[Architecture,ImageId]" --output text'''
Using the aws-cli, you may find this useful: '''aws --region us-east-1 ec2 describe-images --owners 379101102735 --filters "Name=tag:Name,Values=*6.0.10*" --query "Images[*].[Architecture,ImageId]" --output text'''

Debian Squeeze (6.0.x) on AWS EC2

You may wish to use the CloudFormation template and launch your instance with some smart UserData scripts.

SSH username

In line with the security of most Linux distributions on Amazon Web Services, remote root SSH is disabled (as is password authentication). You will need to connect to instances from this AMI as the user admin, and then sudo -i to gain root access.

Please note that a Marketplace image volume cannot be attached to another running instance (For example, to repair a broken /etc/fstab, or /etc/network/interfaces). This is a limitation of all Marketplace images, as described here: Official AWS documentation


6.0.10

Images were created on 21/Jul/2014 by James Bromberger using bootstrap-vz.

Region

32-bit PVM

64-bit PVM

US-East-1

ami-5614da3e

ami-5e12dc36

US-West-1

ami-753d3e30

ami-6b3d3e2e

US-West-2

ami-05146c35

ami-01146c31

US-Gov-West-1

ami-afb9de8c

ami-adb9de8e

EU-West-1

ami-8d9e4ffa

ami-879e4ff0

AP-Northeast-1

ami-cf491bce

ami-cb491bca

AP-Southeast-1

ami-0ee7be5c

ami-02e7be50

AP-Southeast-2

ami-e7c5a2dd

ami-e3c5a2d9

SA-East-1

ami-79c16864

ami-7dc16860

Using the aws-cli, you may find this useful: aws --region us-east-1 ec2 describe-images --owners 379101102735 --filters "Name=tag:Name,Values=*6.0.10*" --query "Images[*].[Architecture,?ImageId]" --output text


Upgrading from previous 6.0.x releases

As is standard with Debian, a simple apt-get update && apt-get upgrade should bring all packages up to date. There is no need to reinstall, but any CloudFormation templates and AutoScale Launch Configurations should be tested with and then updated to use the current AMI. It is recommended not to use older point releases.


The Squeeze image performs the following tasks:

  • UserData that is a shell script is executed (you may wish to apply pending updates and install other software, etc)

  • The root ext4 filesystem is resized on boot (you can grow larger than the default on instance launch)
  • The root account is disabled; please SSH to the instance as the user 'admin'.

The image by default makes no contact to any external servers (no updates applied, no outbound requests, no data leakage).

It is planned to provide a machine-readable version of the above list of images. For the sake of the brainstorm, a JSON version is temporarly placed at Cloud/AmazonEC2Image/Squeeze/JSON. However, the structure is very likely to change, see 694035 for details. Here is a naive example on how to query the list. euca-describe-images $(curl --silent http://wiki.debian.org/Cloud/AmazonEC2Image/Squeeze/JSON?action=raw | jsonpipe | awk '/Debian606.ap-northeast-1.64/ {print $2}' | sed 's/"//g')

Suggested UserData scripts

The image by default takes no actions upon boot, and does not auto-update. However, as the Debian image does honour executing UserData meta-data that looks like a script (started with #!/bin/sh), you may optionally chose to take some action. This action can be passed as a script in the AWS Console UserData input, or in the above CloudFormation template to an instance (see the UserData section in the example above).

You can chose to enable auto update with the following UserData scripts:

   1 #!/bin/sh
   2 apt-get update && apt-get upgrade -y && apt-get install -y unattended-upgrades


See also Cloud and Teams/Cloud.