Category Archives: ec2

Announcing the AWS Management Console

AWS Statement:

We’re excited to announce the initial beta release of our AWS Management Console, a web-based, point-and-click, graphical user interface that makes it even easier to access and manage AWS Infrastructure Web Services. The initial release provides an online interface for Amazon EC2, with additional AWS services scheduled to be added in the coming months. The console presents an intuitive, global picture of your cloud computing environment so that you can control your AWS resources without programming directly to an API.

Access to the AWS Management Console is provided free of charge at https://console.aws.amazon.com/. We invite you to have a look, start using it to manage your applications, and tell us what you think. Feedback links are located at the bottom of each page, and we wholeheartedly welcome your suggestions, requests, and comments.

My Comments:

I’ts much very the same functionality to Elasticfox. I was expecting more features on it like monitoring server loads and the like.


Configure Ubuntu and CentOS Webserver using Puppet

As I’m playing with the EC2 Puppet setup, here’s my simple web server in CentOS and Ubuntu puppet recipe. (need to edit more the Ubuntu installed packages ex. add php_mysql etc)

Tested in CentOS 5.0 and Ubuntu 8.04 AMI by Eric Hammond found at http://alestic.com.

class apache {
    # CentOS v.5 only
    case  $operatingsystem { 
     "CentOS":  { 
        $wantedpackages = [ "httpd","php","php-mysql","php-mcrypt","php-mhash","php-mbstring" ]
        package { $wantedpackages: 
                  ensure => installed 
        }
        service { "httpd":
                ensure => running,
                hasstatus => true,
                hasrestart => true,
                require => Package["httpd"],
                restart => true;
        }
      } 

    "Debian": { 
        # assume Debian base..
        $wantedpackages = [ "apache2" ]
        package { $wantedpackages: 
                  ensure => installed 
        }

        service { "apache2":
                hasstatus => true,
                hasrestart => true,
                ensure => running,
                require => Package["apache2"]
        }
    } 
  } # end case
} 

Obviously a web node will have the config:

node webA.sample.org {
   include apache 
}

Running it on EC2, pass a user-data script to the AMI during launch. A script that will set the hostname, adds default puppet master for the current instance and installs the puppetd. The puppetd program will then connect to the puppet server, and get all it’s needed configurations.

🙂 Thanks to Reductive labs.