Lightsail lets you connect to AWS resources, such as an Amazon RDS database, through virtual private cloud (VPC) peering. Doing so lets you separate your data tier from the rest of your application.

A VPC is a virtual network dedicated to your AWS account. Everything you create inside Lightsail is inside a VPC, and you can connect your Lightsail VPC to an Amazon VPC.

Some AWS resources, such as Amazon S3, Amazon CloudFront, and Amazon DynamoDB do not require VPC peering to be enabled.


To enable VPC peering in Lightsail, you need to have a default Amazon VPC. If you do not have a default Amazon VPC, you can create yours again (or create one for the first time if you have an older AWS account) by following the instructions here: Get a default Amazon VPC.

Once you have a default Amazon VPC, follow the instructions below to peer your Lightsail VPC with your Amazon VPC.

  1. In Lightsail, choose Account.

  2. Choose Enable VPC peering.

               Enable VPC peering on the Account page

    If the peering connection fails, try to enable VPC peering again. If it doesn’t work, contact AWS customer support.

  3. To find your Lightsail VPC in the AWS Management Console, go to your Amazon VPC Dashboard.

For more information about Amazon VPC, see Your VPC and Subnets.