By using AWS re:Post, you agree to the AWS re:Post Terms of Use

Firewall rules for Mysql on Lightsail

0

Hi,

Is there any way to setup IP filtering on database (MySQL) that is hosted on Lightsail? I can only see public/private access option.

asked 2 years ago468 views
1 Answer
0

Hi, @Dataedo.

Unfortunately the database in Lightsail cannot cover your needs.
Lightsail database don't have source filtering like security group.

You can create Amazon RDS as another option.
And if you want to connect to your RDS database from your Lightsail instance, you can use the VPC Peering feature to connect Lightsail's managed VPC to your default VPC.

Please refer to the following article. (Sorry, Japanese Article)
https://dev.classmethod.jp/articles/lightsail-vpc-peering/

profile picture
EXPERT
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions