Amazon IAM user creation for single S3 bucket access

Login to AWS Management Console and from there select IAM: From the IAM Console, click on the “Create new users” button in the toolbar, enter the name of the new user(You can give it any name like I gave it mymysqlbktos3) and then click “Create” button on the bottom of that form: It will present you… Continue reading Amazon IAM user creation for single S3 bucket access

How to Install the latest version of s3cmd tool on Linux

Please install the required packages before installing the s3cmd tool and download the source zip from github: sudo yum install unzip python-pip wget https://github.com/s3tools/s3cmd/archive/master.zip Unzip the downloaded source zip file and move to the unzipped directory: unzip master.zip cd s3cmd-master/ Once you have moved to the unzipped directory then just run this command: sudo python setup.py… Continue reading How to Install the latest version of s3cmd tool on Linux

How to Install the latest LEMP Stack on CentOS 6.5

In this tutorial,we’ll learn that how we can install the latest LEMP (Nginx, MySQL & PHP) Stack and it’s initial configuration on CentOS 6.5, because Base and EPEL repo are containing really old version of LEMP Stack. Please add the required repos by using the following commands: sudo rpm –import http://ftp.riken.jp/Linux/fedora/epel/RPM-GPG-KEY-EPEL-6 sudo rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm… Continue reading How to Install the latest LEMP Stack on CentOS 6.5

Linux IPSec Site-to-Site VPN: AWS VPC & Cisco Router

In this tutorial, we will use the Site-to-Site VPN scenario with the modification and one of the customer site that is using Cisco router, which is also acting as gateway for LAN plus the vpn gateway while from the AWS side, we are using the exact same Ubuntu Linux router. Please review the previous tutorial before starting this tutorial,… Continue reading Linux IPSec Site-to-Site VPN: AWS VPC & Cisco Router

Linux IPSec Site-to-Site VPN: AWS VPC & Vyatta Firewall

In this tutorial, we will use the Site-to-Site VPN scenario with the modification and one of the customer site that is using Vyatta firewall, which is also acting as gateway for LAN plus the vpn gateway while from the AWS side, we are using the exact same Ubuntu Linux router. Please review the previous tutorial before starting this tutorial,… Continue reading Linux IPSec Site-to-Site VPN: AWS VPC & Vyatta Firewall

Automated installation of LAMP stack on Ubuntu Server

In this tutorial, I’ll show you that how we can install the LAMP stack on Ubuntu Server interactively. First create the script : vi lamp.sh Copy and Paste the following code into it (Modify the MySQL root Password,as per your requirement): #!/bin/bash #Instructions to use this script # #chmod +x SCRIPTNAME.sh # #sudo ./SCRIPTNAME.sh echo… Continue reading Automated installation of LAMP stack on Ubuntu Server

Linux IPSec Site-to-Site VPN: AWS VPC & Mikrotik Router

In this tutorial, we will use the Site-to-Site VPN scenario with the modification and one of the customer site that is using Mikrotik router, which is also acting as gateway for LAN plus the vpn gateway while from the AWS side, we are using the exact same Ubuntu Linux router. Please review the previous tutorial before starting this tutorial,… Continue reading Linux IPSec Site-to-Site VPN: AWS VPC & Mikrotik Router

Site-to-Site VPN between AWS VPC and Customer Site using Linux

In this tutorial, we will use the previous scenario on AWS side for the creation of site-to-site vpn between AWS VPC and Local site. On Amazon side, we’ll use Ubuntu 14.04 LTS, which will act as gateway for private subnet(s) plus the vpn gateway, while on the Local site, we’ll use the CentOS 6.5, which will perform… Continue reading Site-to-Site VPN between AWS VPC and Customer Site using Linux

Add a Custom NAT instance in AWS VPC

In this tutorial, I am assuming that you have already created VPC with Public and Private subnets In the above scenario, we’ll create a micro instance inside the public subnet with an IP 10.100.10.0/24, which will act as the gateway for all the instance(s) inside the private subnet (10.100.20.0/24). Also, please create the separate Security… Continue reading Add a Custom NAT instance in AWS VPC

How to Resize the Root Partition in Linux on Amazon EC2

Check the Root Partition size before resize: df -h The current root partition size is ~8 GB. After that, stop your instance: sudo poweroff Go to Volumes on the left-hand EC2 navigation control panel.Right-click on the volume you want to resize and select Create Snapshot. Note: Make sure you also check the availability zone. Fill out the… Continue reading How to Resize the Root Partition in Linux on Amazon EC2