Blogs on

AWS

knackforge blog

Expanding the Storage Space of an EBS Volume on Linux

This guide applies to increasing the root volume size of an EBS EC2 Linux instance on AWS. By default most Linux instances come with an 8GB root volume unless you changed it at first launch. If you are one of the people that forgot to do this or you just simply need to extend the volume take a look at this guide.

I started out with an Amazon Linux instance and an 8GB volume.

1. First you want to navigate to you EC2 console at https://console.aws.amazon.com/ec2/

Continue reading →
knackforge blog

CDN Module, and Amazon Cloudfront in Drupal 7

Recently I decided to check out Amazon CloudFront to use it as a CDN. I felt delighted as it was so easy to setup with drupal and configuring it involving just a few steps. Another thing that excited me was its cost. It is really really cheap, just costs about 12 cents per gigabyte of transfer.

Step 1: Create a CloudFront Web Distribution

     To create a CloudFront web distribution

Continue reading →
knackforge blog

Uploading files to Amazon S3 using PHP

At KnackForge we offer hosting services to most of the sites and applications we develop. Being a small team we try to automate most of our processes, and here is an attempt to make it for backup, archive and upload to Amazon Simple Storage Service (S3).

If you are reading this post you are probably more aware of the essence of backup. This post starts with a bit of introduction to S3 and goes along with a simple case script together with brief explanation.

Continue reading →