Creating VPC in Amazon Cloud Checklist

Just for reference, this is the checklist for creating amazon virtual private cloud.

Go to Virtual Private Cloud
Create VPC
Create Subnets
Create Gateway
Create route table and associate to subnet

Additionally, to add a bastion host:
Create bastion instance
Set security for incoming and outgoing traffic
Disable source/destination check
Get socat and move it to /usr/local/bin/
To redirect traffic from port 8080 of bastion to web-server >> socat TCP-LISTEN:8080,reuseaddr,fork TCP:10.10.10.10:80
To run it in background >> screen -d -m socat …

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s