There's more...

You can ping one server in one region from other server in other region for checking connectivity between EC2 of both regions.

 You should opt for stronger security policies for production use case. For example, the security groups should be open to a specific IP address range or the passphrase should be stronger.

Get AWS Networking Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.