Skip to main content

Harjeet Singh's Library tagged ec2   View Popular

27 Aug 09

DNS Made Easy - SMTP Services

SMTP Services

Is your ISP blocking outgoing port 25?

Do you need an open relay to send mail from your domain?

Does your current email provider not allow you to send emails from your own domain?

www.dnsmadeeasy.com/...smtp.html - Preview

email pubstats ec2 aws

  • Account limitations:

    Each SMTP account in DNS Made Easy is allowed:

    - Send out 500 emails per day!

    - 100 MB of outgoing emails per day!

    - over 30 MB maximum size per email


    Note: You "do not" need to use DNS Made Easy DNS for your domain to use our SMTP services.


    Pricing:

    $24.95 per year (less than $2.50 per month!)

    10 Pack - $199.95 per year


    DNS Made Easy does have larger "custom" packages that can be added to your account. Here are some prices for additional addons.




    Option (Daily Addon)

    Additional Price


    extra 500 emails per day
    $24.95 per year ( 7 cents per day)


    extra 100 MB per day
    $29.95 per year ( 8 cents per day)


    Contact sales@dnsmadeeasy.com for one of these addons today!

AuthSMTP (SMTP-AUTH) mail relay pricing and service description.

SMTP Relay Service - Full Pricing & Service Description

The message quotas are per month - the prices are per year - this means that our entry-level account is the equivalent of just US$2 per month for up to 1000 emails (or 100MB 'data') sent per month!

www.authsmtp.com/...pricing.html - Preview

email pubstats ec2 aws

  • Account

    Type

    Emails

    Per Month

    Total
    Size Sent

    Per Month

    Email
    'From'

    Addresses

    Price
    Per Year

    Sign
    Up


    US Dollars
    UK Pounds
    Euros



    AuthSMTP
    11
    11000
    1.1GB
    60
    $184
    £104
    €151
    [sign
    up
    ]



    AuthSMTP
    12
    12000
    1.2GB
    65
    $200
    £113
    €164
    [sign
    up
    ]



    AuthSMTP
    13
    13000
    1.3GB
    70
    $216
    £122
    €177
    [sign
    up
    ]



    AuthSMTP
    14
    14000
    1.4GB
    75
    $232
    £131
    €190
    [sign
    up
    ]



    AuthSMTP
    15
    15000
    1.5GB
    80
    $248
    £140
    €203
    [sign
    up
    ]



    AuthSMTP
    20
    20000
    2.0GB
    90
    $328
    £185
    €268
    [sign
    up
    ]



    AuthSMTP
    25
    25000
    2.5GB
    100
    $408
    £230
    €333
    [sign
    up
    ]



    AuthSMTP
    30
    30000
    3.0GB
    110
    $488
    £275
    €398
    [sign
    up
    ]



    AuthSMTP
    35
    35000
    3.5GB
    120
    $568
    £320
    €463
    [sign
    up
    ]



    AuthSMTP
    40
    40000
    4.0GB
    130
    $648
    £365
    €528
21 Jul 09

Vertica Analytic Database 3.0




  • The Vertica Analytic Database is a high performance SQL RDBMS specially designed for Analytics, Business Intelligence and Data Warehousing. Vertica is built on a Grid/MPP Compressed Columnar architecture, making it as elastic as the cloud.

06 Jul 09

jclouds- Cloud Abstraction

jclouds releases updated beta for Amazon S3
Posted by: Adrian Cole on July 03, 2009 DIGG
jclouds is anyweight cloudware for Java. jclouds is open source and under Apache License, Version 2.0.

www.theserverside.com/...thread.tss - Preview

cloud-computing grid Amazon ec2

  • jclouds releases updated beta for Amazon S3




    Posted by:

    Adrian Cole

    on
    July 03, 2009

    DIGG

    <script type="text/javascript">
    function _parseDiggURL() {
    var _diggURL = "http://digg.com/submit?phase=2&topic=Programming&url="
    _diggURL += encodeURIComponent(location.href);
    _diggURL += "&title=";
    _diggURL += escape ( "jclouds releases updated beta for Amazon S3") ;
    _diggURL += "&bodytext=";
    _diggURL += escape ( "jclouds is anyweight cloudware for Java. jclouds is open source and under Apache License, Version 2.0.<br><br>We are excited to release version 1.0-beta-2 of our Amazon S3 api: jclouds-s3 <br><br>Here are the major functional improvements and updates:<br> * EU bucket support<br> * ACL support<br> * Updated samples<br><br>There were several bug fixes included in this release. Most importantly, we fixed a problem which prevented running multiple S3 requests within google appengine.<br><br>Our roadmap to 1.0GA includes the following features. Please vote on which are most important to you!<br> * jets3t integration [1]<br> * compatibility layer over Amazon S3, Eucalyptus Walrus, and RackSpace Cloud Files [2]<br> * OSGI support [3]<br> * JMX support [4]<br><br>Try out the new beta, or lend us a hand!<br><br>adrian@jclouds.org<br><br><a href="http://code.google.com/p/jclouds/" target="_blank">http://code.google.com/p/jclouds/</a><br><a href="http://anyweight.blogspot.com/" target="_blank">http://anyweight.blogspot.com/</a><br><br>[1] <a href="http://code.google.com/p/jclouds/issues/detail?id=15" target="_blank">http://code.google.com/p/jclouds/issues/detail?id=15</a><br>[2] <a href="http://code.google.com/p/jclouds/issues/detail?id=73" target="_blank">http://code.google.com/p/jclouds/issues/detail?id=73</a><br>[3] <a href="http://code.google.com/p/jclouds/issues/detail?id=42" target="_blank">http://code.google.com/p/jclouds/issues/detail?id=42</a><br>[4] <a href="http://code.google.com/p/jclouds/issues/detail?id=43" target="_blank">http://code.google.com/p/jclouds/issues/detail?id=43</a>").substring(0,300);
    return _diggURL ;
    }
    </script>



    jclouds is anyweight cloudware for Java. jclouds is open source and under Apache License, Version 2.0.
  • Our roadmap to 1.0GA includes the following features. Please vote on which are most important to you!
    * jets3t integration [1]
    * compatibility layer over Amazon S3, Eucalyptus Walrus, and RackSpace Cloud Files [2]
    * OSGI support [3]
    * JMX support [4]
08 Jan 09

Amazon Web Services Developer Community : Hyperic HQ Monitoring - 4 Platforms [FREE]

Hyperic HQ Monitoring - 4 Platforms [FREE]
Click for a printer friendly version of this document Printer Friendly Save to del.icio.us



Hyperic HQ for AWS automatically manages and monitors the software on your EC2 instances, giving you total visibility into the health and well-being of your computing resources. HQ starts with auto-discovery for more than 75 common technology components - including databases, application servers, middleware, web servers and more - then seamlessly monitors the availability and performance of those services. HQ for AWS-Developer Edition provides rich visualization capabilities, trend analysis and capacity planning, advanced alerts, built-in and extendable diagnostics, and remote control of system resources, so you can prevent, detect, and solve problems.

developer.amazonwebservices.com/...entry.jspa - Preview

aws monitoring cloud-computing ec2 services ec2

  • Hyperic HQ Monitoring - 4 Platforms [FREE]





























    Click for a printer friendly version of this document


    Printer Friendly





    Save to del.icio.us





     






    Hyperic HQ for AWS automatically manages and monitors the software on your EC2 instances, giving you total visibility into the health and well-being of your computing resources. HQ starts with auto-discovery for more than 75 common technology components - including databases, application servers, middleware, web servers and more - then seamlessly monitors the availability and performance of those services. HQ for AWS-Developer Edition provides rich visualization capabilities, trend analysis and capacity planning, advanced alerts, built-in and extendable diagnostics, and remote control of system resources, so you can prevent, detect, and solve problems.

Auto-Scaling Web Sites Using Amazon EC2 and Scalr

  • Auto-Scaling Web Sites Using Amazon EC2 and Scalr
  • Abstract



    Amazon Elastic Cloud Computing (Beta) (Amazon EC2) and Amazon Simple Storage Service (Amazon S3) provide highly scalable and quickly configurable computing power and storage, on a pay-as-you-use basis. Administration of these resources can be burdensome to contemporary network or computing managers who find themselves in a rapidly changing and mobile workplace.




    This article discusses the implementation of Scalr, which is an open source, fully redundant, self-curing, and self-scaling hosting environment that uses Amazon EC2. Scalr allows network administrators to create virtual server farms, using prebuilt components. Scalr uses four Amazon Machine Instances (AMIs) for load balancing, databases, application server, and a generic base image. Administrators can preconfigure one machine and, when the load warrants, bring online additional machines with the same image, to handle the increased requests.

08 Aug 08

Amazon Web Services Developer Connection : Tips for Securing Your EC2 Instance

Ditch Those Passwords: Use ssh Keys

developer.amazonwebservices.com/...entry.jspa - Preview

ec2 security aws

  • For instance, let's assume that your corporate firewall has the IP address 1.2.3.4 and your
    corporation has been assigned that network as a /20, ie 1.2.3.0/20 (1.2.3.0-1.2.18.255) you could
    easily restrict ssh access to hosts only on your corporate network thus:

    PROMPT>  ec2-authorize default -p 22 -s 1.2.3.0/20
    PERMISSION default ALLOWS tcp 22 22 FROM CIDR 1.2.3.0/20

    making it impossible for anyone on another network to even connect to your ssh server
    (the ec2-authorize command instructs the firewall (integrated into every EC2 instance) to
    drop packets not sourced on an approved network.)
    To make things even more secure, let's say all traffic only comes from your firewall, we could restrict it to just one host:
    PROMPT> ec2-revoke default -p 22 -s 1.2.3.0/20
  • Disable Password-based Login


    Log in to your instance as root and edit the ssh daemon configuration file:
    # vi /etc/ssh/sshd_config


    Find the line
    PasswordAuthentication yes

    and change it to
    PasswordAuthentication no
  • 1 more annotations...
31 Jul 08

Cloud Vendors A to Z (Revised) | IT Management and Cloud Blog

  • 3Tera
    3
    Server
    Provider
    Backbone
    3Teras host solutions and provides software for other host providers



  • <!--header.php end-->

    <!--single.php-->

    <!--loop-->

    <!--navigation-->

    « Zabbix … Still Kicking | Home | Project Caroline Overview »




    <!--post title-->

    Cloud Vendors A to Z (Revised)


    By John | April 13, 2008




    <!--content with more link-->

    This list contains most of the vendors that have a presence in the cloud:













































































































  • 2 more annotations...












  • 28 Jul 08

    Eucalyptus

    EUCALYPTUS - Elastic Utility Computing Architecture for Linking Your Programs To Useful Systems - is an open-source software infrastructure for implementing "cloud computing" on clusters. The current interface to EUCALYPTUS is compatible with Amazon's EC2 interface, but the infrastructure is designed to support multiple client-side interfaces. EUCALYPTUS is implemented using commonly-available Linux tools and basic Web-service technologies making it easy to install and maintain.

    * Read the documentation, including download and installation instructions
    * Test-drive the Eucalyptus Public Cloud
    * Sign up to our mailing list for updates on Eucalyptus
    * Share impressions and vent frustrations in our discussion forum

    eucalyptus.cs.ucsb.edu - Preview

    ec2 clone cloud-computing

    Open Source Cloud Computing (Video Interview - 1/2) | Virtualization.com

    Eucalyptus: Open Source Cloud Computing (Video Interview - 1/2)

    virtualization.com/...rich-wolsky-eucalyptus - Preview

    cloud-computing ec2 clone virtualiazation

    • how you can build your own open source cloud on clusters to make your personal cloud dreams come true!  Simply put your datacenter to use by ordering
      Xen virtualization on the
      Rocks and then carefully roll it in fresh
      Eucalyptus leaves.
    • Rich’s students came up with
      EUCALYPTUS, which stands for ‘Elastic Utility Computing Architecture for Linking Your Programs To Useful Systems’ as an open-source tool for doing “
      cloud computing”. Their tool is designed to stimulate the development, interest, experiments and research into the nascent concept and industry of cloud computing.
    • 1 more annotations...
    26 Jun 08

    EC2 Persistent Storage

    Storage Space, The Final Frontier

    Disk_space_star_trek_2 Developers who have found our cloud computing model attractive have been asking us to be a little bit more open about what we are planning to do in the future. To date we've simply announced new additions to the Amazon Web Services lineup, with immediate beta availability at the time of announcement.

    Earlier this year we started to post specifications for new features along with requests for feedback. We did this for the Amazon S3 Copy feature and for Amazon S3 Post Support . We received a lot of helpful feedback in both cases.

    Now it is time for the next step...

    I am excited to be able to tell you about an entire

    aws.typepad.com/...block-to-the-fu.html - Preview

    aws ec2 amazon

    • They are designed for low latency, high throughput access from Amazon EC2. Needless to say, you can use these volumes to host a relational database.
    • U:\USER\Jeff\Amazon> ec2-create-volume -s 549755813888

      VOLUME vol-4695702f 549755813888 creating 2008-04-13T22:17:35+0000



      U:\USER\Jeff\Amazon> ec2-create-volume -s 549755813888

      VOLUME vol-59957030 549755813888 creating;2008-04-13T22:17:49+0000



      U:\USER\Jeff\Amazon> ec2-describe-volumes

      VOLUME vol-4695702f 549755813888 available 2008-04-13T22:17:35+0000

      VOLUME vol-59957030 549755813888 available 2008-04-13T22:17:49+0000


      Then I attached them to my EC2 instance:




      U:\USER\Jeff\Amazon> ec2-attach-volume vol-4695702f -i i-6b3bfd02 -d /dev/sdb
      ATTACHMENT vol-4695702f i-6b3bfd02 /dev/sdb attaching 2008-04-13T22:36:32+0000

      U:\USER\Jeff\Amazon> ec2-attach-volume vol-59957030 -i i-6b3bfd02 -d /dev/sdc
      ATTACHMENT vol-59957030 i-6b3bfd02 /dev/sdc attaching 2008-04-13T22:36:55+0000


      Then I switched over to my instance, formatted and mounted them, and I was all set:




      # yes | mkfs -t ext3 /dev/sdb
      # yes | mkfs -t ext3 /dev/sdc

      # mkdir /space1 /space2

      # mount /dev/sdb /space1
      # mount /dev/sdc /space2

      # df -h
      Filesystem            Size  Used Avail Use% Mounted on
      /dev/sda1             9.9G  765M  8.6G   8% /
      none                  851M     0  851M   0% /dev/shm
      /dev/sda2             147G  188M  140G   1% /mnt
      /dev/sdb              504G  201M  479G   1% /space1
      /dev/sdc              504G  201M  479G   1% /space2
    • 1 more annotations...

    EC2 Persistent Storage for the Impatient? – TheWebFellas - Ruby on Rails Development Specialists UK

    • At a high level the solutions can be split into two categories - file system interfaces to S3 or architecture based replication and backup.
    • FUSE Interfaces



      s3fs (Open Source)
      s3fs is a FUSE filesystem that allows you to mount an Amazon S3 bucket as a local filesystem. It stores files natively and transparently in S3 (i.e., you can use other programs to access the same files). Maximum file size is 5G.

      PersistentFS (Closed Source, Current Development Version is Free)
      PersistentFS is a fast and efficient POSIX-compliant file system that provides unlimited online storage in the Amazon Web Services (AWS) storage cloud.

      InfiniteFTP (Closed Source, Paid Service) over CurlFtpFs (Open Source)
      InfiniteFTP provides an FTP interface to Amazon S3 - while this isn't a file system approach then you could add a FUSE layer over the top to make it appear as one.
      CurlFtpFS is a filesystem for accessing FTP hosts based on FUSE and libcurl.


      NBD Interfaces



      ElasticDrive (Closed Source, Paid Service)
      ElasticDrive is a Distributed Remote Storage Application that allows you to access your data regardless of location with the assurance your data is safe. It makes it possible for a remote storage resource, such as Amazon's Simple Storage Service (S3), Nirvanix & Xdrive to behave like a local hard drive.
    • 1 more annotations...
    Cloud VendorLevelTypeStatusCloud ProviderNotes
    3Tera3ServerProviderBackbone3Teras host solutions and provides software for other host providers
    Adobe Air1ApplicationNot a ProviderBackboneDesktop play
    Akamai0ServerNot a ProviderSoftware BasedCDN
    Amazon EC22ServerProviderBackbone

    Amazon S32StorageProviderBackbone

    Amazon SimpleDB2DatabaseProviderBackbone

    Apache CouchDB2DatabaseNot a ProviderSoftware BasedIBM is involved
    Apache Hadoop2DatabaseNot a ProviderSoftware BasedHadoop is white-hot OSS enterprise search technology.
    Areti Internet0ApplicationProvider3Tera

    Box-Net1StorageProviderBackbone

    Cassatt0ServerNot a Provider Software BasedUtility based computing. Provides a very strong provisioning play along with robust power management. Utility providers can worth within clouds or outside of clouds (e.g., enterprise infrastructures).
    Citrix (XenSource)0UtilityNot a ProviderSoftware Based

    CohesiveFT/ESOD1UtilityNot a ProviderAmazon EC2Sort of like of like a cloud factory. ESOD is Elastic Server on Demand that can be used to create EC2 running images along with other platform images (e.g., Zen, VMWare, Parallels).
    Dell DCS2ServerProviderBackbone
    HP AiaaS2ServerProviderBackbone

    IBM Blue Cloud0ServerProviderBackboneProvisioning play






    Selenium Grid









    « Back to Category













































    Click for a printer friendly version of this document


    Printer Friendly





    Save to del.icio.us





     


















    Selenium Grid is an open-source tool that dramatically speeds up web testing by leveraging your existing computing infrastructure.
    It allows you to run multiple tests in parallel and on multiple machines, cutting down the time required for running web acceptance tests.






    Submitted By:


    khaz7
     
    AMI ID: ami-fd37d294
    AMI Manifest: khaz_Selenium_01/image.manifest.xml




    How to use this AMI:


    1. Run instance of this AMI.

    2. Login into ssh terminal, using Public DNS.

    3. Run following commands:

    cd /usr/share/selenium-grid-0.9.3

    ant sanity-check



    Instances of this AMI can be run as "hub" or "remote control" depending on your layout.
    If this is going to be a remote control:

    ant -Dport=5555 -Dhost=testhost -DhubURL=http://your-hub-url:4444 -Denvironment="Firefox on Linux" launch-remote-control





    For more information read http://www.openqa.org/selenium-grid/



    Future work


    pass parameters before launch, so it runs in hub or rm mode,all neat and autom

Monitoring EC2 with Ruby

  • Hardware: Monitoring Your CPU



    Your first consideration in determining what to monitor is to figure out whether monitoring is really a good idea. If you're doing CPU-intensive work on your system (that is, a lot of calculation work), then this is a good item to monitor. Obviously, if the system seems to crash a lot or it runs very slowly, CPU is definitely on the short list of items to monitor.



    One of the nice things about Linux is that it has a plethora of tools available for monitoring. Using vmstat, look at the run queue time (kthr - r column). Generally, the larger this number, the busier the CPU is. You can capture this number to a variable or store it on disk, possibly creating an XML file that you can parse and compare values. The following code shows an example of how to implement CPU monitoring.




    require 'EC2'

    require 'thread'

    # this function runs vmstat and parses the output to determine if the CPU is overloaded
    def get_cpu_load
    cpu_load = 0

    # run vmstat measurement 6 times with a delay of 10 seconds between measurements
    IO.popen("vmstat -n 10 6") { |io|
    # the first line of input is the header; we can discard it
    io.gets

    6.downto(1) {
    # get an array of all integers returned by vmstat
    stats = io.gets.split

    # sum together the run queue load
    cpu_load += stats[0].to_i
    }
    }
    cpu_load
    end

    access_key_id = ENV['AMAZON_ACCESS_KEY_ID']

    secret_key = ENV['AMAZON_SECRET_ACCESS_KEY']

    instance_id = ENV['AMAZON_INSTANCE_ID']

    max_instances = 2
    max_instances |= ENV['AMAZON_MAX_INSTANCES']

    #create the instance of the ec2 object

    ec2 = EC2::Base.new( :access_key_id => accessid_key_id, :secret_access_key => secret_key )

    #run the instance

    ec2.run_instances(:image_id => 'ami-f9907590')

    #periodically check CPU load with vmstat

    th = Thread.new do

    logit = File.open('avg_cpu_load.xml', 'w')

    loop do

    cpu_load = get_cpu_load

    #log CPU performance
    logit.puts("<vmstat><time>#{Time.now}</time><avg_load>#{cpu_load}</avg_load></vmstat>\n")

    # let's assume 9 is too much
    if (cpu_load => 9)

    logit.puts("<vmstat><time>#{Time.now}</time><message>maximum CPU load exceeded</message></vmstat>\n")

    #start more instances
    ec2.run_instances(:image_id => 'ami-f9907590',
    :min_count => 2, :max_count => max_instances)

    end

    # try again in 5 minutes
    sleep(60 * 5)

    end

    logit.close

    end
  • Hardware: Monitoring Memory



    Is monitoring memory a good idea? Because a system short on memory for running
    applications can obviously cause performance issues, and because this is easy to check, this is a great candidate.



    Memory is easy to check. On Linux you can simply use the free command and use a regular expression to pipe the output you want to a variable (or store it in an XML file, if you want it to persist between program runs). The following code example shows a way to monitor memory.



    require 'EC2'

    require 'thread'

    # this function runs free and parses the output to determine if the memory is overloaded
    def get_free_memory
    free_memory = 0

    # run free measurement 6 times with a delay of 10 seconds between measurements
    6.downto(1) {
    IO.popen("free -m") { |io|
    # we can discard the first two lines of output
    io.gets; io.gets

    # get an array of all tokens returned by free
    stats = io.gets.split

    # we're only interested in the fourth item in the array
    free_memory += stats[3].to_i
    }
    sleep(10)
    }
    free_memory / 6 # return the average free memory available for all 6 measurements
    end

    access_key_id = ENV['AMAZON_ACCESS_KEY_ID']

    secret_key = ENV['AMAZON_SECRET_ACCESS_KEY']

    max_instances = 2
    max_instances |= ENV['AMAZON_MAX_INSTANCES']

    #create the instance of the ec2 object

    ec2 = EC2::Base.new( :access_key_id => accessid_key_id, :secret_access_key => secret_key )

    #run the instance

    ec2.run_instances(:image_id => 'ami-f9907590')

    #periodically check memory usage with free

    th = Thread.new do

    logit = File.open('avg_free_memory.xml', 'w')

    loop do

    free_memory = get_free_memory

    #log free memory available
    logit.puts("<free><time>#{Time.now}</time><avg_free_mem>#{free_memory}</avg_free_mem></free>\n")

    # let's assume 64 megabytes is too little available memory
    if (free_memory <= 64)

    logit.puts("<free><time>#{Time.now}</time><message>maximum memory load exceeded</message></free>\n")

    #start more instances
    ec2.run_instances(:image_id => 'ami-f9907590',
    :min_count => 2, :max_count => max_instances)

    end

    # try again in 5 minutes
    sleep(60 * 5)

    end

    logit.close

    end
  • 1 more annotations...

Deploying Distributed J2EE Applications Using Amazon EC2

  • Configuration: Apache and the J2EE Server in an EC2 Environment



    There are many ways to connect Apache with Tomcat. Over the past few years, native Tomcat connectors
    have quickly superseded each other and there have been options to connect by using the generic HTTP protocol.
    You will find protocol names such as mod_jk, mod_jk2, mod_ajp, mod_proxy, mod_rewrite, and
    other variations. Many online help texts are giving outdated or contradictory advice, making it hard to choose the proper connection protocol and settings.



    Having tried most of the available connection choices, I know that each connection protocol has its challenges. It turns out
    that the option that's the simplest and
    the most consistent with other similar Apache features is the newest option: mod_proxy_ajp. The mod_proxy_ajp
    protocol is similar to mod_proxy_http except that it saves you from providing ProxyPassReverse
    lines in addition to ProxyPass, which means the AJP protocol is easier to maintain than the HTTP protocol.



    Note:
    See http://developer.amazonwebservices.com/connect/entry.jspa?entryID=1015 for an
    Amazon Machine Image (AMI) with Apache and Tomcat preinstalled.



    Before setting up Apache, you should start at the bottom: configure Tomcat's [TOMCAT_HOME]/conf/server.xml
    file. For Tomcat versions up to 5.5, it is wise to start with the example content from server-minimal.xml. Tomcat 6.0 doesn't provide this example, but the content of
    the default server.xml file is fairly minimal in 6.0. Find the AJP connector declaration:


    <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />


    Then, decide whether port 8009 is suitable for your situation. Let's assume you are running only one Tomcat per server instance. In
    some situations there are reasons to do otherwise, but they'd complicate this explanation.



    Now, it's time to change the Apache configuration, [APACHE_HOME]/conf/httpd.conf. First, find the lines
    beginning with LoadModule and uncomment them:


    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    LoadModule proxy_http_module modules/mod_proxy_ajp.so


    Then, at the bottom, add the following:


    <Proxy balancer://mycluster>
    Order deny,allow
    Allow from all

    BalancerMember ajp://[SERVER1].amazon.com:8009/myjavaapp
    BalancerMember ajp://[SERVER2].amazon.com:8009/myjavaapp
    #... as many as you need here ...</Proxy>

    ProxyPass /myjavaapp balancer://mycluster


    The last configuration detail is the CNAME in your DNS settings. Who your
    provider is will determine how you set these. Many larger application service providers give you your own dashboard where you can create A records, MX records, and CNAMES. Please refer to the documentation
    supplied by your provider for details.




Wowza Media Server on AWS EC2

  • Wowza Media Server Pro On Amazon EC2





    The unpredictable nature of the demand for rich media files, coupled with the amount of bandwidth needed to deal with a video that suddenly "goes viral" combine to create the circumstances for an event that I sometimes refer to as a "success disaster." This happens when you create something cool and hope that it will catch on (bringing with it at least a modicum of fame and fortune), but when it does catch on you are faced with a wall of traffic that you cannot hope to satisfy. It is expensive and impractical to have spare servers standing by in the off chance that you are faced with a sudden demand for one of your media products.



    Wowza_ec2_user_guide
    An on-demand, web-scale solution can help you to sidestep this particular problem. The Wowza Media Server Pro can be purchased in two ways. You can buy a traditional, fixed-price license and use it to stream as much media as you'd like for a single server. This is probably the way to go if you have access to a dedicated server and if you have a good handle on the demand for your media files. The server supports the RTMP protocol (and the RTMPT and RTMPS variants) used to stream Flash media files.



    Alternatively, you can run the same server on one or more Amazon EC2, paying a very modest monthly fee (currently $5) and then per-hour and bandwidth-based charges a bit above and beyond what's charged for EC2 itself. If you don't have servers of your own, if you are faced with unpredictable demand, then this is a great way to go. You could keep a single server running at all times and then add additional instances when traffic surges. The product is available in a 32-bit version suitable for Small EC2 instances and in a 64-bit version for Large and Extra Large instances.



    You can learn more about how to run the product on EC2 by reading the User Guide (That's a PDF). After a quick reading it looks like this would be pretty easy to set up. The AMIs are generic, with customization information supplied via an external startup package. The package enumerates the set of application packages to be installed, specifies the folder structure for the server, initiates downloads of content (Amazon S3 would be a good place to keep it, of course) and provides a mechanism to call startup or tuning scripts. The AMI also includes a password-protected FTP server and an interface to the Java Management Extensions (JMX).

13 Feb 08

Riding Rails: Write rails apps in your browser

  • Write rails apps in your browser



    Posted by tobi February 07, 2008 @ 06:04 PM




    Heroku is a rails platform with a twist: it all runs in your browser.




    The entire platform is build around a web based IDE which allows full rails development and deployment. Your apps are deployed to Amazon’s Elastic Cloud by the push of a button.





09 Jan 08

Running JEE applications on Amazon EC2: deploying to 20 machines with no money down [Chris Richardson - enterprise POJOs]

  • Running JEE applications on Amazon EC2: deploying to 20 machines with no money down



    posted Monday, 7 January 2008


    Computer hardware has traditionally been a scarce, expensive resource. In the early days of computing developers had to share a single machine. Today each developer usually has their own machine but it’s rare for a developer to have more than one. This means that running performance tests often involves scavenging for machines.  Likewise, replicating even just part of a production environment is a major undertaking. With Amazon’s Elastic Compute Cloud (EC2), however, things are very different. A set of Linux servers is now just a web service call away. You simply pay 10 cents per CPU-hour for up to 20 machines! No more upfront costs or waiting for machines to be purchased and configured.

    To make it easier for enterprise Java developers to use EC2, I have created EC2Deploy.  It’s a Groovy framework for deploying an enterprise Java application on a set of Amazon EC2 servers. EC2Deploy provides a simple, easy to use API for launching a set of EC2 instances; configuring MySQL, Apache and one or more Tomcat servers; and deploying one or more web applications. In addition, it can also run JMeter and collect performance metrics.

    Here is an example script that launches some EC2 instances; configures MySQL with one slave, Tomcat and Apache; deploys a single web application on the Tomcat server; and runs a JMeter test with first one thread and then two.

    class ClusterTest extends GroovyTestCase {
      void testSomething() {
        AWSProperties awsProperties = new 
            AWSProperties("/…/aws.properties")
        
        def ec2 = new EC2(awsProperties)
     
        def explodedWar = '…/projecttrack/webapp/target/ptrack'
     
        ClusterSpec clusterSpec = 
           new ClusterSpec()
                .schema("ptrack", ["ptrack": "ptrack"], 
                        ["src/test/resources/testdml1.sql", 
                         "src/test/resources/testdml2.sql"])
                .slaves(1)                  
                .tomcats(1)
                .webApp(explodedWar, "ptrack")
                .catalinaOptsBuilder({builder, databasePrivateDnsName ->
                     builder.arg("-Xmx500m")
                     builder.prop("com.sun.management.jmxremote")
                     builder.prop("com.sun.management.jmxremote.port", 8091)
                     builder.prop("com.sun.management.jmxremote.authenticate",             
                                         false)
                     builder.prop("com.sun.management.jmxremote.ssl", false)
                     builder.prop("ptrack.application.environment", "ec2")
                     builder.prop("log4j.configuration", 
                                   "log4j-minimal.properties")
                     builder.prop("jdbc.db.server", databasePrivateDnsName)})
     
        SimpleCluster cluster = new SimpleCluster(ec2, clusterSpec)
     
        cluster.loadTest("…/projecttrack/functionalTests/jmeter/SimpleTest.jmx",
            [1, 2])
         
        cluster.stop()
      }
    }

     

    Let’s look at each of the pieces.


  • Running JEE applications on Amazon EC2: deploying to 20 machines with no money down
    >




    posted Monday, 7 January 2008
    >



    Computer hardware has traditionally been a scarce, expensive resource. In the early days of computing developers had to share a single machine. Today each developer usually has their own machine but it’s rare for a developer to have more than one. This means that running performance tests often involves scavenging for machines.
    >  
    Likewise, replicating even just part of a production environment is a major undertaking. With
    >
    Amazon’s Elastic Compute Cloud (EC2)
    >

    , however, things are very different. A set of Linux servers is now just a web service call away. You simply pay 10 cents per CPU-hour for up to 20 machines! No more upfront costs or waiting for machines to be purchased and configured.
    >


    To make it easier for enterprise Java developers to use EC2, I have created EC2Deploy.
    > 
    It’s a Groovy framework for deploying an enterprise Java application on a set of Amazon EC2 servers. EC2Deploy provides a simple, easy to use API for launching a set of EC2 instances; configuring MySQL, Apache and one or more Tomcat servers; and deploying one or more web applications. In addition, it can also run JMeter and collect performance metrics.
    >


    Here is an example script that launches some EC2 instances; configures MySQL with one slave, Tomcat and Apache; deploys a single web application on the Tomcat server; and runs a JMeter test with first one thread and then two.
    >


    class ClusterTest extends GroovyTestCase {
    >
      
    void testSomething() {
    >
        
    AWSProperties awsProperties = new
    >
            
    AWSProperties("/…/aws.properties")
    >
        
        
    def ec2 = new EC2(awsProperties)
    >
     
        
    def explodedWar = '…/projecttrack/webapp/target/ptrack'
    >
     
        
    ClusterSpec clusterSpec =
    >
           
    new ClusterSpec()
    >
                
    .schema("ptrack", ["ptrack": "ptrack"],
    >
                        
    ["src/test/resources/testdml1.sql",
    >
                         
    "src/test/resources/testdml2.sql"])
    >
                
    .slaves(1)
    >                 
                
    .tomcats(1)
    >
                
    .webApp(explodedWar, "ptrack")
    >
                
    .catalinaOptsBuilder({builder, databasePrivateDnsName ->
    >
                     
    builder.arg("-Xmx500m")
    >
                     
    builder.prop("com.sun.management.jmxremote")
    >
                     
    builder.prop("com.sun.management.jmxremote.port", 8091)
    >
                     
    builder.prop("com.sun.management.jmxremote.authenticate",
    >             
                                         
    false)
    >
                     
    builder.prop("com.sun.management.jmxremote.ssl", false)
    >
                     
    builder.prop("ptrack.application.environment", "ec2")
    >
                     
    builder.prop("log4j.configuration",
    >
                                   
    "log4j-minimal.properties")
    >
                     
    builder.prop("jdbc.db.server", databasePrivateDnsName)})
    >
     
        
    SimpleCluster cluster = new SimpleCluster(ec2, clusterSpec)
    >
     
        
    cluster.loadTest("…/projecttrack/functionalTests/jmeter/SimpleTest.jmx",
    >
            
    [1, 2])
    >
         
        
    cluster.stop()
    >
      
    }
    >

    }
    >

     


    Let’s look at each of the pieces.
    >

1 - 20 of 35 Next ›
Showing 20 items per page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo