4-AWS-NATTING:::
1.CREATE VPC..
2.CREATE a.PUBLIC SUB NET b.private sub net
3.rout table a.one for public sub net assocate b. another For private sub net assocate..
4.create NAT GAT In this add Public sub net..and create elastic IP
5.IN Private ROUT TABLE (2-b) Add this Nat GATE WAY ..........
6.create a.one vm @ public subnet and b.another vm @private sub net
7.
.sudo su -
.ssh ec2-user@10.10.2.100
.nano naveen.pem
.ssh -i naveen.pem ec2-user@10.10.2.100
.ll
.chmod 400 naveen.pem
.ll
.ssh -i naveen.pem ec2-user@10.10.2.100 .....logineed to other server.
...................................................
nano /etc/hostname
nano /etc/hosts
passwd root
passwd ec2-user
ssh-keygen .....enter button 3re times...
ls /home/ubuntu/.ssh
ssh-copy-id ubuntu@node1
1.CREATE VPC..
2.CREATE a.PUBLIC SUB NET b.private sub net
3.rout table a.one for public sub net assocate b. another For private sub net assocate..
4.create NAT GAT In this add Public sub net..and create elastic IP
5.IN Private ROUT TABLE (2-b) Add this Nat GATE WAY ..........
6.create a.one vm @ public subnet and b.another vm @private sub net
7.
.sudo su -
.ssh ec2-user@10.10.2.100
.nano naveen.pem
.ssh -i naveen.pem ec2-user@10.10.2.100
.ll
.chmod 400 naveen.pem
.ll
.ssh -i naveen.pem ec2-user@10.10.2.100 .....logineed to other server.
...................................................
nano /etc/hostname
nano /etc/hosts
passwd root
passwd ec2-user
ssh-keygen .....enter button 3re times...
ls /home/ubuntu/.ssh
ssh-copy-id ubuntu@node1
Comments
Post a Comment