Next: , Previous: , Up: Task 5---Migrating to Amazon Relational Database Service   [Contents][Index]


3.7.2 Enable Virtual Private Cloud (VPC) Peering

The next step is to ensure that the Lightsail VPC can communicate with your default AWS VPC. By default, services in AWS cannot access services that run in Amazon Lightsail (and vice versa). However, this situation can be addressed by using a feature called VPC peering. VPC peering makes it possible for certain AWS services to communicate with Amazon Lightsail resources (in this case, the Amazon RDS database will communicate with the web front end, which runs on an Amazon Lightsail instance).

  1. Navigate to the Amazon Lightsail account settings page.
  2. From the horizontal menu, click ‘Advanced’.
  3. Scroll down to the ‘VPC peering’ section.
  4. Next to the region that you deployed your Lightsail resources, select ‘Enable VPC peering’.