EC2 Autoscaling Servers

Discussion in 'Site & Server Administration' started by Mike Heiser, Apr 4, 2013.

  1. #1
    Hi,

    I'm new here (obviously) and I'm looking for some help setting up an EC2 auto-scaling server. I've browsed the web for this and haven't been able to find any tutorials that are detailed enough to get it setup. If someone could post here to either let me know how to set it up, or just link to a good tutorial, that would be perfect.

    Thanks!
     
    Mike Heiser, Apr 4, 2013 IP
  2. mrnothersan

    mrnothersan Member

    Messages:
    80
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    45
    #2
    Hello,

    I've not used EC2 myself, but I'd think it would be just self-explanatory. Once you've created the instance, choose your OS and set a root password, then SSH into the VM.

    Is it not that simple?

    Regards,
    Dominic
     
    mrnothersan, Apr 5, 2013 IP
  3. vangel

    vangel Active Member

    Messages:
    145
    Likes Received:
    6
    Best Answers:
    2
    Trophy Points:
    98
    #3
    Hi Mike,
    I currently use AWS with autoscale. It's bit of an involved process and differs based on your setup.

    I would start with the AWS guide on this which is available on their site. Generally the flow is such.

    1. Setup your system as you would a standalone system
    2. Once it works and you are satisfied you will create an AMI or machine image of the system. You can also try using the web console to do this for you. I have only used command line.
    3. Once the AMI is ready an dregistered see if it works by launching a server with this new AMI. All good?
    4. Create an ELB where your autoscale instances will connect
    5. Setup the autoscale group, launch config and policies for scaling out and scaling in. Apply the launch config to the autoscale group which will start the servers.
    6. configure ELB for healthcheck.

    edit: ah found the damn guide. http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/Welcome.html I dont remember when and where I learned but I usually follow documentation. Its been a few years and I only checked out the docs again 2 years ago when they changed some APIs. it should help you get started. Remember that don't be afraid to to just try. End of the day you can delete everything and start again. It won't cost you much
     
    vangel, Apr 10, 2013 IP