Posts Tagged EC2

How to add more memory to a Ubuntu Server with a Swap File

Types-of-Computer-MemoryIn linux Swapping is the process where memory is copied to the hard disk in space called swap space to free up physical memory. This is the same as virtual memory in linux. It is useful for two important reasons, First, when the system requires more memory than is physically available the kernel swaps out less used pages and gives memory to the current application (process) that needs the memory immediately. Second, a significant number of the pages used by an application during its startup phase may only be used for initialization and then never used again. The system can swap out those pages and free the memory for other applications or even for the disk cache.

There are two ways of setting up swap space in Linux, the most common is to set aside a swap partition when setting up the machine, the second is to set up a swap file. The later is useful if you didn’t set up a swap partition or if you’re using something like an Amazon EC2 micro instance that does not come pre-configured with a swap partition. Read the rest of this entry »

, , , , , , , , ,

No Comments

Adding Swap to any EC2 Instance

Custom Swap IconHave you every worried about your EC2 instance running out of memory, especially when you’re running a EC2 Micro instance witch only comes with a total of 613MB of memory. Well If you’re planning on running anything other then a basic web page you may run out of RAM can cause all sorts of problems, mainly it will cause your instance to crash. Well there is a tried an tested method to get around this called paging or swap space. Read the rest of this entry »

, , , , , , , , , , , , ,

1 Comment

Amazon Upgrade Scalability

Yesterday Amazon Web Services upgraded its EC2 Management Console to make it even easier to scale your applications, as Amazon puts it: “You can now change the instance type of a stopped, EBS-backed EC2 instance. This means that you can scale up or scale down as your needs change,”. Read the rest of this entry »

, , , , ,

No Comments

Setting up a LAMP Server

LAMP is a software bundle that’s consists of Linux, Apache2, MySQL and PHP. This is probably the most common web-server setup used today, this success can probably be put down to the fact all the software included in LAMP is open-source. Its also extremely easy to install and setup on an Linux computer.

For this tutorial I’m going to be using an amazon EC2 instance running Ubuntu, if you want to know how to run your own EC2 instance see my previous tutorial. However this tutorial should apply to almost any computer running a Ubuntu 7.4 or later. Read the rest of this entry »

, , , , , ,