Create you VPC:
Launch an EC2 instance.- VPC Dashboard -> Start VPC wizard
- Check a VPC has an Internet Gateway
- Defaults
- VPC home page
- Create Peering Connections
- Go to Security groups in aws NOT vpc
- Add inbound rule from Private IP of the other VPC
- Example: 10.2.0.0/16
- ssh to box
- sudo ip route show
- sudo ip route add subnet via a gateway
- EG: sudo ip route add 10.2.1.0/24 via 10.2.0.4
No comments:
Post a Comment