Tag Archives: amazon ec2

AWS security group(s) (cloudwall(s))

The default Amazon Web Services (AWS) default (security) group (aka cloudwall/firewall) only allows access to AMIs from the same group. However you and your desktop or notebook or any customers PCs will not be in this group and therefore blocked even if you have setup key pairs (http://code.google.com/p/cloudtools/wiki/Ec2KeyPair) !

You’ll need to add security rules to ALLOW ports such as SSH (22), SMTP (25), HTTP (80) etc to be accessible from outside the group ie any IP in the world (0.0.0.0/0) instead of just that group !

Just login to your AWS Console select the Security Groups tab, select deafult group and create the new rule(s) and/or create new security groups. (http://code.google.com/p/cloudtools/wiki/EnablingSshAccess)

You may also want to allow your webserver instances to talk to your database servers in which case make sure you

  • either ensure web servers and db servers are running in the same default group

or

  • create a db servers (security) group that allow access from a web servers (security) group and make sure your webserver AMI(s) & db AMI(s) are running in the correct security group.
Advertisements

Virtualised File Delivery with Amazon CloudFront

Virtualised File Delivery with Amazon CloudFront delivers your content using a global network of edge locations. Requests for your objects are automatically routed to the nearest edge location, so content is delivered with the best possible performance. Amazon CloudFront works seamlessly with Amazon Simple Storage Service (Amazon S3) which durably stores the original, definitive versions of your files.

Amazon EC2 Super Quick Start with JumpBox

EC2 Quick Start

  • sign up
  • generate cert & private key
  • download amazon ec2 tools into ~/ec2
  • export environment variables
  • export EC2_HOME=~/ec2
  • export JAVA_HOME=/usr/java/jre1.5.0_15
  • export EC2_PRIVATE_KEY=~/ec2/pk.pem
  • export EC2_CERT=~/ec2/cert.pem
  • export EC2_JVM_ARGS=”-Dhttps.proxyHost=my.proxy -Dhttps.proxyPort=8080″

Then run amazon ec2 describe images utility

$ ./bin/ec2-describe-images -a

you’ll see a list of over 600 AMIs including the following jumpboxs

  • IMAGE   ami-70ab4f19    jumpbox-amis/bugzilla-1.1.0.manifest.xml
  • IMAGE   ami-71ab4f18    jumpbox-amis/mediawiki-1.1.0.manifest.xml
  • IMAGE   ami-6aac4803    jumpbox-amis/movabletype-1.1.0.manifest.xml
  • IMAGE   ami-0eb45067    jumpbox-amis/wordpress-1.1.0.manifest.xml

just choose a JumpBox AMI virtual machine software appliance and run it !

Finally check your credit card bill the following month !