EC2 Setup

EC2 Setup

Security Group ID’s

Now that the SQL Security Groups are created, we can copy their ID’s and link them together so only they can communicate.

Copy each of your newly created group ID’s to a notepad or text editor of your choice:

Once you have both the SQL-IN and SQL-OUT Group ID, we need to edit each of groups and include the other’s ID.

Here is where this gets interesting, we include SQL-OUT’s ID for SQL-IN and the SQL-IN ID for SQL-OUT.

Then we just enable both of these security groups in our EC2 and RDS Instance and they are able to exclusively communicate.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

Leave a Reply

Your email address will not be published. Required fields are marked *

Post navigation

Previous Post :