Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8923949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T07:16:03+00:00 2026-06-15T07:16:03+00:00

I have an ec2 instance where I have installed mysql. The server listens to

  • 0

I have an ec2 instance where I have installed mysql. The server listens to connections from any ip (bind-address = 0.0.0.0).

I have set up the mysql security group in such a way that only my webapp instances can connect remotely to the mysql db.
For this I added a webapp-sg security group to my instance (webapp-sg restricts to http, https and ssh)
Then for my mysql instance, I simply used the webapp-sg group as the “source”. I have verified that
1. I can not remotely log in from outside ec2 instances
2. Within ec2 instance, I have to be on an ec2-instance that has the security group =webapp-sg

However, traffic between the webapp instance and mysql db would still be in clear text. What are the implications? (I see many articles that recommend the above set up).
Do people use “Mysql over ssl” for this – I suspect that would have performance implications?
Or does aws vpc resolve this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T07:16:04+00:00Added an answer on June 15, 2026 at 7:16 am

    Short answer: this is the recommended way to operate. Go for it.

    Longer: It depends. Depends on the level of the security your app requires, and amount of work, complexity, availability and maintenance you are willing to spend.
    While theoretically it is advised that any inter-machine traffic should be encrypted, especially on a multi-tenant environment like public clouds –
    AWS has spent a lot of effort to make their basic security groups offering a solid one.
    see ‘Network Security’ chapter

    That, would make both eavesdropping or packet-spoofing very unlikely.
    If you’ll be realistic, there is a greater chance (by orders of magnitude) that hackers could use your web app bugs and vulnerabilities as the primary attack vector.

    Also probable, is a the chance of security groups misconfiguration. Dedicated services like Dome9 and Newvem might assist in getting insights and in managing you security configurations. (disclosure – I’m Dome9 co-founder)

    Last, VPC.
    While not architectually much different from EC2, it is recommended since it brings more configuration power, and a 2nd method to enforce your policy (Network ACLs).
    This might introduce some complexity and more maintenance, but can reduce misconfiguration effects.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem with an Aws Amazon-EC2 SuSe instance, installed apache2, php5, mysql
I recently set up an AWS EC2 instance and installed Apache, PHP, and MySQL
I have installed Elastic Search on an AMazon Ec2 Windows Instance (Windows Server 2008
I have installed openjdk+tomcat7 on ubuntu EC2 instance. After do some test http and
I have created an Amazon EC2 Instance that provides Windows Server 2008 with SQL
I have strange JRUN issue. I have installed ColdFusion 9.0 on Amazon EC2 instance
I have Node.js installed on a RedHat instance of EC2. I also installed Express
I have an EC2 image that I made with Hadoop installed. However, I set
We have a fairly intensive Drupal installation running on a large EC2 server instance.
i have installed nginx on my ubuntu ec2 instance and im building an app

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.