I'm new to AWS and have a Lightsail instance in a specific region. I've made an other lightsail instance in a different region and want them to communicate with each other(transmit data and whatnot). The AWS faqs state:
"Each Lightsail instance automatically gets a private IP address and a public IP address. You can use the private IP to transmit data between Lightsail instances and AWS resources privately, for free. "
I want to know how this is possible and where do i start.
Different regions so that it's in different VPCs.
You can search AWS VPC peering to connect 2 VPC and can communicate with the private IP address
One option to enable private connectivity between lightsail instances in different regions (or accounts) is to create a virtual software overlay.network between the hosts.
Worth investigating enclave.io , tailscale.com and zerotier.com .
These are nice options because they don't require any special configuration/costs of the AWS.network (or open public ports). You just install an agent on each instance you wish to connect, define your "virtual".network, and away you go. Each system gets a private virtual IP address they can use to communicate.
They don't require you to run any VPN servers or other infrastructure, and they're point-to-point, so your data doesn't flow through anyone else's servers.
Full disclosure: I work for enclave.io
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.