Wednesday, November 14, 2012

Amazon Cloud Maintenance

Gemalto

I only infrequently sign into aws.amazon.com. Every time I sign in, the one-time-password from my gemalto token is rejected. I have to click the "I'm having trouble with my authentication device link" and re-sync it.

SSH

If you're concerned about security, you've limited your server to only accept incoming SSH from your IP. But when that changes, you've got to update your firewall rule. To see your IP, ask google what is my ip

aws.amazon.com > My Account / Console > AWS Management Console > Sign In > EC2 > Security Groups > YOUR_SECURITY_GROUP > [drag up bottom pane] > Inbound [tab]

Create a new rule: Custom TCP rule
Port range: YOUR_RANDOM_SSH_PORT
Source: YOUR_PUBLIC_IP/32

> Add Rule > Delete [previous SSH rule] > Apply Rule Changes

aws
{ "loggedin": false, "owner": false, "avatar": "", "render": "nothing", "trackingID": "UA-36983794-1", "description": "", "page": { "blogIds": [ 282 ] }, "domain": "holtstrom.com", "base": "\/michael", "url": "https:\/\/holtstrom.com\/michael\/", "frameworkFiles": "https:\/\/holtstrom.com\/michael\/_framework\/_files.4\/", "commonFiles": "https:\/\/holtstrom.com\/michael\/_common\/_files.3\/", "mediaFiles": "https:\/\/holtstrom.com\/michael\/media\/_files.3\/", "tmdbUrl": "http:\/\/www.themoviedb.org\/", "tmdbPoster": "http:\/\/image.tmdb.org\/t\/p\/w342" }