• About Us
  • Contact Us
  • Advertise
  • Privacy Policy
  • Guest Post
No Result
View All Result
Digital Phablet
  • Home
  • NewsLatest
  • Technology
    • Education Tech
    • Home Tech
    • Office Tech
    • Fintech
    • Digital Marketing
  • Social Media
  • Gaming
  • Smartphones
  • AI
  • Reviews
  • Interesting
  • How To
  • Home
  • NewsLatest
  • Technology
    • Education Tech
    • Home Tech
    • Office Tech
    • Fintech
    • Digital Marketing
  • Social Media
  • Gaming
  • Smartphones
  • AI
  • Reviews
  • Interesting
  • How To
No Result
View All Result
Digital Phablet
No Result
View All Result

Home » AWS Lightsail VPC Peering Issue: Connection Failing Despite Enabled Status in US-West-2

AWS Lightsail VPC Peering Issue: Connection Failing Despite Enabled Status in US-West-2

Emily Smith by Emily Smith
December 31, 2025
in How To
Reading Time: 2 mins read
A A
AWS Security: Handling Sophisticated Attacks & Collaborating with Authorities
ADVERTISEMENT

Select Language:

If your Lightsail VPC peering shows as enabled with a green checkmark in the Lightsail console but you can’t see the connection in the VPC console, and your EC2 instance in the default VPC can’t connect to your Lightsail instance on port 3306, here’s what you can do.

ADVERTISEMENT

First, understand that Lightsail’s VPC peering feature can sometimes appear enabled even if the actual peering connection isn’t fully established. The most common issue is that no active peering connection exists at the network level.

Here’s a straightforward way to fix this:

  1. Check and Enable VPC Peering in Lightsail

    ADVERTISEMENT
    • Open your Lightsail console.
    • Go to the Account section and select Advanced.
    • Find your region (like us-west-2) and click Enable VPC peering.
    • This step creates or updates the peering connection between your Lightsail VPC and your default VPC.
  2. Verify the Peering Connection

    • After enabling, head over to the VPC console in AWS.
    • Navigate to Peering connections and look for a connection between your Lightsail VPC and your default VPC.
    • Make sure the status says Active. If it’s still pending or inactive, give it a few minutes and refresh.
  3. Update Firewall Rules

    • In Lightsail, ensure that your firewall has a rule allowing inbound traffic on port 3306 from the IP range of your default VPC (172.31.0.0/16).
    • Likewise, check that your EC2 security groups permit outbound traffic to the Lightsail instance on port 3306.
  4. Confirm Network Routing and Security Groups

    • Make sure your EC2 instance security group allows outbound connections to the Lightsail private IP (172.26.4.95) on port 3306.
    • Also, verify ongoing routing setups so traffic flows correctly between the networks.
  5. Test the Connection

    • When the VPC peering status is Active, try connecting again.
    • Use nc -zv 172.26.4.95 3306 to check if the port is accessible.
    • You can also ping the Lightsail instance’s private IP to test basic connectivity.

Usually, setting up or fixing the peering connection takes just a few minutes after your configuration. Remember, VPC peering must be directly established; it’s not transitive, so each connection needs to be explicitly configured.

By following these steps, you should be able to establish a direct private connection between your EC2 instance and Lightsail instance, making the MySQL traffic flow smoothly. If after trying these steps the connection still times out, double-check your network settings, security rules, and ensure the peering connection has transitioned from pending to active.

ChatGPT ChatGPT Perplexity AI Perplexity Gemini AI Logo Gemini AI Grok AI Logo Grok AI
Google Banner
ADVERTISEMENT
Emily Smith

Emily Smith

Emily is a digital marketer in Austin, Texas. She enjoys gaming, playing guitar, and dreams of traveling to Japan with her golden retriever, Max.

Related Posts

snow cannon 999280 960 720.jpg
AI

Elon Musk Aims to Launch SpaceX Stock Market in July

January 22, 2026
World Cities
Infotainment

Top 3 Most Beautiful Cities in the World

January 22, 2026
How To

How To Manually Update BIOS on HP EliteDesk 800 G1 Using USB

January 22, 2026
YouTuber Turns 21 with 50M Subscribers in Lagos Celebration
News

YouTuber Turns 21 with 50M Subscribers in Lagos Celebration

January 22, 2026
Next Post
Top 75 Countries by Average IQ in 2025

Top 75 Countries with Highest Average IQs in 2025

  • About Us
  • Contact Us
  • Advertise
  • Privacy Policy
  • Guest Post

© 2026 Digital Phablet

No Result
View All Result
  • Home
  • News
  • Technology
    • Education Tech
    • Home Tech
    • Office Tech
    • Fintech
    • Digital Marketing
  • Social Media
  • Gaming
  • Smartphones

© 2026 Digital Phablet