How do I scale EC2 and push out code / data to my instances?

Posted on

How do I scale EC2 and push out code / data to my instances? – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.

But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about windows, iis, amazon-ec2, rds, .

I currently have a T1.micro for development running Windows with SQL server 2008.

The system allows students to come to our site to search for a mentor, update their profile with pictures and employment history etc. Roughly the same sort of work as a LinkedIn profile.

I need this to be able to scale very quickly without wasted resources.

I understand the following is important.

Separation of data, application etc. I will achieve this I think by hosting images using S3, Database instance via RDS and upgrade the EC2 instance.

My Question

How do I push data / code out to multiple ec2 / RDS instances seamlessly?

Solution :

For database you can easily use RDS, as its a shared DB resource.

but for code you can use any Remote filesystem, like NFS or GlusterFS. But i would recommend GlusterFS more, due to its feature set and abilities, which are not present in NFS.

You can create a single server, to become the GlusterFS server, which will host all the data and share it among any number of servers.

Also, this may be helpful:

Need a recommendation for shared storage on auto-scaling ec2 w/ scalr

https://stackoverflow.com/questions/4329980/sharing-storage-between-instances

Leave a Reply

Your email address will not be published.