Skip to content

snassr/blog-2Y2hQBka-awsnetworking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ACS Networking

Run

WARN: Before starting create an S3 bucket and update the bucket name in here.

Create VPC, Subnets & EC2s

make tf-plan
make tf-apply

Hop into EC2s

# change private key permissions (required)
chmod 400 awsnetblog_vpc_01-privatekey_01.pem
# copy file to our public subnet EC2 (we need the key on that machine)
scp -i awsnetblog_vpc_01-privatekey_01.pem awsnetblog_vpc_01-privatekey_01.pem ubuntu@54.187.77.242:/home/ubuntu/
# ssh into public subnet EC2!
ssh -v -i awsnetblog_vpc_01-privatekey_01.pem ubuntu@54.187.77.242

# ssh from public subnet EC2 to our private subnet EC2!
ssh -v -i /home/ubuntu/awsnetblog_vpc_01-privatekey_01.pem ubuntu@10.1.2.156

Cleanup

make tf-destroy-plan
make tf-destroy-apply

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published