AWS Reserved Instance marketplace

Posted on Monday, December 24, 2012





Amazon has set up a plce where you can buy and sell reserved instances.  This helps in getting rid of reserved instances you may no longer need.




Selling


I am more interested in buying a partial reserved instance than selling them.   So I will not be going over selling, if you want to sell a reserved instance this video by AWS will show you how to


Installing WordPress on Ubuntu 12.04 LTS

Posted on Saturday, December 22, 2012



These notes cover the installation and basic set up of a WordPress Server on an Ubuntu 12.04 Server.




Install/Setup MySQL


Install mysql on this server


      > sudo apt-get update
      >  sudo apt-get install mysql-server



Unable to Resolve Host IP

Posted on Thursday, December 20, 2012



Unable to Resolve Host IP


Every so often I get this error from the command line from ubuntu 12.04 LTS in the Amazon AWS cloud.


unable to resolve host ip-XX-X-XX-XXX






Quick Overview of Amazon AWS Cloud

Posted on Monday, December 17, 2012



Quick Overview of Amazon AWS cloud
Created 02/10/2011
Updated 3/6/2012 (lower prices)
Updated 3/14/2012 (new Medium ec2 type)
Updated 4/15/2012 (confirm prices)
Updated 12/14/2012 (confirm prices)
Patrick Bailey


Services


Amazon provides many different cloud services here is a quick overview what I will be covering in this document.  (These are a subset of all of Amazons AWS offerings at the time of this writing)


·         S3
·         EC2
o   AMI
o   EBS
o   Snapshots
o   Elastic IP
o   Elastic Load Balancers
o   Security
o   Monitoring
·         RDS Database
o   MySQL
o   Oracle
o   Monitoring
·         Route 53
·         Dynamo DB (beta)
·         Storage Gateway (beta)


Amazon AWS VPC Setting up OpenVPN server

Posted on Friday, December 14, 2012



This assumes you already have a VPC set up and working.

I am still new to the VPC world, but from what I have read it seems that the virtual VPN service that Amazon provides is intended for a hardware based VPN, site to site.   Aside from that it costs $0.05 per hour connection.

In this tutorial I am going to set up a OpenVPN server on Ubuntu 12.04 LTS server within my VPC.   Once I get that working I am additionally going to turn that OpenVPN server into a NAT server to replace my current NAT server and save some money.

The best information I found on the web one how to do this was a video at http://dbsgkhvbz3k7m.cloudfront.net/AmazonVPC/AmazonVPC.html [1]


Amazon AWS VPC IPTables and NAT route port

Posted on Wednesday, December 12, 2012




This guide assumes you already have a VPC set with a NAT acting as a gateway to a private subnet.

In this example I want to port forward port 2222 from the NAT to port 22 on an instance in the private subnet.





Something like this


Amazon AWS VPC Replace your NAT with micro Instance NAT

Posted on Monday, December 10, 2012




The VPC wizard has an option to create a public subnet and a private subnet.  It creates a NAT instance to handle internet traffic for the private network.  The tool does not have the option to make this instance a micro instance.   Until recently you could not have a micro instance on a VPC  http://aws.amazon.com/about-aws/whats-new/2012/10/18/Amazon-VPC-now-Supports-Micro-Instances/ [1]  I think it’s possible to use a micro instance as a NAT, you just have to do some manual steps to implement it.


This guide assumes you already have a VPC set up with a public and private subnet and a running NAT.

Instantiate the micro NAT



From the EC2 console.  Select AMIs.

Then from the pull down menu select “Amazon Images”
Then enter “nat” in the text field and press enter.

Understanding AWS VPC IP addresses

Posted on Saturday, December 8, 2012



I am writing this to better understand how ec2 internal and external IP addresses change and work within VPC, also to learn how to use VPC.

VPC  (Virtual Private Cloud)


Be warned, this is my first time playing around with VPC.  I will do my best, but I am bound to miss some concept.


Creating a VPC network


For my virtual private cloud I am going to keep things simple.






Something like this figure shown above.   I want a VPC were every system has access to the internet, so I can use things like apt-get within Ubuntu.   I only want a few of the systems to be accessible from the internet via SSH or port 80.    I also want to run an RDS database within the VPC.

Understanding EC2 internal/external IP addresses

Posted on Thursday, December 6, 2012



I am writing this to better understand how ec2 internal and external IP addresses change and work.

Non VPC Servers


This will just explore normal, non VPC EC2 servers and how their internal and external IPs can change, are used, and how they are accessed.