Tag: EC2

  • 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, […]

  • 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, […]

  • 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, […]

  • 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 […]

  • 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 […]

  • 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 […]

  • {Workaround}how to get access to the server, when Amazon EC2 private key lost

    1. Login to your AWS Management Console. 2. Select  EC2 from the Services | set your Region in the drop-down list | Click the Instances link in left side bar. 3. Right click on the instance name. The Instance Management context menu will appear. Select Create Image. 4. Enter the name and description. This is for your use, not […]

  • How to connect to an EC2 instance using Putty

    You created an EC2 instance and got private key (with PEM extension)from Amazon. Now, how you can login to your instance with PuTTY? For this, you need to convert the .PEM to .PPK format using Puttygen. Run Puttygen: Click on the Load button: Locate your PEM file that you want to convert: Putty will convert […]

  • How to Mount EC2 EBS Storage To EC2 Linux Instance

    Login to your AWS management console,click on EC2 in the list of AWS products and from there, identify the correct region of EC2 instance because EC2 EBS volume must be in the same location as the EC2 instance: Click Volumes located under Elastic Block Store then click on Create Volume button, which will launch the […]

  • Apache Virtual Hosts in Ubuntu

    In this tutorial, I’ll show you the steps to configure 3 Apache virutal hosts running on a single EC2 Ubuntu Instance. The three domains, that I’ll use in this tutorial are: 1) linuxsoft.tk 2) rbgeek.tk 3) tendo.tk DNS setting for these 3 domains are as follows: Create three folders inside the /var/www folder, they will […]